/* ============================================================
   🌿 ecoMatch 2025 – Design Tokens (variables.css)
   ============================================================
   📘 Prinzipien:
   - Mobile-First & Fluid: clamp(), rem, %
   - Light + Dark Mode mit [data-theme="dark"] oder .dark
   - CUBE CSS kompatibel
   - WCAG 2.2 AA-konforme Kontraste
   ============================================================ */

/* ============================================================
   🌞 LIGHT THEME (Default)
   ============================================================ */
:root {
  /* -----------------------------------
     🎨 Farben – Corporate Identity
     ----------------------------------- */
  --color-accent: #20b26c;         /* ecoMatch Grün (Brand) */
  --color-accent-hover: #15803d;   /* Dunkler für Hover */
  --color-accent-light: #d1fae5;   /* Helles Grün für Flächen */

  --color-primary: #111827;        /* Haupttext */
  --color-secondary: #4b5563;      /* Sekundärtext */
  --color-muted: #9ca3af;          /* Platzhalter / deaktiviert */

  --color-bg: #f5f6f7;             /* Seitenhintergrund */
  --color-surface: #ffffff;        /* Karten / Module */
  --color-surface-alt: #f9fafb;    /* Alternative Flächen */
  --color-border: #e5e7eb;         /* Linien, Trennungen */

  /* Statusfarben */
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-danger:  #dc2626;

  --color-success-bg: #ecfdf5;
  --color-warning-bg: #fff7ed;
  --color-danger-bg:  #fef2f2;

  /* Formularfarben */
  --input-bg: var(--color-surface);
  --input-text: var(--color-primary);
  --input-border: var(--color-border);

  /* Nativer Farbraum */
  color-scheme: light;

  /* -----------------------------------
     🖋 Typografie – fluid & lesefreundlich
     ----------------------------------- */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluides Schriftmaß */
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.3vw, 0.8rem);
  --font-size-sm: clamp(0.85rem, 0.8rem + 0.3vw, 0.9rem);
  --font-size-base: clamp(0.95rem, 0.9rem + 0.3vw, 1rem);
  --font-size-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.75rem);
  --font-size-3xl: clamp(2rem, 1.6rem + 1.5vw, 2.5rem);

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold:   600;

  /* -----------------------------------
     📏 Spacing – 4er-System (fluid)
     ----------------------------------- */
  --space-2xs: clamp(0.1rem, 0.1rem + 0.2vw, 0.25rem);
  --space-xs:  clamp(0.25rem, 0.2rem + 0.3vw, 0.5rem);
  --space-sm:  clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --space-md:  clamp(1rem, 0.8rem + 0.6vw, 1.25rem);
  --space-lg:  clamp(1.5rem, 1rem + 0.8vw, 2rem);
  --space-xl:  clamp(2rem, 1.5rem + 1vw, 2.5rem);
  --space-2xl: clamp(3rem, 2rem + 1vw, 3.5rem);

  /* -----------------------------------
     🟩 Rundungen & Schatten
     ----------------------------------- */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12);

  /* -----------------------------------
     🧱 Layoutgrößen
     ----------------------------------- */
  --max-width-container: 90rem;
  --content-width: min(100% - 2rem, var(--max-width-container));
  --header-height: clamp(3.5rem, 3rem + 1vw, 4.5rem);
}

/* ============================================================
   🌑 DARK MODE (universal: .dark oder [data-theme="dark"])
   ============================================================ */
:root[data-theme='dark'],
html[data-theme='dark'],
html.dark,
body.dark {
  --color-bg: #0d1117;             /* tiefer, matter Hintergrund */
  --color-surface: #161b22;        /* Kartenhintergrund */
  --color-surface-alt: #1f2937;    /* Alternative Flächen */
  --color-border: #30363d;         /* dezente Linien */

  /* ✨ Textfarben – optimiert für Kontrast */
  --color-primary:   #ffffff;      /* Titel, Überschriften */
  --color-secondary: #e5e7eb;      /* Standardtext */
  --color-muted:     #9ca3af;      /* weniger wichtige Texte */

  /* 🌿 ecoMatch Grün (heller & lebendiger) */
  --color-accent:        #27e182;
  --color-accent-hover:  #20b26c;
  --color-accent-light:  #065f46;

  /* ✅ Statusfarben */
  --color-success-bg: #022c22;
  --color-warning-bg: #78350f;
  --color-danger-bg:  #7f1d1d;

  /* Formularfarben */
  --input-bg: var(--color-surface);
  --input-text: var(--color-primary);
  --input-border: var(--color-border);

  color-scheme: dark;

  /* Schatten im dunklen Modus */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.6);
}

/* Grundstruktur im Dark Mode */
html[data-theme='dark'] body,
html.dark body,
body.dark {
  background-color: var(--color-bg);
  color: var(--color-primary);
}

:root {
  --color-icon-muted: #8a8a8a;
  --color-icon-muted-dark: #a0a0a0;
}

/* ============================================================
   🌍 GLOBAL STYLES / RESET
   ============================================================ */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  color: var(--color-primary);
  background-color: var(--color-bg);
  margin: 0;
  line-height: 1.6;
  min-height: 100vh;
}

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-accent-hover);
}

/* Buttons */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  background-color: var(--color-accent);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-base);
  transition: background-color 0.2s ease, transform 0.1s ease;
}
button:hover {
  background-color: var(--color-accent-hover);
}
button:active {
  transform: scale(0.98);
}

/* Karten / Module */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  color: var(--color-secondary);
}

/* ============================================================
   🎨 Card Titles – Immer klar lesbar (Light + Dark)
   ============================================================ */
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card-title {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

html[data-theme='dark'] .card h2,
html[data-theme='dark'] .card h3 {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
}


/* Text Standard */
p, li, span, small {
  color: var(--color-secondary);
}

/* Formularelemente */
input, textarea, select {
  background-color: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  font-size: var(--font-size-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(32, 178, 108, 0.25);
}
/* ============================================================
   🌿 ecoMatch 2026 – globals.css
   Globale Basis, Layout-Reset, Formular-Basis, Accessibility
   ============================================================ */

/* ============================================================
   🔹 Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  overflow-y: auto;
  position: relative;

  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.6;

  color: var(--color-text);
  background: var(--color-bg);

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  min-height: 100vh;
  isolation: isolate;
}

/* ============================================================
   🔹 Medien / eingebettete Elemente
   ============================================================ */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

iframe {
  max-width: 100%;
  border: 0;
}

/* ============================================================
   🔹 Form-Basis / Typografie-Vererbung
   ============================================================ */
input,
textarea,
select,
button {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  padding: 0.875rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-lg);
  background: var(--input-bg);
  color: var(--input-text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--color-accent) 24%, transparent);
}

/* ============================================================
   🔹 Interaktive Elemente
   ============================================================ */
button,
[role='button'] {
  cursor: pointer;
}

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

:focus-visible {
  outline: none;
}

/* ============================================================
   🔹 Typografie
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-sm);
  color: var(--color-primary);
  line-height: 1.2;
  text-wrap: balance;
}

p {
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

small {
  font-size: var(--font-size-xs);
}

strong {
  font-weight: var(--font-weight-semibold);
}

/* ============================================================
   🔹 Listen
   ============================================================ */
ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.25rem;
}

/* ============================================================
   🔹 App-Layout
   ============================================================ */
.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}

.page-content {
  flex: 1;
  min-width: 0;
  padding: var(--space-sm);
  margin-top: var(--header-height);
  margin-bottom: var(--space-md);
}

/* ============================================================
   🔹 Header
   ============================================================ */
.fixed-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);

  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(0.75rem);

  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* ============================================================
   🔹 Footer
   ============================================================ */
.eco-footer {
  padding: var(--space-md);
  text-align: center;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.eco-footer a {
  font-weight: var(--font-weight-semibold);
}

/* ============================================================
   🔹 Wizard / Dialog-Kompatibilität
   ============================================================ */
body.modal-open {
  overflow: hidden;
  touch-action: none;
}

dialog {
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: color-mix(in srgb, #000 45%, transparent);
  backdrop-filter: blur(0.375rem);
}

/* ============================================================
   🔹 Utility-Klassen
   ============================================================ */
.text-muted {
  color: var(--color-muted);
}

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

.shadow-soft {
  box-shadow: var(--shadow-md);
}

.surface-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   🔹 Tablet+
   ============================================================ */
@media (min-width: 48rem) {
  .page-content {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .fixed-header {
    position: fixed;
  }
}

/* ============================================================
   🔹 Desktop+
   ============================================================ */
@media (min-width: 64rem) {
  .page-content {
    padding: var(--space-lg);
  }
}
/* ============================================================
   ecoMatch 2025 – UserMenu (Header Compact & Mobile Overlay)
   ============================================================ */

/* === General Layout === */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: var(--font-family-base);
  white-space: nowrap;
}

/* Inline text + avatar */
.user-info-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.user-info-inline.desktop-only {
  justify-content: center;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  gap: 0.5rem;
  position: relative;
}

/* Login text */
.umenu-email {
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.9rem);
  color: var(--color-secondary);
}

/* ============================================================
   Header Avatar
   ============================================================ */
.header-avatar-img {
  width: clamp(30px, 4vw, 36px);
  height: clamp(30px, 4vw, 36px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.avatar-btn {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.avatar-btn:hover .header-avatar-img {
  transform: scale(1.05);
  border-color: var(--color-accent-hover);
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.35);
}

/* Avatar fallback (initials) */
.header-avatar-fallback {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ============================================================
   Dropdown Menu (Desktop)
   ============================================================ */
.user-dropdown {
  position: absolute;
  top: 130%;
  right: -6rem;
  min-width: 20rem;
  background: var(--menu-bg-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--menu-border-light);
  padding: var(--space-xs) 0;
  z-index: 999;
  animation: fadeInScale 0.25s ease forwards;
}

.ud-item {
  width: 100%;
  background: none;
  border: none;
  color: var(--menu-text-light);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ud-item:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-accent-hover);
}

.ud-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.9;
  stroke-width: 2.2;
  color: var(--menu-icon-light);
  stroke: var(--menu-icon-light);
  transition: transform 0.15s ease;
}

.ud-item:hover .ud-icon {
  transform: scale(1.05);
  color: var(--color-accent-hover);
}

.ud-sep {
  height: 1px;
  background: var(--menu-border-light);
  margin: var(--space-xs) 0;
  border: none;
}

.ud-item.danger {
  color: var(--color-danger);
}

.ud-item.danger:hover {
  background: rgba(255, 0, 0, 0.08);
}

/* ============================================================
   Animation
   ============================================================ */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(-5px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ============================================================
   Light / Dark Theme Variables
   ============================================================ */
:root {
  --menu-bg-light: rgba(255, 255, 255, 0.96);
  --menu-text-light: #111827;
  --menu-icon-light: #111827;
  --menu-border-light: rgba(0, 0, 0, 0.08);

  --menu-bg-dark: rgba(20, 25, 30, 0.92);
  --menu-text-dark: #f3f4f6;
  --menu-icon-dark: #e5e7eb;
  --menu-border-dark: rgba(255, 255, 255, 0.08);
}

/* Dark Mode */
:root[data-theme='dark'] .user-dropdown,
:root[data-theme='dark'] .mobile-user-menu {
  /* 🎨 Gleich wie Seitenhintergrund (Dashboard / Hauptlayout) */
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0);
  box-shadow: var(--shadow-lg);
}

:root[data-theme='dark'] .ud-item {
  color: var(--menu-text-dark);
}

:root[data-theme='dark'] .ud-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);
}

:root[data-theme='dark'] .ud-icon {
  color: var(--menu-icon-dark);
  stroke: var(--menu-icon-dark);
}

:root[data-theme='dark'] .header-avatar-img {
  background: var(--color-surface-alt);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(32, 178, 108, 0.3);
}

:root[data-theme='dark'] .avatar-btn:hover .header-avatar-img {
  box-shadow: 0 0 4px rgba(32, 178, 108, 0.5);
}

/* ============================================================
   Mobile Overlay
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 3000; /* Portal root are z-index 3000, dar dublăm claritatea */
  overflow-y: auto;
  animation: fadeInOverlay 0.25s ease forwards;
}

.mobile-menu-wrapper {
  position: relative;
  z-index: 3001;
  width: 100%;
  padding: var(--space-xl);
  max-width: 420px;
  margin-top: var(--space-xl);
  animation: slideInMenu 0.3s ease forwards;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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


/* ============================================================
   Mobile Layout
   ============================================================ */
.mobile-only {
  display: none;
}
/* ============================================================
   ecoMatch – Mobile User Menu (Full Combination Class)
   ============================================================ */

.mobile-only.mobile-user-menu {
  display: none; /* ascuns implicit pe desktop */
}

/* ====== Active layout pentru mobile ====== */
@media (max-width: 768px) {
  .mobile-only.mobile-user-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    width: 90vw;
    padding: var(--space-2xl);
    background: var(--menu-bg-light);
    color: var(--menu-text-light);
    border-top: 1px solid var(--menu-border-light);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    animation: slideInMobileMenu 0.3s ease-out;
  }

  .mobile-only.mobile-user-menu .mobile-user-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-lg);
  }

  .mobile-only.mobile-user-menu .mobile-username {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
  }

  .mobile-only.mobile-user-menu .mobile-user-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    width: 100%;
  }

  .mobile-only.mobile-user-menu .ud-item {
    justify-content: start;
    font-size: 1rem;
    padding: 0.9rem 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: inherit;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mobile-only.mobile-user-menu .ud-item:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .mobile-only.mobile-user-menu .ud-icon {
    width: 22px;
    height: 22px;
  }

  .mobile-only.mobile-user-menu .ud-sep {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .mobile-only.mobile-user-menu .ud-item.danger {
    color: var(--color-danger);
    font-weight: 500;
  }

  .mobile-only.mobile-user-menu .ud-item.danger:hover {
    background: rgba(255, 0, 0, 0.08);
  }

  /* Dark Mode */
  :root[data-theme='dark'] .mobile-only.mobile-user-menu {
    background: var(--menu-bg-dark);
    color: var(--menu-text-dark);
    border-top: 1px solid var(--menu-border-dark);
  }

  :root[data-theme='dark'] .mobile-only.mobile-user-menu .ud-item:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  :root[data-theme='dark'] .mobile-only.mobile-user-menu .ud-item.danger:hover {
    background: rgba(255, 80, 80, 0.15);
  }
}

/* ====== Animations ====== */
@keyframes slideInMobileMenu {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: var(--space-2xl);
  }

  .mobile-user-menu {
    background: var(--menu-bg-light);
    color: var(--menu-text-light);
    border: 1px solid var(--menu-border-light);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: var(--space-2xl) var(--space-2xl);
    width: 100%;
    min-height: 80vh;
  }

  .mobile-user-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-lg);
  }

  .mobile-user-header .header-avatar-img {
    width: 90px;
    height: 90px;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
  }

  .mobile-username {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1rem;
  }

  .mobile-user-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .mobile-user-items .ud-item {
    justify-content: center;
    font-size: 1rem;
    padding: 0.9rem 0;
  }

  .mobile-user-items .ud-icon {
    width: 22px;
    height: 22px;
  }

  :root[data-theme='dark'] .mobile-user-menu {
    color: var(--menu-text-dark);
    border-color: var(--menu-border-dark);
  }
}
/* ============================================================
   ecoMatch 2025 – Header (logo absolut, sticky, translucent)
   ============================================================ */

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

/* Base header bar */
.landing-header,
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  animation: headerFadeIn 0.5s ease-out;
}

/* Translucent layer */
.landing-header::before,
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-surface);
  opacity: 0.9;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: opacity 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.landing-header.scrolled::before,
.header.scrolled::before {
  box-shadow: var(--shadow-md);
}

/* Header inner layout */
.header-inner {
  position: relative;
  z-index: 1;
  width: min(92%, var(--max-width-container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.15rem;
  gap: var(--space-md);
}

/* Logo */
.logo {
  position: relative;
  display: block;
  height: 100%;
  width: clamp(9rem, 16vw, 14rem);
  overflow: visible;
}

.logo-icon,
.logo img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: clamp(3.5rem, 8vw, 5.5rem);
  width: auto;
  object-fit: contain;
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon,
.logo:hover img {
  transform: translateY(-50%) scale(1.05);
}

/* Navigation and auth */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.login-button,
.register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
  white-space: nowrap;
}

.login-button {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.login-button:hover {
  background: var(--color-accent-light);
}

.register-button {
  background: var(--color-accent);
  color: var(--color-surface);
}

.register-button:hover {
  background: var(--color-accent-hover);
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--color-border);
  margin-inline: var(--space-xs);
}

.user-menu {
  display: flex;
  align-items: center;
  margin-left: var(--space-sm);
}

/* Dark Mode */
:root[data-theme='dark'] .landing-header::before,
:root[data-theme='dark'] .header::before {
  background: var(--color-surface);
  opacity: 0.9;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

:root[data-theme='dark'] .logo-icon,
:root[data-theme='dark'] .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .login-button,
  .register-button {
    font-size: var(--font-size-base);
    padding: 0.75rem 1.3rem;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    gap: var(--space-xl);
  }
}
/* ============================================================
   ecoMatch – Zentrales großes Logo auf Mobilgeräten
   ============================================================ */

.landing-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: auto;
}

.landing-header .logo-icon {
  display: block;
  height: 8rem;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

[data-theme='dark'] .landing-header .logo-icon {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@media (max-width: 600px) {
  .landing-header .header-inner {
    justify-content: center;
    align-items: center;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .landing-header .logo-icon {
    height: 6rem;
  }

  .landing-header .nav-links,
  .landing-header .nav-right {
    display: none;
  }
}
/* ============================================================
   ecoMatch Footer 2025 – Modern, Clean, One-Line Layout
   ============================================================ */

.eco-footer {
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.5rem, 2vw, 1rem);
  background-color: var(--color-surface-muted, #f3f4f6);
  color: var(--color-text-strong, #1f2937);
  font-family: var(--font-sans, system-ui, sans-serif);
  text-align: center;
}

/* ==============================
   Partner Links
   ============================== */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.footer-icon {
  margin-right: 0.4rem;
  vertical-align: middle;
  font-size: 1rem;
}

.footer-links a {
  color: var(--color-accent, #047857);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease, text-decoration 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-accent-hover, #065f46);
  text-decoration: underline;
}

/* ==============================
   Linie + Rechtszeile
   ============================== */
.footer-separator {
  margin: 0.75rem auto 0.5rem;
  border: none;
  border-top: 1px solid var(--color-border, #d1d5db);
  width: 65%;
}

/* Linie unică cu toate elementele */
.footer-legal-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted, #6b7280);
  line-height: 1.6;
}

/* Elemente individuale (text, link, buton) */
.footer-legal-line span,
.footer-legal-line a,
.footer-legal-line button {
  background: none;
  border: none;
  color: var(--color-text-muted, #6b7280);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.25s ease;
}

.footer-legal-line a:hover,
.footer-legal-line button:hover,
.footer-legal-line a:focus-visible,
.footer-legal-line button:focus-visible {
  color: var(--color-accent, #16a34a);
  outline: none;
}

/* Separator " | " automat între elemente */
.footer-legal-line > *:not(:last-child)::after {
  content: "|";
  margin: 0 0.6rem;
  color: var(--color-border, #d1d5db);
}

/* ==============================
   Dark Mode
   ============================== */
html[data-theme="dark"] .eco-footer {
  background-color: var(--color-surface-dark, #1f2937);
  color: var(--color-text-light, #f3f4f6);
}

html[data-theme="dark"] .footer-links a {
  color: var(--color-accent-light, #6ee7b7);
}

html[data-theme="dark"] .footer-links a:hover {
  color: var(--color-accent, #10b981);
}

html[data-theme="dark"] .footer-legal-line span,
html[data-theme="dark"] .footer-legal-line a,
html[data-theme="dark"] .footer-legal-line button {
  color: var(--color-text-muted-dark, #9ca3af);
}

html[data-theme="dark"] .footer-legal-line a:hover,
html[data-theme="dark"] .footer-legal-line button:hover {
  color: var(--color-accent-light, #4ade80);
}

html[data-theme="dark"] .footer-separator {
  border-top-color: var(--color-border-dark, #374151);
}

/* ==============================
   Mobile
   ============================== */
@media (max-width: 640px) {
  .footer-legal-line {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .footer-legal-line > *:not(:last-child)::after {
    margin: 0 0.4rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }
}
/* ============================================================
   🌿 ecoMatch ChatBot – Refactored 2025
   Same dimensions, modern theme + dark mode support
   ============================================================ */

/* 🔹 Grundstruktur */
.chatbot-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ============================================================
   💬 Öffnen-Schaltfläche
   ============================================================ */
.chatbot-button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  border: none;
  border-radius: 20rem;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 1rem);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.chatbot-button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.chatbot-label {
  display: inline;
}

@media (max-width: 768px) {
  .chatbot-button {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 9999px;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
  }
}

/* ============================================================
   🪟 Chat-Fenster
   ============================================================ */
.chatbot-window {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  width: 100%;
  max-width: min(400px, 90vw);
  height: 64vh;
  border-radius: 0.2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  animation: fadeInUp 0.3s ease;
}

@media (min-width: 1024px) {
  .chatbot-window {
    top: 5rem;
    bottom: 5rem;
    height: auto;
  }
}

/* ============================================================
   🧭 Header mit Kontrollelementen
   ============================================================ */
.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding: 0.8rem 1rem;
  font-weight: 600;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chatbot-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chatbot-icon {
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.chatbot-icon:hover {
  opacity: 1;
}

/* ============================================================
   💬 Nachrichtenbereich
   ============================================================ */
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: var(--color-bg-muted);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.chatbot-message {
  max-width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  line-height: 1.4;
  font-size: 0.95rem;
  white-space: pre-wrap;
}

.user-message {
  align-self: flex-end;
  background: var(--color-accent-light);
  color: var(--color-accent-text);
  font-weight: 500;
  border-bottom-right-radius: 0;
}

.bot-message {
  align-self: flex-start;
  background: var(--color-surface);
  color: var(--color-text);
  border-bottom-left-radius: 0;
  font-family: 'Inter', sans-serif;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   🖊️ Eingabebereich
   ============================================================ */
.chatbot-input {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.6rem 0.8rem;
}

.chatbot-input textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  min-height: 2.5rem;
  max-height: 6rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chatbot-input textarea:focus {
  border-color: var(--color-accent);
}

.chatbot-input button {
  background: var(--color-accent);
  color: var(--color-on-accent);
  border: none;
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease;
}

.chatbot-input button:hover {
  background: var(--color-accent-hover);
}

/* ============================================================
   🔽 Minimierte Version
   ============================================================ */
.chatbot-minimized-button {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--color-surface-muted);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.chatbot-minimized-button:hover {
  background: var(--color-bg-muted);
}

@media (max-width: 768px) {
  .chatbot-button {
    display: none !important;
  }
}

/* ============================================================
   🎬 Animationen
   ============================================================ */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================================
   🌙 Dark Mode (class + system)
   ============================================================ */
.dark .chatbot-window,
@media (prefers-color-scheme: dark) {
  .chatbot-window {
    background: var(--color-surface-dark, #1f2937);
    color: var(--color-text-light, #f9fafb);
  }

  .chatbot-body {
    background: var(--color-bg-dark, #111827);
  }

  .bot-message {
    background: #1e293b;
    color: #f1f5f9;
  }

  .user-message {
    background: #15803d;
    color: #e7f8ec;
  }

  .chatbot-header {
    background: var(--color-accent-dark, #15803d);
  }

  .chatbot-input {
    background: #1e293b;
    border-top: 1px solid #374151;
  }

  .chatbot-input textarea {
    background: #111827;
    color: #f9fafb;
    border: 1px solid #374151;
  }

  .chatbot-minimized-button {
    background: #1f2937;
    color: #e5e7eb;
    border: 1px solid #374151;
  }

  .chatbot-minimized-button:hover {
    background: #374151;
  }
}
/* ============================================================
   📱 ecoMatch – Mobile Navigation (Icon-only clickables)
   ============================================================ */

.mobile-nav {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(90%, 22rem, 95%);
  height: clamp(3.2rem, 6vw, 3.8rem);

  display: flex;
  justify-content: space-around;
  align-items: center;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 4px 12px rgba(32, 178, 108, 0.25);

  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

[data-theme='dark'] .mobile-nav {
  background: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(32, 178, 108, 0.25);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* 🌿 Icon-Wrapper: înlocuiește <button> */
.nav-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;

  color: var(--color-secondary);
  background: transparent;
  border-radius: var(--radius-full);

  width: clamp(2.8rem, 8vw, 3.2rem);
  height: clamp(2.8rem, 8vw, 3.2rem);
  cursor: pointer;
  user-select: none;

  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-icon-wrapper:hover {
  color: var(--color-accent);
  background: rgba(32, 178, 108, 0.08);
}

.nav-icon-wrapper:active {
  transform: scale(0.95);
}

/* ✅ Activ */
.nav-icon-wrapper.active {
  color: var(--color-accent);
  background: rgba(32, 178, 108, 0.12);
  box-shadow: inset 0 0 4px rgba(32, 178, 108, 0.25);
}

/* 🌗 Dark mode activ */
[data-theme='dark'] .nav-icon-wrapper.active {
  background: rgba(32, 178, 108, 0.2);
  color: var(--color-accent);
}

/* 🖼️ Iconuri */
.nav-icon {
  width: clamp(1.4rem, 1.2rem + 0.5vw, 1.6rem);
  height: clamp(1.4rem, 1.2rem + 0.5vw, 1.6rem);
  pointer-events: none; /* clickul e pe wrapper */
}
/* ============================================================
   ecoMatch – Mobile User Menu Wrapper (Centered Overlay)
   ============================================================ */

.mobile-user-menu-wrapper {
  position: fixed; /* se poziționează peste tot ecranul */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; /* ocupă toată înălțimea ecranului */
  display: flex;
  align-items: center; /* ✅ centrează vertical */
  justify-content: center; /* ✅ centrează orizontal */
  background: rgba(0, 0, 0, 0.4); /* fundal semitransparent opțional */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  animation: fadeInOverlay 0.25s ease-out;
}

/* Cardul interior (meniul propriu-zis) */
.mobile-user-menu-wrapper .mobile-user-menu {
  background: var(--menu-bg-light);
  color: var(--menu-text-light);
  padding: var(--space-2xl);
  width: 90vw;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  animation: slideInMobileMenu 0.3s ease-out;
}

/* Dark Mode */
:root[data-theme='dark'] .mobile-user-menu-wrapper {
  background: rgba(0, 0, 0, 0.2);
}

:root[data-theme='dark'] .mobile-user-menu-wrapper .mobile-user-menu {
  background: var(--menu-bg-dark);
  color: var(--menu-text-dark);
}

/* Animații */
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* 📵 Desktop: ascundem bara */
@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease forwards;
}

.mobile-menu-full {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--color-surface);
  color: var(--color-text);
  overflow-y: auto;
  animation: slideUp 0.35s ease forwards;
}

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

.close-button {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.25s ease;
  z-index: 10;
}

.close-button:hover {
  color: var(--color-accent);
}

/* UserMenu inside fullscreen mode */
.user-menu {
  position: relative;
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.user-dropdown {
  background: transparent;
  width: 100%;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
}

.user-dropdown .ud-item {
  width: 100%;
  padding: var(--space-lg);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-dropdown .ud-item:last-child {
  border-bottom: none;
}

.user-dropdown .ud-icon {
  width: 1.4rem;
  height: 1.4rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 📄 ecoMatch – CookieBanner 2025 (modern, centered card style) */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: clamp(300px, 90vw, 380px);
  background: var(--color-surface, #fff);
  color: var(--color-text, #1a1a1a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-xl, 16px);
  padding: 1.25rem 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeUp 0.4s ease forwards;
}

.cookie-banner p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: var(--color-text-muted, #333);
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.btn {
  width: 100%;
  border: none;
  border-radius: var(--radius-md, 8px);
  padding: 0.7rem;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Primary button */
.btn.primary {
  background: var(--color-accent, #16a34a);
  color: #fff;
}

.btn.primary:hover {
  background: var(--color-accent-hover, #15803d);
}

/* Secondary button */
.btn.secondary {
  background: var(--color-muted, #e5e7eb);
  color: var(--color-text, #111);
}

.btn.secondary:hover {
  background: #d1d5db;
}

/* Tertiary link */
.btn.tertiary {
  background: none;
  color: var(--color-accent, #16a34a);
  text-decoration: underline;
}

/* Modal overlay remains same */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.cookie-modal {
  background: var(--color-surface, #ffffff);
  color: var(--color-text, #1a1a1a);
  padding: 1.5rem;
  border-radius: var(--radius-lg, 12px);
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}

.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cookie-modal p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--color-text-muted, #333);
}

/* 🔧 Vertical alignment perfect */
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0.6rem 0;
  padding: 0.4rem 0.3rem;
  border-radius: var(--radius-sm, 6px);
  transition: background 0.2s ease;
}

.cookie-option:hover {
  background: var(--color-muted, #f3f4f6);
}

.cookie-option input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-accent, #16a34a);
  cursor: pointer;
}

.cookie-option span {
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-text, #111);
}

/* 🌙 Dark mode alignment */
html[data-theme="dark"] .cookie-option:hover {
  background: #2a2a2a;
}
html[data-theme="dark"] .cookie-option span {
  color: #fff;
}


.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

/* 🌙 Dark Mode */
html[data-theme="dark"] .cookie-banner,
html[data-theme="dark"] .cookie-modal {
  background: var(--color-surface-dark, #1f1f1f);
  color: var(--color-text-dark, #ffffff);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .btn.secondary {
  background: #2f2f2f;
  color: #fff;
}

html[data-theme="dark"] .btn.tertiary {
  color: var(--color-accent, #22c55e);
}

/* ✨ Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ============================================================
   🌿 ecoMatch 2025 – EcoBotTour.css
   ------------------------------------------------------------
   • Mobile-first, dark-mode ready (data-theme="dark")
   • Respectă design tokens din :root (variables.css)
   • Accesibilitate: focus states, contrast, reduced motion
   • Fără culori hardcodate – folosește variabilele proiectului
   ============================================================ */

/* --------- Utilitare de bază ---------- */
:root {
  /* Fallback dacă lipsesc variabilele proiectului */
  --_eco-accent: var(--color-accent, #20b26c);
  --_eco-accent-hover: var(--color-accent-hover, #169d5e);
  --_eco-bg: var(--color-surface, #ffffff);
  --_eco-bg-alt: var(--color-surface-alt, #f6f7f8);
  --_eco-text: var(--color-primary, #0d0f12);
  --_eco-text-2: var(--color-secondary, #475569);
  --_eco-muted: var(--color-muted, #6b7280);
  --_eco-border: var(--color-border, #e5e7eb);
  --_eco-shadow: var(--shadow-lg, 0 15px 35px rgba(0,0,0,.12));
  --_eco-radius-md: var(--radius-md, 10px);
  --_eco-radius-lg: var(--radius-lg, 14px);
  --_eco-space-xs: var(--space-xs, .375rem);
  --_eco-space-sm: var(--space-sm, .5rem);
  --_eco-space-md: var(--space-md, .875rem);
  --_eco-space-lg: var(--space-lg, 1.25rem);
  --_eco-space-xl: var(--space-xl, 2rem);
  --_eco-font: var(--font-family-base, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif);
  --_eco-fs-sm: var(--font-size-sm, .9rem);
  --_eco-fs-base: var(--font-size-base, 1rem);
  --_eco-fs-lg: var(--font-size-lg, clamp(1.05rem, 1rem + .4vw, 1.2rem));
  --_eco-fs-2xl: var(--font-size-2xl, clamp(1.35rem, 1.1rem + 1vw, 1.8rem));
}

/* Dark mode – folosește aceleași variabile globale ale proiectului */
[data-theme="dark"] {
  --_eco-bg: var(--color-surface, #0f1115);
  --_eco-bg-alt: var(--color-surface-alt, #12151b);
  --_eco-text: var(--color-primary, #eef2ff);
  --_eco-text-2: var(--color-secondary, #c7d2fe);
  --_eco-muted: var(--color-muted, #9aa4b2);
  --_eco-border: color-mix(in oklab, #ffffff 10%, transparent);
  --_eco-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* Respectă preferința utilizatorului de a reduce animațiile */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   🎯 Joyride – Spotlight, Tooltip, Overlay
   ============================================================ */

/* Spotlight – accent clar (fără blur) + puls discret */
@keyframes ecoPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--_eco-accent) 45%, transparent); }
  70%  { box-shadow: 0 0 0 14px color-mix(in oklab, var(--_eco-accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--_eco-accent) 0%, transparent); }
}

.react-joyride__spotlight {
  border-radius: var(--_eco-radius-lg);
  box-shadow:
    0 0 0 3px var(--_eco-accent),
    0 0 18px color-mix(in oklab, var(--_eco-accent) 55%, transparent);
  background: none !important;
  animation: ecoPulse 2s ease-in-out infinite;
}

/* Overlay – semi-transparent, fără blur (performant) */
.react-joyride__overlay {
  background-color: rgba(0, 0, 0, .35);
}

/* Tooltip container */
.react-joyride__tooltip {
  background: var(--_eco-bg);
  color: var(--_eco-text);
  border-radius: var(--_eco-radius-lg);
  box-shadow: var(--_eco-shadow);
  padding: clamp(.875rem, .7rem + .6vw, 1.25rem) clamp(1rem, .8rem + .9vw, 1.5rem);
  border: 1px solid var(--_eco-border);
  font-family: var(--_eco-font);
  max-width: min(92vw, 420px);
  line-height: 1.55;
}

/* Titlu tooltip */
.react-joyride__tooltip h3 {
  margin: 0 0 var(--_eco-space-xs);
  font-size: var(--_eco-fs-lg);
  font-weight: 700;
  color: var(--_eco-text);
}

/* Paragrafe / corp */
.react-joyride__tooltip p {
  margin: 0;
  font-size: var(--_eco-fs-base);
  color: var(--_eco-text-2);
}

/* Butoane (primary / skip) */
.react-joyride__button--primary {
  background: var(--_eco-accent);
  color: #fff;
  border: none;
  border-radius: var(--_eco-radius-md);
  padding: .6rem .9rem;
  font-weight: 600;
  font-size: var(--_eco-fs-sm);
  transition: transform .1s ease, background .2s ease;
}
.react-joyride__button--primary:hover { background: var(--_eco-accent-hover); transform: translateY(-1px); }
.react-joyride__button--primary:active { transform: translateY(0); }

.react-joyride__button--skip {
  background: transparent;
  color: var(--_eco-text-2);
  border: 1px solid transparent;
  border-radius: var(--_eco-radius-md);
  font-weight: 600;
  font-size: var(--_eco-fs-sm);
  padding: .55rem .85rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.react-joyride__button--skip:hover {
  color: var(--_eco-accent);
  border-color: var(--_eco-border);
  background: var(--_eco-bg-alt);
}

/* Progres */
.react-joyride__progress {
  color: var(--_eco-muted);
  font-size: .8rem;
}

/* Focus accesibil pe toate butoanele Joyride */
.react-joyride__tooltip button:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--_eco-accent) 70%, transparent);
  outline-offset: 2px;
  border-radius: calc(var(--_eco-radius-md) + 2px);
}

/* ============================================================
   🟩 Welcome Overlay (Start / Später)
   ============================================================ */

.eco-tour-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: color-mix(in oklab, #000 45%, transparent);
  display: grid;
  place-items: center;
  padding: max(2vh, 1rem);
  /* respectă notch-uri pe mobile */
  padding-left: max(env(safe-area-inset-left), 1rem);
  padding-right: max(env(safe-area-inset-right), 1rem);
  backdrop-filter: blur(2px);
}

@keyframes ecoFadeUp {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.eco-tour-welcome-card {
  width: min(92vw, 680px);
  background: var(--_eco-bg);
  color: var(--_eco-text);
  border: 1px solid var(--_eco-border);
  border-radius: var(--_eco-radius-lg);
  box-shadow: var(--_eco-shadow);
  padding: clamp(1rem, .8rem + 2vw, 2rem);
  animation: ecoFadeUp .35s ease both;
  text-align: center;
  font-family: var(--_eco-font);
}

.eco-tour-welcome-card h2 {
  font-size: var(--_eco-fs-2xl);
  margin: 0 0 var(--_eco-space-sm);
  line-height: 1.2;
}

.eco-tour-welcome-card p {
  margin: 0 0 var(--_eco-space-lg);
  color: var(--_eco-text-2);
  font-size: var(--_eco-fs-base);
}

.eco-tour-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--_eco-space-sm);
}

/* Buton „Start” */
.btn-start {
  background: var(--_eco-accent);
  color: #fff;
  border: 0;
  border-radius: var(--_eco-radius-md);
  padding: .75rem 1rem;
  font-weight: 700;
  font-size: var(--_eco-fs-base);
  cursor: pointer;
  transition: background .2s ease, transform .1s ease;
}
.btn-start:hover { background: var(--_eco-accent-hover); transform: translateY(-1px); }
.btn-start:active { transform: translateY(0); }

/* Buton „Später” */
.btn-later {
  background: var(--_eco-bg-alt);
  color: var(--_eco-text-2);
  border: 1px solid var(--_eco-border);
  border-radius: var(--_eco-radius-md);
  padding: .75rem 1rem;
  font-weight: 600;
  font-size: var(--_eco-fs-base);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.btn-later:hover { color: var(--_eco-accent); border-color: var(--_eco-accent); }

/* Focus accesibil */
.btn-start:focus-visible,
.btn-later:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--_eco-accent) 70%, transparent);
  outline-offset: 2px;
}

/* Stivă pe mobil îngust */
@media (max-width: 480px) {
  .eco-tour-buttons { grid-template-columns: 1fr; }
}

/* ============================================================
   🧰 Fallback Target + Utility Highlight
   ============================================================ */

.eco-tour-fallback {
  position: fixed;
  top: 0; left: 0;
  width: 1px; height: 1px;
  pointer-events: none;
  z-index: 1;
}

/* Opțional: dacă adaugi din JS clasa .eco-tour-pulse pe un target,
   acesta primește un inel discret de evidențiere */
@keyframes ecoRing {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--_eco-accent) 35%, transparent); }
  100% { box-shadow: 0 0 0 14px transparent; }
}
.eco-tour-pulse {
  border-radius: 12px;
  animation: ecoRing 1.4s ease-out 2;
}

/* ============================================================
   🖥️ Layout micro-ajustări pentru tooltips pe ecrane mari
   ============================================================ */
@media (min-width: 1024px) {
  .react-joyride__tooltip {
    padding: var(--_eco-space-lg) calc(var(--_eco-space-lg) + .25rem);
  }
}
/* ============================================================
   ecoMatch 2025 – LandingPage (Fluid Grid Layout)
   ============================================================ */

.landing-main {
  display: block;
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-family-base);
}

/* ============================================================
   Container
   ============================================================ */
.landing-container {
  display: block;
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: var(--space-);
}

.landing-container > section {
  width: 100%;
  margin-block: clamp(1.5rem, 5vw, 3rem);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 50vh;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 30% 30%, var(--color-accent-light) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-bg) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

[data-theme='dark'] .hero-section,
.dark .hero-section {
  background: radial-gradient(circle at 30% 30%, var(--color-accent) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-surface-dark) 100%);
}

.hero-section h1 {
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-xl);
  max-width: 55ch;
  color: var(--color-primary);
  animation: fadeInUp 0.7s ease forwards;
}

.hero-section h1 span {
  color: var(--color-accent-dark);
}

[data-theme='dark'] .hero-section h1,
.dark .hero-section h1 {
  color: var(--color-text-light);
}

[data-theme='dark'] .hero-section h1 span,
.dark .hero-section h1 span {
  color: var(--color-accent);
}

/* ============================================================
   CTA Button & Hinweis
   ============================================================ */
.cta-button {
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding-block: var(--space-md);
  padding-inline: var(--space-xl);
  font-size: clamp(0.9rem, 0.85rem + 0.4vw, 1.1rem);
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
  margin-block: var(--space-md) var(--space-lg);
  animation: fadeInUp 0.8s ease forwards;
}

.cta-button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.cta-note {
  font-size: var(--font-size-sm);
  font-style: italic;
  color: var(--color-secondary);
  opacity: 0.9;
  margin-top: var(--space-md);
  animation: fadeInUp 0.9s ease forwards;
}

/* ============================================================
   Auth Buttons (Mobile)
   ============================================================ */
.auth-buttons-mobile {
  display: none;
  gap: var(--space-sm);
  margin-top: clamp(var(--space-md), 4vw, var(--space-lg));
}

.auth-btn {
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-btn.login {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.auth-btn.register {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: #fff;
}

.auth-btn.login:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
}

.auth-btn.register:hover {
  background: var(--color-accent-hover);
}

@media (max-width: 768px) {
  .auth-buttons-mobile {
    display: flex;
    justify-content: center;
    margin-top: clamp(3rem, 9vw, 3.5rem);
  }
}

/* ============================================================
   Hero Section – verkleinerte Version nach Login
   ============================================================ */
.hero-authenticated {
  min-height: clamp(20vh, 25vh, 30vh);
  padding-block: clamp(var(--space-lg), 6vh, var(--space-2xl));
}

.hero-authenticated h1 {
  font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
  margin-bottom: 0;
}

/* ============================================================
   Hauptauswahl – Ich suche / Ich biete an
   ============================================================ */
.main-choice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  justify-items: center;
  align-items: stretch;
  margin-block: var(--space-2xl);
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 2vw, 2rem);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 14rem;
}

.choice-card svg {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.choice-card h2 {
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.6rem);
  color: var(--color-primary);
}

.choice-card p {
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  color: var(--color-secondary);
  line-height: 1.4;
}

.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: var(--color-accent-light);
}

.choice-card.search {
  border: 2px solid var(--color-accent);
}

.choice-card.offer {
  border: 2px solid var(--color-accent-dark);
}

.dark .choice-card {
  background: var(--color-surface-dark);
  color: var(--color-text-light);
}

.dark .choice-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   Testimonial Section
   ============================================================ */
.testimonial-section {
  background-color: var(--color-surface-muted, rgba(255, 255, 255, 0.6));
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  width: min(100% - var(--space-lg), 32rem);
  margin-inline: auto;
  margin-block: var(--space-2xl);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
}

.testimonial-section:hover {
  transform: translateY(-2px);
}

.testimonial-section img {
  width: clamp(3rem, 2.5rem + 1vw, 4rem);
  height: clamp(3rem, 2.5rem + 1vw, 4rem);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.testimonial-section p {
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.testimonial-section strong {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

[data-theme="dark"] .testimonial-section {
  background-color: rgba(31, 41, 55, 0.6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   Animation Utilities
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}
.datenschutz-container {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2rem);
  color: var(--color-text, #1a1a1a);
  background: var(--color-surface, #ffffff);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.datenschutz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.datenschutz-header h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0;
}

.back-link {
  color: var(--color-accent, #16a34a);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
  color: var(--color-accent-hover, #15803d);
}

section {
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.1rem;
  color: var(--color-text-strong, #111);
  margin-bottom: 0.5rem;
}

ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  line-height: 1.5;
}

p, li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text, #1f2937);
}

/* 🌙 Dark Mode */
html[data-theme="dark"] .datenschutz-container {
  background: var(--color-surface-dark, #1f2937);
  color: var(--color-text-light, #f3f4f6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] a {
  color: var(--color-accent, #22c55e);
}

html[data-theme="dark"] a:hover {
  color: var(--color-accent-light, #4ade80);
}
.cookie-link {
  color: var(--color-accent, #16a34a);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: var(--color-accent-hover, #15803d);
}

/* 🌙 Dark Mode */
html[data-theme="dark"] .cookie-link {
  color: var(--color-accent, #22c55e);
}

html[data-theme="dark"] .cookie-link:hover {
  color: var(--color-accent-light, #4ade80);
}
/* 📁 src/features/draft-request/pages/DraftRequestStartPage.css */

.draft-request-start-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-xl, 2rem);
  background: var(--color-bg, #f7faf8);
}

.draft-request-start-card {
  width: min(100%, 760px);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl, 24px);
  background: var(--color-surface, #ffffff);
  box-shadow: var(--shadow-lg, 0 20px 50px rgba(0, 0, 0, 0.08));
}

.draft-request-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #2e7d32);
}

.draft-request-start-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: var(--color-text, #172019);
}

.draft-request-intro {
  margin: 0 0 2rem;
  max-width: 58ch;
  color: var(--color-text-muted, #5f6f63);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.draft-request-form {
  display: grid;
  gap: 1.25rem;
}

.draft-request-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-text, #172019);
}

.draft-request-form input,
.draft-request-form textarea {
  width: 100%;
  border: 1px solid var(--color-border, #d8e1da);
  border-radius: var(--radius-md, 14px);
  padding: 0.9rem 1rem;
  font: inherit;
  background: var(--color-surface, #ffffff);
  color: var(--color-text, #172019);
}

.draft-request-form input:focus,
.draft-request-form textarea:focus {
  outline: 3px solid rgba(46, 125, 50, 0.18);
  border-color: var(--color-primary, #2e7d32);
}

.draft-request-error {
  margin: 0;
  color: var(--color-danger, #b42318);
  font-weight: 600;
}

.draft-request-form button {
  justify-self: start;
  border: 0;
  border-radius: var(--radius-pill, 999px);
  padding: 0.95rem 1.5rem;
  font-weight: 800;
  cursor: pointer;
  background: var(--color-primary, #2e7d32);
  color: #ffffff;
}

.draft-request-form button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
/* 📁 src/features/draft-request/pages/DraftRequestEditPage.css */
/* 🇩🇪 Layout für den DraftRequest-Flow im ecoMatch-Design */

.draft-edit-page {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: #f3f5f2;
}

.draft-edit-page::before {
  content: '';
  position: absolute;
  inset: clamp(1rem, 3vw, 2rem);
  border-radius: 36px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.72)),
    url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=1600&auto=format&fit=crop')
      center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(15, 35, 20, 0.1);
  z-index: 0;
}

.draft-edit-hero {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  padding: clamp(1rem, 4vw, 3rem);
  color: #12311a;
}

.draft-edit-brand {
  margin-bottom: clamp(3rem, 8vw, 7rem);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #12311a;
}

.draft-edit-copy {
  max-width: 560px;
}

.draft-edit-kicker {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2e7d32;
}

.draft-edit-copy h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #12311a;
}

.draft-edit-copy p {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: #43554a;
}

.draft-edit-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 22px 65px rgba(15, 35, 20, 0.11),
    0 2px 12px rgba(15, 35, 20, 0.05);
  backdrop-filter: blur(14px);
}

.draft-edit-step-pill {
  width: fit-content;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #d7e6d8;
  border-radius: 999px;
  background: #f6faf6;
  color: #2e7d32;
  font-size: 0.85rem;
  font-weight: 800;
}

.draft-edit-panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #142117;
}

.draft-edit-description {
  margin: 0 0 2rem;
  max-width: 44ch;
  color: #617066;
  line-height: 1.75;
}

.draft-edit-provider-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 24px;
  background: #f5f7f4;
}

.draft-edit-provider-card span {
  color: #617066;
  font-weight: 600;
}

.draft-edit-provider-card strong {
  font-size: 2.25rem;
  line-height: 1;
  color: #1d4f28;
}

.draft-edit-progress {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.draft-edit-progress span {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e3e8e4;
}

.draft-edit-progress-active {
  background: #2e7d32 !important;
}

.draft-edit-next-button {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 1rem 1.4rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  background: #2e7d32;
  color: #ffffff;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.draft-edit-next-button:hover {
  transform: translateY(-2px);
  background: #256628;
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.22);
}

.draft-edit-next-button:disabled {
  cursor: not-allowed;
  background: #9eaca2;
  box-shadow: none;
}

.draft-edit-next-button:disabled:hover {
  transform: none;
  background: #9eaca2;
}

.draft-preview-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 26px;
  background: var(--color-surface, #ffffff);
  border: 1px solid rgba(46, 125, 50, 0.12);
}

.draft-preview-row,
.draft-preview-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(46, 125, 50, 0.08);
}

.draft-preview-row:last-child,
.draft-preview-section:last-child {
  border-bottom: none;
}

.draft-preview-label {
  margin: 0 0 0.35rem;
  color: var(--color-text-muted, #617066);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.draft-preview-value {
  margin: 0;
  color: var(--color-text, #172019);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 75ch;
}

.draft-preview-edit {
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--color-primary, #2e7d32);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.draft-preview-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.draft-preview-service-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.08);
  color: var(--color-text-primary, #1d4f28);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .draft-edit-page {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1rem;
  }

  .draft-edit-page::before {
    inset: 1rem;
    border-radius: 28px;
  }

  .draft-edit-hero {
    width: 100%;
    padding: 2rem 1.5rem 0;
  }

  .draft-edit-brand {
    margin-bottom: 3rem;
  }

  .draft-edit-copy h1 {
    font-size: clamp(2.4rem, 9vw, 4rem);
  }

  .draft-edit-panel {
    width: 100%;
    min-height: auto;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .draft-edit-page {
    padding: 0.75rem;
  }

  .draft-edit-page::before {
    inset: 0.75rem;
    border-radius: 24px;
  }

  .draft-edit-hero {
    padding: 1.5rem 1rem 0;
  }

  .draft-edit-brand {
    margin-bottom: 2.5rem;
  }

  .draft-edit-panel {
    border-radius: 28px;
  }

  .draft-edit-provider-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* =========================================================
   FORM INPUTS
========================================================= */

.draft-edit-title-input,
.draft-edit-description-input {
  width: 100%;
  border: 1px solid #dbe4dc;
  border-radius: 20px;
  padding: 1rem 1.1rem;
  font: inherit;
  background: #ffffff;
  color: #142117;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.draft-edit-title-input {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.draft-edit-description-input {
  min-height: 150px;
  margin-bottom: 2rem;
  resize: vertical;
  line-height: 1.7;
  color: #4d5d53;
}

.draft-edit-title-input:focus,
.draft-edit-description-input:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}

.draft-edit-title-input::placeholder,
.draft-edit-description-input::placeholder {
  color: #8a968f;
}

.draft-edit-field,
.draft-edit-field-group {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.draft-edit-field span {
  color: #43554a;
  font-size: 0.92rem;
  font-weight: 800;
}

.draft-edit-select {
  width: 100%;
  border: 1px solid #dbe4dc;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: #ffffff;
  color: #142117;
}

.draft-edit-select:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}

.draft-edit-hint {
  margin: 0 0 1rem;
  color: #617066;
  font-size: 0.92rem;
  line-height: 1.6;
}

.draft-edit-saving {
  margin: -1rem 0 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2e7d32;
}

.draft-edit-validation-error {
  margin: -0.5rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(190, 50, 50, 0.22);
  border-radius: 14px;
  background: #fff5f3;
  color: #a23224;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.draft-edit-state {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  font-size: 1.1rem;
  color: #43554a;
}
/* ============================================================
   ecoMatch 2025 – AutocompletePLZ (mobile-first, theme-ready)
   ============================================================ */

.plz-autocomplete {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
}
/* ============================================================
   Labels – Einheitlicher Stil (bold, modern, theme-ready)
   ============================================================ */

.plz-autocomplete label {
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--font-size-base);
  margin-bottom: 0.25rem;
  display: inline-block;
  letter-spacing: 0.01em;
}

/* Dark Mode */
:root[data-theme='dark'] .plz-autocomplete label {
  color: var(--color-text-light);
}

/* Layout innerhalb der Komponente */
.plz-field,
.ort-field {
  display: flex;
  flex-direction: column;
  flex: 1;
}


/* Input-Felder */
.plz-autocomplete input {
  flex: 1;
  background-color: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: clamp(0.4rem, 0.35rem + 0.3vw, 0.6rem) clamp(0.6rem, 0.5rem + 0.5vw, 0.9rem);
  font-size: var(--font-size-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  appearance: none;
}

/* Erstes Feld (PLZ) */
.plz-autocomplete input:first-child {
  flex: 0 0 clamp(6.5rem, 8vw, 7rem); /* ~105–110px pe desktop */
  min-width: 100px;
  max-width: 120px;
  text-align: center;
  letter-spacing: 1px; /* face cifrele mai lizibile */
}

/* Hover / Focus */
.plz-autocomplete input:hover {
  transform: scale(1.01);
  border-color: var(--color-accent);
}

.plz-autocomplete input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(32, 178, 108, 0.25);
}

/* Placeholder */
.plz-autocomplete input::placeholder {
  color: var(--color-muted);
}

/* Dark Mode */
:root[data-theme='dark'] .plz-autocomplete input {
  background-color: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-primary);
}

:root[data-theme='dark'] .plz-autocomplete input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(34, 216, 123, 0.3);
}

/* Mobile Optimierung */
@media (min-width: 640px) {
  .plz-autocomplete {
    gap: var(--space-sm);
  }
}
/* =========================================================
   🌿 DraftStepServices
   Moderne Service-Auswahl für ecoMatch
========================================================= */

.draft-services {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ---------------------------------------------------------
   Kategorie
--------------------------------------------------------- */

.draft-services-category {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.draft-services-category-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* ---------------------------------------------------------
   Subkategorien
--------------------------------------------------------- */

.draft-services-subcategories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.draft-services-subcategory {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.draft-services-subcategory h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ---------------------------------------------------------
   Service Grid
--------------------------------------------------------- */

.draft-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* ---------------------------------------------------------
   Service Card
--------------------------------------------------------- */

.draft-service-card {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;

  border: 1px solid var(--color-border);
  border-radius: 1rem;

  background: var(--color-surface);

  color: var(--color-text-primary);

  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;

  min-height: 72px;
}

.draft-service-card span {
  display: block;
}

.draft-service-card:hover {
  transform: translateY(-2px);

  border-color: var(--color-primary);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.draft-service-card:disabled {
  cursor: default;
}

.draft-service-card:disabled:hover {
  transform: none;
  box-shadow: none;
}

.draft-service-card-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.82;
}

/* ---------------------------------------------------------
   Aktiv
--------------------------------------------------------- */

.draft-service-card-active {
  background: var(--color-primary);
  border-color: var(--color-primary);

  color: white;
}

/* ---------------------------------------------------------
   Focus
--------------------------------------------------------- */

.draft-service-card:focus-visible {
  outline: 3px solid rgba(0, 128, 96, 0.25);
  outline-offset: 2px;
}
/* 📁 src/pages/Auth/Login/Login.css */
/* ============================================================
   🌿 ecoMatch – Login Page (2025)
   Modern, responsiv, theme-ready, ohne starre px-Werte
   ============================================================ */

/* ============================================================
   📋 Layout
   ============================================================ */
.login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  padding-block: clamp(4rem, 8vh, 6rem);
  padding-inline: clamp(1rem, 4vw, 2rem);

  font-family: var(--font-sans, 'Inter', sans-serif);
  background: var(--color-bg, #f9fafb);
  color: var(--color-text, #1f2937);

  transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================================
   🧱 Formular
   ============================================================ */
.login-form {
  background: var(--color-surface, #ffffff);
  padding: clamp(2rem, 5vw, 2.5rem);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 6px 18px rgba(0, 0, 0, 0.08));

  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.login-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--color-text-strong, #111827);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* ============================================================
   ✏️ Eingabefelder
   ============================================================ */
.login-label {
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-text-strong, #111827);
  margin-bottom: 0.4rem;
}

.login-input {
  width: 100%;
  padding: clamp(0.7rem, 1.5vh, 0.9rem);
  font-size: var(--font-size-base, 1rem);
  border: 1px solid var(--color-border, #d1d5db);
  border-radius: var(--radius-md, 8px);
  background: var(--color-input-bg, #ffffff);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-input:hover {
  border-color: var(--color-accent, #16a34a);
}

.login-input:focus {
  border-color: var(--color-accent-dark, #15803d);
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

/* ============================================================
   👁 Passwortfeld
   ============================================================ */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border, #d1d5db);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.password-wrapper:hover {
  border-color: var(--color-accent, #16a34a);
}

.password-wrapper:focus-within {
  border-color: var(--color-accent-dark, #15803d);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

.password-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  outline: none;
  font-size: var(--font-size-base, 1rem);
  background: transparent;
  color: inherit;
}

/* 👁 Toggle-Icon */
.toggle-button {
  all: unset;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.toggle-button svg {
  width: 20px;
  height: 20px;
  color: var(--color-icon, #374151);
  transition: color 0.2s ease;
}

.toggle-button:hover svg {
  color: var(--color-accent, #16a34a);
}

/* ============================================================
   🔗 Links & Hinweise
   ============================================================ */
.forgot-link {
  text-align: right;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.forgot-link a {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--color-accent-dark, #15803d);
  text-decoration: none;
}

.forgot-link a:hover {
  text-decoration: underline;
}

.register-hinweis {
  text-align: center;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--color-text-muted, #374151);
}

.register-link {
  color: var(--color-accent-dark, #15803d);
  font-weight: 600;
  text-decoration: none;
}

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

/* ============================================================
   ⚠️ Fehlernachricht & Button
   ============================================================ */
.error-message {
  color: var(--color-danger, #dc2626);
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  animation: fadeIn 0.3s ease;
}

/* ============================================================
   🟢 Login-Button
   ============================================================ */
.submit-button {
  width: 100%;
  padding: clamp(0.75rem, 1.5vh, 1rem);
  border: none;
  border-radius: var(--radius-md, 8px);
  font-size: var(--font-size-base, 1rem);
  background-color: var(--color-accent-dark, #15803d);
  color: var(--color-on-accent, #fff);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.2s ease;
}

.submit-button:hover {
  background-color: var(--color-accent, #16a34a);
  transform: translateY(-2px);
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

/* ============================================================
   🌙 Dark Mode
   ============================================================ */
html[data-theme='dark'] .login-container,
html.dark .login-container,
.dark .login-container {
  background: var(--color-bg-dark, #0f172a);
  color: var(--color-text-light, #f1f5f9);
}
/* ============================================================
   🌙 Titel & Labels – weiß im Dark Mode
   ============================================================ */
html[data-theme='dark'] .login-title,
html.dark .login-title,
.dark .login-title {
  color: var(--color-text-light, #ffffff);
}

html[data-theme='dark'] .login-label,
html.dark .login-label,
.dark .login-label {
  color: var(--color-text-light, #ffffff);
}

/* 👁 Passwort-Icon (Pleoapa) */
html[data-theme='dark'] .toggle-button svg {
  color: var(--color-text-light, #f8fafc);
  opacity: 0.9;
  transition: color 0.2s ease;
}

html[data-theme='dark'] .toggle-button:hover svg {
  color: var(--color-accent, #16a34a); /* ecoMatch Grün */
}

html[data-theme='dark'] .login-form {
  background: var(--color-surface-dark, #1e293b);
  box-shadow: var(--shadow-sm-dark, 0 8px 24px rgba(0, 0, 0, 0.4));
}

html[data-theme='dark'] .login-input,
html[data-theme='dark'] .password-input {
  background: var(--color-surface-dark, #1e293b);
  color: var(--color-text-light, #f8fafc);
  border-color: var(--color-border-dark, #334155);
}

html[data-theme='dark'] .login-input:focus,
html[data-theme='dark'] .password-wrapper:focus-within {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.4);
}

html[data-theme='dark'] .submit-button {
  background-color: var(--color-accent, #16a34a);
}

html[data-theme='dark'] .submit-button:hover {
  background-color: var(--color-accent-hover, #15803d);
}

html[data-theme='dark'] .toggle-password-icon svg,
html.dark .toggle-password-icon svg,
.dark .toggle-password-icon svg {
  color: #ffffff;
  stroke: currentColor;
  opacity: 1;
  transition: color 0.25s ease, stroke 0.25s ease;
}

html[data-theme='dark'] .toggle-password-icon:hover svg,
html.dark .toggle-password-icon:hover svg,
.dark .toggle-password-icon:hover svg {
  color: var(--color-accent, #16a34a);
  stroke: var(--color-accent, #16a34a);
}

/* ============================================================
   🎬 Animation
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   ecoMatch 2025 – DatenschutzConsent (Global Compact Version)
   ============================================================ */

/* 🔲 Container */
.datenschutz-consent {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  line-height: 1.45;
  color: var(--color-text-muted, #374151);
  text-align: left;
  max-width: 520px;
  flex-wrap: wrap;
}

/* 🏷️ Label mit Checkbox und Text */
.datenschutz-consent .consent-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  flex-wrap: wrap;
  line-height: 1.4;
}

/* 📦 Checkbox */
.datenschutz-consent input[type="checkbox"] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--color-border, #9ca3af);
  border-radius: 5px;
  background: var(--color-surface, #ffffff);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.datenschutz-consent input[type="checkbox"]:checked {
  background-color: var(--color-accent, #16a34a);
  border-color: var(--color-accent, #16a34a);
}

/* Haken */
.datenschutz-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.35rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 💬 Text */
.datenschutz-consent span {
  display: inline-block;
  color: var(--color-text-muted, #374151);
}

/* 🔗 Link */
.datenschutz-consent a {
  color: var(--color-accent, #16a34a);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.datenschutz-consent a:hover,
.datenschutz-consent a:focus-visible {
  color: var(--color-accent-hover, #15803d);
}

/* ⚠️ Fehlermeldung */
.consent-error {
  margin-top: 0.25rem;
  color: var(--color-error, #dc2626);
  font-size: 0.8rem;
}

/* 🌙 Dark Mode */
html[data-theme="dark"] .datenschutz-consent {
  color: var(--color-text-light-muted, #d1d5db);
}

html[data-theme="dark"] .datenschutz-consent input[type="checkbox"] {
  border-color: var(--color-border-dark, #4b5563);
  background: var(--color-surface-dark, #111827);
}

html[data-theme="dark"] .datenschutz-consent input[type="checkbox"]:checked {
  background-color: var(--color-accent, #22c55e);
  border-color: var(--color-accent, #22c55e);
}

html[data-theme="dark"] .datenschutz-consent a {
  color: var(--color-accent-light, #4ade80);
}

html[data-theme="dark"] .datenschutz-consent a:hover {
  color: var(--color-accent, #16a34a);
}

/* 📱 Mobile Optimierung */
@media (max-width: 640px) {
  .datenschutz-consent {
    font-size: clamp(0.78rem, 2.4vw, 0.88rem);
    line-height: 1.4;
    gap: 0.55rem;
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .datenschutz-consent input[type="checkbox"] {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 4px;
  }
}
/* ============================================================
   🌿 ecoMatch – ConfirmRegistration (Best Practice 2025)
   ============================================================ */

.confirm-container {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg, #f9fafb);
  color: var(--color-text, #111827);
  padding: clamp(2rem, 6vh, 4rem);
  transition: background 0.3s ease, color 0.3s ease;
}

.confirm-card {
  background: var(--color-surface, #ffffff);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-lg, 0 12px 32px rgba(0, 0, 0, 0.08));
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================================
   ✨ Icon & Animation
   ============================================================ */
.confirm-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: popIn 0.6s ease forwards;
}

.confirm-icon {
  color: var(--color-accent, #16a34a);
  opacity: 0;
  transform: scale(0.8);
  animation: iconAppear 0.8s 0.1s ease forwards;
}

/* ============================================================
   🧾 Texts
   ============================================================ */
.confirm-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.confirm-name {
  color: var(--color-accent, #16a34a);
  font-weight: 800;
  text-transform: capitalize;
  animation: nameFade 0.8s ease-in-out;
}

.confirm-text {
  color: var(--color-text-muted, #4b5563);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}

.confirm-hint {
  font-size: 0.95rem;
  color: var(--color-text-muted, #6b7280);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.confirm-hint strong {
  color: var(--color-text-strong, #111827);
}

/* ============================================================
   🟩 Button
   ============================================================ */
.confirm-button {
  background: var(--color-accent-dark, #15803d);
  color: var(--color-on-accent, #fff);
  border: none;
  border-radius: var(--radius-md, 8px);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.confirm-button:hover {
  background: var(--color-accent, #16a34a);
  transform: translateY(-2px);
}

.confirm-button:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.4);
  outline-offset: 3px;
}

/* ============================================================
   ✨ Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes iconAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

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

/* ============================================================
   📱 Responsive
   ============================================================ */
@media (max-width: 600px) {
  .confirm-card {
    padding: clamp(1.5rem, 6vw, 2rem);
  }

  .confirm-title {
    font-size: 1.4rem;
  }

  .confirm-button {
    width: 100%;
  }
}

/* ============================================================
   🌙 Dark Mode
   ============================================================ */
html[data-theme='dark'] .confirm-container,
html.dark .confirm-container,
.dark .confirm-container {
  background: var(--color-bg-dark, #0f172a);
  color: var(--color-text-light, #f8fafc);
}

html[data-theme='dark'] .confirm-card {
  background: var(--color-surface-dark, #1e293b);
  box-shadow: var(--shadow-sm-dark, 0 8px 28px rgba(0, 0, 0, 0.5));
}

html[data-theme='dark'] .confirm-text,
html[data-theme='dark'] .confirm-hint {
  color: var(--color-text-muted-dark, #cbd5e1);
}

html[data-theme='dark'] .confirm-hint strong {
  color: var(--color-text-light, #ffffff);
}

html[data-theme='dark'] .confirm-icon {
  color: var(--color-accent, #16a34a);
}

html[data-theme='dark'] .confirm-name {
  color: var(--color-accent, #16a34a);
}
/* ============================================================
   🌙 Dark Mode Anpassung – Titel & Name
   ============================================================ */
html[data-theme='dark'] .confirm-title,
html[data-theme='dark'] .confirm-title .confirm-name {
  color: #ffffff;
}
/* ============================================================
   🌿 ecoMatch – Signup Page (Final Update 2025)
   Responsiv, barrierefrei, DSGVO-ready
   ============================================================ */

/* 🏠 Hauptcontainer */
.signup-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;

  /* 🟢 Abstand unter Header */
  padding-top: clamp(8rem, 12vh, 10rem);
  padding-inline: clamp(1rem, 4vw, 2rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);

  font-family: var(--font-sans, 'Inter', sans-serif);
  background: var(--color-bg, #f9fafb);
  color: var(--color-text, #1f2937);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================================
   📦 Formular
   ============================================================ */
.signup-form {
  background: var(--color-surface, #ffffff);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, 0.1));
  padding: clamp(2rem, 4vw, 2.5rem);

  width: 100%;
  max-width: 900px;

  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vh, 1.5rem);
}

/* ============================================================
   🔝 Titel
   ============================================================ */
.signup-form h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--color-text-strong, #111827);
  margin-bottom: clamp(1rem, 3vh, 1.5rem);
}

/* ============================================================
   📋 Grid Layout
   ============================================================ */
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(1rem, 3vh, 1.5rem);
}

.signup-col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1vh, 0.6rem);
}

/* ============================================================
   🧾 Labels & Inputs
   ============================================================ */
.signup-form label {
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-text-strong, #111827);
  transition: color 0.3s ease;
}

.signup-input,
.signup-password-input {
  width: 100%;
  padding: clamp(0.7rem, 1.5vh, 0.9rem);
  font-size: var(--font-size-base, 1rem);
  border: 1px solid var(--color-border, #d1d5db);
  border-radius: var(--radius-md, 8px);
  background: var(--color-input-bg, #fff);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-input:hover,
.signup-password-input:hover {
  border-color: var(--color-accent, #16a34a);
}

.signup-input:focus,
.signup-password-input:focus {
  border-color: var(--color-accent-dark, #15803d);
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

/* ============================================================
   👁 Passwortfeld
   ============================================================ */
.signup-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.signup-password-input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-password-icon {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;

  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;

  background: none;
  border: none;
  padding: 0;
  border-radius: 50%;

  color: var(--color-icon, #374151);
  opacity: 0.8;
  transition: color 0.2s ease, opacity 0.2s ease;
  z-index: 10;
  pointer-events: auto;
}

.toggle-password-icon:hover {
  color: var(--color-accent, #16a34a);
}

.toggle-password-icon svg {
  background: none;
  border: none;
  outline: none;
  fill: none;
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}

/* ============================================================
   🔒 Passwort-Stärke-Anzeige
   ============================================================ */
.password-strength {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--color-text-muted, #4b5563);
}

.strength-bar {
  height: 4px;
  width: 100%;
  background: var(--color-border, #e5e7eb);
  border-radius: var(--radius-sm, 4px);
  overflow: hidden;
  margin-top: 3px;
}

.strength-fill {
  height: 100%;
  background: var(--color-accent, #16a34a);
  transition: width 0.3s ease;
}

/* ============================================================
   ✅ Submit Button + Datenschutz
   ============================================================ */
.signup-row-full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 0;
}

.signup-row-full .datenschutz-consent {
  width: 100%;
  position: relative;
  z-index: 2;
}

.signup-submit-button {
  width: clamp(180px, 40vw, 220px);
  padding: clamp(0.8rem, 1.5vh, 1rem);
  border: none;
  border-radius: var(--radius-md, 8px);
  font-size: var(--font-size-base, 1rem);
  font-weight: 600;
  background: var(--color-accent-dark, #15803d);
  color: var(--color-on-accent, #fff);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  align-self: center;
  position: relative;
  z-index: 1;
}

.signup-submit-button:hover {
  background: var(--color-accent, #16a34a);
  transform: translateY(-2px);
}

/* ============================================================
   🔗 Login-Link
   ============================================================ */
.signup-link-right {
  text-align: right;
  margin-top: clamp(0.5rem, 1vh, 0.75rem);
}

.signup-link a {
  color: var(--color-accent-dark, #15803d);
  font-weight: 700;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* ============================================================
   📱 Responsive
   ============================================================ */
@media (max-width: 768px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .signup-submit-button {
    width: 100%;
  }

  .signup-link-right {
    text-align: center;
  }

  .signup-form {
    padding: clamp(1.5rem, 5vw, 2rem);
  }

  .signup-row-full {
    align-items: stretch;
  }
}

/* ============================================================
   🌙 Dark Mode
   ============================================================ */
html[data-theme='dark'] .signup-container,
html.dark .signup-container,
.dark .signup-container {
  background: var(--color-bg-dark, #0f172a);
  color: var(--color-text-light, #f1f5f9);
}

html[data-theme='dark'] .signup-form {
  background: var(--color-surface-dark, #1e293b);
  box-shadow: var(--shadow-sm-dark, 0 8px 24px rgba(0, 0, 0, 0.4));
}

html[data-theme='dark'] .signup-form h2,
html[data-theme='dark'] .signup-form label {
  color: var(--color-text-light, #ffffff);
}

html[data-theme='dark'] .signup-input,
html[data-theme='dark'] .signup-password-input {
  background: var(--color-surface-dark, #1e293b);
  color: var(--color-text-light, #f8fafc);
  border-color: var(--color-border-dark, #334155);
}

html[data-theme='dark'] .signup-submit-button {
  background: var(--color-accent, #16a34a);
}

html[data-theme='dark'] .signup-submit-button:hover {
  background: var(--color-accent-hover, #15803d);
}

html[data-theme='dark'] .toggle-password-icon svg,
html.dark .toggle-password-icon svg,
.dark .toggle-password-icon svg {
  color: #ffffff;
  stroke: currentColor;
  opacity: 1;
  transition: color 0.25s ease, stroke 0.25s ease;
}

html[data-theme='dark'] .toggle-password-icon:hover svg,
html.dark .toggle-password-icon:hover svg,
.dark .toggle-password-icon:hover svg {
  color: var(--color-accent, #16a34a);
  stroke: var(--color-accent, #16a34a);
}
/* ============================================================
   DatenschutzConsent – wie in ProfileEdit
   ============================================================ */
.datenschutz-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.signup-form label.consent-label {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
  line-height: 1.4;
}

.signup-form label.consent-label input[type='checkbox'] {
  flex: 0 0 auto;
  margin: 0;
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--color-accent, #16a34a);
  cursor: pointer;
}

.signup-form label.consent-label span {
  flex: 1 1 auto;
  min-width: 0;
  display: inline;
}

.datenschutz-link {
  color: var(--color-accent, #16a34a);
  font-weight: 500;
  text-decoration: underline;
}

.datenschutz-link:hover {
  color: var(--color-accent-hover, #15803d);
}

/* Tooltip stil */
.tooltip-warning {
  position: relative;
  margin-top: 0.25rem;
  padding: 0.4rem 0.6rem;
  background-color: #fff8e1;
  color: #b76e00;
  font-weight: 500;
  font-size: 0.85rem;
  border: 1px solid #f4d180;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  animation: fadeInTooltip 0.2s ease-in-out;
}

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

html[data-theme='dark'] .tooltip-warning {
  background-color: rgba(255, 211, 0, 0.1);
  color: #ffd700;
  border-color: rgba(255, 211, 0, 0.4);
}
/* 📄 frontend/src/pages/Auth/ForgotPassword/ForgotPassword.css */
/* 🌿 ecoMatch 2025 – Mobile-First, Fluid & Theme-Ready */

/* 🔹 Container principal */
.forgot-container {
  width: 90%;
  max-width: 420px;
  margin-inline: auto;
  margin-block: clamp(15rem, 20vh, 15rem);
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* 🔹 Titlu */
.forgot-title {
  text-align: center;
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

/* 🔹 Formular */
.forgot-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* 🔹 Input */
.forgot-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-background);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.forgot-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

/* 🔹 Buton */
.forgot-submit {
  padding: var(--space-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border: none;
  border-radius: var(--radius-md);
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.1s ease;
}

.forgot-submit:hover {
  background-color: var(--color-accent-dark);
}

.forgot-submit:active {
  transform: scale(0.98);
}

/* 🔹 Mesaje */
.forgot-message {
  text-align: center;
  font-size: var(--font-size-sm);
  margin-top: var(--space-sm);
}

.forgot-message.success {
  color: var(--color-success);
}

.forgot-message.error {
  color: var(--color-danger);
}

/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
  .forgot-container {
    background-color: var(--color-surface-dark);
  }

  .forgot-input {
    background-color: var(--color-background-dark);
    border-color: var(--color-border-dark);
    color: var(--color-text-light);
  }

  .forgot-title {
    color: var(--color-primary-light);
  }
}
/* 📄 frontend/src/pages/Auth/ResetPassword/ResetPassword.css */
/* 🌿 ecoMatch 2025 – Mobile-First, Fluid & Theme-Ready */

/* ==========================================================
   🔹 Container principal
   ========================================================== */
.reset-container {
  width: 90%;
  max-width: 440px;
  margin-inline: auto;
  margin-block: clamp(4rem, 8vh, 8rem);
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ==========================================================
   🔹 Titlu
   ========================================================== */
.reset-title {
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

/* ==========================================================
   🔹 Formular
   ========================================================== */
.reset-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ==========================================================
   🔹 Input
   ========================================================== */
.reset-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: var(--font-size-base);
  background-color: var(--color-background);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reset-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

/* ==========================================================
   🔹 Buton trimitere
   ========================================================== */
.reset-submit {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  cursor: pointer;
  border: none;
  transition: background-color 0.25s ease, transform 0.1s ease;
}

.reset-submit:hover {
  background-color: var(--color-accent-dark);
}

.reset-submit:active {
  transform: scale(0.98);
}

/* ==========================================================
   🔹 Mesaje
   ========================================================== */
.reset-message {
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
}

.reset-message.success {
  color: var(--color-success);
}

.reset-message.error {
  color: var(--color-danger);
}

/* ==========================================================
   👁️  Passwort-Anzeige / Eingabefeld-Stil
   ========================================================== */
.reset-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-password-icon {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.toggle-password-icon:hover {
  color: var(--color-accent);
}

.toggle-password-icon svg {
  width: 22px;
  height: 16px;
  stroke-width: 2.2;
  flex-shrink: 0;
  color: currentColor;
}

/* ==========================================================
   🔒 Passwort-Stärke-Anzeige
   ========================================================== */
.password-strength {
  margin-top: -0.3rem;
  margin-bottom: 0.6rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.strength-bar {
  height: 6px;
  width: 100%;
  background-color: var(--color-gray-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 4px;
}

.strength-fill {
  height: 100%;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
  border-radius: var(--radius-sm);
}

.password-strength.level-1 .strength-fill {
  background-color: #d9534f;
}
.password-strength.level-2 .strength-fill {
  background-color: #f0ad4e;
}
.password-strength.level-3 .strength-fill {
  background-color: #f7e85b;
}
.password-strength.level-4 .strength-fill {
  background-color: #5cb85c;
}

/* ==========================================================
   🌙 Dark Mode
   ========================================================== */
@media (prefers-color-scheme: dark) {
  .reset-container {
    background-color: var(--color-surface-dark);
  }

  .reset-input {
    background-color: var(--color-background-dark);
    border-color: var(--color-border-dark);
    color: var(--color-text-light);
  }

  .toggle-password-icon svg {
    color: var(--color-text-light);
  }

  .reset-title {
    color: var(--color-primary-light);
  }
}
/* 📁 src/pages/Auth/ConfirmEmail/ConfirmEmail.css */
/* ============================================================
   🌿 ecoMatch – E-Mail Bestätigung (2025)
   Modern, responsiv, theme-ready (light/dark)
   ============================================================ */

/* ================================
   🧭 Container & Layout
   ================================ */
.confirm-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding-block: clamp(3rem, 8vh, 5rem);
  padding-inline: clamp(1rem, 4vw, 2rem);

  text-align: center;
  font-family: var(--font-sans, "Inter", sans-serif);
  background-color: var(--color-bg, #f9fafb);
  color: var(--color-text, #1f2937);

  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ================================
   💌 Titel und Nachricht
   ================================ */
.confirm-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text-strong, #111827);
  margin-bottom: clamp(1rem, 3vh, 1.5rem);
}

.confirm-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--color-text-muted, #4b5563);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

/* ================================
   ✅ Erfolgsnachricht
   ================================ */
.confirm-success {
  color: var(--color-success, #16a34a);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: var(--space-md, 1rem);
  animation: fadeIn 0.4s ease;
}

/* ================================
   ❌ Fehlermeldung
   ================================ */
.confirm-error {
  color: var(--color-danger, #dc2626);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  margin-bottom: var(--space-md, 1rem);
  animation: fadeIn 0.4s ease;
}

/* ================================
   🔘 Button (wie bei Login/Signup)
   ================================ */
.confirm-button {
  margin-top: clamp(1.5rem, 4vh, 2rem);
  padding: clamp(0.7rem, 1.2vh, 0.9rem) clamp(1.5rem, 4vw, 2rem);

  font-size: var(--font-size-base, 1rem);
  font-weight: var(--font-weight-semibold, 600);
  border-radius: var(--radius-md, 8px);
  background-color: var(--color-accent-dark, #15803d);
  color: var(--color-on-accent, #fff);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;

  display: inline-block;
  width: clamp(160px, 40vw, 220px);
  text-align: center;
}

.confirm-button:hover {
  background-color: var(--color-accent, #16a34a);
  transform: translateY(-2px);
}

.confirm-button:active {
  transform: scale(0.98);
}

/* ================================
   🌙 Dark Mode
   ================================ */
html[data-theme="dark"] .confirm-container,
html.dark .confirm-container,
.dark .confirm-container {
  background-color: var(--color-bg-dark, #0f172a);
  color: var(--color-text-light, #f3f4f6);
}

html[data-theme="dark"] .confirm-subtitle {
  color: var(--color-text-muted-dark, #94a3b8);
}

html[data-theme="dark"] .confirm-button {
  background-color: var(--color-accent, #16a34a);
}

html[data-theme="dark"] .confirm-button:hover {
  background-color: var(--color-accent-hover, #15803d);
}

/* ================================
   🎬 Animation
   ================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   🌙 Dark Mode – Textlesbarkeit für Bestätigungsseiten
   ============================================================ */
html[data-theme='dark'] .confirm-message,
html[data-theme='dark'] .confirm-success,
html[data-theme='dark'] .confirm-title {
  color: #ffffff;
}
.dashboard-sidebar {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
}

.dashboard-sidebar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: var(--header-height);
  padding-inline: 2.375rem;
  text-decoration: none;
}

.dashboard-sidebar__logo-text {
  display: inline-flex;
  align-items: baseline;
  color: color-mix(in srgb, var(--color-accent) 56%, var(--color-primary));
  font-size: var(--font-size-xl);
  letter-spacing: 0;
  line-height: 1;
}

.dashboard-sidebar__logo-text-soft {
  color: currentColor;
  font-weight: var(--font-weight-normal);
}

.dashboard-sidebar__logo-text-strong {
  color: currentColor;
  font-weight: var(--font-weight-bold);
}

.dashboard-sidebar__logo-mark {
  position: relative;
  width: var(--space-md);
  height: var(--space-md);
  flex: 0 0 auto;
}

.dashboard-sidebar__logo-mark::before,
.dashboard-sidebar__logo-mark::after {
  position: absolute;
  display: block;
  width: var(--space-xs);
  height: var(--space-xs);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-accent) 70%, var(--color-surface));
  content: "";
}

.dashboard-sidebar__logo-mark::before {
  top: 0;
  right: 0;
}

.dashboard-sidebar__logo-mark::after {
  right: var(--space-xs);
  bottom: 0;
}

.dashboard-sidebar__nav {
  display: grid;
  gap: 0.875rem;
  padding: 1.5rem 0.75rem var(--space-md);
}

.dashboard-sidebar__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  gap: var(--space-sm);
  border-radius: 0.625rem;
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 1rem 0.75rem 1.125rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

button.dashboard-sidebar__nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.dashboard-sidebar__nav-content {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.875rem;
}

.dashboard-sidebar__nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: currentColor;
}

.dashboard-sidebar__nav-label {
  color: currentColor;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sidebar__nav-chevron {
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 auto;
  color: currentColor;
}

.dashboard-sidebar__nav-item:hover,
.dashboard-sidebar__nav-item:focus-visible {
  background: var(--color-surface-alt);
  color: var(--color-secondary);
}

.dashboard-sidebar__nav-item:focus-visible {
  box-shadow: 0 0 0 var(--space-2xs) color-mix(in srgb, var(--color-accent) 28%, transparent);
}

.dashboard-sidebar__nav-item--active,
.dashboard-sidebar__nav-item--active:hover,
.dashboard-sidebar__nav-item--active:focus-visible {
  background: color-mix(in srgb, var(--color-accent-light) 42%, var(--color-surface));
  color: var(--color-primary);
}

.dashboard-sidebar__nav-item--active .dashboard-sidebar__nav-icon {
  color: color-mix(in srgb, var(--color-accent) 60%, var(--color-primary));
}

.dashboard-sidebar__footer {
  margin-top: auto;
  padding: var(--space-md) 0.75rem 1.5rem;
}

@media (max-width: 56.25rem) {
  .dashboard-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .dashboard-sidebar__brand {
    min-height: auto;
    padding: var(--space-md) var(--space-lg) var(--space-sm);
  }

  .dashboard-sidebar__nav {
    display: flex;
    overflow-x: auto;
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    scrollbar-width: none;
  }

  .dashboard-sidebar__nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-sidebar__nav-item {
    flex: 0 0 auto;
  }

  .dashboard-sidebar__nav-chevron {
    display: none;
  }

  .dashboard-sidebar__footer {
    display: none;
  }
}

@media (max-width: 40rem) {
  .dashboard-sidebar__brand {
    justify-content: center;
    padding-inline: var(--space-md);
  }

  .dashboard-sidebar__nav {
    padding-inline: var(--space-md);
  }

  .dashboard-sidebar__nav-item {
    min-height: var(--space-xl);
    padding: var(--space-sm);
  }
}
.dashboard-topbar {
  --dashboard-topbar-bg: color-mix(in srgb, var(--color-bg) 92%, transparent);
  --dashboard-topbar-focus-ring: color-mix(in srgb, var(--color-accent) 28%, transparent);
  --dashboard-topbar-danger: color-mix(in srgb, var(--color-danger) 84%, var(--color-warning));

  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.9375rem;
  gap: 1.5rem;
  background: var(--dashboard-topbar-bg);
  padding: 0 2.5rem 0 2rem;
  backdrop-filter: blur(var(--space-sm));
}

.dashboard-topbar__search {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: min(100%, 12.25rem);
  gap: 0.6875rem;
  color: var(--color-secondary);
}

.dashboard-topbar__search-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: currentColor;
}

.dashboard-topbar__search-label,
.dashboard-topbar__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.dashboard-topbar__search input {
  width: 100%;
  min-height: 1.875rem;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-primary);
  font-size: 0.8125rem;
  padding: 0 1.75rem 0 0;
}

.dashboard-topbar__search input::placeholder {
  color: var(--color-secondary);
}

.dashboard-topbar__search input:focus {
  box-shadow: none;
}

.dashboard-topbar__search input[type="search"]::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.dashboard-topbar__search input[type="search"]::-ms-clear {
  display: none;
}

.dashboard-topbar__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.375rem;
}

.dashboard-topbar__search-clear {
  position: absolute;
  right: 0;
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-secondary);
  padding: 0;
}

.dashboard-topbar__search-clear svg {
  width: 0.875rem;
  height: 0.875rem;
}

.dashboard-topbar__search-clear:hover,
.dashboard-topbar__search-clear:focus-visible {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
}

.dashboard-topbar__search-results {
  position: absolute;
  top: calc(100% + var(--space-sm));
  left: 0;
  z-index: 4;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(24rem, 60vh);
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.dashboard-topbar__search-results p {
  margin: 0;
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.dashboard-topbar__search-results h2 {
  margin: 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  padding: var(--space-sm) var(--space-md);
}

.dashboard-topbar__search-error {
  color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary)) !important;
}

.dashboard-topbar__search-result {
  display: grid;
  width: 100%;
  gap: var(--space-2xs);
  border-radius: 0;
  background: var(--color-surface);
  color: var(--color-primary);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

.dashboard-topbar__search-result strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-topbar__search-result span {
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
}

.dashboard-topbar__search-result:hover,
.dashboard-topbar__search-result:focus-visible,
.dashboard-topbar__search-result--active {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.dashboard-topbar__search-result:focus-visible {
  box-shadow: inset 0 0 0 var(--space-2xs) var(--dashboard-topbar-focus-ring);
  outline: none;
}

.dashboard-topbar__icon-button,
.dashboard-topbar__avatar-button,
.dashboard-topbar__date-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--color-secondary);
  padding: 0;
}

.dashboard-topbar__icon-button {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
}

.dashboard-topbar__icon {
  width: 1.0625rem;
  height: 1.0625rem;
  color: currentColor;
}

.dashboard-topbar__notification-badge {
  position: absolute;
  top: -0.3125rem;
  right: -0.1875rem;
  display: grid;
  min-width: 0.875rem;
  height: 0.875rem;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--dashboard-topbar-danger);
  color: var(--color-surface);
  font-size: 0.625rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.dashboard-notifications {
  position: relative;
}

.dashboard-notifications__popover {
  position: absolute;
  top: calc(100% + var(--space-sm));
  right: 0;
  z-index: 3;
  width: min(22rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.dashboard-notifications__popover h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: var(--font-size-base);
  padding: var(--space-md);
}

.dashboard-notifications__content {
  max-height: min(24rem, 60vh);
  overflow-y: auto;
  border-block: 1px solid var(--color-border);
}

.dashboard-notifications__status {
  margin: 0;
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.dashboard-notifications__status--error {
  color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary));
}

.dashboard-notifications__item {
  display: grid;
  width: 100%;
  gap: var(--space-2xs);
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

.dashboard-notifications__item:last-child {
  border-bottom: 0;
}

.dashboard-notifications__item--unread {
  background: color-mix(in srgb, var(--color-accent-light) 32%, var(--color-surface));
}

.dashboard-notifications__item--unread .dashboard-notifications__message {
  font-weight: var(--font-weight-bold);
}

.dashboard-notifications__item:hover,
.dashboard-notifications__item:focus-visible,
.dashboard-notifications__all:hover,
.dashboard-notifications__all:focus-visible {
  background: var(--color-surface-alt);
  outline: none;
}

.dashboard-notifications__item:focus-visible,
.dashboard-notifications__all:focus-visible {
  box-shadow: inset 0 0 0 var(--space-2xs) var(--dashboard-topbar-focus-ring);
}

.dashboard-notifications__item:disabled {
  cursor: wait;
  opacity: 0.7;
}

.dashboard-notifications__message {
  line-height: 1.4;
}

.dashboard-notifications__item time {
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
}

.dashboard-notifications__all {
  width: 100%;
  min-height: 2.75rem;
  border: 0;
  background: var(--color-surface);
  color: var(--color-accent-hover);
  font-weight: var(--font-weight-bold);
}

.dashboard-topbar__avatar-button {
  gap: 0.4375rem;
  border-radius: var(--radius-full);
}

.dashboard-topbar__avatar-menu {
  position: relative;
}

.dashboard-topbar__avatar-dropdown {
  position: absolute;
  top: calc(100% + var(--space-sm));
  right: 0;
  z-index: 2;
  min-width: 17rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
}

.dashboard-mode-switch {
  display: grid;
  gap: 0.875rem;
}

.dashboard-mode-switch__identity {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
  color: var(--color-primary);
}

.dashboard-mode-switch__identity strong {
  overflow: hidden;
  font-size: var(--font-size-base);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-mode-switch__identity-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-secondary);
}

.dashboard-mode-switch__identity-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.dashboard-mode-switch__divider {
  height: 1px;
  background: var(--color-border);
}

.dashboard-mode-switch__label {
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.dashboard-mode-switch__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
}

.dashboard-mode-switch__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  gap: var(--space-2xs);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  padding-inline: var(--space-sm);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-mode-switch__option svg {
  width: 0.9375rem;
  height: 0.9375rem;
  flex: 0 0 auto;
}

.dashboard-mode-switch__option:not(:disabled):hover,
.dashboard-mode-switch__option:not(:disabled):focus-visible {
  border-color: var(--color-accent);
  background: var(--color-surface-alt);
  box-shadow: 0 0 0 var(--space-2xs) var(--dashboard-topbar-focus-ring);
}

.dashboard-mode-switch__option--active {
  border-color: color-mix(in srgb, var(--color-accent) 68%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent-light) 36%, var(--color-surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 18%, transparent);
  color: color-mix(in srgb, var(--color-accent-hover) 76%, var(--color-primary));
  cursor: default;
}

.dashboard-mode-switch__option:disabled:not(.dashboard-mode-switch__option--active) {
  cursor: not-allowed;
  opacity: 0.5;
}

.dashboard-mode-switch__error {
  color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary));
  font-size: var(--font-size-sm);
  white-space: normal;
}

.dashboard-topbar__controls > .dashboard-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  font-size: 0.75rem;
  white-space: nowrap;
}

.dashboard-mode-switch__toggle {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--color-border);
  padding: 0.1875rem;
  transition: background-color 0.2s ease;
}

.dashboard-mode-switch__toggle span {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.dashboard-mode-switch__toggle[aria-checked="true"] {
  background: var(--color-accent-hover);
}

.dashboard-mode-switch__toggle[aria-checked="true"] span {
  transform: translateX(1.25rem);
}

.dashboard-mode-switch__toggle:focus-visible {
  box-shadow: 0 0 0 var(--space-2xs) var(--dashboard-topbar-focus-ring);
}

.dashboard-mode-switch__toggle:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.dashboard-topbar__avatar {
  width: 1.9375rem;
  height: 1.9375rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-danger) 72%, var(--color-warning));
}

.dashboard-topbar__avatar-chevron {
  width: 0.6875rem;
  height: 0.6875rem;
  color: var(--color-secondary);
}

.dashboard-topbar__date-group {
  position: absolute;
  right: 2.5rem;
  bottom: -3.0625rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8125rem;
  white-space: nowrap;
}

.dashboard-topbar__date-label {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.dashboard-topbar__date-button {
  min-width: 10.25rem;
  min-height: 2.25rem;
  gap: 0.625rem;
  border-radius: 0.75rem;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  padding-inline: 0.8125rem;
}

.dashboard-date-picker {
  position: relative;
}

.dashboard-date-picker__popover {
  position: absolute;
  top: calc(100% + var(--space-xs));
  right: 0;
  z-index: 5;
  width: min(31.5rem, calc(100vw - 2rem));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) var(--space-md);
}

.dashboard-date-picker__navigation {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.dashboard-date-picker__navigation button {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-secondary);
  padding: 0;
  pointer-events: auto;
}

.dashboard-date-picker__navigation button:hover,
.dashboard-date-picker__navigation button:focus-visible {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  outline: none;
}

.dashboard-date-picker__navigation svg {
  width: 1rem;
  height: 1rem;
}

.dashboard-date-picker__months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.dashboard-date-picker__month h3 {
  margin: 0 0 var(--space-xs);
  color: var(--color-primary);
  font-size: var(--font-size-base);
  text-align: center;
  text-transform: capitalize;
}

.dashboard-date-picker__heading-button,
.dashboard-date-picker__selection-heading {
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.dashboard-date-picker__heading-button {
  min-height: 2rem;
  padding: var(--space-2xs) var(--space-xs);
  text-transform: capitalize;
}

.dashboard-date-picker__heading-button span,
.dashboard-date-picker__selection-heading span {
  color: var(--color-secondary);
  font-size: 0.6875rem;
}

.dashboard-date-picker__heading-button:hover,
.dashboard-date-picker__heading-button:focus-visible,
.dashboard-date-picker__selection-heading:hover,
.dashboard-date-picker__selection-heading:focus-visible {
  background: var(--color-surface-alt);
  color: var(--color-accent-hover);
  outline: none;
}

.dashboard-date-picker__weekdays,
.dashboard-date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(1.75rem, 1fr));
}

.dashboard-date-picker__weekdays span {
  color: var(--color-secondary);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  padding-block: var(--space-2xs);
  text-align: center;
}

.dashboard-date-picker__day {
  min-width: 1.75rem;
  min-height: 1.75rem;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  padding: 0;
}

.dashboard-date-picker__selection-view {
  display: grid;
  min-height: 12.25rem;
  align-content: start;
  gap: var(--space-sm);
}

.dashboard-date-picker__selection-heading {
  justify-self: center;
  min-height: 2rem;
  padding: var(--space-2xs) var(--space-sm);
}

div.dashboard-date-picker__selection-heading {
  display: flex;
  align-items: center;
}

.dashboard-date-picker__selection-grid {
  display: grid;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-xl);
}

.dashboard-date-picker__selection-grid--months {
  grid-template-columns: repeat(4, 1fr);
}

.dashboard-date-picker__selection-grid--years {
  grid-template-columns: repeat(3, 1fr);
}

.dashboard-date-picker__selection-grid button {
  min-height: 2.25rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  padding: var(--space-xs);
}

.dashboard-date-picker__selection-grid button:hover,
.dashboard-date-picker__selection-grid button:focus-visible {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  outline: none;
}

.dashboard-date-picker__day:hover,
.dashboard-date-picker__day:focus-visible {
  background: color-mix(in srgb, var(--color-accent-light) 70%, var(--color-surface));
  color: var(--color-accent-hover);
  outline: none;
}

.dashboard-date-picker__day:focus-visible,
.dashboard-date-picker__navigation button:focus-visible {
  box-shadow: 0 0 0 var(--space-2xs) var(--dashboard-topbar-focus-ring);
}

.dashboard-date-picker__day--range {
  border-radius: 0;
  background: color-mix(in srgb, var(--color-accent-light) 58%, var(--color-surface));
  color: var(--color-accent-hover);
}

.dashboard-date-picker__day--endpoint,
.dashboard-date-picker__day--endpoint:hover,
.dashboard-date-picker__day--endpoint:focus-visible {
  border-radius: var(--radius-full);
  background: var(--color-accent-hover);
  color: var(--color-surface);
  font-weight: var(--font-weight-bold);
}

.dashboard-date-picker__popover footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.dashboard-date-picker__popover footer p {
  display: grid;
  gap: var(--space-2xs);
  margin: 0;
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
}

.dashboard-date-picker__popover footer strong {
  color: var(--color-primary);
}

.dashboard-date-picker__popover footer > div {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.dashboard-date-picker__popover footer button {
  min-height: 2rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  padding: var(--space-2xs) var(--space-sm);
}

.dashboard-date-picker__cancel {
  background: transparent;
  color: var(--color-secondary);
}

.dashboard-date-picker__cancel:hover,
.dashboard-date-picker__cancel:focus-visible {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.dashboard-date-picker__apply {
  background: var(--color-accent-hover);
  color: var(--color-surface);
}

.dashboard-date-picker__apply:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.dashboard-topbar__date-button span {
  color: var(--color-primary);
}

.dashboard-topbar__date-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-secondary);
}

.dashboard-topbar__icon-button:hover,
.dashboard-topbar__icon-button:focus-visible,
.dashboard-topbar__avatar-button:hover,
.dashboard-topbar__avatar-button:focus-visible,
.dashboard-topbar__date-button:hover,
.dashboard-topbar__date-button:focus-visible {
  color: var(--color-accent-hover);
}

.dashboard-topbar__icon-button:hover,
.dashboard-topbar__icon-button:focus-visible {
  background: color-mix(in srgb, var(--color-accent-light) 72%, transparent);
  color: var(--color-accent-hover);
}

.dashboard-topbar__icon-button:focus-visible,
.dashboard-topbar__avatar-button:focus-visible,
.dashboard-topbar__date-button:focus-visible,
.dashboard-topbar__search:focus-within {
  box-shadow: 0 0 0 var(--space-2xs) var(--dashboard-topbar-focus-ring);
}

@media (max-width: 64rem) {
  .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-md);
    min-height: auto;
    padding: var(--space-md) var(--space-lg);
  }

  .dashboard-topbar__search {
  position: relative;
    width: 100%;
  }

  .dashboard-topbar__search input[type="search"]::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.dashboard-topbar__search input[type="search"]::-ms-clear {
  display: none;
}

.dashboard-topbar__controls {
    width: 100%;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .dashboard-topbar__date-group {
    position: static;
  }

}

@media (max-width: 40rem) {
  .dashboard-topbar {
    padding: var(--space-sm) var(--space-md);
  }

  .dashboard-topbar__search input[type="search"]::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.dashboard-topbar__search input[type="search"]::-ms-clear {
  display: none;
}

.dashboard-topbar__controls {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-topbar__date-group {
    width: 100%;
    justify-content: space-between;
  }

  .dashboard-topbar__date-button {
    flex: 1;
  }
}

@media (max-width: 40rem) {
  .dashboard-date-picker {
    flex: 1;
  }

  .dashboard-date-picker__popover {
    right: 0;
    width: min(20rem, calc(100vw - 2rem));
    padding-inline: var(--space-md);
  }

  .dashboard-date-picker__months {
    grid-template-columns: 1fr;
  }

  .dashboard-date-picker__month--secondary {
    display: none;
  }

  .dashboard-date-picker__popover footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-date-picker__popover footer > div {
    align-self: flex-end;
  }
}

@media (max-width: 40rem) {
  .dashboard-notifications__popover {
    position: fixed;
    top: 4.5rem;
    right: var(--space-md);
    left: var(--space-md);
    width: auto;
  }
}

@media (max-width: 40rem) {
  .dashboard-topbar__search-results {
    position: fixed;
    top: 4.5rem;
    right: var(--space-md);
    left: var(--space-md);
    width: auto;
  }
}
.dashboard-layout {
  --dashboard-sidebar-width: 16rem;

  display: grid;
  grid-template-columns: var(--dashboard-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-primary);
}

.dashboard-shell {
  display: grid;
  min-width: 0;
  min-height: 100vh;
  grid-template-rows: auto minmax(0, 1fr);
}

.dashboard-main {
  min-width: 0;
  padding: 1.25rem 2.5rem var(--space-lg) 2rem;
}

.dashboard-content {
  width: min(100%, var(--max-width-container));
  margin-inline: auto;
}

@media (max-width: 56.25rem) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .dashboard-main {
    padding: var(--space-md);
  }
}
:is(.customer-dashboard, .provider-dashboard) {
  --customer-dashboard-card-radius: calc(var(--radius-lg) + var(--space-md));
  --customer-dashboard-deep-green: color-mix(in srgb, var(--color-accent-hover) 34%, var(--color-primary));
  --customer-dashboard-soft-green: color-mix(in srgb, var(--color-accent-light) 45%, var(--color-surface));
  --customer-dashboard-pro-bg: color-mix(in srgb, var(--customer-dashboard-deep-green) 90%, var(--color-surface));
}

.customer-dashboard {
  display: grid;
  gap: 1.5rem;
  color: var(--color-primary);
}

.customer-dashboard__title {
  margin: 0;
  color: var(--color-primary);
  font-size: 2.25rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  line-height: 1.1;
}

.customer-dashboard__hero-grid {
  display: grid;
  grid-template-columns: 16.25rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.customer-dashboard-request-card {
  position: relative;
  display: grid;
  min-height: 10.125rem;
  align-content: center;
  gap: 1.25rem;
  overflow: visible;
  border-radius: var(--customer-dashboard-card-radius);
  background: var(--customer-dashboard-deep-green);
  color: var(--color-surface);
  padding: 2rem;
}

.customer-dashboard-kpi__badge {
  position: absolute;
  display: grid;
  width: 2.0625rem;
  height: 2.0625rem;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-danger);
  color: var(--color-surface);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.customer-dashboard-request-card__label {
  color: var(--color-surface);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
}

.customer-dashboard-request-card__value {
  color: color-mix(in srgb, var(--color-accent-light) 72%, var(--color-surface));
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.customer-dashboard-request-card__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
  color: color-mix(in srgb, var(--color-accent-light) 36%, var(--color-surface));
  font-size: 0.875rem;
  text-decoration: none;
}

.customer-dashboard-request-card__action:hover,
.customer-dashboard-request-card__action:focus-visible {
  color: var(--color-surface);
}

.dashboard-data-status {
  margin: -0.5rem 0 0;
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
}

.dashboard-data-status--error {
  color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary));
}

.customer-dashboard-request-card__action > span {
  color: var(--color-surface);
}

.customer-dashboard-request-card__icon {
  width: 2rem;
  height: 2rem;
  padding: 0.375rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-surface) 24%, transparent);
  color: var(--color-surface);
}

.customer-dashboard-pro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, 1.05fr) minmax(18rem, 0.95fr);
  min-height: 10.125rem;
  overflow: hidden;
  border-radius: var(--customer-dashboard-card-radius);
  background:
    linear-gradient(90deg, transparent 0 30%, color-mix(in srgb, var(--customer-dashboard-pro-bg) 82%, transparent) 54%, var(--customer-dashboard-pro-bg) 100%),
    radial-gradient(circle at 20% 38%, color-mix(in srgb, var(--color-warning) 72%, transparent), transparent 20%),
    linear-gradient(135deg, color-mix(in srgb, var(--color-accent-light) 72%, var(--color-warning)), var(--customer-dashboard-pro-bg));
}

.customer-dashboard-pro__media {
  position: relative;
  min-height: 100%;
  background-position: center;
  background-size: cover;
}

.customer-dashboard-pro__badge--media {
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  z-index: 2;
}

.customer-dashboard-pro__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.875rem;
  padding: 1.5rem 2rem 1.5rem 1.75rem;
}

.customer-dashboard-pro__badge {
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-primary) 72%, var(--color-accent-hover));
  color: var(--color-surface);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  padding: 0.625rem 1rem;
  text-transform: uppercase;
}

.customer-dashboard-pro__badge--content {
  display: none;
}

.customer-dashboard-pro__badge,
.customer-dashboard-pro__badge--media {
  color: var(--color-surface);
}

.customer-dashboard-pro h2 {
  max-width: 19.5rem;
  margin: 0;
  color: var(--color-surface);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
}

.customer-dashboard-pro__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.125rem;
}

.customer-dashboard-pro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--customer-dashboard-deep-green);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  padding-inline: 1.375rem;
  text-decoration: none;
}

.customer-dashboard-pro__button:hover,
.customer-dashboard-pro__button:focus-visible {
  color: var(--color-accent-hover);
}

.customer-dashboard-pro__description {
  max-width: 31rem;
  margin: 0;
  color: var(--color-surface);
  font-size: 0.875rem;
  line-height: 1.45;
}

.customer-dashboard-pro__button,
.customer-dashboard-pro__button:visited {
  color: var(--customer-dashboard-deep-green);
}

.customer-dashboard-pro__link {
  color: var(--color-surface);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-underline-offset: var(--space-2xs);
}

.customer-dashboard-pro__link:hover,
.customer-dashboard-pro__link:focus-visible {
  color: var(--color-accent-light);
}

.customer-dashboard-pro--vertical {
  grid-template-columns: 1fr;
  min-height: 34rem;
  background: var(--customer-dashboard-pro-bg);
  color: var(--color-surface);
}

.customer-dashboard-pro--vertical .customer-dashboard-pro__media {
  min-height: 13rem;
}

.customer-dashboard-pro--vertical .customer-dashboard-pro__content {
  align-content: start;
  padding: 1.75rem 1.25rem 2rem;
}

.customer-dashboard-pro--vertical h2 {
  font-size: 2.25rem;
  line-height: 1.08;
}

.customer-dashboard-pro--vertical .customer-dashboard-pro__actions {
  justify-content: center;
  margin-top: 1rem;
}

.customer-dashboard__kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(13rem, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.customer-dashboard-kpi {
  position: relative;
  display: grid;
  min-height: 10.125rem;
  align-content: start;
  grid-template-rows: auto 1fr auto;
  gap: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--customer-dashboard-card-radius);
  background: color-mix(in srgb, var(--color-surface) 86%, var(--color-bg));
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.customer-dashboard-kpi__badge {
  top: -1rem;
  right: 2.25rem;
}

.customer-dashboard-kpi__label {
  color: var(--color-secondary);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
}

.customer-dashboard-kpi__value {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  align-self: center;
}

.customer-dashboard-kpi__trend {
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
}

.customer-dashboard-kpi__trend--positive {
  color: color-mix(in srgb, var(--color-success) 72%, var(--color-primary));
}

.customer-dashboard-kpi__trend--negative {
  color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary));
}

.customer-dashboard__recent {
  display: grid;
  gap: 3.875rem;
  padding-top: 2.625rem;
}

.customer-dashboard__section-title {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  line-height: 1.15;
}

.customer-dashboard__recent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.customer-dashboard-requests {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  background: color-mix(in srgb, var(--color-surface) 88%, var(--color-bg));
  padding: 2rem;
}

.customer-dashboard-requests h2 {
  margin: 0 0 1.5rem;
  color: var(--color-primary);
  font-size: 1.125rem;
}

.customer-dashboard-requests__scroll { overflow-x: auto; }
.customer-dashboard-requests table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.customer-dashboard-requests th { color: var(--color-secondary); font-weight: var(--font-weight-bold); text-align: left; }
.customer-dashboard-requests th,
.customer-dashboard-requests td { padding: 0.875rem 0.5rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.customer-dashboard-requests tbody tr:last-child td { border-bottom: 0; }
.customer-dashboard-requests td { color: var(--color-primary); }
.customer-dashboard-requests__status { display: inline-flex; border-radius: 0.5rem; background: var(--color-surface-alt); color: var(--color-secondary); padding: 0.4rem 0.65rem; font-weight: var(--font-weight-bold); white-space: nowrap; }
.customer-dashboard-requests__details { color: var(--color-accent-hover); font-weight: var(--font-weight-bold); text-decoration: none; }
.customer-dashboard-requests__details:hover,
.customer-dashboard-requests__details:focus-visible { text-decoration: underline; }
.customer-dashboard-requests__empty { padding-block: 2rem !important; color: var(--color-secondary) !important; text-align: center !important; }

@media (max-width: 72rem) {
  .customer-dashboard__hero-grid,
  .customer-dashboard__recent-grid {
    grid-template-columns: 1fr;
  }

  .customer-dashboard-pro {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-dashboard-pro__media {
    display: none;
  }

  .customer-dashboard__kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }

  .customer-dashboard-pro--vertical .customer-dashboard-pro__media {
    display: block;
  }
}

@media (max-width: 40rem) {
  .customer-dashboard {
    gap: var(--space-lg);
  }

  .customer-dashboard-request-card,
  .customer-dashboard-pro,
  .customer-dashboard-kpi {
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  .customer-dashboard-request-card__action {
    justify-content: space-between;
  }

  .customer-dashboard-pro__content {
    padding: var(--space-md);
  }

  .customer-dashboard__recent {
    gap: var(--space-md);
    padding-top: var(--space-md);
  }
}
.provider-dashboard {
  display: grid;
  gap: 1.5rem;
  color: var(--color-primary);
}

.provider-dashboard > h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
}

.provider-dashboard__kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(13rem, 1fr));
  gap: 1.25rem;
}

.provider-dashboard__kpi-grid .customer-dashboard-kpi,
.provider-dashboard__request-card {
  min-height: 10.25rem;
}

.provider-dashboard__request-card,
.provider-dashboard__request-card .customer-dashboard-request-card__label,
.provider-dashboard__request-card .customer-dashboard-request-card__value,
.provider-dashboard__request-card .customer-dashboard-request-card__action,
.provider-dashboard__request-card .customer-dashboard-request-card__action > span {
  color: var(--color-surface);
}

.provider-dashboard-chart,
.provider-dashboard-requests {
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  background: color-mix(in srgb, var(--color-surface) 88%, var(--color-bg));
}

.provider-dashboard-chart {
  min-height: 22rem;
  padding: 2rem;
}

.provider-dashboard-chart__header,
.provider-dashboard-chart__heading {
  display: flex;
  align-items: center;
}

.provider-dashboard-chart__header {
  justify-content: space-between;
  gap: 1rem;
}

.provider-dashboard-chart__heading {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.provider-dashboard-chart h2,
.provider-dashboard-requests h2 {
  margin: 0;
  font-size: 1.125rem;
}

.provider-dashboard-chart__legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  font-size: 0.8125rem;
  padding: 0.45rem 0.75rem;
}

.provider-dashboard-chart__legend::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent-hover);
  content: "";
}

.provider-dashboard-chart__legend--light::before { background: var(--color-accent-light); }

.provider-dashboard-chart__plot {
  position: relative;
  height: 15.5rem;
  margin-top: 1.5rem;
  padding: 0 0 1.5rem 2.5rem;
  background: repeating-linear-gradient(to bottom, transparent 0 3.05rem, color-mix(in srgb, var(--color-muted) 45%, transparent) 3.05rem 3.1rem);
}

.provider-dashboard-chart__plot--empty {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.provider-dashboard-chart__empty {
  display: grid;
  max-width: 32rem;
  gap: 0.5rem;
  color: var(--color-secondary);
  text-align: center;
}

.provider-dashboard-chart__empty strong {
  color: var(--color-primary);
  font-size: 1rem;
}

.provider-dashboard-chart__plot svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.provider-dashboard-chart__line {
  fill: none;
  stroke: var(--color-accent-hover);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.provider-dashboard-chart__line--light { stroke: var(--color-accent-light); }

.provider-dashboard-chart__axis {
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-size: 0.75rem;
}

.provider-dashboard-chart__axis--top { top: -0.4rem; }
.provider-dashboard-chart__axis--middle { top: 4.7rem; }
.provider-dashboard-chart__axis--low { top: 9.5rem; }
.provider-dashboard-chart__axis--zero { bottom: 1.3rem; }

.provider-dashboard-chart__months {
  display: flex;
  justify-content: space-between;
  color: var(--color-secondary);
  font-size: 0.75rem;
}

.provider-dashboard__lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16.25rem;
  gap: 1.5rem;
  align-items: stretch;
}

.provider-dashboard-requests { padding: 2.25rem 1.5rem; }
.provider-dashboard-requests h2 { margin-bottom: 1.5rem; color: var(--color-primary); }
.provider-dashboard-requests__scroll { overflow-x: auto; }
.provider-dashboard-requests table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.provider-dashboard-requests th { color: var(--color-secondary); font-weight: var(--font-weight-bold); text-align: left; }
.provider-dashboard-requests th,
.provider-dashboard-requests td { padding: 0.75rem 0.25rem; white-space: nowrap; }
.provider-dashboard-requests td { color: var(--color-primary); }
.provider-dashboard-requests__status { display: inline-flex; border-radius: 0.5rem; padding: 0.4rem 0.65rem; font-weight: var(--font-weight-bold); }
.provider-dashboard-requests__status--complete { background: var(--color-success-bg); color: color-mix(in srgb, var(--color-success) 72%, var(--color-primary)); }
.provider-dashboard-requests__status--open { background: var(--color-surface-alt); color: var(--color-secondary); }
.provider-dashboard-requests__status--rejected { background: var(--color-danger-bg); color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary)); }
.provider-dashboard-requests__details { display: inline-flex; min-width: 6.25rem; justify-content: center; border: 2px solid var(--color-border); border-radius: 0.75rem; background: var(--color-surface); color: var(--color-primary); padding: 0.5rem 0.75rem; font-weight: var(--font-weight-bold); }
.provider-dashboard-requests__details:hover,
.provider-dashboard-requests__details:focus-visible { border-color: var(--color-accent-hover); background: var(--color-surface-alt); color: var(--color-accent-hover); }

@media (max-width: 78rem) {
  .provider-dashboard__kpi-grid { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
  .provider-dashboard__lower-grid { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  .provider-dashboard__kpi-grid { grid-template-columns: 1fr; }
  .provider-dashboard-chart { padding: 1.25rem; }
  .provider-dashboard-chart__header { align-items: flex-start; flex-direction: column; }
}
/* ============================================================
   🌿 ecoMatch 2025 – AutocompleteStrasse (mobile-first, theme-ready)
   ============================================================ */

/* 📦 Container */
.strasse-autocomplete {
  position: relative;
  width: 100%;
}

/* ✍️ Input */
.strasse-input {
  width: 100%;
  background-color: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  padding: clamp(0.5rem, 0.4rem + 0.3vw, 0.7rem) clamp(0.7rem, 0.5rem + 0.5vw, 1rem);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  box-sizing: border-box;
}

.strasse-input:hover {
  border-color: var(--color-accent);
}

.strasse-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(32, 178, 108, 0.25);
  z-index: 2;
  position: relative;
}

/* Placeholder */
.strasse-input::placeholder {
  color: var(--color-muted);
}

/* ============================================================
   📜 Dropdown (position: absolute, direkt unter Input)
   ============================================================ */

.strasse-dropdown {
  list-style: none;
  margin: 0;
  padding: 0;

  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);

  position: absolute; /* ⬅ fixiert direkt unter Input */
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 0;
  z-index: 2000;

  background-color: var(--color-surface);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  max-height: 15rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  animation: fadeIn 0.15s ease;
}

/* 🔹 Elemente */
.strasse-item {
  padding: clamp(0.55rem, 0.5rem + 0.3vw, 0.8rem) clamp(0.9rem, 0.7rem + 0.5vw, 1.2rem);
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary);
  background-color: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.strasse-item:last-child {
  border-bottom: none;
}

.strasse-item:hover {
  background-color: var(--color-surface-alt);
}

.strasse-item.active {
  background-color: var(--color-accent);
  color: var(--color-on-accent);
}

/* ============================================================
   🌙 Dark Mode
   ============================================================ */

:root[data-theme='dark'] .strasse-input {
  background-color: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-primary);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

:root[data-theme='dark'] .strasse-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(34, 216, 123, 0.3);
}

:root[data-theme='dark'] .strasse-dropdown {
  background-color: var(--color-surface-darker);
  border-color: var(--color-border-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

:root[data-theme='dark'] .strasse-item {
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border-dark);
}

:root[data-theme='dark'] .strasse-item:hover {
  background-color: var(--color-surface);
}

:root[data-theme='dark'] .strasse-item.active {
  background-color: var(--color-accent-dark);
  color: var(--color-on-accent);
}

/* ============================================================
   🎞️ Animation
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   🖱️ Scrollbar-Styling (dezent, ecoMatch-Stil)
   ============================================================ */
.strasse-dropdown::-webkit-scrollbar {
  width: 8px;
}

.strasse-dropdown::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 8px;
}

:root[data-theme='dark'] .strasse-dropdown::-webkit-scrollbar-thumb {
  background: var(--color-border-dark);
}
/* ============================================================
   🌙 Quick Fix – Solid Background in Dark Mode (Strasse & PLZ)
   ============================================================ */

:root[data-theme='dark'] .strasse-dropdown {
  background-color: #1f2937; /* solid dunkelgrau */
  border-color: #374151;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

:root[data-theme='dark'] .strasse-item {
  background-color: #1f2937;
  color: #f3f4f6;
}

:root[data-theme='dark'] .strasse-item:hover {
  background-color: #273449;
}
/* ============================================================
   🌿 ecoMatch 2025 – RegionMultiSelect.css (isolated, neutral)
   ============================================================ */

/* ------------------------------
   Container
   ------------------------------ */
.region-multiselect {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--font-size-base);
  z-index: 1; /* für Kontext */
}

/* ------------------------------
   Trigger-Button
   ------------------------------ */
.region-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-xs) var(--space-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  min-inline-size: clamp(10rem, 25vw, 15rem);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.region-trigger:hover {
  border-color: var(--color-border-hover);
  background-color: var(--color-surface-alt);
}

.region-trigger .arrow {
  font-size: 0.85em;
  color: var(--color-secondary);
}

/* ------------------------------
   Dropdown Layer (sichtbar über Karten)
   ------------------------------ */
.region-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  z-index: 9999; /* 🔝 Über alles */
  width: max-content;
  min-width: 14rem;
  animation: fadeSlide 0.25s ease;
}

.region-dropdown-portal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  max-height: 18rem;
  overflow: auto;
}

/* ------------------------------
   Animation
   ------------------------------ */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
   Checkbox List
   ------------------------------ */
.region-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  max-block-size: 12rem;
  overflow-y: auto;
  padding-right: var(--space-xs);
}

/* ✅ Isolated Checkbox styling */
.region-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  cursor: pointer;
}

.region-item input[type='checkbox'] {
  appearance: none;
  inline-size: 0.7rem;
  block-size: 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.2s ease;
}

.region-item input[type='checkbox']:hover {
  border-color: var(--color-primary);
}

/* 🔳 Checkmark (light mode) */
.region-item input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  width: 0.48rem;
  height: 0.8rem;
  border-right: 0.1rem solid var(--color-primary);
  border-bottom: 0.1rem solid var(--color-primary);
  transform: rotate(45deg);
}

/* 🌙 Dark mode – white checkmark */
[data-theme='dark'] .region-item input[type='checkbox']:checked::after {
  border-right-color: #fff;
  border-bottom-color: #fff;
}

/* ------------------------------
   Save Button
   ------------------------------ */
.region-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.btn-save-mini {
  background: var(--color-success, #1ba160);
  color: #fff;
  font-size: var(--font-size-sm);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-save-mini:hover {
  background: var(--color-success-dark, #15854f);
  transform: scale(1.02);
}

/* ------------------------------------------------------------
   Buttons rechts (Add / Delete) – neutral, elegant, dark-mode-ready
   ------------------------------------------------------------ */
.btn-add-mini,
.btn-remove-mini {
  border: none;
  background: transparent;
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.btn-add-mini:hover {
  color: var(--color-primary);
  transform: scale(1.03);
}

/* 🗑️ Trash icon – muted grey tone */
.btn-remove-mini svg {
  stroke: var(--color-icon-muted, #8a8a8a);
  width: 1rem;
  height: 1rem;
  transition: stroke 0.2s ease, transform 0.15s ease;
}
.btn-remove-mini:hover svg {
  stroke: var(--color-primary);
  transform: scale(1.08);
}

/* ------------------------------------------------------------
   Dark Mode Anpassung
   ------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  .btn-add-mini {
    color: var(--color-text-secondary-dark, #bcbcbc);
  }
  .btn-add-mini:hover {
    color: var(--color-primary-light, #f5f5f5);
  }

  .btn-remove-mini svg {
    stroke: var(--color-icon-muted-dark, #a0a0a0);
  }
  .btn-remove-mini:hover svg {
    stroke: var(--color-primary-light, #f5f5f5);
  }
}

/* ------------------------------
   Hover Preview
   ------------------------------ */
.region-hover-popup {
  position: absolute;
  top: calc(100% + var(--space-xs));
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2xs) var(--space-sm);
  z-index: 15;
  min-inline-size: clamp(10rem, 30vw, 14rem);
  font-size: var(--font-size-sm);
  color: var(--color-secondary);
  animation: fadeSlide 0.25s ease;
}

.region-hover-popup div {
  padding-block: var(--space-2xs);
  border-bottom: 1px dashed var(--color-border);
}

.region-hover-popup div:last-child {
  border-bottom: none;
}

/* ------------------------------
   Scrollbar
   ------------------------------ */
.region-options::-webkit-scrollbar {
  width: 0.35rem;
}
.region-options::-webkit-scrollbar-thumb {
  background: var(--color-muted);
  border-radius: var(--radius-full);
}

/* ------------------------------
   Responsive
   ------------------------------ */
@media (max-width: 768px) {
  .region-dropdown-menu {
    min-inline-size: 100%;
    max-inline-size: none;
    left: 0;
  }

  .region-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .region-hover-popup {
    min-inline-size: 100%;
  }
}
/* ============================================================
   🌿 ecoMatch 2025 – ServiceCoverageForm.css (Mobile-First & Dark Mode)
   ============================================================ */

/* 🔹 Basislayout – mobile-first */
.service-coverage-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  margin-inline: auto;
}

/* ============================================================
   Kategorie / Accordion – modern Amazon-like look
   ============================================================ */
.service-cat-card {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
  overflow: hidden;
}

.service-cat-card.open {
  border-left: 0.25rem solid var(--color-accent);
  box-shadow: var(--shadow-md);
}

.service-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 1vw + 0.25rem, 1rem);
  background: var(--color-surface-alt);
  cursor: pointer;
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 0.9vw + 0.4rem, 1.15rem);
  color: var(--color-primary);
  transition: background-color 0.2s ease;
}
/* ============================================================
   🟩 Kategorie-Zusammenfassung – Abstand & Stil
   ============================================================ */
.service-cat-header span + span,
.cat-summary-inline {
  margin-left: clamp(0.5rem, 1vw, 1rem);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-regular);
  font-size: clamp(0.9rem, 0.7vw + 0.3rem, 1rem);
}

.service-cat-header:hover {
  background: var(--color-surface-hover);
}

.service-cat-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: clamp(0.75rem, 1vw, 1rem);
}

/* ============================================================
   Subkategorien (pliante separat)
   ============================================================ */
.subcategory {
  border-top: 1px dashed var(--color-border);
  transition: all 0.2s ease;
}

.subcategory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding-block: clamp(0.5rem, 1vw, 0.75rem);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
}

.subcategory-header:hover {
  color: var(--color-accent);
}

.subcategory-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-block: var(--space-xs);
  padding-inline-start: var(--space-md);
  border-left: 2px solid var(--color-border-light);
}

/* ============================================================
   Service-Zeilen
   ============================================================ */
.service-line {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-block: var(--space-xs);
  border-bottom: 1px dashed var(--color-border);
}

@media (min-width: 768px) {
  .service-line {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
  }
}

/* Checkbox + Label */
.checkbox-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--font-weight-medium);
}

.checkbox-left input[type='checkbox'] {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-left input[type='checkbox']:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.checkbox-left input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  width: 0.45rem;
  height: 0.8rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  left: 0.35rem;
  top: 0.1rem;
}

/* ============================================================
   Regionen & Auswahlfelder
   ============================================================ */
.selectors-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.coverage-row-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
}

.coverage-row-inline select {
  flex: 1 1 45%;
  min-width: 10rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: clamp(0.9rem, 0.8vw + 0.4rem, 1rem);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coverage-row-inline select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(32, 178, 108, 0.25);
}

/* Buttons */
.coverage-actions-inline {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
}

.btn-add-mini,
.btn-remove-mini {
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  font-size: clamp(0.85rem, 0.8vw, 1rem);
  transition: color 0.2s ease, transform 0.1s ease;
}

.btn-add-mini {
  color: var(--color-text-secondary);
}
.btn-add-mini:hover {
  color: var(--color-accent);
  transform: scale(1.05);
}

.btn-remove-mini {
  color: var(--color-danger);
}
.btn-remove-mini:hover {
  transform: scale(1.05);
}

/* ============================================================
   🌙 Dark Mode Anpassung
   ============================================================ */
@media (prefers-color-scheme: dark) {
  .service-cat-card {
    background: var(--color-surface-dark);
    border-color: var(--color-border-dark);
  }

  .service-cat-header {
    background: var(--color-surface-alt-dark);
    color: var(--color-primary-light);
  }
  /* ============================================================
   🟩 Kategorie-Zusammenfassung – Abstand zwischen Titel & Text
   ============================================================ */
  .cat-summary-inline {
    margin-left: clamp(0.5rem, 1vw, 1rem);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-regular);
    font-size: clamp(0.9rem, 0.7vw + 0.3rem, 1rem);
  }

  .subcategory-header {
    color: var(--color-primary-light);
  }

  .subcategory-body {
    border-left-color: var(--color-border-dark);
  }

  .coverage-row-inline select {
    background: var(--color-surface-dark);
    color: var(--color-primary-light);
    border-color: var(--color-border-dark);
  }

  .btn-add-mini {
    color: var(--color-text-secondary-dark);
  }
}
/* ============================================================
   🌿 ecoMatch 2025 – ProviderEdit.css (Final Production)
   ============================================================ */

/* ------------------------------
   Layout & Struktur
   ------------------------------ */
.provider-edit {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
  max-width: var(--max-width-container);
  margin-inline: auto;
  margin-block-end: var(--space-xl);
  padding-inline: var(--space-md);
}

.provider-edit-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-block: var(--space-sm);
}

.provider-edit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.provider-edit-card.open {
  border-inline-start: 0.25rem solid var(--color-accent);
}

.provider-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  color: var(--color-primary);
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
/* ------------------------------------------------------------
   Kategorie Header – Titel + Inline Summary (modern 2025)
   ------------------------------------------------------------ */
.provider-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.provider-edit-header-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--color-primary);
  font-size: clamp(1rem, 0.95vw + 0.5rem, 1.1rem);
  font-weight: var(--font-weight-bold);
}

.category-title {
  color: var(--color-primary);
}

.category-divider {
  color: var(--color-border-strong, #ccc);
  opacity: 0.6;
  font-weight: normal;
}

.category-summary-inline {
  font-weight: var(--font-weight-regular);
  font-size: clamp(0.8rem, 0.8vw, 0.8rem);
  color: var(--color-text-secondary);
  font-style: italic;
  opacity: 0.9;
  white-space: nowrap;
}

/* Responsive: text wrap on small screens */
@media (max-width: 768px) {
  .provider-edit-header-main {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .category-summary-inline {
    white-space: normal;
  }
}

/* Dark Mode Anpassung */
@media (prefers-color-scheme: dark) {
  .category-summary-inline {
    color: var(--color-text-secondary-dark, #c7c7c7);
    opacity: 0.8;
  }
  .category-divider {
    color: var(--color-border);
  }
}

.provider-edit-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
}

/* ============================================================
   Service-Zeilen
   ============================================================ */
.provider-edit-service-line {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) 3fr;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  border-bottom: 1px dashed var(--color-border);
}

/* Checkbox + Label */
.checkbox-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--font-weight-medium);
}

.checkbox-left input[type='checkbox'] {
  appearance: none;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  border: 0.125rem solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}

/* Aktivierter Zustand */
.checkbox-left input[type='checkbox']:checked {
  background-color: var(--color-accent);
}

/* ✔ Checkmark – klar & zentriert */
.checkbox-left input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  width: 0.5rem;
  height: 0.9rem;
  border-right: 0.18rem solid #fff;
  border-bottom: 0.18rem solid #fff;
  transform: rotate(45deg);
  border-radius: 1px;
}

/* ============================================================
   Regionen – Inline Layout (Bundesland + Region + Buttons)
   ============================================================ */
.selectors-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Zeile mit gleichmäßigen Dropdowns */
.coverage-row-inline {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  width: 100%;
}

/* Dropdowns – gleiche Breite */
.coverage-row-inline select {
  flex: 0 0 14rem;
  max-width: 14rem;
  padding-block: var(--space-xs);
  padding-inline: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: var(--font-size-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coverage-row-inline select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(32, 178, 108, 0.25);
}

/* Buttons (+ / ✖) */
.coverage-row-inline .btn-add-mini,
.coverage-row-inline .btn-remove-mini {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* ------------------------------------------------------------
   Inline Actions: Delete + Add Buttons – spacing & alignment
   ------------------------------------------------------------ */
.coverage-actions-inline {
  display: flex;
  align-items: center;
  gap: 3rem; /* 👈 spațiu constant între icon și text */
}

.coverage-row-inline .btn-add-mini {
  color: var(--color-icon-muted, #8a8a8a);
  font-weight: var(--font-weight-medium);
}

.coverage-row-inline .btn-add-mini:hover {
  color: var(--color-primary);
}

.coverage-row-inline .btn-remove-mini {
  color: var(--color-danger);
}

/* ============================================================
   Textarea / Beschreibung
   ============================================================ */
textarea {
  width: 100%;
  min-block-size: 8rem;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: var(--font-size-base);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.25rem rgba(32, 178, 108, 0.25);
}

/* ============================================================
   Aktionsbereich unten (Buttons)
   ============================================================ */
.provider-edit-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
}

.btn-save,
.btn-cancel {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-medium);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-save {
  background: var(--color-accent);
  color: #fff;
}
.btn-save:hover {
  background: var(--color-accent-hover);
  transform: scale(1.02);
}

.btn-cancel {
  background: var(--color-danger);
  color: #fff;
}
.btn-cancel:hover {
  background: #b91c1c;
  transform: scale(1.02);
}

/* ============================================================
   Responsive Anpassung
   ============================================================ */
@media (max-width: 1024px) {
  .coverage-row-inline select {
    flex: 1 1 45%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .provider-edit-service-line {
    grid-template-columns: 1fr;
  }

  .coverage-row-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .coverage-row-inline select {
    width: 100%;
  }
}
/* 🟥 Banner de eroare – la stânga butoanelor */
.status-banner.error {
  color: var(--color-error, #d32f2f);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Gruparea butonului „Speichern” */
.save-wrapper {
  display: flex;
  align-items: center;
}

/* 📱 Pe ecran mic, așezare verticală */
@media (max-width: 600px) {
  .provider-edit-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .status-banner.error {
    order: -1;
    text-align: center;
  }
}
/* ============================================================
   Dark Mode
   ============================================================ */
@media (prefers-color-scheme: dark) {
  .provider-edit-card {
    background: var(--color-surface);
    border-color: var(--color-border);
  }

  .provider-edit-header {
    background: var(--color-surface-alt);
  }

  .checkbox-left input[type='checkbox'] {
    background-color: var(--color-surface);
    border-color: var(--color-border);
  }

  .checkbox-left input[type='checkbox']:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
  }

  .coverage-row-inline select {
    background-color: var(--color-surface);
    color: var(--color-primary);
  }
}

/* ============================================================
   Subkategorien – auf- & zuklappbar (Amazon Style)
   ============================================================ */
.subcategory-block {
  margin-block: 0.25rem 0.75rem;
  border-left: 2px solid transparent;
  transition: border-color 0.25s ease;
}

.subcategory-block.open {
  border-left: 2px solid var(--color-accent);
}

/* 🔹 Header: clickable area */
.subcategory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  transition: background 0.2s ease;
}

.subcategory-header:hover {
  background: #f2f3f4;
}

.subcategory-title {
  font-size: 0.95rem;
}

.subcategory-arrow {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* 🔹 Inhalt der Subkategorie (indentiert) */
.subcategory-body {
  padding-left: 1.25rem;
  padding-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* 🔹 Mobilfreundlich */
@media (max-width: 768px) {
  .subcategory-header {
    padding: 0.5rem 0.6rem;
  }
  .subcategory-body {
    padding-left: 0.75rem;
  }
}

/* 🔹 Dark Mode */
@media (prefers-color-scheme: dark) {
  .subcategory-header {
    background: var(--color-surface-alt);
  }
  .subcategory-header:hover {
    background: var(--color-surface);
  }
  .subcategory-arrow {
    color: var(--color-text-secondary-dark, #bbb);
  }
}
/* 🌿 ecoMatch 2025 – Fortschrittsbalken (mobile-first & full compatible) */

.progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-sm, 6px);
  background-color: var(--color-surface-alt);
  overflow: hidden;
  flex-shrink: 0;
}

/* 🔹 Füllung mit schrägem Ende */
.progress-fill {
  position: relative;
  height: 100%;
  transition: width 280ms ease;
  overflow: visible; /* wichtig für den schrägen Abschluss */
}

/* 🎨 Farbvarianten */
.progress-fill.tone-low {
  background-color: var(--color-danger, #ef4444);
}
.progress-fill.tone-mid {
  background-color: var(--color-warning, #f59e0b);
}
.progress-fill.tone-high {
  background-color: var(--color-success, #22c55e);
}

/* ✨ Schräges Ende (kompatibel auf allen Geräten) */
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: -4px; /* leicht überstehend, damit Ecke sichtbar bleibt */
  width: 8px; /* Breite der Schräge */
  height: 100%;
  background: inherit; /* übernimmt Farbe der Füllung */
  transform: skewX(-35deg);
  transform-origin: right;
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
}

/* 📱 Mobile-first: Leicht höhere Leiste auf kleinen Screens */
@media (max-width: 600px) {
  .progress-track {
    height: 10px;
  }
}

/* ♿ Bewegungen respektieren */
@media (prefers-reduced-motion: reduce) {
  .progress-fill {
    transition: none;
  }
}
/* frontend/src/pages/User/ProfileSection/ProfileEdit.css */
/* ecoMatch 2025 – ProfileEdit modern, fluid & theme-ready */

/* ==========================================================
   Seitencontainer
   ========================================================== */
.profile-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--color-surface);
  font-family: var(--font-family-base);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: clamp(3.5rem, 6vw, 4rem);

  /* Neue zentrierte Layoutregel */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);

  overflow-x: hidden;
  color: var(--color-text);
}

/* ==========================================================
   Kopfbereich
   ========================================================== */
.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.profile-header h2 {
  font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ==========================================================
   Inhaltsbereich
   ========================================================== */
.profile-content {
  flex: 1;
  padding: clamp(1rem, 4vw, 2rem);
}

/* ==========================================================
   Fortschrittsbalken
   ========================================================== */
.profile-progress {
  position: relative;
  width: 100%;
  background-color: var(--color-surface-alt);
  border-radius: 6px;
  height: 8px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.profile-page .profile-progress .progress-bar {
  display: block;
  width: 0;
  height: 100%;
  min-height: 8px;
  border-radius: inherit;
  background-color: var(--color-accent);
  transition: width 0.4s ease-in-out, background-color 0.3s ease;
}

.profile-page .profile-progress .progress-bar.progress-low {
  background-color: var(--color-danger);
}

.profile-page .profile-progress .progress-bar.progress-mid {
  background-color: var(--color-warning);
}

.profile-page .profile-progress .progress-bar.progress-high {
  background-color: var(--color-success);
}

.progress-text {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin-top: 0.3rem;
  text-align: right;
}

@media (prefers-color-scheme: dark) {
  .profile-progress {
    background-color: var(--color-surface-darker);
  }
  .profile-page .profile-progress .progress-bar {
    background-color: var(--color-accent-light);
  }
}

@media (max-width: 640px) {
  .profile-progress {
    height: 10px;
  }
}

/* ==========================================================
   Tabs (Nutzer / Anbieter)
   ========================================================== */
.profile-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-block: var(--space-lg);
  text-align: center;
}

.profile-tabs button {
  padding: var(--space-sm);
  font-weight: var(--font-weight-semibold);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-alt);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.1s ease;
}

.profile-tabs button:hover {
  transform: translateY(-2px);
  background-color: var(--color-hover);
}

.profile-tabs button.active {
  background-color: var(--color-accent);
  color: var(--color-on-accent, #ffffff);
  border-color: var(--color-accent);
}

.profile-tabs .anbieter-cta {
  background-color: var(--color-accent-light);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.profile-tabs .anbieter-cta:hover {
  background-color: var(--color-accent);
  color: var(--color-on-accent);
}

@media (prefers-color-scheme: dark) {
  .profile-tabs button {
    background-color: var(--color-surface-darker);
    color: var(--color-text-light);
  }
  .profile-tabs button.active {
    background-color: var(--color-accent-dark);
    color: var(--color-on-accent);
  }
  .profile-tabs .anbieter-cta {
    background-color: var(--color-accent-dark);
    color: var(--color-on-accent);
  }
}

/* ==========================================================
   Grid-Layout
   ========================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   Kartenstil
   ========================================================== */
.profile-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: box-shadow 0.3s ease;
}

.profile-card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/*==========================================================
   Alle Formular-Labels fett und einheitlich
   ========================================================== */
form label:not(.consent-label),
.basis-info label:not(.consent-label),
.adresse-section label:not(.consent-label),
.firmenprofil-section label:not(.consent-label) {
  font-weight: 600; /* ⬅️ bold */
  color: var(--color-text);
}

/* Optional: pentru un look mai modern și aerisit */
form label:not(.consent-label) {
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}

/* ==========================================================
   Title und Vorname Zeile
   ========================================================== */
   /* 🇩🇪 Einheitliche Höhe für Titel-Select und Inputfelder */
.title-field select,
.firstname-field input {
  height: 2.75rem; /* gleiche Höhe */
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  background-color: var(--color-background);
  color: var(--color-text);
  box-sizing: border-box;
}

/* Fokus-Stil einheitlich */
.title-field select:focus,
.firstname-field input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

.name-line {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  position: relative;
}

.title-field {
  flex: 0 0 5rem;
  display: flex;
  flex-direction: column;
}

.firstname-field {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.firstname-field label {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.firstname-field input {
  padding-left: 0.65rem;
}

@media (max-width: 480px) {
  .name-line {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    column-gap: 0.75rem;
  }

  .firstname-field label {
    transform: none;
    text-align: left;
    padding-left: 1.2rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================
   Avatarbereich
   ========================================================== */
.avatar-layout {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.avatar-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-img,
.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: 1.2rem;
  object-fit: cover;
  box-shadow: var(--shadow-xs);
  border: 2px solid var(--color-border);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.avatar-img:hover {
  transform: scale(1.02);
}

/* Action Buttons */
.avatar-action {
  all: unset;
  position: absolute;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface);
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.12s ease;
}

.avatar-action:hover {
  transform: scale(1.08);
}

/* Upload (accent color) */
.avatar-upload {
  top: -8px;
  color: var(--color-accent);
}

.avatar-upload:hover {
  background-color: var(--color-accent);
  color: var(--color-on-accent, #ffffff);
}

/* Remove (danger color) */
.avatar-remove {
  bottom: -8px;
  color: var(--color-danger);
}

.avatar-remove:hover {
  background-color: var(--color-danger);
  color: var(--color-on-danger, #ffffff);
}

/* SVG icons */
.avatar-action svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Dark Mode */
html[data-theme='dark'] .avatar-action {
  background-color: var(--color-surface-dark);
  color: var(--color-text-light);
}

html[data-theme='dark'] .avatar-action:hover {
  background-color: var(--color-surface-hover-dark);
  color: var(--color-accent);
}

html[data-theme='dark'] .avatar-remove {
  background-color: var(--color-surface-dark);
  color: var(--color-danger);
}

html[data-theme='dark'] .avatar-remove:hover {
  background-color: var(--color-danger);
  color: var(--color-on-danger, #ffffff);
}

/* Mobile */
@media (max-width: 640px) {
  .avatar-layout {
    grid-template-columns: 60px 1fr;
    gap: var(--space-md);
  }

  .avatar-img,
  .avatar-placeholder {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }

  .avatar-action {
    right: -6px;
    width: 22px;
    height: 22px;
  }

  .avatar-action svg {
    width: 12px;
    height: 12px;
  }
}

/* ==========================================================
   Formular
   ========================================================== */
.form-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.form-row label {
  flex: 0 0 130px;
  text-align: right;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

.form-row input,
.form-row select,
.form-row textarea {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  background-color: var(--color-background);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

/* Telefonnummer */
.phone-input {
  display: flex;
  gap: var(--space-xs);
}

.phone-input select {
  flex: 0 0 90px;
}

/* ==========================================================
   Aktionsbuttons 
   ========================================================== */
.profile-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.profile-page .profile-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.1s ease;
}

/* 🇩🇪 Wrapper für Checkbox + Hinweis */
.datenschutz-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 🇩🇪 Tooltip-Stil */
.tooltip-warning {
  position: relative;
  margin-top: 0.25rem;
  padding: 0.4rem 0.6rem;
  background-color: #fff8e1;
  color: #b76e00;
  font-weight: 500;
  font-size: 0.85rem;
  border: 1px solid #f4d180;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  animation: fadeInTooltip 0.2s ease-in-out;
}

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

:root[data-theme='dark'] .tooltip-warning {
  background-color: rgba(255, 211, 0, 0.1);
  color: #ffd700;
  border-color: rgba(255, 211, 0, 0.4);
}
/* ==========================================================
   DatenschutzConsent
   ========================================================== */
.datenschutz-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-card .card-body label.consent-label {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
  line-height: 1.4;
}

.profile-card .card-body label.consent-label input[type='checkbox'] {
  flex: 0 0 auto;
  margin: 0;
}

.profile-card .card-body label.consent-label span {
  flex: 1 1 auto;
  min-width: 0;
  display: inline;
}

.datenschutz-link {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
}

.datenschutz-link:hover {
  color: var(--color-accent-hover);
}

/* Speichern */
.profile-page .btn-save {
  background-color: var(--color-accent);
  color: var(--color-on-accent, #ffffff);
}
.profile-page .btn-save:hover {
  background-color: var(--color-accent);
  transform: scale(1.04);
}

/* Abbrechen */
.profile-page .btn-cancel {
  background-color: var(--color-danger);
  color: var(--color-on-accent, #ffffff);
}
.profile-page .btn-cancel:hover {
  background-color: var(--color-danger);
  transform: scale(1.04);
}

.profile-page .btn-edit {
  background-color: var(--color-accent);
  color: var(--color-on-accent, #ffffff);
  border-color: var(--color-border);
}
.profile-page .btn-edit:hover {
  background-color: var(--color-accent);
  color: var(--color-on-accent, #ffffff);
  border-color: var(--color-accent);
  transform: scale(1.02);
}
/* ==========================================================
   Status-Banner (Erfolg / Fehler)
   ========================================================== */
   .input-error-banner.status-error {
  background-color: #fdecea;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.input-error-banner.status-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.profile-status {
  margin-top: var(--space-sm);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Dark Mode */
html[data-theme='dark'] .profile-page .btn-edit {
  background-color: var(--color-surface-hover-dark);
  color: var(--color-text-light);
  border-color: var(--color-border-dark);
}
html[data-theme='dark'] .profile-page .btn-edit:hover {
  background-color: var(--color-accent-dark);
  color: var(--color-on-accent, #ffffff);
  border-color: var(--color-accent-dark);
}

/* 🇩🇪 Inline-Fehler unter Eingabefeldern */
.input-error-banner {
  margin-top: 0.35rem;
  color: var(--color-error, #d93025);
  font-weight: 500;
  font-size: 0.85rem;
  background-color: rgba(217, 48, 37, 0.08);
  border-left: 3px solid var(--color-error, #d93025);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  animation: fadeInError 0.2s ease-in-out;
}

/* Dezenter Fade-Effekt */
@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark Mode Anpassung */
:root[data-theme='dark'] .input-error-banner {
  background-color: rgba(255, 77, 77, 0.1);
  color: #ff6b6b;
  border-left-color: #ff6b6b;
}

/* ==========================================================
   Responsive Design
   ========================================================== */
@media (max-width: 640px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  .btn-edit {
    width: auto;
    font-size: 0.85rem;
  }
  .profile-tabs {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .form-row label {
    text-align: left;
    flex: unset;
  }

  .profile-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================
   Dark Mode (ergänzend)
   ========================================================== */
@media (prefers-color-scheme: dark) {
  .profile-page {
    background-color: var(--color-surface-dark);
    color: var(--color-text-light);
  }

  .profile-card {
    background-color: var(--color-surface-darker);
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    background-color: var(--color-background-dark);
    border-color: var(--color-border-dark);
    color: var(--color-text-light);
  }

  .btn-save,
  .btn-edit {
    background-color: var(--color-accent-dark);
    color: var(--color-on-accent, #ffffff);
  }

  .btn-cancel {
    background-color: var(--color-danger-dark);
  }
}

/* ==========================================================
   Bewegungseinstellungen
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .profile-page,
  .btn-save,
  .btn-cancel,
  .btn-edit {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .avatar-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .avatar-container {
    width: 96px;
    height: 96px;
    margin-bottom: var(--space-xs);
  }

  .basis-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}
/* ============================================================
   🌿 ecoMatch 2026 – RequestsSection
   Premium, mobile-first, theme-ready, polished UI
   ============================================================ */

/* ============================================================
   🔹 Root
   ============================================================ */
.requests-section {
  width: 100%;
  max-width: 88rem;
  min-height: 75vh;
  margin: calc(var(--space-2xl) + 3.125rem) auto var(--space-xl);
  padding: clamp(1rem, 0.85rem + 0.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--color-border) 72%, white);
  border-radius: clamp(1.25rem, 1rem + 0.5vw, 1.75rem);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-surface) 94%, white) 0%,
    color-mix(in srgb, var(--color-surface) 100%, var(--color-background)) 100%
  );
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 38px rgba(15, 23, 42, 0.07);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

/* ============================================================
   🔹 Header
   ============================================================ */
.requests-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: clamp(1.25rem, 1rem + 0.5vw, 1.75rem);
}

.requests-header__content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-width: 42rem;
}

.requests-header__title {
  margin: 0;
  font-size: clamp(1.65rem, 1.25rem + 1vw, 2.35rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.requests-header__subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 0.9rem + 0.15vw, 1rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ============================================================
   🔹 Search
   ============================================================ */
.requests-search {
  position: relative;
  width: 100%;
  max-width: 24rem;
  flex-shrink: 0;
}

.requests-search__icon {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
  opacity: 0.9;
}

.requests-search__input {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.875rem 1rem 0.875rem 2.85rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 84%, white);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-background) 75%, white);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.requests-search__input::placeholder {
  color: var(--color-text-muted);
}

.requests-search__input:hover {
  border-color: color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
  background: color-mix(in srgb, var(--color-background) 60%, white);
}

.requests-search__input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow:
    0 0 0 0.25rem color-mix(in srgb, var(--color-accent) 18%, transparent),
    0 10px 24px rgba(15, 23, 42, 0.06);
}

/* ============================================================
   🔹 Alerts / States
   ============================================================ */
.requests-section__alert {
  margin-bottom: var(--space-md);
  padding: 0.95rem 1rem;
  border: 1px solid color-mix(in srgb, var(--color-danger, #dc2626) 22%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--color-danger, #dc2626) 8%, var(--color-surface));
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.55;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.06);
}

.requests-section__empty {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 22rem;
  padding: clamp(2rem, 1.5rem + 1vw, 3rem) var(--space-md);
  text-align: center;
  border: 1px dashed color-mix(in srgb, var(--color-border) 88%, white);
  border-radius: clamp(1.25rem, 1rem + 0.4vw, 1.5rem);
  background:
    radial-gradient(
      circle at top,
      color-mix(in srgb, var(--color-accent) 6%, transparent),
      transparent 46%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-surface) 92%, white) 0%,
      color-mix(in srgb, var(--color-background) 72%, var(--color-surface)) 100%
    );
  overflow: hidden;
}

.requests-section__empty::before {
  content: '';
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    color-mix(in srgb, var(--color-accent) 25%, white),
    color-mix(in srgb, var(--color-accent) 12%, transparent)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 0.5rem;
}

.requests-section__empty-title {
  margin: 0;
  font-size: clamp(1.35rem, 1.15rem + 0.5vw, 1.7rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  color: var(--color-primary);
}

.requests-section__empty-text {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 0.9rem + 0.15vw, 1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ============================================================
   🔹 List
   ============================================================ */
.requests-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.requests-list::-webkit-scrollbar {
  width: 0.5rem;
}

.requests-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-border) 92%, transparent);
}

.requests-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.requests-group + .requests-group {
  margin-top: clamp(1.25rem, 1rem + 0.5vw, 1.75rem);
}

.requests-group__title {
  margin: 0;
  font-size: clamp(1.02rem, 0.94rem + 0.25vw, 1.22rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  color: var(--color-accent-dark);
  letter-spacing: -0.01em;
}

/* ============================================================
   🔹 Cards
   ============================================================ */
.requests-cards {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.request-card {
  width: 100%;
  padding: clamp(1rem, 0.9rem + 0.25vw, 1.2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--color-border) 80%, white);
  border-radius: clamp(1rem, 0.9rem + 0.25vw, 1.25rem);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-surface-alt) 94%, white) 0%,
    color-mix(in srgb, var(--color-surface-alt) 100%, var(--color-background)) 100%
  );
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.request-card:hover {
  transform: translateY(-0.125rem);
  border-color: color-mix(in srgb, var(--color-accent) 25%, var(--color-border));
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 18px 34px rgba(15, 23, 42, 0.09);
}

.request-card:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 18px 34px rgba(15, 23, 42, 0.09),
    0 0 0 0.22rem color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.request-card__main {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.request-card__top {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.request-card__title {
  margin: 0;
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.08rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.request-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.request-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.request-card__service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 12%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface));
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  white-space: nowrap;
}

.request-card__footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent-light) 78%, white);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ============================================================
   🔹 CTA
   ============================================================ */
.new-request-btn {
  align-self: stretch;
  justify-content: center;
  margin-top: clamp(1.1rem, 1rem + 0.2vw, 1.5rem);
  min-height: 3.2rem;
  padding: 0.95rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--color-accent-dark) 70%, transparent);
  border-radius: 1rem;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-accent-dark) 92%, white) 0%,
    var(--color-accent-dark) 100%
  );
  color: var(--color-on-accent);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 14px 30px color-mix(in srgb, var(--color-accent-dark) 18%, transparent);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.new-request-btn:hover {
  transform: translateY(-0.0625rem);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-accent) 90%, white) 0%,
    var(--color-accent) 100%
  );
  border-color: color-mix(in srgb, var(--color-accent) 72%, transparent);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 18px 34px color-mix(in srgb, var(--color-accent) 20%, transparent);
}

.new-request-btn:focus-visible {
  outline: none;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 18px 34px color-mix(in srgb, var(--color-accent) 20%, transparent),
    0 0 0 0.22rem color-mix(in srgb, var(--color-accent) 22%, transparent);
}

/* ============================================================
   🔹 Wizard modal
   ============================================================ */
.request-wizard-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  animation: requests-overlay-fade-in 0.22s ease;
}

.request-wizard-modal {
  width: min(100%, 90rem);
  height: min(100dvh - 1.5rem, 58rem);
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.2);
}

@keyframes requests-overlay-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes requests-modal-slide-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   🔹 Accessibility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   🔹 Tablet
   ============================================================ */
@media (min-width: 48rem) {
  .requests-section {
    padding: clamp(1.25rem, 1rem + 0.4vw, 1.75rem);
  }

  .requests-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
  }

  .request-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .request-card__top {
    gap: 0.35rem;
  }

  .request-card__footer {
    width: auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
  }

  .new-request-btn {
    align-self: flex-end;
    min-width: 13rem;
  }
}

/* ============================================================
   🔹 Desktop polish
   ============================================================ */
@media (min-width: 64rem) {
  .requests-section {
    padding: clamp(1.4rem, 1.1rem + 0.45vw, 1.9rem);
  }

  .requests-cards {
    gap: 1rem;
  }

  .request-card {
    padding: 1.1rem 1.2rem;
  }
}

/* ============================================================
   🔹 Dark mode
   ============================================================ */
:root[data-theme='dark'] .requests-section {
  border-color: color-mix(in srgb, var(--color-border-dark, #374151) 82%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-surface, #111827) 96%, #0b1220) 0%,
    color-mix(in srgb, var(--color-surface, #111827) 100%, #0b1220) 100%
  );
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 20px 48px rgba(0, 0, 0, 0.35);
}

:root[data-theme='dark'] .requests-search__input {
  background: color-mix(in srgb, var(--color-surface, #111827) 88%, #0f172a);
  border-color: color-mix(in srgb, var(--color-border-dark, #374151) 84%, transparent);
  color: var(--color-text-light, #f9fafb);
}

:root[data-theme='dark'] .requests-search__input:hover {
  border-color: color-mix(in srgb, var(--color-accent) 34%, var(--color-border-dark, #374151));
}

:root[data-theme='dark'] .requests-search__input:focus {
  background: color-mix(in srgb, var(--color-surface, #111827) 96%, #0f172a);
}

:root[data-theme='dark'] .requests-section__empty {
  border-color: color-mix(in srgb, var(--color-border-dark, #374151) 86%, transparent);
  background:
    radial-gradient(
      circle at top,
      color-mix(in srgb, var(--color-accent) 10%, transparent),
      transparent 44%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-surface, #111827) 96%, #0b1220) 0%,
      color-mix(in srgb, var(--color-surface, #111827) 100%, #0b1220) 100%
    );
}

:root[data-theme='dark'] .request-card {
  border-color: color-mix(in srgb, var(--color-border-dark, #374151) 82%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-surface-alt, #1f2937) 94%, #0f172a) 0%,
    color-mix(in srgb, var(--color-surface-alt, #1f2937) 100%, #111827) 100%
  );
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.28),
    0 14px 30px rgba(0, 0, 0, 0.2);
}

:root[data-theme='dark'] .request-card:hover {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 18px 36px rgba(0, 0, 0, 0.28);
}

:root[data-theme='dark'] .request-card__service-tag {
  background: color-mix(in srgb, var(--color-accent) 14%, #0f172a);
  border-color: color-mix(in srgb, var(--color-accent) 18%, transparent);
}

:root[data-theme='dark'] .status-badge {
  background: color-mix(in srgb, var(--color-accent) 18%, #0f172a);
  border-color: color-mix(in srgb, var(--color-accent) 22%, transparent);
}

:root[data-theme='dark'] .request-wizard-modal {
  background: var(--color-surface, #111827);
}
/* ============================================================
   ProviderDetail – Modal Layout (ecoMatch 2025)
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: fadeIn 0.25s ease;
}

.modal-window {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: clamp(320px, 90vw, 500px);
  width: 100%;
  padding: var(--space-lg);
  animation: slideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
}

.modal-header h3 {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin: 0;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-close:hover {
  color: var(--color-text);
}

.modal-body p {
  margin: 0.4rem 0;
  font-size: var(--font-size-base);
  color: var(--color-text);
}

.modal-body strong {
  color: var(--color-text-strong);
}

.status-text {
  text-transform: capitalize;
  font-weight: var(--font-weight-semibold);
}

.status-offen {
  color: var(--color-warning);
}

.status-akzeptiert {
  color: var(--color-success);
}

.status-abgelehnt {
  color: var(--color-danger);
}

.error-text {
  color: var(--color-danger);
  font-weight: var(--font-weight-medium);
  margin-top: var(--space-sm);
}

.success-box {
  background: color-mix(in srgb, var(--color-success) 15%, transparent);
  border-left: 4px solid var(--color-success);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  font-size: 0.95rem;
}

/* ============================================================
   🔘 Aktionen (Buttons)
   ============================================================ */

.modal-footer {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.btn-accept,
.btn-reject {
  flex: 1 1 48%;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

/* ✅ Accept */
.btn-accept {
  background: var(--color-accent-dark);
  color: var(--color-on-accent);
}

.btn-accept:hover {
  background: var(--color-accent);
  transform: scale(1.02);
}

/* ❌ Reject */
.btn-reject {
  background: var(--color-danger);
  color: var(--color-on-danger, #fff);
}

.btn-reject:hover {
  background: color-mix(in srgb, var(--color-danger) 85%, white 15%);
  transform: scale(1.02);
}

.btn-accept:disabled,
.btn-reject:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   🌙 Dark Mode
   ============================================================ */
@media (prefers-color-scheme: dark) {
  .modal-window {
    background: var(--color-surface-dark);
    color: var(--color-text-light);
  }

  .modal-header {
    border-color: var(--color-border-dark);
  }

  .btn-close {
    color: var(--color-text-muted);
  }

  .success-box {
    background: color-mix(in srgb, var(--color-success) 25%, var(--color-surface-darker));
    color: var(--color-text-light);
  }

  .btn-reject {
    background: color-mix(in srgb, var(--color-danger) 85%, black 15%);
  }

  .btn-reject:hover {
    background: var(--color-danger);
  }
}

/* ============================================================
   🎞️ Animationen
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0.9;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ============================================================
   🟥 Ablehnungsformular
   ============================================================ */
.reject-form {
  margin-top: 1rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--color-danger) 8%, transparent);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  animation: fadeIn 0.25s ease;
}

.reject-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.reject-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.reject-textarea {
  width: 100%;
  min-height: 60px;
  margin-top: 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  font-family: inherit;
  resize: vertical;
}

.reject-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn-confirm-reject {
  background: var(--color-danger);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-confirm-reject:hover {
  background: var(--color-danger-dark);
}

.btn-cancel-reject {
  background: none;
  color: var(--color-text-muted);
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-cancel-reject:hover {
  color: var(--color-text);
}
/* 📄 src/pages/User/ProviderSection/ProviderSection.css */
/* 🇩🇪 ecoMatch 2025 – Anbieter-Dashboard modernisiert (gleich wie Meine Anfragen) */

.provider-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: clamp(var(--space-md), 4vw, var(--space-xl));
  background-color: var(--color-background);
  min-height: 100vh;
}

/* ============================================================
   🧭 Header
   ============================================================ */
.provider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.provider-header h2 {
  font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.8rem;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  margin-left: 0.5rem;
  flex: 1;
  color: var(--color-text);
}

/* ============================================================
   📅 Gruppierung
   ============================================================ */
.provider-group {
  margin-bottom: var(--space-lg);
}

.provider-group h3 {
  font-size: 1rem;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   📦 Karten-Layout
   ============================================================ */
.provider-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Anfragekarte */
.request-card {
  position: relative;
  display: flex;
  align-items: center; /* ✅ Perfect vertical alignment */
  justify-content: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.request-card:hover {
  background: var(--color-surface-hover);
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}

.request-card.accepted {
  border-color: var(--color-success);
}

/* Icon links */
.request-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

/* ============================================================
   🧭 Horizontale Karten – Titel, Firma, Datum, Match%
   ============================================================ */
.request-info {
  flex: 1;
  display: flex;
  align-items: center; /* ✅ Align everything perfectly */
  justify-content: flex-start;
  gap: 1.5rem;
  min-width: 0;
  line-height: 1.4;
}

.request-info h4,
.request-info p,
.request-info small,
.request-info span {
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center; /* ✅ Baseline fix */
  line-height: 1.4;
}

/* Titel */
.request-info .title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  max-width: 20ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Firma */
.request-info .company-name {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  font-weight: 500;
  gap: 0.3rem;
}

.request-info .company-name::before {
  content: "🏢";
  opacity: 0.6;
  font-size: 0.9rem;
  margin-right: 0.15rem;
}

/* Datum */
.request-info .date {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* Match Score */
.score-label {
  font-size: var(--font-size-sm);
  color: var(--color-success);
  font-weight: 600;
}

/* ============================================================
   🏷️ Status Badge rechts
   ============================================================ */
.status-badge {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  padding: 0.3rem 0.7rem;
  text-transform: lowercase;
  font-weight: 600;
}

.status-badge.accepted {
  background-color: var(--color-success);
  color: #fff;
}

.status-badge.offen {
  background-color: var(--color-warning);
  color: #000;
}

/* ============================================================
   ➕ Button unten
   ============================================================ */
.new-provider-btn {
  align-self: center;
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.6rem;
  font-size: var(--font-size-base);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.new-provider-btn:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

/* ============================================================
   🌙 Dark Mode
   ============================================================ */
@media (prefers-color-scheme: dark) {
  .request-card {
    background-color: var(--color-surface-darker);
    border-color: var(--color-border-dark);
  }

  .status-badge {
    background-color: var(--color-border-dark);
    color: var(--color-text-light);
  }

  .score-label {
    color: var(--color-success-light);
  }
}

/* ============================================================
   📱 Responsive
   ============================================================ */
@media (max-width: 768px) {
  .provider-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    width: 100%;
  }

  .request-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .status-badge {
    position: static;
    transform: none;
    align-self: flex-end;
    margin-top: var(--space-xs);
  }
}

/* ============================================================
   🪟 Modal position fix (unter Header)
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  z-index: 1000;
  padding: var(--space-lg);
}

.modal-content {
  margin-top: calc(var(--header-height, 70px) + 1.5rem);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  width: 100%;
  padding: var(--space-lg);
  position: relative;
  z-index: 1001;
}

/* ============================================================
   ⏳ Loading & Empty States
   ============================================================ */
.loading-text {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 2rem;
  font-size: 1rem;
  animation: fadeIn 0.3s ease;
}

.provider-empty {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 3rem;
  font-size: 1rem;
  animation: fadeIn 0.3s ease;
}

/* ============================================================
   🎞️ Animationen
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 📁 src/pages/Abo/AboDetailPage.css */
/* ============================================================
   🌿 ecoMatch – Abonnement Detail Page (2025)
   Modern, Fluid, Theme-Ready, Dark-Mode-kompatibel
   ============================================================ */

/* ============================================================
   🧭 Grundlayout
   ============================================================ */
.abo-page {
  background: var(--color-bg, #ecfdf5);
  min-height: 100vh;
  font-family: var(--font-sans, sans-serif);

  /* 🧩 Neuer Abstand nach Header */
  padding-block-start: clamp(4rem, 8vh, 6rem);
  padding-inline: clamp(1rem, 4vw, 2rem);
  padding-block-end: clamp(3rem, 6vh, 4rem);

  color: var(--color-text, #1f2937);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================================
   🧭 Breadcrumb
   ============================================================ */
.abo-breadcrumb {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--color-text-muted, #6b7280);
  margin-bottom: 1rem;
  text-align: center;
}

/* ============================================================
   🏷️ Titel
   ============================================================ */
.abo-title {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vh, 3rem);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-text-strong, #111827);
}

/* ============================================================
   💬 Bestätigungsmeldung
   ============================================================ */
.abo-confirm {
  text-align: center;
  color: var(--color-accent, #15803d);
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeIn 0.4s ease;
}

/* ============================================================
   💳 Kartenübersicht
   ============================================================ */
.abo-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1rem;
}

/* ============================================================
   📦 Einzelkarte
   ============================================================ */
.abo-card {
  background: var(--color-surface, #fff);
  padding: 2.5rem;
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-md, 0 6px 18px rgba(0, 0, 0, 0.08));
  width: 320px;
  border: 1px solid var(--color-border, #ddd);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.abo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 10px 24px rgba(0, 0, 0, 0.12));
}

.abo-card.selected {
  border-color: var(--color-accent, #15803d);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.12));
}

.abo-card input {
  display: none;
}

/* ============================================================
   📄 Inhalte
   ============================================================ */
.abo-name {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary, #111827);
}

.abo-desc {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: var(--color-text-muted, #333);
  line-height: 1.8;
}

.abo-features {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.abo-feature {
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
  line-height: 1.8;
  color: var(--color-text, #1f2937);
}

.abo-check {
  color: var(--color-accent, #15803d);
  margin-right: 0.6rem;
}

.abo-placeholder {
  width: 1.25rem;
  margin-right: 0.6rem;
  display: inline-block;
}

/* ============================================================
   🟢 Auswahl-Button (Card)
   ============================================================ */
.abo-button {
  margin-top: auto;
  background-color: var(--color-accent, #15803d);
  color: var(--color-on-accent, #fff);
  text-align: center;
  padding: 0.7rem;
  border-radius: var(--radius-sm, 4px);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.25s ease;
}

.abo-button:hover {
  background-color: var(--color-accent-hover, #166534);
}

/* ============================================================
   📩 Submit-Bereich
   ============================================================ */
.abo-submit {
  text-align: center;
  margin-top: clamp(3rem, 8vh, 4rem);
}

.abo-submit button {
  background-color: var(--color-accent, #15803d);
  color: var(--color-on-accent, #fff);
  padding: 0.9rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md, 8px);
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.abo-submit button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.abo-submit button:hover:not(:disabled) {
  background-color: var(--color-accent-hover, #166534);
}

/* ============================================================
   🌙 Dark Mode
   ============================================================ */
html[data-theme="dark"] .abo-page,
html.dark .abo-page,
.dark .abo-page {
  background: var(--color-bg-dark, #0f172a);
  color: var(--color-text-light, #f1f5f9);
}

html[data-theme="dark"] .abo-card,
html.dark .abo-card,
.dark .abo-card {
  background: var(--color-surface-dark, #1e293b);
  border-color: var(--color-border-dark, #374151);
  box-shadow: var(--shadow-sm-dark, 0 8px 24px rgba(0, 0, 0, 0.4));
}

html[data-theme="dark"] .abo-desc,
html[data-theme="dark"] .abo-feature {
  color: var(--color-text-muted-dark, #cbd5e1);
}

html[data-theme="dark"] .abo-button,
html.dark .abo-button,
.dark .abo-button {
  background-color: var(--color-accent, #16a34a);
}

html[data-theme="dark"] .abo-button:hover {
  background-color: var(--color-accent-hover, #15803d);
}

html[data-theme="dark"] .abo-submit button {
  background-color: var(--color-accent, #16a34a);
}

html[data-theme="dark"] .abo-breadcrumb {
  color: var(--color-text-muted-dark, #94a3b8);
}

/* ============================================================
   🎬 Animationen
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   ecoMatch 2025 – ImageUploader (modular, theme-ready)
   ============================================================ */

/* Root */
._root_1ry6h_6 {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

._disabled_1ry6h_12 {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================================
   Dropzone
   ============================================================ */
._dropzone_1ry6h_20 {
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: var(--space-sm);
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

._dropzone_1ry6h_20:hover {
  background: var(--color-surface-alt);
}

/* Inner layout */
._dropInner_1ry6h_36 {
  display: grid;
  place-items: center;
  gap: var(--space-xs);
}

._dropIcon_1ry6h_42 {
  font-size: 1.75rem;
}

._dropText_1ry6h_46 {
  color: var(--color-muted);
  line-height: 1.4;
  font-size: var(--font-size-sm);
}

._link_1ry6h_52 {
  color: var(--color-accent-hover);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

._link_1ry6h_52:hover {
  color: var(--color-accent);
}

/* ============================================================
   Counter Badge
   ============================================================ */
._counterBadge_1ry6h_67 {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: var(--font-size-xs);
  background: var(--color-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ============================================================
   Grid & Thumbnails
   ============================================================ */
._grid_1ry6h_82 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

._thumb_1ry6h_88 {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-surface-alt);
  transition: transform 0.15s ease;
}

._thumb_1ry6h_88:hover {
  transform: scale(1.02);
}

._thumb_1ry6h_88 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Remove Button
   ============================================================ */
._remove_1ry6h_113 {
  position: absolute;
  top: 4px;
  right: 4px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  background: none;
  border: none;
  border-radius: 50%;

  color: #e11d48;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

._remove_1ry6h_113:hover {
  background: #e11d48;
  color: #fff;
}

/* ============================================================
   Dark Mode
   ============================================================ */
:root[data-theme='dark'] ._dropzone_1ry6h_20 {
  background: var(--color-surface);
  border-color: var(--color-accent);
}

:root[data-theme='dark'] ._dropText_1ry6h_46 {
  color: var(--color-muted);
}

:root[data-theme='dark'] ._thumb_1ry6h_88 {
  background: var(--color-surface-alt);
  box-shadow: var(--shadow-md);
}

/* Floating elegant remove button */
:root[data-theme='dark'] ._remove_1ry6h_113 {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

:root[data-theme='dark'] ._remove_1ry6h_113:hover {
  background: var(--color-danger, #e11d48);
  color: #fff;
  transform: scale(1.05);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 600px) {
  ._thumb_1ry6h_88 {
    width: 90px;
    height: 90px;
  }

  ._dropzone_1ry6h_20 {
    padding: var(--space-xs);
  }
}
/* ============================================================
   🌿 ecoMatch 2026 – Request Wizard
   Fullscreen workflow, sticky footer, scrollbarer Inhalt,
   modern, mockup-nah und theme-ready
   ============================================================ */

/* ============================================================
   🔹 Root
   ============================================================ */
.request-wizard {
  width: 100%;
  height: 100%;
  display: flex;
  color: var(--color-text, #111827);
  background: #ffffff;
}

.request-wizard__shell {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
}

/* ============================================================
   🔹 Stepper
   ============================================================ */
.request-wizard__stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.75rem 1rem;
  scrollbar-width: none;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.request-wizard__stepper::-webkit-scrollbar {
  display: none;
}

.request-wizard__stepper-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.request-wizard__stepper-circle {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #374151;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.request-wizard__stepper-item.is-active {
  color: #111827;
}

.request-wizard__stepper-item.is-active .request-wizard__stepper-circle {
  background: #16a34a;
  color: #ffffff;
}

/* ============================================================
   🔹 Panel
   ============================================================ */
.request-wizard__panel {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.request-wizard__panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  background: #ffffff;
}

.request-wizard__panel-header h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.7rem);
  line-height: 1.2;
  font-weight: 700;
}

.request-wizard__panel-header p {
  margin: 0.35rem 0 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

.request-wizard__panel-content {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.request-wizard__panel-body {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.request-wizard__panel-body::-webkit-scrollbar {
  width: 0.55rem;
}

.request-wizard__panel-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d1d5db;
}

.request-wizard__panel-footer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #f3f4f6;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

/* ============================================================
   🔹 Close Button
   ============================================================ */
.request-wizard__close {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  background: #f9fafb;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease;
}

.request-wizard__close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.request-wizard__close:active {
  transform: translateY(1px);
}

.request-wizard__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

/* ============================================================
   🔹 Buttons
   ============================================================ */
.request-wizard__button {
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.15s ease;
}

/* Primary */
.request-wizard__button--primary {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 0.625rem 1.25rem rgba(22, 163, 74, 0.16);
}

.request-wizard__button--primary:hover:not(:disabled) {
  background: #15803d;
  border-color: #15803d;
}

.request-wizard__button--primary:active:not(:disabled) {
  transform: translateY(1px);
}

.request-wizard__button--primary:focus-visible {
  outline: none;
  box-shadow:
    0 0.625rem 1.25rem rgba(22, 163, 74, 0.16),
    0 0 0 3px rgba(34, 197, 94, 0.18);
}

.request-wizard__button--primary:disabled {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  box-shadow: none;
}

/* Secondary */
.request-wizard__button--secondary {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #374151;
  cursor: pointer;
}

.request-wizard__button--secondary:hover:not(:disabled) {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.request-wizard__button--secondary:active:not(:disabled) {
  transform: translateY(1px);
}

.request-wizard__button--secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.request-wizard__button--secondary:disabled {
  background: #e5e7eb;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ============================================================
   🔹 Errors
   ============================================================ */
.request-wizard__errors {
  margin: 1rem 1.25rem 0;
  padding: 1rem 1.125rem;
  border: 1px solid #fecaca;
  border-radius: 0.9rem;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================================
   🔹 Step Content / Form Styles
   ============================================================ */
.request-wizard-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.request-wizard-step__intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.request-wizard-step__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 0.875rem;
  font-weight: 600;
}

.request-wizard-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.request-wizard-step__intro h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

.request-wizard-step__intro p {
  margin: 0;
  max-width: 42rem;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.65;
}

.request-wizard-info-box {
  padding: 1rem 1.125rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   🔹 Form Grid
   ============================================================ */
.request-wizard-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.request-wizard-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.request-wizard-field--full {
  grid-column: 1 / -1;
}

.request-wizard-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.request-wizard-field input,
.request-wizard-field select,
.request-wizard-phone-group__prefix {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.95rem;
  background: #ffffff;
  color: #111827;
  font: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.request-wizard-field input::placeholder {
  color: #9ca3af;
}

.request-wizard-field input:hover,
.request-wizard-field select:hover,
.request-wizard-phone-group__prefix:hover {
  border-color: #9ca3af;
}

.request-wizard-field input:focus,
.request-wizard-field select:focus,
.request-wizard-phone-group__prefix:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.request-wizard-field input[aria-invalid='true'],
.request-wizard-field select[aria-invalid='true'] {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.request-wizard-field__error {
  margin: 0;
  color: #b91c1c;
  font-size: 0.875rem;
  line-height: 1.5;
}

.request-wizard-field__hint {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ============================================================
   🔹 Phone Group
   ============================================================ */
.request-wizard-phone-group {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
}

.request-wizard-phone-group input {
  width: 100%;
}

/* ============================================================
   🔹 Tablet+
   ============================================================ */
@media (min-width: 48rem) {
  .request-wizard__shell {
    gap: 1rem;
  }

  .request-wizard__panel-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .request-wizard__panel-body {
    padding: 1.5rem;
  }

  .request-wizard__panel-footer {
    padding: 1rem 1.5rem 1.5rem;
  }

  .request-wizard__errors {
    margin: 1rem 1.5rem 0;
  }

  .request-wizard-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* ============================================================
   🔹 Mobile
   ============================================================ */
@media (max-width: 47.9375rem) {
  .request-wizard__stepper {
    gap: 0.625rem;
  }

  .request-wizard__stepper-item {
    font-size: 0.8rem;
  }

  .request-wizard__stepper-circle {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.85rem;
  }

  .request-wizard__panel {
    border-radius: 1rem 1rem 0 0;
  }

  .request-wizard__panel-header {
    padding: 1rem 1rem 0.85rem;
  }

  .request-wizard__panel-body {
    padding: 1rem;
  }

  .request-wizard__panel-footer {
    padding: 0.85rem 1rem max(1rem, env(safe-area-inset-bottom));
    flex-wrap: wrap;
  }

  .request-wizard__errors {
    margin: 0.85rem 1rem 0;
  }

  .request-wizard__button {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 0;
  }

  .request-wizard-phone-group {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   🔹 Dark Mode
   ============================================================ */
:root[data-theme='dark'] .request-wizard {
  color: #f3f4f6;
}

:root[data-theme='dark'] .request-wizard__panel {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

:root[data-theme='dark'] .request-wizard__panel-header {
  background: #111827;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

:root[data-theme='dark'] .request-wizard__panel-header h2,
:root[data-theme='dark'] .request-wizard-step__intro h3,
:root[data-theme='dark'] .request-wizard-field label {
  color: #f9fafb;
}

:root[data-theme='dark'] .request-wizard__panel-header p,
:root[data-theme='dark'] .request-wizard-step__intro p,
:root[data-theme='dark'] .request-wizard-field__hint {
  color: #9ca3af;
}

:root[data-theme='dark'] .request-wizard__panel-footer {
  background: rgba(17, 24, 39, 0.92);
  border-top-color: rgba(255, 255, 255, 0.07);
}

:root[data-theme='dark'] .request-wizard__close {
  background: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}

:root[data-theme='dark'] .request-wizard__close:hover {
  background: #273449;
  border-color: #4b5563;
}

:root[data-theme='dark'] .request-wizard__stepper-item {
  color: #9ca3af;
}

:root[data-theme='dark'] .request-wizard__stepper-item.is-active {
  color: #f9fafb;
}

:root[data-theme='dark'] .request-wizard__stepper-circle {
  background: #374151;
  color: #e5e7eb;
}

:root[data-theme='dark'] .request-wizard__stepper-item.is-active .request-wizard__stepper-circle {
  background: #16a34a;
  color: #ffffff;
}

:root[data-theme='dark'] .request-wizard-step__intro {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme='dark'] .request-wizard-info-box {
  background: rgba(30, 58, 138, 0.18);
  border-color: rgba(96, 165, 250, 0.28);
  color: #bfdbfe;
}

:root[data-theme='dark'] .request-wizard-field input,
:root[data-theme='dark'] .request-wizard-field select,
:root[data-theme='dark'] .request-wizard-phone-group__prefix {
  background: #111827;
  border-color: #374151;
  color: #f9fafb;
}

:root[data-theme='dark'] .request-wizard-field input::placeholder {
  color: #9ca3af;
}

:root[data-theme='dark'] .request-wizard-field input:hover,
:root[data-theme='dark'] .request-wizard-field select:hover,
:root[data-theme='dark'] .request-wizard-phone-group__prefix:hover {
  border-color: #4b5563;
}

:root[data-theme='dark'] .request-wizard__button--secondary {
  background: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}

:root[data-theme='dark'] .request-wizard__button--secondary:hover:not(:disabled) {
  background: #273449;
  border-color: #4b5563;
}

:root[data-theme='dark'] .request-wizard__button--secondary:disabled {
  background: #1f2937;
  border-color: #374151;
  color: #6b7280;
}

:root[data-theme='dark'] .request-wizard__errors {
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

:root[data-theme='dark'] .request-wizard__panel-body::-webkit-scrollbar-thumb {
  background: #4b5563;
}

/* WizardLayout integration: step components retain their behavior while the
   shared layout owns the page structure, heading, progress and actions. */
.request-wizard {
  min-height: 100vh;
  height: auto;
  display: block;
  background: transparent;
}

.request-wizard .request-wizard__panel-body {
  height: auto;
  overflow: visible;
  padding: 0;
}

.request-wizard .request-wizard-step__intro {
  display: none;
}

.request-wizard .request-wizard__errors {
  margin: 0;
}

.request-wizard .request-wizard__close {
  background: #ffffff;
  border-color: #dfe4df;
  color: #556158;
}

.request-wizard .service-item {
  position: relative;
  z-index: 1;
  cursor: pointer;
  pointer-events: auto;
}

.request-wizard .service-item input[type='checkbox'] {
  cursor: pointer;
  pointer-events: auto;
}

.request-services-section {
  display: grid;
  gap: 1rem;
}

.request-services-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.request-services-section__header h3,
.service-category__title,
.service-subcategory__title {
  margin: 0;
  color: #172019;
}

.request-services-section__header p {
  margin: 0.4rem 0 0;
  color: #6b746d;
  line-height: 1.55;
}

.request-services-section__header > span {
  min-width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #edf5ee;
  color: #527c5b;
  font-weight: 700;
}

.service-category {
  padding: 1rem 0;
  border-bottom: 1px solid #e6e9e6;
}

.service-category__title {
  font-size: 1rem;
}

.service-subcategory {
  margin-top: 1rem;
}

.service-subcategory__title {
  margin-bottom: 0.65rem;
  color: #778079;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-subcategory__body,
.service-category__body {
  display: grid;
  gap: 0.6rem;
}

.request-wizard .service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dfe4df;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.request-wizard .service-item:hover,
.request-wizard .service-item.is-selected {
  border-color: #7fad88;
  background: #f3f8f4;
}

.request-wizard .service-item input[type='checkbox'] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #7fad88;
}

.request-services-section--additional {
  padding-top: 0.5rem;
  border-top: 1px solid #e6e9e6;
}

.request-services-more {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: #315b3a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.request-services-selection-summary {
  position: sticky;
  bottom: 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #edf5ee;
  color: #315b3a;
  text-align: center;
  font-weight: 700;
}
.wizard-layout {
  --wizard-green: #7fad88;
  --wizard-dark-green: #19301f;
  --wizard-text: #20211f;
  min-height: 100vh;
  background: #f8f9f8;
  color: var(--wizard-text);
}

.wizard-layout__header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 4vw;
  border-bottom: 1px solid #eceeec;
  background: #fff;
}

.wizard-layout__navigation,
.wizard-layout__user {
  display: flex;
  align-items: center;
}

.wizard-layout__body {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(390px, 43.5%) minmax(0, 56.5%);
}

.wizard-layout__branding-panel {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7.5rem);
  overflow: hidden;
  background: var(--wizard-dark-green);
  color: #fff;
}

.wizard-layout__branding-panel--image {
  background:
    linear-gradient(rgba(16, 43, 23, 0.83), rgba(16, 43, 23, 0.83)),
    var(--wizard-background-image) center / cover no-repeat;
}

.wizard-layout__branding {
  position: absolute;
  top: clamp(3rem, 10vh, 8rem);
  left: clamp(3rem, 7vw, 7.5rem);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.wizard-layout__marketing {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.wizard-layout__marketing-badge {
  width: fit-content;
  margin-bottom: 1.5rem;
  color: #cbdccd;
  font-size: 1rem;
  font-weight: 500;
}

.wizard-layout__marketing h1 {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.wizard-layout__marketing-description {
  max-width: 48ch;
  color: #cbdccd;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.wizard-layout__wizard-panel {
  min-width: 0;
  min-height: inherit;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 6vw, 6.5rem);
  border-radius: 36px 0 0 36px;
  background: #fbfcfb;
}

.wizard-layout__card {
  position: relative;
  width: min(100%, 650px);
  min-height: min(680px, calc(100vh - 150px));
  display: flex;
  flex-direction: column;
}

.wizard-layout__card-action {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.wizard-layout__card-header {
  margin-bottom: 2rem;
}

.wizard-layout__step-badge {
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--wizard-green);
  border-radius: 999px;
  color: var(--wizard-green);
  font-size: 0.9rem;
  line-height: 1;
}

.wizard-layout__card-header h2 {
  margin: 0 0 1rem;
  color: #124b1d;
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.wizard-layout__page-description {
  max-width: 52ch;
  color: #707770;
  line-height: 1.6;
}

.wizard-layout__content {
  min-width: 0;
}

.wizard-layout__status {
  margin-top: 1rem;
}

.wizard-layout__footer {
  margin-top: auto;
  padding-top: 2rem;
}

.wizard-layout__progress {
  display: flex;
  gap: 0;
  height: 5px;
  overflow: hidden;
  background: #e7e9e7;
}

.wizard-layout__progress span {
  flex: 1;
  background: transparent;
}

.wizard-layout__progress span.is-complete {
  background: var(--wizard-green);
}

.wizard-layout__step-label {
  margin-top: 0.65rem;
  text-align: center;
  color: var(--wizard-green);
  font-size: 0.9rem;
}

.wizard-layout__actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.75rem;
}

.wizard-layout__primary-action,
.wizard-layout__secondary-action {
  min-width: 165px;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.wizard-layout__primary-action {
  border: 1px solid var(--wizard-green);
  background: var(--wizard-green);
  color: #fff;
}

.wizard-layout__primary-action:hover:not(:disabled) {
  background: #6d9c78;
}

.wizard-layout__secondary-action {
  border: 1px solid #d9ded9;
  background: transparent;
  color: #526056;
}

.wizard-layout__secondary-action:hover:not(:disabled) {
  border-color: var(--wizard-green);
  color: #3f7850;
}

.wizard-layout__primary-action:disabled,
.wizard-layout__secondary-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 1000px) {
  .wizard-layout__body {
    grid-template-columns: 1fr;
  }

  .wizard-layout__branding-panel {
    min-height: 390px;
    padding: 7.5rem clamp(1.5rem, 7vw, 4rem) 3rem;
  }

  .wizard-layout__branding {
    top: 2.5rem;
    left: clamp(1.5rem, 7vw, 4rem);
  }

  .wizard-layout__wizard-panel {
    min-height: auto;
    padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 7vw, 4rem);
    border-radius: 36px 36px 0 0;
  }

  .wizard-layout__card {
    min-height: 620px;
  }
}

@media (max-width: 600px) {
  .wizard-layout__header {
    padding-inline: 1.25rem;
  }

  .wizard-layout__branding-panel {
    min-height: 340px;
  }

  .wizard-layout__marketing h1 {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  .wizard-layout__wizard-panel {
    border-radius: 28px 28px 0 0;
  }

  .wizard-layout__card {
    min-height: 560px;
  }

  .wizard-layout__actions {
    flex-direction: column-reverse;
  }

  .wizard-layout__primary-action,
  .wizard-layout__secondary-action {
    width: 100%;
  }
}
.authenticated-request-wizard-page {
  min-height: 100vh;
  background: #f8f9f8;
}

@media (max-width: 40rem) {
  .authenticated-request-wizard-page {
    min-height: 100vh;
  }
}
.request-details-page { display: grid; gap: var(--space-lg); padding-top: 3rem; }
.request-details-page__back { justify-self: start; background: transparent; color: var(--color-accent-hover); padding: var(--space-xs) 0; }
.request-details-page__back:hover, .request-details-page__back:focus-visible { background: transparent; text-decoration: underline; }
.request-details-page header { display: grid; gap: var(--space-xs); }
.request-details-page header span { color: var(--color-secondary); font-size: var(--font-size-sm); }
.request-details-page h1 { margin: 0; color: var(--color-primary); font-size: clamp(1.75rem, 3vw, 2.25rem); }
.request-details-page__data { display: grid; margin: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.request-details-page__data > div { display: grid; grid-template-columns: minmax(9rem, 0.3fr) 1fr; gap: var(--space-md); border-bottom: 1px solid var(--color-border); padding: var(--space-md) var(--space-lg); }
.request-details-page__data > div:last-child { border-bottom: 0; }
.request-details-page dt { color: var(--color-secondary); font-weight: var(--font-weight-bold); }
.request-details-page dd { margin: 0; color: var(--color-primary); }
.request-details-page__description dd { white-space: pre-wrap; }
.request-details-page__status { margin: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-secondary); padding: var(--space-xl); text-align: center; }
.request-details-page__status--error { color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary)); }
@media (max-width: 40rem) { .request-details-page { padding-top: var(--space-md); } .request-details-page__data > div { grid-template-columns: 1fr; gap: var(--space-xs); padding: var(--space-md); } }
.provider-match-details { display: grid; gap: var(--space-lg); padding-top: 3rem; }
.provider-match-details__back { justify-self: start; background: transparent; color: var(--color-accent-hover); padding: var(--space-xs) 0; }
.provider-match-details__back:hover,
.provider-match-details__back:focus-visible { background: transparent; text-decoration: underline; }
.provider-match-details header { display: grid; gap: var(--space-xs); }
.provider-match-details header span { color: var(--color-secondary); font-size: var(--font-size-sm); }
.provider-match-details h1 { margin: 0; color: var(--color-primary); font-size: clamp(1.75rem, 3vw, 2.25rem); }
.provider-match-details__data { display: grid; margin: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.provider-match-details__data > div { display: grid; grid-template-columns: minmax(9rem, 0.3fr) 1fr; gap: var(--space-md); border-bottom: 1px solid var(--color-border); padding: var(--space-md) var(--space-lg); }
.provider-match-details__data > div:last-child { border-bottom: 0; }
.provider-match-details dt { color: var(--color-secondary); font-weight: var(--font-weight-bold); }
.provider-match-details dd { margin: 0; color: var(--color-primary); }
.provider-match-details__description dd { white-space: pre-wrap; }
.provider-match-details__state { margin: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-secondary); padding: var(--space-xl); text-align: center; }
.provider-match-details__state--error { color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary)); }
@media (max-width: 40rem) { .provider-match-details { padding-top: var(--space-md); } .provider-match-details__data > div { grid-template-columns: 1fr; gap: var(--space-xs); padding: var(--space-md); } }
.notifications-page { display: grid; gap: var(--space-lg); padding-top: 3rem; }
.notifications-page h1 { margin: 0; color: var(--color-primary); font-size: clamp(1.75rem, 3vw, 2.25rem); }
.notifications-page__list { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.notifications-page__item { display: grid; width: 100%; gap: var(--space-xs); border: 0; border-bottom: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-primary); padding: var(--space-md) var(--space-lg); text-align: left; transition: background-color 0.2s ease; }
.notifications-page__item:last-child { border-bottom: 0; }
.notifications-page__item--unread { background: color-mix(in srgb, var(--color-accent-light) 32%, var(--color-surface)); }
.notifications-page__item--unread .notifications-page__message { font-weight: var(--font-weight-bold); }
.notifications-page__item:hover, .notifications-page__item:focus-visible { background: var(--color-surface-alt); }
.notifications-page__item:focus-visible { outline: var(--space-2xs) solid color-mix(in srgb, var(--color-accent) 32%, transparent); outline-offset: calc(var(--space-2xs) * -1); }
.notifications-page__item:disabled { cursor: wait; opacity: 0.7; }
.notifications-page__message { line-height: 1.5; }
.notifications-page__item time { color: var(--color-secondary); font-size: var(--font-size-sm); }
.notifications-page__status { margin: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-secondary); padding: var(--space-xl) var(--space-lg); text-align: center; }
.notifications-page__status--error { color: color-mix(in srgb, var(--color-danger) 72%, var(--color-primary)); }
@media (max-width: 40rem) { .notifications-page { padding-top: var(--space-md); } .notifications-page__item { padding: var(--space-md); } }
.help-page {
  display: grid;
  gap: var(--space-lg);
  padding-top: 3rem;
}

.help-page h1 {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.help-page__topics {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  list-style: none;
  padding: 0;
}

.help-page__topics li {
  border-bottom: 1px solid var(--color-border);
  color: var(--color-primary);
  padding: var(--space-md) var(--space-lg);
}

.help-page__topics li:last-child {
  border-bottom: 0;
}

@media (max-width: 40rem) {
  .help-page {
    padding-top: var(--space-md);
  }
}
.benefits-info-page { display: grid; gap: clamp(2rem, 5vw, 4rem); padding: 3rem 0 2rem; color: var(--color-primary); }
.benefits-info-page__hero { max-width: 48rem; }
.benefits-info-page__eyebrow,
.benefits-info-page__section-heading > span { color: var(--color-accent-hover); font-size: var(--font-size-sm); font-weight: var(--font-weight-bold); letter-spacing: 0.08em; text-transform: uppercase; }
.benefits-info-page h1 { max-width: 42rem; margin: var(--space-sm) 0 var(--space-md); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
.benefits-info-page__hero > p { max-width: 42rem; margin: 0; color: var(--color-secondary); font-size: 1.0625rem; line-height: 1.65; }
.benefits-info-page__actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.benefits-info-page__primary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; gap: var(--space-xs); border-radius: var(--radius-md); background: var(--color-accent-hover); color: var(--color-surface); padding: var(--space-sm) var(--space-lg); font-weight: var(--font-weight-bold); }
.benefits-info-page__primary:visited { color: var(--color-surface); }
.benefits-info-page__primary:hover,
.benefits-info-page__primary:focus-visible { background: color-mix(in srgb, var(--color-accent-hover) 86%, var(--color-primary)); color: var(--color-surface); }
.benefits-info-page__primary svg { width: 1rem; height: 1rem; }
.benefits-info-page__secondary { color: var(--color-accent-hover); font-weight: var(--font-weight-bold); }
.benefits-info-page__secondary:hover,
.benefits-info-page__secondary:focus-visible { text-decoration: underline; }
.benefits-info-page__section { display: grid; gap: var(--space-xl); }
.benefits-info-page__section-heading h2 { margin: var(--space-xs) 0 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.benefits-info-page__benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.benefits-info-page__benefits article { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--color-surface) 90%, var(--color-bg)); padding: var(--space-lg); }
.benefits-info-page__benefits svg { width: 1.5rem; height: 1.5rem; color: var(--color-accent-hover); }
.benefits-info-page__benefits h3 { margin: var(--space-md) 0 var(--space-xs); font-size: 1rem; }
.benefits-info-page__benefits p { margin: 0; color: var(--color-secondary); font-size: var(--font-size-sm); line-height: 1.55; }
.benefits-info-page__steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.benefits-info-page__steps li { display: flex; align-items: center; gap: var(--space-md); border-top: 1px solid var(--color-border); padding: var(--space-md) var(--space-xs); }
.benefits-info-page__steps li span { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: var(--radius-full); background: var(--color-accent-light); color: var(--color-accent-hover); font-weight: var(--font-weight-bold); }
.benefits-info-page__final { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--color-accent-light) 34%, var(--color-surface)); padding: clamp(1.5rem, 4vw, 2.5rem); }
.benefits-info-page__final h2 { margin: var(--space-xs) 0; }
.benefits-info-page__final p { max-width: 42rem; margin: 0; color: var(--color-secondary); line-height: 1.55; }
@media (max-width: 55rem) { .benefits-info-page__benefits, .benefits-info-page__steps ol { grid-template-columns: 1fr; } .benefits-info-page__final { align-items: flex-start; flex-direction: column; } }
@media (max-width: 40rem) { .benefits-info-page { padding-top: var(--space-lg); } .benefits-info-page__actions { align-items: stretch; flex-direction: column; } .benefits-info-page__primary, .benefits-info-page__secondary { text-align: center; } }
