/* KaloriQ Custom Styles */

/* Aktivitäten-Seite: Progress-Anzeige Kontrolle */
.analysis-progress-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.analysis-progress-visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Aggressive Spinner-Unterdrückung für Aktivitäten-Seite */
#analysisProgress,
#analysisProgress *,
#analysisProgress .spinner-border {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    animation: none !important;
    transform: none !important;
}

/* Spinner in progress bars deaktivieren */
.progress-bar-animated {
    animation: none !important;
}

/* Moderne Variablen - Light Theme (Default) */
:root {
    /* Theme-spezifische Farben - Light Mode */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Hauptfarben - Frisches Grün-Blau-Spektrum */
    --primary-color: #22c55e;
    --primary-light: #34d399;
    --primary-dark: #16a34a;
    --secondary-color: #64748b;
    --accent-color: #22c55e;
    --accent-light: #34d399;
    
    /* Status-Farben */
    --success-color: #10b981;
    --info-color: #0ea5e9;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    
    /* Moderne Schatten */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* WCAG 2.1 AA Typography Standards */
    /* Mindestgrößen für Barrierefreiheit */
    --min-text-size: 16px;
    --min-tap-target: 44px;
    
    /* Kontrastverhältnisse für WCAG AA */
    --text-contrast-aa: 4.5;
    --large-text-contrast-aa: 3;
    
    /* WCAG 2.1 AA Compliant Responsive Typography Scale */
    /* Minimum 16px base für Barrierefreiheit */
    --font-size-xs: clamp(0.875rem, 0.8rem + 0.25vw, 1rem);
    --font-size-sm: clamp(1rem, 0.9rem + 0.375vw, 1.125rem);
    --font-size-base: clamp(1rem, 0.95rem + 0.5vw, 1.25rem);
    --font-size-lg: clamp(1.125rem, 1.05rem + 0.625vw, 1.375rem);
    --font-size-xl: clamp(1.25rem, 1.15rem + 0.75vw, 1.625rem);
    --font-size-2xl: clamp(1.5rem, 1.35rem + 1vw, 2rem);
    --font-size-3xl: clamp(1.875rem, 1.65rem + 1.375vw, 2.5rem);
    --font-size-4xl: clamp(2.25rem, 1.95rem + 1.75vw, 3.25rem);
    --font-size-5xl: clamp(3rem, 2.6rem + 2.5vw, 4.5rem);
    
    /* Line Height Scale */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Gradients - Light Mode */
    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-hero: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-info: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    /* Theme-spezifische Farben - Dark Mode */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #334155;
    --border-light: #475569;
    --shadow-color: rgba(0, 0, 0, 0.3);
    
    /* Dark Mode Gradients */
    --gradient-hero: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    
    /* Schatten für Dark Mode anpassen */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Auto Dark Mode basierend auf System-Einstellung */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        /* Anwenden der Dark Mode Variablen wenn System auf Dark steht */
        --bg-primary: #0f172a;
        --bg-secondary: #1e293b;
        --bg-tertiary: #334155;
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
        --text-muted: #64748b;
        --border-color: #334155;
        --border-light: #475569;
        --shadow-color: rgba(0, 0, 0, 0.3);
        
        --gradient-hero: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
        --gradient-card: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
        
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    }
}

/* Body und allgemeine Styles */
body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-hero);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0 !important; /* Verhindert blaue Linie über dem Header */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* SAFE SPECIFIC NAVBAR PSEUDO-ELEMENT RULES */
.navbar::before,
.navbar::after {
    border: none !important;
    border-top: none !important;
    background: transparent !important;
}

/* Entfernt Bootstrap Primary-Farben die blau sind */
.bg-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-top: none !important;
}

/* Spezifische Navbar-Überschreibungen */
.navbar.navbar-dark {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-top: none !important;
}

/* SAFE NAVBAR SPECIFIC RULES ONLY */
.navbar {
    border-top: none !important;
}

/* Zusätzliche Sicherheit gegen blaue Linien */
html, body {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Entfernt alle möglichen blauen Hintergründe und Überlagerungen */
html {
    background: var(--bg-primary) !important;
    transition: background-color 0.3s ease;
}

/* DANGEROUS GLOBAL OVERRIDES REMOVED - REPLACED WITH SPECIFIC RULES */

.navbar-dark {
    border: none !important;
    border-top: none !important;
}

/* Gradient Background Classes */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-success {
    background: var(--gradient-success) !important;
}

.bg-gradient-info {
    background: var(--gradient-info) !important;
}

.bg-gradient-warning {
    background: var(--gradient-warning) !important;
}

.bg-gradient-purple {
    background: var(--gradient-purple) !important;
}

/* Purple text color for trends */
.text-purple {
    color: #8b5cf6 !important;
}

/* Moderne Navigation */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-top: none !important; /* Entfernt blaue Linie über dem Header */
    position: relative;
    z-index: 1000;
}

/* Verhindert blaue Überlagerungen über dem Header */
.navbar::before {
    display: none !important;
}

.navbar-brand {
    font-size: var(--font-size-xl);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9) !important;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    color: white !important;
}

/* Navbar Login-Buttons - Spezifisch und stabil */
.navbar-buttons {
    margin-top: 4px !important;
}

.navbar-buttons .btn.btn-outline-primary,
.navbar-buttons .btn.btn-outline-secondary {
    width: auto !important;
    min-width: 70px !important;
    height: 34px !important;
    padding: 0.4rem 0.75rem !important;
    font-size: var(--font-size-sm) !important;
    font-weight: 500 !important;
    border-radius: 17px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    letter-spacing: 0.02em !important;
}

/* Tablet-spezifische Fixes für Navigation (769px - 992px) */
@media (max-width: 992px) and (min-width: 769px) {
    /* Navigation kompakter für Tablets */
    .navbar-nav .nav-link {
        padding: 0.5rem 0.6rem !important;
        font-size: var(--font-size-sm) !important;
        margin: 0 0.1rem !important;
    }
    
    /* Navbar Brand/Logo schützen */
    .navbar-brand {
        margin-right: 1rem !important;
        flex-shrink: 0 !important;
        max-width: 200px !important;
    }
    
    /* Navigation nicht über Brand überlappen lassen */
    .navbar-collapse {
        margin-left: auto !important;
        flex-wrap: wrap !important;
    }
    
    /* Navigation auf zwei Zeilen aufteilen wenn nötig */
    .navbar-nav {
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
    }
    
    /* Navbar Brand Image kleiner */
    .navbar-brand img {
        height: 45px !important;
        margin-left: 10px !important;
    }
    
    /* Login-Buttons in der Navigation kleiner */
    .navbar-buttons .btn {
        width: 80px !important;
        height: 32px !important;
        font-size: var(--font-size-xs) !important;
        padding: 0.3rem 0.5rem !important;
    }
}

/* Mobile-spezifische Optimierung für iPhone und kleine Bildschirme - WCAG 2.1 AA konform */
@media (max-width: 768px) {
    /* Navigation Buttons größer für bessere Touch-Targets */
    .navbar-buttons .btn.btn-outline-primary,
    .navbar-buttons .btn.btn-outline-secondary {
        min-width: 44px !important;
        min-height: 44px !important;
        height: 44px !important;
        padding: 0.4rem 0.8rem !important;
        font-size: var(--font-size-sm) !important;
        border-radius: 22px !important;
        margin: 0 0.25rem !important;
        line-height: 1.2 !important;
    }
    
    .navbar-buttons {
        margin-top: 4px !important;
    }
    
    /* Footer Links vergrößern */
    footer .btn-link {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 0.5rem !important;
        line-height: 1.3 !important;
    }
    
    /* Footer Navigation für Mobile optimieren - Kompaktes 2x2 Grid Layout */
    footer .d-flex.flex-wrap.justify-content-center {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-gap: 0.3rem 1rem !important;
        justify-items: center !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    /* Trennstriche auf Mobile ausblenden */
    footer .d-flex.flex-wrap.justify-content-center > span {
        display: none !important;
    }
    
    /* Links zentrieren und Touch-Target optimieren */
    footer .d-flex.flex-wrap.justify-content-center > a {
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0.4rem 0.2rem !important;
        line-height: 1.2 !important;
        font-size: var(--font-size-sm) !important;
    }
    
    /* Navigation Menu Items */
    .navbar-nav .nav-link {
        min-height: 44px !important;
        padding: 0.7rem 1rem !important;
        line-height: 1.3 !important;
    }
    
    /* Dropdown Menu Items */
    .dropdown-menu .dropdown-item {
        min-height: 44px !important;
        padding: 0.7rem 1rem !important;
        line-height: 1.3 !important;
    }
}

.navbar-buttons .btn.btn-outline-primary {
    color: #22c55e !important;
    border-color: #22c55e !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2) !important;
    transition: all 0.3s ease !important;
}

.navbar-buttons .btn.btn-outline-primary:hover {
    background: #22c55e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4) !important;
    color: white !important;
    border-color: #22c55e !important;
}

.navbar-buttons .btn.btn-outline-secondary {
    color: #6c757d !important;
    border-color: #6c757d !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2) !important;
    transition: all 0.3s ease !important;
}

.navbar-buttons .btn.btn-outline-secondary:hover {
    background: #6c757d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.3) !important;
    color: white !important;
    border-color: #6c757d !important;
}

/* Passwort-Augen-Icon Styling für Login und Registrierung */
#togglePassword,
#togglePasswordConfirm {
    border: none !important;
    background: transparent !important;
    padding: 0.375rem 0.5rem !important;
    width: 35px !important;
    height: 38px !important;
}

#eyeIcon,
#eyeIconConfirm {
    font-size: 12px !important;
    color: #6c757d !important;
    opacity: 0.7 !important;
}

#togglePassword:hover #eyeIcon,
#togglePasswordConfirm:hover #eyeIconConfirm {
    opacity: 1 !important;
    color: #495057 !important;
}

/* Moderne Karten - KONSOLIDIERT */
.card {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out; /* VERSCHOBEN: War doppelt definiert */
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px) scale(1.02);
}

.card-header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.9) 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

/* Hero Section - Modernisiert */
.hero-section {
    background: url('/static/hero-background.webp'), linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: var(--dark-color);
    padding: 3rem 1rem;
    border-radius: 2rem;
    margin: 0 auto 2rem auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

/* NEUE GLASMORPHISMUS-KARTE */
.hero-content-card {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 2rem !important;
    padding: 2.5rem 2rem !important;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    position: relative !important;
    z-index: 10 !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 100%);
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

/* Feature Highlights Grid - Modern und professionell */
.feature-highlights-grid {
    padding: 2rem 0;
}

/* DEAKTIVIERT - Überschrieben durch inline styles */
/* .feature-highlight {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
} */

.feature-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

/* DEAKTIVIERT - Überschrieben durch inline styles */
/* .feature-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
} */

.feature-unicode-icon {
    font-size: var(--font-size-2xl) !important;
    line-height: 1 !important;
    display: block !important;
    opacity: 1 !important;
}

.kai-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.feature-title {
    font-weight: 600;
    color: #333;
    font-size: var(--font-size-base);
}

/* Feature Cards - Modernisiert */
.feature-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-xl);
}
    box-shadow: var(--box-shadow-lg);
}

.feature-card i {
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

/* Step Numbers */
.step-number {
    font-size: var(--font-size-lg);
    font-weight: 700;
    min-width: 50px;
    min-height: 50px;
}

/* Example Box */
.example-box {
    transition: all 0.3s ease;
}

.example-box:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-lg);
}

.features-preview .feature-item {
    text-align: center;
    padding: 1rem;
}

/* Spezielle Karten-Styles */
.calorie-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 50%, #ffffff 100%);
    color: #495057;
    border: 1px solid #e9ecef;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    border-color: #dee2e6;
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .card-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-base);
}

.stat-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: var(--font-size-xl);
}

.stat-card .text-primary {
    color: #22c55e !important;
}

.stat-card .text-success {
    color: #198754 !important;
}

.stat-card .text-muted {
    color: #6c757d !important;
    font-size: var(--font-size-sm);
}

/* Fortschrittsbalken */
.progress {
    border-radius: 1rem;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 1rem;
    transition: width 1s ease-in-out;
}

/* Formular-Styles */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Button Grunddefinition - KONSOLIDIERT */
.btn {
    border-radius: var(--radius-lg) !important; /* Modernere Rundung */
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.025em !important; /* Moderne Zeichenabstände */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative !important;
    border: 1px solid transparent !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Einheitliche Action Buttons - Global CSS Override */
.action-btn {
    min-width: 255px !important;
    max-width: 255px !important;
    width: 255px !important;
    height: 60px !important;
    font-size: 1rem !important;
    padding: 0.6rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    flex: none !important;
    margin: 0.4rem !important;
    box-sizing: border-box !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

@media (max-width: 768px) {
    .action-btn {
        min-width: 200px !important;
        max-width: 200px !important;
        width: 200px !important;
        height: 60px !important;
        font-size: 0.9rem !important;
        padding: 0.5rem 0.8rem !important;
        margin: 0.3rem !important;
        flex: none !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
    }
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* VERSTÄRKTE BUTTON-STYLES - ABSOLUT HÖCHSTE PRIORITÄT */
.btn-primary:not(.navbar-buttons .btn),
.btn.btn-lg[href*="register"],
.btn[style*="background: linear-gradient"],
body .btn-primary:not(.navbar-buttons .btn),
body .btn.btn-lg[href*="register"],
.container .btn-primary:not(.navbar-buttons .btn),
.container .btn.btn-lg[href*="register"] {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: white !important;
    border: 1px solid #16a34a !important;
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3) !important;
}

.btn-primary:not(.navbar-buttons .btn):hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
    border-color: #15803d;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    border: 1px solid #059669;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
    border-color: #047857;
}

.btn-outline-primary:not(.navbar-buttons .btn) {
    border: 2px solid #22c55e;
    color: #22c55e !important;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary:not(.navbar-buttons .btn):hover {
    background: #22c55e !important;
    border-color: #22c55e !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

.btn-outline-secondary {
    border: 2px solid #6b7280;
    color: #6b7280 !important;
    background: transparent;
    box-shadow: 0 2px 6px rgba(107, 114, 128, 0.2);
}

.btn-outline-secondary:hover {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white !important;
    border: 1px solid #dc2626;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
    border-color: #b91c1c;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white !important;
    border: 1px solid #d97706;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
    border-color: #b45309;
}

/* Zusätzliche Button-Typen ohne Shimmer-Effekte */
.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white !important;
    border: 1px solid #4b5563;
    box-shadow: 0 3px 10px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(107, 114, 128, 0.4);
    border-color: #374151;
}

.btn-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white !important;
    border: 1px solid #0284c7;
    box-shadow: 0 3px 10px rgba(14, 165, 233, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
    border-color: #0369a1;
}

.btn-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #374151 !important;
    border: 1px solid #dee2e6;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #374151 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border-color: #ced4da;
}

.btn-dark {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: white !important;
    border: 1px solid #1f2937;
    box-shadow: 0 3px 10px rgba(55, 65, 81, 0.3);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(55, 65, 81, 0.4);
    border-color: #111827;
}

.btn-link {
    color: #22c55e !important;
    text-decoration: none;
    border: none;
    background: transparent;
    box-shadow: none;
}

.btn-link:hover {
    color: #16a34a !important;
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

/* Section Headers */
.section-header {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 2rem 0 1rem 0;
}

.section-header h5 {
    margin-bottom: 0;
    font-weight: 700;
}

/* Dashboard spezifische Styles */
.dashboard-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #2d3748;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

/* Tabellen */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table th {
    background-color: var(--light-color);
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: rgba(40, 167, 69, 0.05);
}

/* Alert-Styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* Badge-Styles */
.badge {
    padding: 0.5rem 0.75rem;
    border-radius: 2rem;
    font-weight: 600;
}

/* Info-Karten auf der Startseite */
.info-card {
    padding: 2rem 1rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    transition: all 0.3s ease;
}

.info-card:hover i {
    transform: scale(1.1);
}

/* Zukünftige Features */
.future-features {
    margin-top: 3rem;
}

.future-features .card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
}

/* Responsive Design */
/* GLOBAL TEXT VISIBILITY FIXES - FÜR ALLE GERÄTE */
h1, h2, h3, h4, h5, h6,
body h1, body h2, body h3, body h4, body h5, body h6,
.container h1, .container h2, .container h3, .container h4, .container h5, .container h6 {
    color: #1f2937 !important;
    font-weight: 600 !important;
}

p, .lead, span, div,
body p, body .lead, body span, body div,
.container p, .container .lead, .container span, .container div {
    color: #374151 !important;
    font-weight: 400 !important;
}

/* Ausnahmen für Navigation und spezielle Bereiche */
.navbar *, .btn *, .alert *, .card-header *, .footer *,
.kai-overlay *, .tour-step *, .admin-page * {
    color: inherit !important;
}

@media (max-width: 768px) {
    /* HERO-BEREICH MOBILE OPTIMIERUNG - KOMPAKT */
    .hero-section {
        padding: 1.5rem 0.5rem !important;
        margin: 0 0.5rem 1rem 0.5rem !important;
    }
    
    /* MOBILE SPACING OPTIMIZATION - MAXIMALE PRIORITÄT */
    section:not(.hero-section),
    body section:not(.hero-section),
    .container section:not(.hero-section) {
        margin-bottom: 1.5rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .py-5,
    body .py-5,
    .container .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* FORCE GREEN BUTTONS ON MOBILE */
    .btn[href*="register"],
    .btn.btn-lg[href*="register"],
    body .btn[href*="register"],
    .container .btn[href*="register"] {
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
        color: white !important;
        border: none !important;
    }
    
    /* MOBILE FEATURE CARDS - FORCE GRADIENT & TEXT VISIBILITY */
    .feature-card,
    body .feature-card,
    .container .feature-card,
    .feature-slide .feature-card {
        background: var(--gradient-card) !important;
        color: #1f2937 !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .feature-card h6,
    body .feature-card h6,
    .container .feature-card h6 {
        color: #1f2937 !important;
        font-weight: 700 !important;
    }
    
    .feature-card p,
    body .feature-card p,
    .container .feature-card p {
        color: #4b5563 !important;
        font-weight: 500 !important;
    }
    
    /* MOBILE TEXT VISIBILITY FIXES */
    h1, h2, h3, h4, h5, h6,
    body h1, body h2, body h3, body h4, body h5, body h6 {
        color: #1f2937 !important;
        font-weight: 600 !important;
    }
    
    p, .lead,
    body p, body .lead {
        color: #374151 !important;
        font-weight: 400 !important;
    }
    
    /* MOBILE FOOTER LOGO - NOCH KLEINER */
    .footer-logo,
    footer .footer-logo,
    footer img.footer-logo,
    footer img[alt="KalorIQ Logo"],
    footer img[alt="KaloriQ Logo"] {
        height: 50px !important;
        max-height: 50px !important;
    }
    
    .hero-content-card {
        margin: 0 !important;
        padding: 1.5rem 1rem !important;
        border-radius: 1.5rem !important;
        background: rgba(255, 255, 255, 0.75) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    #hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        max-width: 100% !important;
    }
    
    /* KOMPAKTE ABSTÄNDE MOBILE */
    .feature-highlights-grid {
        margin-bottom: 1.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .feature-slider-wrapper {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* PROFESSIONAL KALORIQ COLORS - HEALTH & TRUST */
    :root {
        --brand-emerald-600: #16a34a;
        --brand-emerald-500: #22c55e;
        --brand-emerald-400: #34d399;
        --text-strong: #0f172a;
        --text-default: #334155;
        --text-muted: #64748b;
        --gradient-cta: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    }
    
    .hero-heading-professional {
        color: var(--text-strong) !important;
        letter-spacing: -0.02em !important;
    }
    
    .brand-accent {
        background: linear-gradient(135deg, var(--brand-emerald-600), var(--brand-emerald-500)) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        /* Fallback for older browsers */
        color: var(--brand-emerald-600) !important;
    }
    
    .hero-subtitle-professional {
        color: var(--text-default) !important;
        font-weight: 600 !important;
    }
    
    .hero-highlight-emerald {
        color: var(--brand-emerald-600) !important;
        font-weight: 700 !important;
    }
    
    .hero-text-neutral {
        color: var(--text-default) !important;
        font-weight: 500 !important;
    }
    
    .hero-text-muted {
        color: var(--text-muted) !important;
        font-weight: 500 !important;
    }
    
    .hero-icon-emerald {
        color: var(--brand-emerald-500) !important;
        filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.2)) !important;
    }
    
    /* MOBILE-FIRST SLIDER CSS - EXTERNAL */
    .mobile-slider-container {
        position: relative;
        max-width: 600px;
        margin: 0 auto;
        padding: 0 20px;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        background: var(--gradient-card);
    }
    
    .mobile-slider {
        display: flex;
        width: 400%; /* 4 slides */
        height: 280px;
        /* GPU ACCELERATION FOR MOBILE */
        transform: translate3d(0, 0, 0);
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        /* SMOOTH TRANSITIONS */
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* DESKTOP: Grid-Layout statt Slider */
    @media (min-width: 992px) {
        .mobile-slider-container {
            max-width: 100% !important;
            width: 100% !important;
            max-height: none !important;
            overflow: visible !important;
            background: transparent !important;
            box-shadow: none !important;
            padding: 0 !important;
        }
        
        .mobile-slider {
            display: grid !important;
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 1.5rem !important;
            width: 100% !important;
            height: auto !important;
            transform: none !important;
            transition: none !important;
        }
        
        .mobile-slide {
            flex: none !important;
            width: auto !important;
            background: var(--gradient-card) !important;
            border-radius: 12px !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
            transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        }
        
        .mobile-slide:hover {
            transform: translateY(-5px) !important;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        }
        
        .mobile-slide .feature-card {
            padding: 0.5rem 0.4rem !important;
            height: auto !important;
            min-height: 80px !important;
        }
        
        .mobile-slider-dots {
            display: none !important;
        }
    }
    
    .mobile-slide {
        flex: 0 0 25%; /* Each slide is 25% */
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gradient-card);
    }
    
    .mobile-slide .feature-card {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot.active {
        background: var(--brand-emerald-500);
        transform: scale(1.3);
    }
    
    .philosophy-section {
        margin-bottom: 1.5rem !important;
        padding: 2rem 1rem !important;
    }
    
    .cta-section {
        margin-bottom: 1rem !important;
        padding: 2rem 1rem !important;
    }
    
    .features-preview {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    /* FEATURE KACHELN MOBILE ZENTRIERUNG */
    .feature-card {
        text-align: center !important;
    }
    
    .feature-card h5,
    .feature-card h6,
    .feature-card p {
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .feature-item {
        text-align: center !important;
    }
    
    .feature-item h5,
    .feature-item h6, 
    .feature-item p {
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    /* MOBILE SLIDER RESPONSIVE RULES */
    @media (max-width: 767px) {
        .mobile-slider {
            height: 250px;
        }
        
        .mobile-slide .feature-card {
            padding: 2rem 1rem !important;
        }
        
        .mobile-slide .feature-card h5 {
            font-size: 1.1rem !important;
        }
        
        .mobile-slide .feature-card p {
            font-size: 0.9rem !important;
        }
        
        .mobile-slider-container {
            padding: 0 10px;
        }
    }
    
    /* RESPECT USER PREFERENCE */
    @media (prefers-reduced-motion: reduce) {
        .mobile-slider {
            transition: none;
        }
    }
    
    /* SLIDER ICON STYLING - MOBILE BASIS */
    .kai-avatar-mobile {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .feature-icon-slider {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
        object-fit: contain;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    }
    
    /* LOGO HEADER STYLING */
    .logo-header {
        background: white;
        margin: 0 auto 1rem auto;
        border-radius: 0.5rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* HERO DESCRIPTION STYLING */
    .hero-description {
        background: rgba(255, 255, 255, 0.85);
        padding: 1.5rem;
        border-radius: 0.75rem;
        backdrop-filter: blur(8px);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
        max-width: 600px;
        color: #374151;
        font-size: 1.1rem;
        line-height: 1.7;
        margin: 0 auto 1.5rem auto;
    }
    
    /* PHILOSOPHY SECTION STYLING */
    .philosophy-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-radius: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        padding: 3rem 0;
        margin-bottom: 2rem;
    }
    
    .philosophy-card {
        background: white;
        border-radius: 0.75rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    /* CTA SECTION STYLING */
    .cta-section {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%);
        border-radius: 1rem;
        color: white;
        box-shadow: 0 8px 40px rgba(16, 185, 129, 0.2);
        padding: 3rem 0;
        margin-bottom: 2rem;
    }
    
    /* EMERALD GRADIENT BUTTONS */
    .btn-kalori-primary {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
        border: none !important;
        color: white !important;
        border-radius: 0.75rem !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3) !important;
        transition: all 0.3s ease !important;
        padding: 1rem 2.5rem !important;
    }
    
    .btn-kalori-primary:hover {
        background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4) !important;
        color: white !important;
    }
    
    /* LOGO IMAGE STYLING */
    .logo-image {
        height: 150px;
        width: auto;
    }

    /* DESKTOP-OPTIMIZED IMAGE SIZES - BESSERE SICHTBARKEIT */
    @media (min-width: 992px) {
        .logo-image {
            height: 120px !important;
            width: auto !important;
        }
        
        /* Feature Icons in Slider - optimal für Desktop */
        .feature-icon-slider {
            width: 80px !important;
            height: 80px !important;
            margin-bottom: 1rem !important;
        }
        
        /* KAI Avatar - optimal für Desktop */
        .kai-avatar-mobile {
            width: 80px !important;
            height: 80px !important;
            margin-bottom: 1rem !important;
        }
        
        
        /* Feature Slider Container MINIMAL klein */
        .mobile-slider-container {
            max-height: 100px !important;
        }
        
        /* Textgrößen SEHR kompakt */
        .mobile-slide .feature-card h5 {
            font-size: 0.75rem !important;
            margin-bottom: 0.1rem !important;
            font-weight: 600 !important;
        }
        
        .mobile-slide .feature-card p {
            font-size: 0.65rem !important;
            line-height: 1.2 !important;
            margin-bottom: 0 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
        }
    }
    
    /* STEP NUMBER COMPONENTS */
    .step-number-1 {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        box-shadow: 0 3px 12px rgba(0, 123, 255, 0.3);
    }
    
    .step-number-2 {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        box-shadow: 0 3px 12px rgba(40, 167, 69, 0.3);
    }
    
    .step-number-3 {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
        box-shadow: 0 3px 12px rgba(23, 162, 184, 0.3);
    }
    
    .step-title {
        color: #1f2937;
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }
    
    .step-description {
        line-height: 1.5;
    }
    
    .step-strong {
        font-size: 1.1rem;
    }
    
    /* EXAMPLE BOX STYLING */
    .example-text {
        color: #333;
    }
    
    /* FEATURES SECTION SPACING */
    .features-section {
        margin-top: 2rem;
    }
    
    /* MOBILE REGISTRATION FORM IMPROVEMENTS */
    .mobile-terms-checkbox {
        padding: 0.75rem;
        background: rgba(248, 250, 252, 0.5);
        border-radius: 0.5rem;
        border: 1px solid rgba(229, 231, 235, 0.6);
        position: relative;
    }
    
    .mobile-terms-checkbox .form-check-input {
        margin-top: 0.25rem !important;
        margin-right: 0.75rem !important;
        transform: scale(1.0) !important;
        float: left;
    }
    
    .mobile-terms-checkbox .form-check-label {
        line-height: 1.4 !important;
        color: #374151 !important;
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
        margin-left: 1.5rem;
        display: block;
    }
    
    .mobile-terms-checkbox .form-check-label a {
        color: #059669 !important;
        font-weight: 500;
        text-decoration: underline;
    }
    
    .mobile-terms-checkbox .form-check-label a:hover {
        color: #047857 !important;
        text-decoration: none;
    }
    
    /* MOBILE SPECIFIC STYLING */
    @media (max-width: 576px) {
        .mobile-terms-checkbox {
            padding: 0.75rem 0.85rem;
            background: rgba(248, 250, 252, 0.7);
            border: 1px solid rgba(16, 185, 129, 0.15);
        }
        
        .mobile-terms-checkbox .form-check-input {
            margin-right: 0.75rem !important;
            transform: scale(1.1) !important;
            margin-top: 0.2rem !important;
        }
        
        .mobile-terms-checkbox .form-check-label {
            font-size: 0.95rem !important;
            line-height: 1.5 !important;
            margin-left: 1.6rem;
        }
    }
    
    /* GRAUE KÄSTCHEN KOMPLETT ENTFERNEN */
    .feature-highlights-grid .row::after,
    .feature-highlights-grid .row::before,
    .row::after,
    .row::before {
        display: none !important;
    }
    
    .feature-highlights-grid {
        background: transparent !important;
    }
    
    .feature-highlights-grid .col-6,
    .feature-highlights-grid .col-md-3 {
        background: transparent !important;
        border: none !important;
        padding: 0.5rem !important;
    }
    
    /* Versteckte Bootstrap-Elemente entfernen */
    .feature-highlights-grid *::before,
    .feature-highlights-grid *::after {
        display: none !important;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .row.gap-2 .btn {
        width: auto;
    }
}

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

/* Camera Modal Styles */
.modal {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    max-width: 500px;
}

.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
}

.modal-body {
    padding: 1.25rem;
}

#cameraPreview {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 0.75;
}

/* Quick Input Improvements */
.input-group .btn {
    border-left: none;
}

.input-group .form-control:focus + .btn {
    border-color: #86b7fe;
}

/* ENTFERNT: Doppelte .card Definition - Animation in Hauptdefinition verschoben */

/* Photo Upload Button Styling */
.photo-upload-btn {
    border: 2px dashed #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-upload-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color-light);
}

.photo-upload-btn.btn-outline-success {
    border-style: solid;
}

/* Loading-Animation für Buttons */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Zusätzliche Utility-Klassen */
.text-gradient {
    background: linear-gradient(45deg, #6c757d, #495057);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Tagebuch-spezifische Styles */
.diary-day-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.diary-day-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.meal-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.meal-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.meal-type-badge {
    font-size: 0.7rem;
    font-weight: 500;
}

.meal-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #495057;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-stat {
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(var(--bs-primary-rgb), 0.05);
    transition: all 0.3s ease;
}

.activity-stat:hover {
    background: rgba(var(--bs-primary-rgb), 0.1);
    transform: translateY(-2px);
}

/* Diese Regel wurde entfernt - .stat-card ist bereits oben mit hellen Farben definiert */

/* Fitness Integration Cards */
.integration-card {
    background: #fff;
    border: 1px solid #e3e6f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.integration-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.integration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.integration-card:hover::before {
    opacity: 1;
}

/* Meal Details Modal */
.meal-details .row {
    margin-bottom: 1rem;
}

.meal-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    color: var(--primary-color);
    background-color: #e9ecef;
    transform: translateY(-1px);
}

/* Filter section */
.filter-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

/* Dark mode support (für zukünftige Erweiterungen) */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #343a40;
        --dark-color: #f8f9fa;
    }
}

/* Logo Styling - Navigation */
.navbar-logo {
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 150px !important;
    background: transparent;
    border-radius: 2px;
    padding: 0px;
    margin: 0px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.8;
}

.hero-logo {
    height: 120px !important;
    max-height: 120px !important;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* MOBILE: Hero Logo */
@media (max-width: 768px) {
    .hero-logo {
        height: 120px !important;
        max-height: 120px !important;
    }
}

/* Logo-spezifische Styles */
img[alt="KaloriQ Logo"], img[alt="KalorIQ Logo"] {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    height: 120px !important;
    max-height: 120px !important;
    width: auto !important;
}

/* ALLE LOGO-IMAGES */
@media (max-width: 768px) {
    img[alt="KaloriQ Logo"], 
    img[alt="KalorIQ Logo"],
    img[src*="logo"],
    .logo, 
    .hero-logo,
    .navbar-logo {
        height: 120px !important;
        max-height: 120px !important;
        width: auto !important;
    }
    
    /* Footer Logo bleibt kleiner */
    .footer-logo,
    footer img[alt="KalorIQ Logo"],
    footer img[alt="KaloriQ Logo"] {
        height: 60px !important;
        max-height: 60px !important;
        width: auto !important;
    }
}

/* Footer Logo - Spezifisch für Footer */
footer img[alt="KalorIQ Logo"] {
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* Moderne Feature Icons */
.feature-icon-modern {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.feature-icon-modern:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}

/* Vergrößerte Icons und Avatar - Legacy */
.icon-shape {
    font-size: 4rem !important;
    line-height: 1 !important;
    display: block !important;
}

.kai-avatar-clean {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Mobile: Noch größere Icons für Touch */
@media (max-width: 768px) {
    .feature-icon-modern {
        width: 90px !important;
        height: 90px !important;
    }
    
    .fa-icon-wrapper {
        width: 90px !important;
        height: 90px !important;
    }
    
    .fa-icon-wrapper span {
        font-size: 2.8rem !important;
    }
    
    .icon-shape {
        font-size: 5rem !important;
    }
    
    .kai-avatar-clean {
        width: 90px !important;
        height: 90px !important;
    }
}

/* Footer Logo Alternative - Klassen-basiert */
.footer-logo {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
}

/* Navigation Logo - Header */
.navbar-brand img[alt="KaloriQ Logo"], .navbar-brand img[alt="KalorIQ Logo"] {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 120px !important;
    object-fit: contain !important;
}

/* MOBILE: Navigation Logo noch kleiner */
@media (max-width: 768px) {
    .navbar-brand img[alt="KaloriQ Logo"], .navbar-brand img[alt="KalorIQ Logo"] {
        height: 20px !important;
        max-height: 20px !important;
        margin-left: 8px !important;
    }
}

/* NAVIGATION: KAI-Avatar nur in Navigation 20px */
html body nav.navbar div.container div.collapse ul.navbar-nav li.nav-item a.nav-link img[src*="kai-avatar-custom.jpeg"],
html body .nav-link img[src*="kai-avatar-custom.jpeg"],
html body nav img[src*="kai-avatar-custom.jpeg"] {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* PROFIL-SEITE: KAI-Avatar im Steckbrief größer (240px) */
html body div.container div.row div.col-lg-8 div.text-center div.position-relative img[src*="kai-avatar-custom.jpeg"] {
    width: 240px !important;
    height: 240px !important;
    max-width: 240px !important;
    max-height: 240px !important;
    min-width: 240px !important;
    min-height: 240px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

/* Mobile Responsive Table Fix - Override Bootstrap */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px !important;
        max-height: 40px !important;
        width: auto !important;
        max-width: 120px !important;
        padding: 0px;
    }
    .desktop-table {
        display: none !important;
    }
    
    .mobile-meals {
        display: block !important;
    }
    
    /* Verhindere horizontales Scrollen bei Tabellen */
    .table-responsive {
    }
    
    /* Mobile Mahlzeiten-Karten Styling */
    .mobile-meals .card {
        border-left: 4px solid var(--primary-color);
        margin-bottom: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .mobile-meals .meal-description {
        font-size: 0.9rem;
        color: #2d3748;
        word-wrap: break-word;
        line-height: 1.4;
    }
}

/* ========== MODERNE DESIGN-ERWEITERUNGEN ========== */

/* CSS-BEREINIGUNG: Doppelte .btn Definition entfernt - bereits bei Zeile 671 konsolidiert */

/* ENTFERNT: Doppelte .btn-primary Definition - bereits bei Zeile 732 definiert */

/* Dashboard Hero Styling */
.dashboard-hero {
    background: url('/static/dashboard-bg.webp'), var(--gradient-hero);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%);
    z-index: 1;
}

.dashboard-hero > * {
    position: relative;
    z-index: 2;
}

/* Moderne Form Controls */
.form-control {
    border-radius: var(--radius-lg) !important;
    border: 2px solid rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    background: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(10px) !important;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
    background: white !important;
}

/* Statistik Cards Enhancement */
.stats-highlight {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== LESBARKEITS-VERBESSERUNGEN ========== */

/* Text-muted Elemente */
/* .text-muted consolidated in accessibility.css for WCAG compliance */

.small.text-muted, 
small.text-muted {
    color: #4a5568 !important; /* Dunkleres Grau für kleine Texte */
    font-weight: 500 !important; /* Etwas fetter für bessere Lesbarkeit */
}

/* Bessere Kontraste für Meal Details */
.meal-details .text-muted {
    color: #374151 !important;
    font-weight: 500 !important;
}

/* Tägliche Zusammenfassung Labels */
.daily-summary-card .text-muted {
    color: #374151 !important;
    font-weight: 600 !important;
}

/* Chart und Stats Labels */
.stats-card .text-muted,
.card .text-muted {
    color: #4b5563 !important;
    font-weight: 500 !important;
}

/* Karten-Überschriften und -Texte */
.card-title {
    color: #1f2937 !important; /* Sehr dunkles Grau für Überschriften */
    font-weight: 600 !important;
}

.card-text {
    color: #374151 !important; /* Dunkleres Grau für Card-Text */
}

/* Feature Card Überschriften */
.feature-card h5,
.feature-card h6 {
    color: #1f2937 !important;
    font-weight: 700 !important;
}

.feature-card p {
    color: #4b5563 !important;
    font-weight: 400 !important;
}

/* Dashboard Card Inhalte */
.dashboard-hero h1,
.dashboard-hero p {
    color: #1f2937 !important;
}

/* Allgemeine Verbesserungen für Cards */
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: #1f2937 !important;
}

.card p:not(.text-muted) {
    color: #374151 !important;
}

/* Stats Cards spezielle Behandlung */
.stats-highlight h5,
.stats-card h5 {
    color: #1f2937 !important;
    font-weight: 700 !important;
}

/* Meal Cards */
.meal-description {
    color: #374151 !important;
    font-weight: 400 !important;
}

/* Animation Improvements */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

/* ========== DARK MODE THEME STYLES ========== */

/* Dark Mode spezifische Card Styles */
[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .stats-card {
    background: var(--gradient-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

[data-theme="dark"] .card:hover,
[data-theme="dark"] .feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Dark Mode Navbar spezifische Styles */
[data-theme="dark"] .navbar {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%) !important;
    border-bottom: 1px solid var(--border-color);
}

/* Dark Mode Button Styles */
[data-theme="dark"] .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

[data-theme="dark"] .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Dark Mode Text Overrides für bessere Lesbarkeit */
[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .card-title,
[data-theme="dark"] .feature-card h5,
[data-theme="dark"] .feature-card h6,
[data-theme="dark"] h1, [data-theme="dark"] h2, 
[data-theme="dark"] h3, [data-theme="dark"] h4, 
[data-theme="dark"] h5, [data-theme="dark"] h6 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .card-text,
[data-theme="dark"] .feature-card p,
[data-theme="dark"] p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .meal-description {
    color: var(--text-secondary) !important;
}

/* Dark Mode Form Controls */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-muted);
}

/* Dark Mode Borders und Dividers */
[data-theme="dark"] hr {
    border-color: var(--border-color);
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom {
    border-color: var(--border-color) !important;
}

/* Dark Mode Alert Styles */
[data-theme="dark"] .alert-info {
    background-color: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
    color: #7dd3fc;
}

[data-theme="dark"] .alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

[data-theme="dark"] .alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

[data-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Dark Mode Badge Styles */
[data-theme="dark"] .badge.bg-light {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .badge.bg-secondary {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

/* Theme Toggle Button Styles */
.theme-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Dark Mode Responsive Media Query Anpassungen */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .text-muted {
        color: var(--text-muted) !important;
    }
    
    :root:not([data-theme="light"]) .card-title,
    :root:not([data-theme="light"]) h1, 
    :root:not([data-theme="light"]) h2, 
    :root:not([data-theme="light"]) h3, 
    :root:not([data-theme="light"]) h4, 
    :root:not([data-theme="light"]) h5, 
    :root:not([data-theme="light"]) h6 {
        color: var(--text-primary) !important;
    }
    
    :root:not([data-theme="light"]) .card-text,
    :root:not([data-theme="light"]) p {
        color: var(--text-secondary) !important;
    }
}

/* Smooth Transition für Theme-Wechsel */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Dark Mode Toast/Notification Styles */
[data-theme="dark"] .toast {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .toast-header {
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}
