/* ==========================================================================
   Reno Quote Critic — Styles (Bootstrap 5 Overrides)   
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors from DESIGN.MD */
  --color-primary: #0D9488;
  --color-primary-container: #ccfbf1;
  --color-on-primary: #ffffff;
  --color-teal-900: #134e4a;
  --color-teal-700: #0f766e;
  
  /* Surface Colors */
  --color-surface: #ffffff;
  --color-on-surface: #0f172a;
  --color-on-surface-variant: #475569;
  
  /* Containers (Surface shifts per DESIGN.md) */
  --color-surface-container-low: #f8fafc;
  --color-surface-container: #f1f5f9;
  --color-surface-container-high: #e2e8f0;
  --color-surface-container-highest: #cbd5e1;
  
  /* Outlines */
  --color-outline: #e2e8f0;
  --color-outline-variant: #f1f5f9;

  /* Typography */
  --font-main: 'Manrope', sans-serif;
  
  /* Shape */
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;

  /* Bootstrap Variable Overrides */
  --bs-body-bg: var(--color-surface);
  --bs-body-color: var(--color-on-surface);
  --bs-secondary-color: var(--color-on-surface-variant);
  --bs-secondary-bg: var(--color-surface-container-low);
  --bs-border-color: var(--color-outline-variant);
  --bs-primary: #0D9488;
  --bs-primary-rgb: 13, 148, 136;
}

/* Global Reset & Base */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  padding-top: 80px; /* Offset for fixed header */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}

.bg-teal-900 {
  background-color: var(--color-teal-900) !important;
}

.text-teal-900 {
  color: var(--color-teal-900) !important;
}

/* Hover & Transition Utilities */
.hover-primary:hover {
  color: var(--color-primary) !important;
}

.transition-all {
  transition: all 0.3s ease;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Navbar: Glassmorphism */
.site-header {
  background-color: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-outline-variant);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-header .nav-link {
  color: var(--color-on-surface-variant);
  font-weight: 600;
  transition: color 0.2s;
}

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


/* Font Weight: Explicit 800 */
.fw-extrabold {
  font-weight: 800 !important;
}

/* Buttons: Refined to match Reference */
.btn-primary {
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-teal-700);
  --bs-btn-hover-border-color: var(--color-teal-700);
  --bs-btn-active-bg: var(--color-teal-900);
  --bs-btn-active-border-color: var(--color-teal-900);
  --bs-btn-color: var(--color-on-primary);
  --bs-btn-hover-color: var(--color-on-primary);
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-shadow-teal {
  box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.1), 0 4px 6px -2px rgba(13, 148, 136, 0.05);
}

/* Avatar Group */
.avatar-group .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -12px;
  object-fit: cover;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* Upload Card & Dropzone */
.card-upload {
  box-shadow: 0 20px 50px rgba(13, 148, 136, 0.05);
  border: 1px solid var(--color-outline);
  border-radius: var(--radius-xl);
}

.upload-dropzone {
  border: 2px dashed var(--color-outline);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.3s ease;
  background-color: var(--color-surface-container-low);
}

.upload-dropzone:hover {
  border-color: var(--color-primary);
  background-color: rgba(13, 148, 136, 0.03);
}

.upload-dropzone.is-active {
  border-color: var(--color-primary);
  background-color: #f0fdfa;
}

.upload-dropzone.is-error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.upload-dropzone.is-success {
  border-color: var(--color-primary);
  background-color: #ecfdf5;
}

.upload-drag-hint.is-error {
  color: #dc3545 !important;
}

.upload-drag-hint.is-success {
  color: var(--color-primary) !important;
}

.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

/* Benefit/Testimonial Cards */
.card-benefit {
  border: 1px solid var(--color-outline);
  transition: all 0.3s ease;
}

.card-benefit:hover {
  box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.05);
  transform: translateY(-4px);
  border-color: var(--color-primary-container);
}

/* Accordion: Minimalist */
.accordion-item {
  border: 1px solid var(--color-outline);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--color-primary);
}

.accordion-button {
  padding: 1.5rem;
  font-weight: 700;
  background-color: #fff;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #fff;
  color: var(--color-on-surface);
}

.accordion-button::after {
  background-image: none;
  content: 'chevron_right';
  font-family: 'Material Symbols Outlined';
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
  transform: rotate(90deg);
}

/* CTA Section */
.cta-container {
  overflow: hidden;
  position: relative;
  background-color: var(--color-teal-900);
  border-radius: var(--radius-xl);
}

.cta-blur {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(13, 148, 136, 0.2);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

/* Utilities */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }

/* The Problem / Our Solution Cards */

.card-problem {
  background-color: var(--color-on-primary); /* The Problem card set to white, clean background  */
  border: 1px solid var(--color-outline); /* Add a light border so can see the card edge */
  border-radius: var(--radius-xl); /* Round the card corner */
  padding: 2rem; /* Create inner spacing so the text will not sit against the edges */
}

.card-solution {
  background-color: var(--color-primary-container); /* The Solution card set to teal background  */
  border: 1px solid rgba(13, 148, 136, 0.15); /* Add teal border matching the background color  */
  border-radius: var(--radius-xl); /* Round the card corner */
  padding: 2rem; /* Create inner spacing so the text will not sit against the edges */
}

/* For labels "The Problem" and "Our Solution" */
.card-problem .card-heading,
.card-solution .card-heading {
  font-size: 1.25rem; /* bigger font for heading */
  font-weight: 800; /* make it thicker bolder */
  margin-bottom: 1.25rem; /* create space below the title before the text */
  display: flex; /* Make the text flexible to fill available space or shrink to prevent overflow */
  align-items: center; /* vertically center the content/text  */
  gap: 0.5rem; /* add spacing */
}


/* Hide "drag and drop" text in mobile view */
@media (max-width: 768px) {
  .upload-drag-hint {
    display: none !important;
  }
}

/* ==========================================================================
   Sign-Up Page Split Layout & Custom Elements
   ========================================================================== */

.split-container {
    min-height: calc(100vh - 80px); /* Adjust for header height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-hero-panel {
    background: linear-gradient(rgba(19, 78, 74, 0.85), rgba(19, 78, 74, 0.85)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

  .max-w-xl {
    max-width: 520px;
  }

.badge-premium {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.btn-google {
    background-color: white;
    border: 1px solid var(--color-outline);
    color: var(--color-on-surface);
    font-weight: 600;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--color-on-surface-variant);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-outline);
}

.auth-divider:not(:empty)::before { margin-right: 1.5rem; }
.auth-divider:not(:empty)::after { margin-left: 1.5rem; }

/* Enhanced sign-up validation styles */
.form-control.is-invalid,
.was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: none;
}

.invalid-feedback {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
  color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback {
  display: block;
}

/* Password strength indicator */
.password-strength {
  margin-top: 0.5rem;
  font-size: 0.7rem;
}

.strength-bar {
  height: 4px;
  border-radius: 2px;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
  background-color: #e9ecef;
}

.strength-bar.weak {
  width: 33%;
  background-color: #dc3545;
}

.strength-bar.medium {
  width: 66%;
  background-color: #ffc107;
}

.strength-bar.strong {
  width: 100%;
  background-color: #198754;
}

/* Toast notification styling */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  min-width: 280px;
  max-width: 380px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease-out;
  overflow: hidden;
}

.toast-notification .toast-body {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-notification.success {
  border-left: 4px solid #198754;
}

.toast-notification.error {
  border-left: 4px solid #dc3545;
}

.toast-notification.info {
  border-left: 4px solid #0d6efd;
}

.toast-notification.hide {
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

.btn-primary:disabled {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  opacity: 0.7;
  transform: none;
}

/* Complete invalid outline for input groups with leading icons */
.input-group:has(.form-control.is-invalid) .input-group-text {
  border-color: var(--bs-form-invalid-border-color);
}

.was-validated .input-group:has(.form-control:invalid) .input-group-text {
  border-color: var(--bs-form-invalid-border-color);
}

@media (max-width: 991.98px) {
    .signup-hero-panel {
        display: none; /* Hide hero on mobile as per common split-screen patterns, or stack if preferred */
    }

    .toast-notification {
      left: 16px;
      right: 16px;
      bottom: 16px;
      min-width: auto;
    }
}

/* Dashboard Page */
.dashboard-page {
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.07), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #f8fafc 68%, #f1f5f9 100%);
}

.dashboard-main {
  position: relative;
}

.dashboard-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 72%);
}

.dashboard-brand,
.dashboard-footer-brand {
  letter-spacing: -0.025em;
}

.dashboard-brand-icon,
.dashboard-nav-icon {
  font-size: 1.8rem;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.dashboard-nav-links .nav-link {
  padding: 0;
  font-size: 0.9rem;
}

.dashboard-nav-divider {
  width: 1px;
  height: 16px;
  background: var(--color-outline);
}

.dashboard-header {
  padding-top: 0.25rem;
}

.dashboard-title {
  color: var(--color-teal-900);
  font-size: clamp(2rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px rgba(15, 23, 42, 0.04);
}

.dashboard-score-card,
.dashboard-market-card {
  min-height: 286px;
  padding: 2rem;
}

.dashboard-score-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dashboard-market-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  background: #ccfbf1;
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-card-kicker,
.dashboard-section-card-title {
  color: rgba(71, 85, 105, 0.7);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.dashboard-score-ring {
  width: 132px;
  height: 132px;
}

.dashboard-score-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dashboard-score-track,
.dashboard-score-progress {
  fill: transparent;
  stroke-width: 8;
}

.dashboard-score-track {
  stroke: #dbe7ea;
}

.dashboard-score-progress {
  stroke: #7ccfc7;
  stroke-dasharray: 377;
  stroke-dashoffset: 68;
  stroke-linecap: round;
}

.dashboard-score-value {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: var(--color-on-surface);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.dashboard-score-label {
  color: #78c9c3;
  font-size: 1.1rem;
  font-weight: 800;
}

.dashboard-score-copy {
  max-width: 12rem;
  color: rgba(71, 85, 105, 0.55);
  font-size: 0.8rem;
  line-height: 1.55;
}

.dashboard-benchmark {
  padding-top: 0.25rem;
}

.dashboard-mini-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  background: #f8fafc;
  color: rgba(71, 85, 105, 0.88);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-progress-wrap {
  position: relative;
  padding-top: 0.8rem;
  padding-bottom: 0.35rem;
}

.dashboard-progress-track {
  display: flex;
  height: 0.7rem;
  overflow: hidden;
  border-radius: 9999px;
  background: #e8eef1;
}

.dashboard-progress-low {
  width: 28%;
  background: #c9d5d9;
}

.dashboard-progress-mid {
  width: 42%;
  background: linear-gradient(90deg, rgba(124, 207, 199, 0.45), rgba(13, 148, 136, 0.3));
}

.dashboard-progress-dot {
  position: absolute;
  top: calc(50% + 0.75rem);
  left: 41%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.25);
}

.dashboard-benchmark-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dashboard-benchmark-scale {
  color: rgba(71, 85, 105, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-benchmark-value {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 800;
}

.dashboard-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(2px);
}

.dashboard-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.58rem 1.25rem;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.3);
}

.dashboard-analysis-section {
  margin-top: 0.25rem;
}

.dashboard-section-heading {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.dashboard-section-title {
  color: var(--color-on-surface);
  font-size: clamp(1.5rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dashboard-section-subtitle {
  color: var(--color-on-surface-variant);
  font-size: 0.9rem;
}

.dashboard-table-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 16px 36px rgba(15, 23, 42, 0.04);
}

.dashboard-table {
  margin-bottom: 0;
}

.dashboard-table thead th {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  color: rgba(71, 85, 105, 0.75);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-table tbody td {
  padding: 1.35rem 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  color: var(--color-on-surface);
  font-size: 0.95rem;
}

.dashboard-table tbody tr:first-child td {
  border-top: 0;
}

.dashboard-work-item {
  font-weight: 700;
}

.dashboard-muted-value {
  color: rgba(71, 85, 105, 0.72) !important;
}

.dashboard-strong-value {
  font-weight: 700;
}

.dashboard-verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-verdict .material-symbols-outlined {
  font-size: 0.9rem;
}

.dashboard-verdict-overpriced {
  border: 1px solid rgba(251, 146, 60, 0.22);
  background: #fff7ed;
  color: #ea580c;
}

.dashboard-verdict-good {
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: #ecfdf5;
  color: var(--color-primary);
}

.dashboard-verdict-underpriced {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #f8fafc;
  color: #64748b;
}

.dashboard-footer {
  background: var(--color-surface-container-low);
  border-color: rgba(226, 232, 240, 0.9) !important;
}

.dashboard-footer-copy {
  color: var(--color-on-surface-variant);
  font-size: 0.78rem;
}

.dashboard-socials {
  color: var(--color-on-surface-variant);
}

.dashboard-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  color: inherit;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dashboard-social-link:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.dashboard-social-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@media (max-width: 767.98px) {
  .dashboard-score-card,
  .dashboard-market-card {
    padding: 1.5rem;
    min-height: 260px;
  }

  .dashboard-benchmark-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-table thead th,
  .dashboard-table tbody td {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ==========================================================================
   Quotation Sidebar Styles
   ========================================================================== */

.dashboard-sidebar-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px rgba(15, 23, 42, 0.04);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.dashboard-sidebar-card .sidebar-header {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  padding-bottom: 1rem;
}

.dashboard-sidebar-card .sidebar-title {
  color: var(--color-teal-900);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.dashboard-sidebar-card .sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  max-height: 400px;
}

.dashboard-sidebar-card .sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--color-on-surface-variant);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.2s ease;
}

.dashboard-sidebar-card .sidebar-item .material-symbols-outlined {
  font-size: 1.25rem;
  color: rgba(71, 85, 105, 0.6);
  transition: color 0.2s ease;
}

.dashboard-sidebar-card .sidebar-item:hover {
  background: rgba(15, 23, 42, 0.02);
  color: var(--color-primary);
}

.dashboard-sidebar-card .sidebar-item:hover .material-symbols-outlined {
  color: var(--color-primary);
}

.dashboard-sidebar-card .sidebar-item.active {
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-teal-900);
}

.dashboard-sidebar-card .sidebar-item.active .material-symbols-outlined {
  color: var(--color-primary);
}

.btn-teal-action {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-teal-action:hover {
  background-color: var(--color-teal-700);
  border-color: var(--color-teal-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-teal-action:active {
  transform: scale(0.97);
}

.btn-teal-action .material-symbols-outlined {
  font-size: 1.15rem;
}

/* ==========================================================================
   Navbar Flicker Prevention
   ========================================================================== */

.site-header {
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.site-header.is-ready {
  opacity: 1;
}
