/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* CSS Variables */
:root {
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --accent-color: #3b82f6;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h2 {
  color: var(--primary-color);
  font-size: 1.75rem;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1200px;
  background: var(--bg-white);
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0.5rem;
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.mega-menu-section {
  padding: 1rem;
}

.section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-gray);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.featured-card {
  background: var(--bg-light);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.featured-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.card-content h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.card-link {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link:hover {
  color: var(--primary-dark);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-list li {
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: var(--primary-color);
}

.menu-link strong {
  font-weight: 600;
  font-size: 1rem;
}

.menu-description {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-large {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.nav-cta {
  margin-left: 1rem;
}

.btn-icon-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-icon-login:hover {
  background: #e5e7eb;
  color: #374151;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-icon-login svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6rem 1.5rem;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 5rem 1.5rem;
  background: var(--bg-light);
}

.section-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mega-menu-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item {
    border-bottom: 1px solid var(--border-color);
  }

  .nav-cta {
    margin-left: 0;
    padding: 1rem 0;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0;
    border-radius: 0.5rem;
  }

  .has-dropdown:hover .mega-menu {
    margin-top: 0.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn-large {
    width: 100%;
    max-width: 300px;
  }
}

/* Authentication Pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.auth-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.auth-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite ease-in-out;
}

.auth-bg-shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.auth-bg-shape-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -150px;
  animation-delay: 5s;
}

.auth-bg-shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.auth-card {
  background: var(--bg-white);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 3rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.auth-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-gray);
  font-size: 1rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.error-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.error-list li {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

/* Auth Form */
.auth-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: var(--bg-white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-hint {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-gray);
  font-size: 0.875rem;
}

.form-actions {
  margin-top: 2rem;
}

.btn-auth {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-auth.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-auth.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

.btn-auth.btn-primary:active {
  transform: translateY(0);
}

.btn-auth.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-auth.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Auth Links */
.auth-links {
  text-align: center;
  margin: 1.5rem 0;
}

.auth-link-text {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.link-primary {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.link-primary:hover {
  text-decoration: underline;
}

.auth-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  background: var(--bg-white);
  padding: 0 1rem;
  color: var(--text-gray);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.auth-footer {
  margin-top: 1rem;
}

/* Professional Authentication Pages */
.professional-auth-wrapper {
  min-height: 100vh;
  display: flex;
  background: #ffffff;
}

/* Left Branding Panel */
.auth-branding-panel {
  flex: 1;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-branding-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.branding-content {
  max-width: 500px;
  color: white;
  position: relative;
  z-index: 1;
}

.brand-logo-large {
  margin-bottom: 3rem;
}

.logo-circle {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-circle svg {
  color: white;
}

.brand-logo-large h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.brand-tagline {
  margin-bottom: 3rem;
}

.brand-tagline h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.brand-tagline p {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.6;
}

.brand-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  opacity: 0.85;
}

/* Right Form Panel */
.auth-form-panel {
  flex: 1;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}

.form-panel-content {
  width: 100%;
  max-width: 460px;
}

.form-header-pro {
  margin-bottom: 2.5rem;
}

.form-header-pro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.form-header-pro p {
  color: #6b7280;
  font-size: 1rem;
}

/* Professional Alerts */
.alert-pro {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.alert-success-pro {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

.alert-error-pro {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

.alert-pro svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.error-list-pro {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.error-list-pro li {
  margin-bottom: 0.25rem;
}

/* Professional Form */
.pro-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-pro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pro-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #111827;
  letter-spacing: 0.01em;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link {
  font-size: 0.875rem;
  color: #3b82f6;
  font-weight: 600;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: #2563eb;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #9ca3af;
  pointer-events: none;
}

.pro-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9375rem;
  transition: all 0.2s;
  background: white;
  font-family: inherit;
}

.pro-input:hover {
  border-color: #d1d5db;
}

.pro-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.pro-input::placeholder {
  color: #9ca3af;
}

.pro-hint {
  color: #6b7280;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

/* Password Strength */
.password-strength {
  margin-top: 0.5rem;
}

.strength-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.strength-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
  transition: width 0.3s;
  border-radius: 2px;
}

/* Checkboxes */
.remember-me,
.terms-acceptance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pro-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}

.pro-checkbox:checked {
  background: #3b82f6;
  border-color: #3b82f6;
}

.checkbox-label {
  font-size: 0.875rem;
  color: #4b5563;
  cursor: pointer;
  user-select: none;
}

.checkbox-label a {
  color: #3b82f6;
  font-weight: 600;
}

/* Professional Buttons */
.form-actions-pro {
  margin-top: 1rem;
}

.btn-pro {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary-pro {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-primary-pro:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.btn-primary-pro:active {
  transform: translateY(0);
}

/* Footer */
.auth-footer-pro {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.auth-footer-pro p {
  color: #6b7280;
  font-size: 0.9375rem;
}

.link-pro {
  color: #3b82f6;
  font-weight: 600;
  transition: color 0.2s;
}

.link-pro:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Trust Badges */
.auth-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.8125rem;
  font-weight: 500;
}

.trust-badge svg {
  color: #10b981;
}

/* Responsive Professional Auth */
@media (max-width: 1024px) {
  .auth-branding-panel {
    display: none;
  }

  .auth-form-panel {
    flex: 1;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .form-panel-content {
    max-width: 100%;
  }

  .form-header-pro h2 {
    font-size: 1.75rem;
  }

  .brand-logo-large h1 {
    font-size: 2.5rem;
  }

  .brand-tagline h2 {
    font-size: 1.5rem;
  }

  .auth-trust-badges {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* Responsive Auth Pages */
@media (max-width: 640px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }

  .auth-logo h1 {
    font-size: 2rem;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .auth-bg-shape-1,
  .auth-bg-shape-2,
  .auth-bg-shape-3 {
    display: none;
  }
}

/* Dashboard Styles */
.dashboard-nav {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-color);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-email {
  color: var(--text-gray);
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-logout {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.dashboard-container {
  min-height: calc(100vh - 72px);
  background: var(--bg-light);
  padding: 2rem 1.5rem;
}

.dashboard-header {
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.welcome-section {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1.5rem;
  color: white;
}

.dashboard-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  font-size: 1.125rem;
  opacity: 0.95;
}

/* Stats Grid */
.stats-grid {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* Dashboard Content */
.dashboard-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.dashboard-section {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.section-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-description {
  color: var(--text-gray);
  font-size: 1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-light);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.service-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-active {
  background: #d1fae5;
  color: #065f46;
}

.badge-available {
  background: #dbeafe;
  color: #1e40af;
}

.service-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-align: center;
}

.service-description {
  color: var(--text-gray);
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

/* Activity List */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--bg-light);
  transition: all 0.3s ease;
}

.activity-item:hover {
  background: #e5e7eb;
}

.activity-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.activity-description {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.activity-time {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.action-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 0.75rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.action-button:hover {
  border-color: var(--primary-color);
  background: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
}

.action-button svg {
  color: var(--primary-color);
}

.action-button span {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }

  .dashboard-title {
    font-size: 2rem;
  }

  .dashboard-subtitle {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-user {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }

  .user-email {
    font-size: 0.75rem;
  }
}
