﻿/* =========================================================================
   ORJICLOUD SITE CORE STYLES
   Tokens, Reset, Global Layout, Navigation, Buttons, Modals & Upload-Tray
   ========================================================================= */

/* --- design-tokens.css --- */
/* ============================================================
   Design Tokens â€“ orjicloud Design System (Corporate Design)
   ============================================================ */

:root {
    /* â”€â”€ Farbpalette â”€â”€ */
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #17253A;
    --color-slate-900: #101728;
    --color-slate-950: #0E1120;

    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-200: #bfdbfe;
    --color-blue-300: #93c5fd;
    --color-blue-400: #60a5fa;
    --color-blue-500: #3b82f6;
    --color-blue-600: #2563eb;
    --color-blue-700: #1d4ed8;
    --color-blue-800: #1e40af;
    --color-blue-900: #1e3a8a;

    --color-emerald-50: #ecfdf5;
    --color-emerald-100: #d1fae5;
    --color-emerald-200: #a7f3d0;
    --color-emerald-300: #6ee7b7;
    --color-emerald-400: #34d399;
    --color-emerald-500: #10b981;
    --color-emerald-600: #059669;
    --color-emerald-700: #047857;

    --color-amber-50: #fffbeb;
    --color-amber-100: #fef3c7;
    --color-amber-200: #fde68a;
    --color-amber-300: #fcd34d;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;

    --color-red-50: #fef2f2;
    --color-red-100: #fee2e2;
    --color-red-200: #fecaca;
    --color-red-300: #fca5a5;
    --color-red-400: #f87171;
    --color-red-500: #ef4444;
    --color-red-600: #dc2626;

    /* â”€â”€ Semantische Farben (Standard-Dark #101728, Dunkler #0E1120, Heller #17253A) â”€â”€ */
    --color-bg: #101728;
    --color-bg-darker: #0E1120;
    --color-bg-alt: #17253A;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-elevated: rgba(255, 255, 255, 0.06);
    --color-text: var(--color-slate-100);
    --color-text-secondary: var(--color-slate-400);
    --color-text-muted: var(--color-slate-500);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    --color-accent: var(--color-blue-500);
    --color-accent-hover: var(--color-blue-600);
    --color-success: var(--color-emerald-500);
    --color-warning: var(--color-amber-500);
    --color-error: var(--color-red-500);

    /* â”€â”€ Typografie â”€â”€ */
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;

    /* â”€â”€ Abstände â”€â”€ */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* â”€â”€ Border Radius â”€â”€ */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* â”€â”€ Shadows â”€â”€ */
    --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 -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

    /* â”€â”€ Transitions â”€â”€ */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* â”€â”€ Z-Index Scale â”€â”€ */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;
}

/* ============================================================
   Light Mode â€“ data-theme="light"
   ============================================================ */
[data-theme="light"] {
    --color-bg: var(--color-slate-50);
    --color-bg-alt: var(--color-slate-100);
    --color-bg-card: rgba(0, 0, 0, 0.02);
    --color-bg-elevated: rgba(0, 0, 0, 0.04);
    --color-text: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-600);
    --color-text-muted: var(--color-slate-400);
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 0, 0, 0.15);
    --color-accent: var(--color-blue-600);
    --color-accent-hover: var(--color-blue-700);
    --color-success: var(--color-emerald-600);
    --color-warning: var(--color-amber-600);
    --color-error: var(--color-red-600);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.25);
}

/* --- main.css --- */
/* orjisync Core Styles - Consolidated CSS */

/* ===== Focus Ring Suppressions on Page Headings ===== */
h1:focus,
h2:focus,
h3:focus,
h4:focus,
h5:focus,
h6:focus,
[tabindex="-1"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ===== CSS Variables ===== */
:root {
    --glass-bg: rgba(16, 23, 40, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
}

/* ===== Glass Utilities ===== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
}

.glass-input:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: #fff;
}

.glass-btn:active {
    transform: translateY(0);
}

/* ===== Reduced Motion / Disable Animations ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.no-animations *,
.no-animations *::before,
.no-animations *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* ===== Toast Notification System ===== */
/* Toast container positioned bottom-right for better UX */
#toastContainer {
    position: fixed;
    top: auto;
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 24rem;
}

/* Mobile adjustment: center horizontally but keep at bottom */
@media (max-width: 480px) {
    #toastContainer {
        right: 1rem;
        left: 1rem;
        max-width: calc(100% - 2rem);
        align-items: center;
    }

    .toast {
        width: 100%;
        max-width: none;
    }
}

.toast {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    animation: toast-slide-in 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.info .toast-icon {
    color: #3b82f6;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast-message {
    flex: 1;
    color: #334155;
    line-height: 1.5;
}

.toast-close {
    margin-left: 1rem;
    padding: 0.25rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    transition: all 220ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.375rem;
}

.toast-close:hover {
    color: #475569;
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.05);
}

@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.hide {
    animation: toast-slide-out 300ms cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes toast-slide-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(1rem) scale(0.9);
    }
}

/* ===== Modern Toast Notifications (with title support) ===== */
/* Light Mode (default) */
.toast-notification {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    animation: toast-slide-in 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
    min-width: 280px;
    max-width: 400px;
}

/* Dark Mode Toast */
[data-theme="dark"] .toast-notification,
:root:not([data-theme="light"]) .toast-notification {
    background: var(--color-bg-card, rgba(15, 23, 42, 0.95));
    border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    color: var(--color-text, #f1f5f9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.toast-notification.success {
    border-left: 4px solid #10b981;
}

.toast-notification.error {
    border-left: 4px solid #ef4444;
}

.toast-notification.info {
    border-left: 4px solid #3b82f6;
}

.toast-notification.warning {
    border-left: 4px solid #f59e0b;
}

.toast-notification .toast-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    padding-top: 0.125rem;
}

.toast-notification.success .toast-icon {
    color: #10b981;
}

.toast-notification.error .toast-icon {
    color: #ef4444;
}

.toast-notification.info .toast-icon {
    color: #3b82f6;
}

.toast-notification.warning .toast-icon {
    color: #f59e0b;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

/* Light Mode Title */
.toast-title {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Dark Mode Title */
[data-theme="dark"] .toast-title,
:root:not([data-theme="light"]) .toast-title {
    color: var(--color-text, #f1f5f9);
}

/* Light Mode Message */
.toast-content .toast-message {
    color: #475569;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Dark Mode Message */
[data-theme="dark"] .toast-content .toast-message,
:root:not([data-theme="light"]) .toast-content .toast-message {
    color: var(--color-text-secondary, #94a3b8);
}

.toast-notification .toast-close {
    margin-left: 0.5rem;
    padding: 0.375rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    transition: color 220ms ease,
        transform 220ms ease,
        background 220ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.375rem;
    align-self: flex-start;
}

.toast-notification .toast-close:hover {
    color: #475569;
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.05);
}

.toast-notification.hide {
    animation: toast-slide-out 300ms cubic-bezier(0.4, 0, 1, 1) forwards;
}

@media (max-width: 480px) {
    .toast-notification {
        min-width: 260px;
        max-width: calc(100vw - 40px);
    }
}

/* ===== Upload Components ===== */
.upload-cloud-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.upload-cloud-icon i {
    font-size: 1.25rem;
    color: rgba(147, 197, 253, 0.9);
}

#drop-area.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== Compact Upload Progress ===== */
.compact-upload-progress {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.compact-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(148, 163, 184, 0.8);
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.compact-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.compact-action-btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.compact-progress-bar-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    overflow: hidden;
}

.compact-progress-bar-container-inner {
    height: 6px;
}

.compact-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* ===== Admin Panel Styles ===== */
.admin-mode {
    background-color: #101728;
    background-image:
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.15) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0, transparent 50%);
    background-attachment: fixed;
}

.centered-content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Glass Modal ===== */
.glass-modal {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 14, 31, 0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.glass-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.5rem;
}

.glass-modal .modal-title {
    color: rgba(241, 245, 249, 0.95);
    font-weight: 600;
}

.glass-modal .modal-body {
    padding: 1.5rem;
    color: rgba(203, 213, 225, 0.9);
}

.glass-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.5rem;
}

/* ===== Custom Modal Overlay ===== */
.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10050;
    padding: 1rem;
}

.custom-modal-card {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(8, 14, 31, 0.98) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-modal-close {
    background: transparent;
    border: none;
    color: rgba(148, 163, 184, 0.7);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.custom-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.custom-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Table Styles ===== */
.table {
    color: rgba(226, 232, 240, 0.9);
}

.table> :not(caption)>*>* {
    background-color: transparent;
    border-bottom-color: rgba(148, 163, 184, 0.08);
}

.table-hover>tbody>tr:hover>* {
    background-color: rgba(255, 255, 255, 0.03);
}

/* ===== Custom Scrollbar ===== */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    #toastContainer {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .toast {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

/* --- design.css --- */
 /* NEU: CSS-Variablen für das Kartendesign (Dunkle Variante) */
 :root {
     --background-color: #101728;
     --text-color: #A1A1AA;
     --card-background-color: rgba(255, 255, 255, .015);
     --card-border-color: rgba(255, 255, 255, 0.1);
     --card-box-shadow-1: rgba(0, 0, 0, 0.05);
     --card-box-shadow-1-y: 3px;
     --card-box-shadow-1-blur: 6px;
     --card-box-shadow-2: rgba(0, 0, 0, 0.1);
     --card-box-shadow-2-y: 8px;
     --card-box-shadow-2-blur: 15px;
     --card-label-color: #FFFFFF;
     --card-icon-color: #D4D4D8;
     --card-icon-background-color: rgba(255, 255, 255, 0.08);
     --card-icon-border-color: rgba(255, 255, 255, 0.12);
     --card-shine-opacity: .1;
     --card-shine-gradient: conic-gradient(from 205deg at 50% 50%, rgba(0, 123, 255, 0) 0deg, #007bff 25deg, rgba(0, 123, 255, 0.18) 295deg, rgba(0, 123, 255, 0) 360deg);
     --card-line-color: #2A2B2C;
     --card-tile-color: rgba(0, 123, 255, 0.07);
     --card-hover-border-color: rgba(255, 255, 255, 0.2);
     --card-hover-box-shadow-1: rgba(0, 0, 0, 0.04);
     --card-hover-box-shadow-1-y: 5px;
     --card-hover-box-shadow-1-blur: 10px;
     --card-hover-box-shadow-2: rgba(0, 0, 0, 0.3);
     --card-hover-box-shadow-2-y: 15px;
     --card-hover-box-shadow-2-blur: 25px;
     --card-hover-icon-color: #34D399;
     --card-hover-icon-background-color: rgba(52, 211, 153, 0.1);
     --card-hover-icon-border-color: rgba(52, 211, 153, 0.2);
     --blur-opacity: .01;
     --focus-outline-color: #FFD700;
     --focus-outline-width: 3px;
     --focus-outline-style: solid;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     background-color: var(--color-bg);
     color: var(--color-text);
 }

 /* Verhindert Rahmen um Überschriften, wenn Blazor beim Seitenwechsel den Fokus darauf setzt */
 [tabindex="-1"]:focus {
     outline: none !important;
 }



 /* KORREKTUR: Verhindert horizontales Scrollen als generelle Sicherheitsmaßnahme. */
 html,
 body {
     overflow-x: hidden;
     width: 100%;
 }

 .card {
     background-color: var(--background-color);
     box-shadow: 0px var(--card-box-shadow-1-y) var(--card-box-shadow-1-blur) var(--card-box-shadow-1), 0px var(--card-box-shadow-2-y) var(--card-box-shadow-2-blur) var(--card-box-shadow-2), 0 0 0 1px var(--card-border-color);
     padding: 56px 16px 16px 16px;
     border-radius: 15px;
     cursor: pointer;
     position: relative;
     transition: box-shadow .25s;
     /* Ermöglicht Tastaturfokus */
     outline: none;
 }



 /* --- Banner Anpassungen --- */
 .banner-section {
     position: relative;
     overflow: hidden;
     box-shadow: inset 0 7px 9px -7px rgba(0, 0, 0, 0.4), inset 0 -7px 9px -7px rgba(0, 0, 0, 0.4);
 }

 .slogan-line {
     font-size: 2.2rem;
     font-weight: 300;
     color: #343a40;
 }

 .orjicloud-logo {
     max-width: 120px;
     height: auto;
 }

 .orjicloud-brand {
     align-items: center;
 }

 .orjicloud-text {
     line-height: 1;
 }

 /* --- Floating Hamburger Menu Button --- */
 .menu-toggle-button {
     position: fixed;
     top: 10%;
     right: 10%;
     z-index: 99999;
     /* ensure it's above other UI elements */
     pointer-events: auto;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     background-color: #007bff;
     border: none;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     cursor: pointer;
     box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
     transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     padding: 0;
     margin: 0;
 }

 .menu-toggle-button:hover {
     background-color: #0056b3;
     transform: scale(1.05);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
 }

 .menu-toggle-button .icon-bars,
 .menu-toggle-button .icon-close {
     color: #ffffff;
     font-size: 20px;
     line-height: 1;
     display: inline-block;
 }

 /* Default: show bars, hide close */
 .menu-toggle-button .icon-close {
     display: none;
 }

 /* When ARIA-expanded or the JS-driven active class is set, swap icons */
 .menu-toggle-button[aria-expanded="true"] .icon-bars,
 .menu-toggle-button.is-active .icon-bars {
     display: none;
 }

 .menu-toggle-button[aria-expanded="true"] .icon-close,
 .menu-toggle-button.is-active .icon-close {
     display: inline-block;
 }

 /* Hide any legacy three-line hamburger fallback */
 .hamburger-line {
     display: none !important;
 }

 /* --- Parallax-Sektion --- */
 .parallax-section {
     padding-top: 5rem;
     padding-bottom: 5rem;
     display: flex;
     align-items: center;
     justify-content: center;
     background-image: url('/resources/images/Banner_Parallax.webp');
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
     min-height: 40vh;
     color: black;
 }

 .problem-solution-section {
     background-color: rgba(255, 255, 255, 0.1);
     box-shadow: inset 0 8px 15px -5px rgba(0, 0, 0, 0.4), inset 0 -8px 15px -5px rgba(0, 0, 0, 0.4);
 }

 .problem-solution-section .btn-outline-dark:hover {
     background-color: #007bff;
     border-color: #007bff;
     color: #ffffff;
 }

 /* --- Kontakt & Footer --- */
 #messageTextarea {
     min-height: 150px;
     resize: none;
 }

 /* Dividers - black with fade in/out effect */
 hr {
     border: none;
     height: 1px;
     background: linear-gradient(to right,
             rgba(0, 0, 0, 0) 0%,
             rgba(0, 0, 0, 1) 15%,
             rgba(0, 0, 0, 1) 85%,
             rgba(0, 0, 0, 0) 100%);
 }

 /* ============================================================
    Footer â€“ Corporate Design (Dark & Light Mode)
    ============================================================ */
 .footer {
     background: var(--color-bg-alt, #1e293b);
     border-top: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
     color: var(--color-text-secondary, #94a3b8);
     transition: background var(--transition-base, 250ms ease),
         color var(--transition-base, 250ms ease);
 }

 .footer-heading {
     font-family: var(--font-sans, 'Inter', sans-serif);
     font-size: var(--text-sm, 0.875rem);
     font-weight: var(--font-semibold, 600);
     text-transform: uppercase;
     letter-spacing: 0.5px;
     color: var(--color-text, #f8fafc);
     margin-bottom: 1rem;
 }

 .footer-text {
     font-size: var(--text-sm, 0.875rem);
     line-height: var(--leading-relaxed, 1.625);
     color: var(--color-text-secondary, #94a3b8);
 }

 .footer-link {
     color: var(--color-text-secondary, #94a3b8);
     text-decoration: none;
     font-size: var(--text-sm, 0.875rem);
     transition: color var(--transition-fast, 150ms ease);
 }

 .footer-link:hover {
     color: var(--color-accent, #3b82f6) !important;
     text-decoration: none;
 }

 .footer-hr {
     border: none;
     height: 1px;
     background: linear-gradient(to right,
             transparent 0%,
             var(--color-border, rgba(255, 255, 255, 0.08)) 15%,
             var(--color-border, rgba(255, 255, 255, 0.08)) 85%,
             transparent 100%);
 }

 .footer-copyright {
     font-size: var(--text-xs, 0.75rem);
     color: var(--color-text-muted, #64748b);
 }

 .footer-logo {
     max-width: 200px;
     height: auto;
 }

 /* Logo-Umschaltung Dark/Light Mode */
 .footer-logo-dark {
     display: block;
 }

 .footer-logo-light {
     display: none;
 }

 [data-theme="light"] .footer-logo-dark {
     display: none;
 }

 [data-theme="light"] .footer-logo-light {
     display: block;
 }

 /* --- Scroll Animations --- */
 .animate-on-scroll {
     opacity: 0;
     transform: translateY(50px);
     transition: opacity 1s ease-out, transform 1s ease-out;
 }

 .animate-on-scroll.is-visible {
     opacity: 1;
     transform: translateY(0);
 }

 .fade-in {
     transform: translateY(0);
 }

 .animate-on-scroll.fade-in {
     transform: translateY(20px);
 }

 .slide-in-left {
     transform: translateX(-50px);
 }

 .slide-in-right {
     transform: translateX(50px);
 }

 .animate-on-scroll.is-visible {
     opacity: 1;
     transform: translateX(0) translateY(0);
 }

 .orji-story-hero {
     position: relative;
     overflow: hidden;
     background:
         radial-gradient(circle at top left, rgba(13, 110, 253, 0.28), transparent 38%),
         radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12), transparent 24%),
         linear-gradient(135deg, #0b1220 0%, #111827 50%, #1d4ed8 100%);
     color: #f8fafc;
 }

 .orji-story-hero::before {
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
     pointer-events: none;
 }

 .orji-story-hero::after {
     content: "";
     position: absolute;
     inset: auto -120px -140px auto;
     width: 320px;
     height: 320px;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
     pointer-events: none;
 }

 .story-eyebrow {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     padding: 0.45rem 0.9rem;
     border-radius: 999px;
     background-color: rgba(255, 255, 255, 0.12);
     color: #bfdbfe;
     font-size: 0.9rem;
     font-weight: 600;
     letter-spacing: 0.08em;
     text-transform: uppercase;
 }

 .story-card-tag {
     display: inline-flex;
     align-items: center;
     padding: 0.35rem 0.8rem;
     border-radius: 999px;
     background: #dbeafe;
     color: #1d4ed8;
     font-size: 0.78rem;
     font-weight: 700;
     letter-spacing: 0.08em;
     text-transform: uppercase;
     border: 1px solid rgba(37, 99, 235, 0.22);
 }

 .orji-shared-bg-wrapper .story-eyebrow {
     background-color: #dbeafe;
     color: #1d4ed8;
     border: 1px solid rgba(37, 99, 235, 0.22);
 }

 .orji-story-lead {
     max-width: 760px;
     color: rgba(248, 250, 252, 0.85);
 }

 .orji-story-summary {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 1rem;
     margin-top: 2rem;
 }

 .orji-story-summary-card {
     padding: 1.25rem;
     border-radius: 1.25rem;
     background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
     border: 1px solid rgba(255, 255, 255, 0.16);
     box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
     backdrop-filter: blur(14px);
     -webkit-backdrop-filter: blur(14px);
 }

 .orji-story-summary-card strong,
 .orji-story-summary-card span {
     display: block;
 }

 .orji-story-summary-card strong {
     color: #ffffff;
     margin-bottom: 0.35rem;
 }

 .orji-story-summary-card span {
     color: rgba(226, 232, 240, 0.82);
 }

 .orji-shared-bg-wrapper {
     position: relative;
     background-image: url('/resources/images/Banner.webp');
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
     background-color: #1a202c;
     /* Fallback */
     /* Add transformation hint for GPU acceleration */
     transform: translateZ(0);
     will-change: transform;
 }

 /* Performance optimization: Fix background-attachment issue on mobile */
 @media (max-width: 991px) {
     .orji-shared-bg-wrapper {
         background-attachment: scroll;
     }
 }

 @media (max-width: 992px),
 (prefers-reduced-motion: reduce) {
     .orji-shared-bg-wrapper {
         background-attachment: scroll;
     }
 }

 .orji-shared-bg-wrapper::before {
     content: "";
     position: absolute;
     inset: 0;
     /* We use a white-ish overlay because the text inside is mostly dark */
     background-color: rgba(248, 250, 252, 0.5);
     /* #f8fafc with opacity */
     pointer-events: none;
     z-index: 0;
 }

 .orji-story-section {
     position: relative;
     z-index: 1;
     background: transparent;
 }

 .orji-story-section::before {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(circle at top center, rgba(59, 130, 246, 0.08), transparent 35%);
     pointer-events: none;
 }

 .orji-story-heading {
     max-width: 760px;
     margin: 0 auto 3rem;
 }

 .orji-story-heading p {
     color: #475569;
 }

 .story-timeline {
     position: relative;
     display: grid;
     gap: 1.5rem;
 }

 .story-timeline::before {
     content: "";
     position: absolute;
     top: 0;
     bottom: 0;
     left: 1rem;
     width: 2px;
     background: linear-gradient(180deg, rgba(13, 110, 253, 0.15), rgba(13, 110, 253, 0.7), rgba(13, 110, 253, 0.2));
 }

 .story-timeline-item {
     position: relative;
     margin-left: 3rem;
     padding: 1.75rem;
     border-radius: 1.5rem;
     background: linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
     border: 1px solid rgba(148, 163, 184, 0.18);
     box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
 }

 .story-timeline-item::before {
     content: "";
     position: absolute;
     left: -2.45rem;
     top: 2rem;
     width: 16px;
     height: 16px;
     border-radius: 50%;
     background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
     box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.14);
 }

 .story-year {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     min-width: 86px;
     padding: 0.45rem 0.9rem;
     border-radius: 999px;
     background: #dbeafe;
     color: #1d4ed8;
     font-weight: 700;
     letter-spacing: 0.04em;
 }

 .story-timeline-item h3 {
     margin-top: 1rem;
     color: #0f172a;
     letter-spacing: -0.02em;
 }

 .story-timeline-item p {
     margin-bottom: 0;
     color: #475569;
     line-height: 1.8;
 }

 .orji-plan-section {
     position: relative;
     z-index: 1;
     background-color: transparent;
 }

 .orji-plan-slider-intro {
     color: #64748b;
 }

 .orji-plan-slider {
     display: flex;
     gap: 1rem;
     min-height: 540px;
 }

 .orji-plan-toggle {
     position: absolute;
     opacity: 0;
     pointer-events: none;
 }

 .orji-plan-panel {
     position: relative;
     display: flex;
     flex: 1;
     flex-direction: column;
     justify-content: flex-end;
     min-width: 0;
     padding: 1.5rem;
     border-radius: 1.75rem;
     overflow: hidden;
     color: #f8fafc;
     cursor: pointer;
     background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.96) 100%);
     box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
     transition: flex 0.45s ease, transform 0.35s ease, box-shadow 0.35s ease;
 }

 .orji-plan-panel:hover {
     transform: translateY(-4px);
     box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
 }

 .orji-plan-panel::before {
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.2));
     pointer-events: none;
 }

 .orji-plan-panel::after {
     content: "";
     position: absolute;
     inset: auto -60px -80px auto;
     width: 180px;
     height: 180px;
     border-radius: 50%;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
     pointer-events: none;
 }

 .orji-plan-toggle:checked+.orji-plan-panel {
     flex: 3.6;
     box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
 }

 .orji-plan-panel>* {
     position: relative;
     z-index: 1;
 }

 .orji-plan-index {
     position: absolute;
     top: 2.35rem;
     right: 1.5rem;
     font-size: 3.25rem;
     line-height: 1;
     font-weight: 300;
     color: rgba(255, 255, 255, 0.42);
 }

 .orji-plan-panel .story-card-tag {
     align-self: flex-start;
     background: rgba(255, 255, 255, 0.14);
     color: #dbeafe;
     border-color: rgba(255, 255, 255, 0.2);
 }

 .orji-plan-panel h3 {
     margin: 1rem 0 0.75rem;
     font-size: 1.9rem;
     color: #ffffff;
     letter-spacing: -0.03em;
     transition: opacity 0.25s ease, transform 0.25s ease;
 }

 .orji-plan-teaser {
     max-width: 28rem;
     margin-bottom: 1rem;
     color: rgba(226, 232, 240, 0.82);
     transition: opacity 0.25s ease, transform 0.25s ease;
 }

 .orji-plan-compact-title {
     display: none;
     color: rgba(255, 255, 255, 0.96);
     font-size: 1.35rem;
     font-weight: 600;
     letter-spacing: -0.02em;
 }

 .orji-plan-content {
     max-width: 34rem;
     max-height: 0;
     opacity: 0;
     overflow: hidden;
     transform: translateY(10px);
     transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
 }

 .orji-plan-toggle:checked+.orji-plan-panel .orji-plan-content {
     max-height: 320px;
     opacity: 1;
     transform: translateY(0);
 }

 .orji-plan-content p,
 .orji-plan-content li {
     color: rgba(241, 245, 249, 0.92);
 }

 .orji-plan-content ul {
     margin-bottom: 0;
     padding-left: 1.1rem;
 }

 .orji-plan-content li+li {
     margin-top: 0.55rem;
 }

 .orji-plan-panel--mission {
     background: linear-gradient(180deg, rgba(9, 16, 32, 0.88) 0%, rgba(20, 47, 117, 0.96) 100%);
 }

 .orji-plan-panel--portfolio {
     background: linear-gradient(180deg, rgba(8, 17, 34, 0.88) 0%, rgba(3, 105, 161, 0.95) 100%);
 }

 .orji-plan-panel--positioning {
     background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 64, 175, 0.95) 100%);
 }

 .orji-plan-panel--growth {
     background: linear-gradient(180deg, rgba(16, 24, 39, 0.88) 0%, rgba(30, 41, 59, 0.97) 100%);
 }

 .orji-plan-panel--operations {
     background: linear-gradient(180deg, rgba(10, 15, 29, 0.88) 0%, rgba(37, 99, 235, 0.95) 100%);
 }

 @media (min-width: 768px) {
     .orji-plan-toggle:not(:checked)+.orji-plan-panel {
         justify-content: flex-end;
         padding-top: 1.35rem;
         padding-bottom: 1.6rem;
     }

     .orji-plan-toggle:not(:checked)+.orji-plan-panel .orji-plan-compact-title {
         display: block;
         margin-top: auto;
         writing-mode: vertical-rl;
         transform: rotate(180deg);
         max-height: 320px;
     }

     .orji-plan-toggle:not(:checked)+.orji-plan-panel h3,
     .orji-plan-toggle:not(:checked)+.orji-plan-panel .orji-plan-teaser {
         max-height: 0;
         margin: 0;
         opacity: 0;
         overflow: hidden;
         transform: translateY(8px);
     }

     .orji-plan-toggle:not(:checked)+.orji-plan-panel .story-card-tag {
         margin-bottom: 1rem;
     }

     .orji-plan-toggle:checked+.orji-plan-panel .orji-plan-compact-title {
         display: none;
     }

     .orji-plan-toggle:checked+.orji-plan-panel h3,
     .orji-plan-toggle:checked+.orji-plan-panel .orji-plan-teaser {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .orji-story-callout {
     padding: 2rem;
     border-radius: 1.75rem;
     background: linear-gradient(135deg, #f8fbff 0%, #dbeafe 100%);
     border: 1px solid rgba(96, 165, 250, 0.24);
     box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12);
 }

 .orji-story-callout p:last-child {
     margin-bottom: 0;
 }

 .orji-story-cta {
     position: relative;
     overflow: hidden;
     background: linear-gradient(135deg, #0b1220 0%, #10224f 60%, #1e40af 100%);
     color: #f8fafc;
 }

 .orji-story-cta::before {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.12), transparent 34%);
     pointer-events: none;
 }

 .orji-story-cta p {
     color: rgba(226, 232, 240, 0.86);
 }

 /* --- Responsive Anpassungen --- */
 @media (max-width: 767.98px) {

     /* KORREKTUR: Passt die Position des Menü-Buttons für mobile Geräte an, um einen konsistenten Abstand zum Rand zu gewährleisten. */
     .menu-toggle-button {
         top: 20px;
         right: 20px;
         z-index: 99999;
         /* ensure z-index is preserved on mobile */
     }

     .contact-image {
         max-height: 250px;
         padding: 85px;
     }

     /* KORREKTUR: Deaktiviert den Parallax-Effekt auf mobilen Geräten, da er zu Performance-Problemen und Darstellungsfehlern führen kann. */
     .parallax-section {
         background-attachment: scroll;
     }

     .story-timeline::before {
         left: 0.5rem;
     }

     .story-timeline-item {
         margin-left: 1.8rem;
         padding: 1.35rem;
     }

     .story-timeline-item::before {
         left: -1.5rem;
     }

     .orji-story-callout,
     .orji-story-summary-card {
         padding: 1.35rem;
     }

     .orji-plan-slider {
         display: block;
         min-height: 0;
     }

     .orji-plan-panel {
         min-height: 0;
         margin-bottom: 1rem;
         padding: 1.35rem;
         border-radius: 1.4rem;
     }

     .orji-plan-toggle:checked+.orji-plan-panel {
         flex: 1;
     }

     .orji-plan-panel h3 {
         font-size: 1.35rem;
         max-width: calc(100% - 5rem);
     }

     .orji-plan-compact-title {
         display: none !important;
     }

     .orji-plan-index {
         top: 1.6rem;
         right: 1rem;
         font-size: 2.25rem;
     }

     .orji-plan-teaser {
         max-width: none;
         margin-bottom: 0.75rem;
     }

     .orji-plan-content {
         max-width: none;
     }

     .orji-plan-toggle:checked+.orji-plan-panel .orji-plan-content {
         max-height: 480px;
     }
 }

 /* ================================================================ */
 /* --- MINIMALISTISCHES COOKIE-BANNER DESIGN (MODERNISIERT) --- */
 /* ================================================================ */

 #cookieBanner {
     position: fixed;
     bottom: 24px;
     right: 24px;
     z-index: 99999;
     max-width: 440px;
     /* Slightly wider for text buttons */
     background: rgba(30, 41, 59, 0.95);
     /* Privacy Card Background */
     border: 1px solid rgba(255, 255, 255, 0.1);
     /* Privacy Card Border */
     border-radius: 24px;
     padding: 32px;
     box-shadow:
         0 25px 50px -12px rgba(0, 0, 0, 0.7),
         0 0 0 1px rgba(255, 255, 255, 0.05);
     backdrop-filter: blur(20px) saturate(180%);
     -webkit-backdrop-filter: blur(20px) saturate(180%);
     display: flex;
     flex-direction: column;
     gap: 24px;
     align-items: center;
     text-align: center;
     animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
     font-family: 'Segoe UI', sans-serif;
     transform: translateZ(0);
     overflow: hidden;
     /* Ensure background icon is clipped */
 }

 @keyframes slideInUp {
     0% {
         opacity: 0;
         transform: translateY(60px) scale(0.9);
     }

     100% {
         opacity: 1;
         transform: translateY(0) scale(1);
     }
 }

 #cookieBanner.hide-banner {
     animation: slideOutDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
 }

 @keyframes floatIcon {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-6px);
     }
 }

 .cookie-banner-icon {
     position: absolute;
     bottom: -30px;
     left: -30px;
     font-size: 180px;
     color: #3B82F6;
     opacity: 0.1;
     transform: rotate(15deg);
     pointer-events: none;
     z-index: 0;
     width: auto;
     height: auto;
     background: none;
     box-shadow: none;
     border: none;
     border-radius: 0;
     margin: 0;
     display: block;
 }

 /* Ensure content stays above the background icon */
 .cookie-banner-text,
 .cookie-banner-form,
 .cookie-banner-close {
     position: relative;
     z-index: 1;
 }

 /* Subtle shine effect removed for background icon style */

 .cookie-banner-text {
     width: 100%;
 }

 .cookie-banner-description {
     font-size: 15px;
     /* Slightly larger for readability */
     color: #E4E4E7;
     margin: 0;
     line-height: 1.6;
     font-weight: 400;
 }

 .cookie-banner-description a {
     color: #60A5FA;
     text-decoration: none;
     font-weight: 600;
     position: relative;
     display: inline-block;
 }

 .cookie-banner-description a::after {
     content: '';
     position: absolute;
     width: 100%;
     height: 1px;
     bottom: 0;
     left: 0;
     background-color: #60A5FA;
     transform: scaleX(0);
     transform-origin: bottom right;
     transition: transform 0.3s ease-out;
 }

 .cookie-banner-description a:hover::after {
     transform: scaleX(1);
     transform-origin: bottom left;
 }

 .cookie-banner-description a:hover {
     color: #93C5FD;
 }

 .cookie-banner-form {
     display: flex;
     gap: 12px;
     margin: 0;
     align-items: center;
     justify-content: center;
     width: 100%;
     flex-wrap: wrap;
     /* Allow wrapping for text buttons */
 }

 .btn-cookie-primary,
 .btn-cookie-secondary,
 .btn-cookie-settings {
     width: auto;
     height: auto;
     min-height: 48px;
     padding: 10px 20px;
     font-size: 15px;
     font-weight: 600;
     border-radius: 12px;
     border: 1px solid transparent;
     cursor: pointer;
     transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     position: relative;
     overflow: hidden;
     letter-spacing: 0.01em;
 }

 /* Primary Button: Blue Gradient (Privacy View Theme) */
 .btn-cookie-primary {
     background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
     color: #ffffff;
     box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
     border: none;
     flex: 2;
     /* Make accept button wider/more prominent */
 }

 .btn-cookie-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
     filter: brightness(1.1);
 }

 .btn-cookie-primary:active {
     transform: translateY(1px);
 }

 .btn-cookie-secondary {
     background: rgba(255, 255, 255, 0.05);
     color: #A1A1AA;
     border: 1px solid rgba(255, 255, 255, 0.1);
     flex: 1;
 }

 .btn-cookie-secondary:hover {
     background: rgba(239, 68, 68, 0.1);
     color: #F87171;
     border-color: rgba(239, 68, 68, 0.4);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
 }

 .btn-cookie-settings {
     background: rgba(255, 255, 255, 0.05);
     color: #60A5FA;
     border: 1px solid rgba(255, 255, 255, 0.1);
     flex: 1;
 }

 #cookieSettingsButton .settings-icon {
     display: none;
 }

 .btn-cookie-settings:hover {
     background: rgba(59, 130, 246, 0.1);
     color: #93C5FD;
     border-color: rgba(59, 130, 246, 0.4);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
 }

 .cookie-banner-close {
     position: absolute;
     top: 16px;
     right: 16px;
     width: 28px;
     height: 28px;
     border: none;
     background: transparent;
     color: #71717A;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 14px;
     border-radius: 50%;
     transition: all 0.2s ease;
     padding: 0;
 }

 .cookie-banner-close:hover {
     background: rgba(255, 255, 255, 0.05);
     color: #E4E4E5;
 }

 .cookie-banner-close:focus-visible {
     outline: 2px solid #FFD700;
     outline-offset: 1px;
 }

 /* Responsive Design für kleine Bildschirme */
 @media (max-width: 576px) {
     #cookieBanner {
         left: 16px;
         right: 16px;
         max-width: none;
         bottom: 16px;
         padding: 32px;
         gap: 24px;
         border-radius: 16px;
     }

     .cookie-banner-icon {
         width: auto;
         height: auto;
         font-size: 140px;
         left: -20px;
         top: -20px;
         bottom: auto;
         background: none;
         box-shadow: none;
         border: none;
     }

     .cookie-banner-text {
         margin: 0;
     }

     .cookie-banner-description {
         font-size: 15px;
         margin: 0;
         line-height: 1.6;
     }

     .cookie-banner-form {
         gap: 12px;
         width: 100%;
     }

     .btn-cookie-primary,
     .btn-cookie-secondary,
     .btn-cookie-settings {
         width: auto;
         min-height: 48px;
         font-size: 15px;
         padding: 10px 20px;
         flex-shrink: 1;
     }
 }

 /* ================================================================ */
 /* --- DEZENTES COOKIE-SETTINGS MODAL --- */
 /* ================================================================ */

 /* Force dark style on modal content with ID specificity */
 #cookieSettingsModal .modal-content.cookie-modal-dark {
     background: rgba(25, 35, 50, 1) !important;
     /* Fully opaque dark background */
     backdrop-filter: blur(20px) saturate(180%);
     -webkit-backdrop-filter: blur(20px) saturate(180%);
     color: #E4E4E7 !important;
     border: 1px solid rgba(255, 255, 255, 0.15);
     border-radius: 24px;
     box-shadow:
         0 25px 50px -12px rgba(0, 0, 0, 0.8),
         0 0 0 1px rgba(255, 255, 255, 0.08);
     overflow: hidden;
     /* Important for clipping the large icon */
     animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
 }

 /* Entrance Animation */
 @keyframes modalSlideIn {
     0% {
         opacity: 0;
         transform: scale(0.95) translateY(10px);
     }

     100% {
         opacity: 1;
         transform: scale(1) translateY(0);
     }
 }

 /* Background Icon Style - Subtle like Banner */
 #cookieSettingsModal .cookie-modal-bg-icon {
     position: absolute;
     top: -80px;
     left: -80px;
     font-size: 280px;
     color: #3B82F6;
     opacity: 0.08;
     /* Slightly more visible like banner */
     transform: rotate(15deg);
     pointer-events: none;
     z-index: 0;
     line-height: 1;
     animation: floatIconModal 4s ease-in-out infinite;
 }

 /* Header - Clean, no gradient, just border */
 #cookieSettingsModal .modal-header {
     background: transparent;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08);
     padding: 24px 24px 16px 24px;
     position: relative;
     z-index: 1;
 }

 #cookieSettingsModal .modal-title {
     font-weight: 700;
     letter-spacing: -0.01em;
     color: #F8FAFC;
     font-size: 1.4rem;
 }

 #cookieSettingsModal .btn-close-white {
     color: #FFFFFF !important;
     opacity: 0.8;
     transition: all 0.2s ease;
 }

 #cookieSettingsModal .btn-close-white:hover {
     opacity: 1;
     color: #FFFFFF !important;
 }

 #cookieSettingsModal .btn-close-white:focus-visible {
     outline: 2px solid #FFD700;
     outline-offset: 2px;
 }

 #cookieSettingsModal .modal-body {
     padding: 24px;
     color: #E4E4E7;
     /* Better readability */
     line-height: 1.7;
     font-size: 0.96rem;
     position: relative;
     z-index: 1;
     background: transparent;
     font-weight: 500;
 }

 #cookieSettingsModal .modal-body p {
     color: #E4E4E7;
     /* Consistent text color */
     margin-bottom: 0;
     font-weight: 500;
     font-size: 0.90rem;
 }

 #cookieSettingsModal .modal-body small {
     font-size: 0.80rem;
 }

 #cookieSettingsModal .modal-footer {
     position: relative;
     z-index: 1;
     border-top: 1px solid rgba(255, 255, 255, 0.05);
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes floatIconModal {

     0%,
     100% {
         transform: rotate(15deg) translateY(0);
     }

     50% {
         transform: rotate(15deg) translateY(-8px);
     }
 }

 .cookie-section-box {
     background-color: rgba(255, 255, 255, 0.03);
     border: 1px solid rgba(255, 255, 255, 0.12);
     border-radius: 16px;
     /* Softer corners */
     padding: 18px;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     margin-bottom: 14px;
     animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
     position: relative;
     z-index: 1;
     /* Ensure above icon */
 }

 .cookie-section-box * {
     color: #E4E4E7 !important;
 }

 .cookie-section-box h6 {
     color: #FFFFFF !important;
     font-weight: 700;
 }

 .cookie-section-box p,
 .cookie-section-box label,
 .cookie-section-box small {
     color: #D1D5DB !important;
 }

 .cookie-section-box small strong {
     color: #F0F0F0 !important;
     font-weight: 600;
 }

 .cookie-section-box .text-muted {
     color: #D1D5DB !important;
 }

 /* Staggered animation delays */
 .cookie-section-box:nth-child(1) {
     animation-delay: 0.1s;
 }

 .cookie-section-box:nth-child(2) {
     animation-delay: 0.15s;
 }

 .cookie-section-box:nth-child(3) {
     animation-delay: 0.2s;
 }

 .cookie-section-box:nth-child(4) {
     animation-delay: 0.25s;
 }

 .cookie-section-box:hover {
     background-color: rgba(255, 255, 255, 0.08);
     border-color: rgba(255, 255, 255, 0.25);
     transform: translateY(-2px);
     box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
 }

 .cookie-section-box h6 {
     color: #FFFFFF;
     font-weight: 700;
     font-size: 15px;
     margin: 0 0 8px 0;
     display: flex;
     align-items: center;
     gap: 8px;
     letter-spacing: -0.01em;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
 }

 .cookie-info-box {
     background: rgba(59, 130, 246, 0.12);
     border-left: 3px solid #60A5FA;
     padding: 14px;
     border-radius: 8px;
     color: #B8C5D6;
     font-size: 13px;
     margin-top: 14px;
     position: relative;
     z-index: 1;
     animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s backwards;
     font-weight: 500;
 }

 .cookie-info-box a {
     color: #60A5FA;
     text-decoration: none;
     font-weight: 500;
     transition: color 0.15s ease;
 }

 .cookie-info-box a:hover {
     color: #93C5FD;
 }

 .cookie-modal-dark .modal-footer {
     border-top: 1px solid rgba(255, 255, 255, 0.05);
     padding: 18px 24px;
     display: flex;
     gap: 12px;
     justify-content: flex-end;
     background: transparent;
     position: relative;
     z-index: 1;
 }

 .cookie-btn-reject {
     border: 1px solid rgba(255, 255, 255, 0.1);
     color: #A1A1AA;
     background: rgba(255, 255, 255, 0.05);
     /* Slightly lighter like secondary btn */
     border-radius: 12px;
     padding: 10px 20px;
     font-size: 15px;
     /* Match banner */
     font-weight: 600;
     /* Match banner */
     min-height: 48px;
     /* Match banner */
     display: inline-flex;
     align-items: center;
     justify-content: center;
     transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     overflow: hidden;
     letter-spacing: 0.01em;
 }

 .cookie-btn-reject:hover {
     background: rgba(239, 68, 68, 0.1);
     border-color: rgba(239, 68, 68, 0.4);
     /* Match banner secondary hover */
     color: #F87171;
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
 }

 .cookie-btn-save,
 .cookie-btn-accept {
     background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
     color: #ffffff;
     border: none;
     font-weight: 600;
     border-radius: 12px;
     padding: 10px 24px;
     font-size: 15px;
     min-height: 48px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     box-shadow:
         0 4px 6px -1px rgba(59, 130, 246, 0.3),
         inset 0 1px 0 rgba(255, 255, 255, 0.2);
     transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     overflow: hidden;
     letter-spacing: 0.01em;
 }

 .cookie-btn-save:hover,
 .cookie-btn-accept:hover {
     transform: translateY(-2px);
     box-shadow:
         0 10px 15px -3px rgba(59, 130, 246, 0.4),
         inset 0 1px 0 rgba(255, 255, 255, 0.2);
     filter: brightness(1.1);
 }

 /* Optional: Distinguish Save if needed, but keeping consistent is safer for "Good Design" in this context */
 .cookie-btn-save {
     /* Maybe slightly different gradient? Ill keep same for unity */
 }

 /* Toggle-Switch Styling - Dark Mode */
 .switch-toggle {
     width: 48px !important;
     height: 28px !important;
     position: relative;
     -webkit-appearance: none;
     appearance: none;
     background: rgba(255, 255, 255, 0.12);
     border-radius: 999px;
     outline: none;
     cursor: pointer;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     border: 1px solid rgba(255, 255, 255, 0.18);
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
 }

 /* Custom Modal Entrance Animation */
 #cookieSettingsModal.show .modal-dialog {
     animation: modalPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
 }

 @keyframes modalPopIn {
     0% {
         opacity: 0;
         transform: scale(0.9) translateY(20px);
     }

     100% {
         opacity: 1;
         transform: scale(1) translateY(0);
     }
 }

 .switch-toggle:checked {
     background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
     box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.2);
     border-color: rgba(59, 130, 246, 0.4);
 }

 .switch-toggle::after {
     content: '';
     position: absolute;
     left: 3px;
     top: 50%;
     transform: translateY(-50%);
     width: 20px;
     height: 20px;
     border-radius: 50%;
     background: #ffffff;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
     transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .switch-toggle:checked::after {
     transform: translateY(-50%) translateX(18px);
 }

 .switch-toggle:disabled {
     opacity: 0.5;
     cursor: not-allowed;
     background: rgba(255, 255, 255, 0.05);
     border-color: rgba(255, 255, 255, 0.08);
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
 }

 .switch-toggle:focus-visible {
     outline: 2px solid #FFD700;
     outline-offset: 2px;
     box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
 }

 /* Responsive Design für Modal */
 @media (max-width: 576px) {
     .cookie-modal-dark .modal-header {
         padding: 16px;
     }

     .cookie-modal-dark .modal-title {
         font-size: 1.1rem;
     }

     .cookie-modal-dark .modal-body {
         padding: 16px;
         font-size: 0.85rem;
     }

     .cookie-section-box {
         padding: 12px;
         margin-bottom: 12px;
     }

     .cookie-modal-dark .modal-footer {
         flex-direction: row;
         flex-wrap: wrap;
         gap: 8px;
         padding: 12px 16px;
         justify-content: center;
     }

     .cookie-btn-reject,
     .cookie-btn-save,
     .cookie-btn-accept {
         width: auto;
         font-size: 12px;
         padding: 6px 10px;
         min-height: 38px;
         flex-shrink: 1;
     }
 }

 /* Cookie-Einstellungen auf der Profilseite */
 .cookie-settings-profile {
     background-color: rgba(255, 255, 255, 0.02);
     border: 1px solid rgba(255, 255, 255, 0.05);
     border-radius: 8px;
     padding: 16px;
     margin-top: 16px;
 }

 .cookie-settings-profile .cookie-section-box {
     background-color: rgba(255, 255, 255, 0.01);
     border: 1px solid rgba(255, 255, 255, 0.05);
 }

 .cookie-settings-profile .badge {
     font-size: 0.65rem;
     padding: 0.25rem 0.4rem;
 }

 /* ------------------------------------------------------------- */
 /* --- NEUE KARTEN-ANIMATION --- */
 /* ------------------------------------------------------------- */

 .grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
     position: relative;
     z-index: 1;
 }

 .card {
     background-color: var(--background-color);
     box-shadow: 0px var(--card-box-shadow-1-y) var(--card-box-shadow-1-blur) var(--card-box-shadow-1), 0px var(--card-box-shadow-2-y) var(--card-box-shadow-2-blur) var(--card-box-shadow-2), 0 0 0 1px var(--card-border-color);
     padding: 56px 16px 16px 16px;
     border-radius: 15px;
     cursor: pointer;
     position: relative;
     transition: box-shadow .25s;
 }

 .card::before {
     content: '';
     position: absolute;
     inset: 0;
     border-radius: 15px;
     background-color: var(--card-background-color);
     pointer-events: none;
 }

 .card .icon {
     z-index: 2;
     position: relative;
     display: flex;
     align-items: center;
     justify-content: flex-start;
     margin-bottom: 8px;
 }

 .card .icon svg {
     position: relative;
     z-index: 1;
     display: block;
     width: 48px;
     height: 48px;
     transform: translateZ(0);
     color: var(--card-icon-color);
     transition: color .25s;
 }

 .card h4 {
     z-index: 2;
     position: relative;
     margin: 12px 0 4px 0;
     font-family: inherit;
     font-weight: 600;
     font-size: 14px;
     line-height: 2;
     color: var(--card-label-color);
 }

 .card p {
     z-index: 2;
     position: relative;
     margin: 0;
     font-size: 14px;
     line-height: 1.7;
     color: var(--text-color);
 }

 .card .shine {
     border-radius: inherit;
     position: absolute;
     inset: 0;
     z-index: 1;
     overflow: hidden;
     opacity: 0;
     transition: opacity .5s;
 }

 .card .shine:before {
     content: '';
     width: 150%;
     padding-bottom: 150%;
     border-radius: 50%;
     position: absolute;
     left: 50%;
     bottom: 55%;
     filter: blur(35px);
     opacity: var(--card-shine-opacity);
     transform: translateX(-50%);
     background-image: var(--card-shine-gradient);
 }

 .card .background {
     border-radius: inherit;
     position: absolute;
     inset: 0;
     overflow: hidden;
     -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
     mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
 }

 /* === NEUE POLYGON-ANIMATION START === */
 .card .background svg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     transition: opacity .25s;
 }

 .card .background svg path {
     fill: var(--card-tile-color);
     stroke: var(--card-line-color);
     stroke-width: 0.5px;
     opacity: 0;
     animation-duration: 8s;
     animation-iteration-count: infinite;
 }

 @keyframes poly-glow {

     0%,
     100% {
         opacity: 1;
     }

     50% {
         opacity: 0.1;
     }
 }

 /* === HOVER STATE FÜR POLYGONE === */
 .card:hover .background svg {
     opacity: 1;
     transition-delay: .25s;
 }

 .card:hover .background svg path {
     animation-name: poly-glow;
 }

 /* Animation Delays für einen zufälligen Effekt */
 .card:hover .background svg path:nth-child(1) {
     animation-delay: -0.5s;
 }

 .card:hover .background svg path:nth-child(2) {
     animation-delay: -1.0s;
 }

 .card:hover .background svg path:nth-child(3) {
     animation-delay: -1.5s;
 }

 .card:hover .background svg path:nth-child(4) {
     animation-delay: -2.0s;
 }

 .card:hover .background svg path:nth-child(5) {
     animation-delay: -2.5s;
 }

 .card:hover .background svg path:nth-child(6) {
     animation-delay: -3.0s;
 }

 .card:hover .background svg path:nth-child(7) {
     animation-delay: -3.5s;
 }

 .card:hover .background svg path:nth-child(8) {
     animation-delay: -4.0s;
 }

 .card:hover .background svg path:nth-child(9) {
     animation-delay: -4.5s;
 }

 .card:hover .background svg path:nth-child(10) {
     animation-delay: -5.0s;
 }

 .card:hover .background svg path:nth-child(11) {
     animation-delay: -5.5s;
 }

 .card:hover .background svg path:nth-child(12) {
     animation-delay: -6.0s;
 }

 .card:hover .background svg path:nth-child(13) {
     animation-delay: -6.5s;
 }

 .card:hover .background svg path:nth-child(14) {
     animation-delay: -7.0s;
 }

 .card:hover .background svg path:nth-child(15) {
     animation-delay: -7.5s;
 }

 .card:hover .background svg path:nth-child(16) {
     animation-delay: -8.0s;
 }

 .card:hover .background svg path:nth-child(17) {
     animation-delay: -8.5s;
 }

 .card:hover .background svg path:nth-child(18) {
     animation-delay: -9.0s;
 }

 /* === NEUE POLYGON-ANIMATION ENDE === */

 /* --- HOVER STATE --- */
 .card:hover {
     box-shadow: 0px 3px 6px var(--card-hover-box-shadow-1), 0px var(--card-hover-box-shadow-2-y) var(--card-hover-box-shadow-2-blur) var(--card-hover-box-shadow-2), 0 0 0 1px var(--card-hover-border-color);
 }

 .card:hover .icon::after {
     background-color: var(--card-hover-icon-background-color);
     border-color: var(--card-hover-icon-border-color);
 }

 .card:hover .icon svg {
     color: var(--card-hover-icon-color);
 }

 .card:hover .shine {
     opacity: 1;
     transition-duration: .5s;
     transition-delay: 0s;
 }

 /* Einheitliche Linkfarbe für die gesamte Website (BFSG-konform, hoher Kontrast) */
 a,
 a:visited {
     /*    color: #2196f3;*/
     text-decoration: none;
     transition: color 0.2s;
 }

 a:hover,
 a:focus {
     color: #1565c0;
     text-decoration: none;
     outline: none;
 }

 /* Für Barrierefreiheit: sichtbarer Fokus für Links */
 a:focus-visible {
     outline: 3px solid #FFD700;
     outline-offset: 2px;
     box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3);
 }

 /* Einheitliche Textfarbe für .card und .card * im Legal-Bereich */
 .card,
 .card * {
     color: #F8F9FA;
 }

 /* Überschriften im Legal-Bereich etwas kräftiger */
 .card h1,
 .card h2,
 .card h3,
 .card h4,
 .card h5 {
     color: #ffffff;
     font-weight: 700;
 }

 /* Listenpunkte und Fließtext im Legal-Bereich */
 .card ol,
 .card ul,
 .card p,
 .card li {
     color: #F8F9FA;
 }

 /* Cookie-Settings Modal: heller Hintergrund, kontrastreiche Schrift, einheitliche Link- und Label-Farbe */
 /* Scoped to light variant only so dark variant (cookie-modal-dark) wins */
 #cookieSettingsModal .modal-content.cookie-modal-light {
     background-color: #f8f9fa;
     color: #23272b;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light .modal-title,
 #cookieSettingsModal .modal-content.cookie-modal-light label,
 #cookieSettingsModal .modal-content.cookie-modal-light .form-check-label,
 #cookieSettingsModal .modal-content.cookie-modal-light p {
     color: #23272b;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light .form-check-input:checked {
     background-color: #2196f3;
     border-color: #2196f3;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light .form-check-input:focus {
     box-shadow: 0 0 0 2px #FFD700;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light a {
     color: #1565c0;
     text-decoration: none;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light a:hover {
     color: #2196f3;
     text-decoration: none;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light small.text-muted {
     color: #6c757d !important;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light .btn-primary {
     background-color: #2196f3;
     border-color: #2196f3;
     color: #fff;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light .btn-primary:hover {
     background-color: #1565c0;
     border-color: #1565c0;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light .btn-secondary {
     background-color: #495057;
     border-color: #495057;
     color: #fff;
 }

 #cookieSettingsModal .modal-content.cookie-modal-light .btn-secondary:hover {
     background-color: #343a40;
     border-color: #343a40;
 }

 /* --- Modern toggle switch for cookie settings modal --- */
 #cookieSettingsModal .form-check-input.switch-toggle {
     width: 48px !important;
     height: 28px !important;
     -webkit-appearance: none;
     appearance: none;
     background: rgba(255, 255, 255, 0.12);
     border-radius: 999px;
     position: relative;
     outline: none;
     cursor: pointer;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     border: 1px solid rgba(255, 255, 255, 0.18);
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
 }

 #cookieSettingsModal .form-check-input.switch-toggle::after {
     content: '';
     position: absolute;
     left: 3px;
     top: 50%;
     transform: translateY(-50%);
     width: 20px;
     height: 20px;
     border-radius: 50%;
     background: #ffffff;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
     transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
 }

 #cookieSettingsModal .form-check-input.switch-toggle:checked {
     background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
     box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.2);
     border-color: rgba(59, 130, 246, 0.4);
 }

 #cookieSettingsModal .form-check-input.switch-toggle:checked::after {
     transform: translateY(-50%) translateX(18px);
 }

 #cookieSettingsModal .form-check-input.switch-toggle:focus-visible {
     outline: 2px solid #FFD700;
     outline-offset: 2px;
     box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
 }

 /* ensure disabled necessary toggle looks subdued but visible */
 #cookieSettingsModal .form-check-input#necessaryToggle.switch-toggle[disabled] {
     opacity: 0.5;
     cursor: not-allowed;
     background: rgba(255, 255, 255, 0.05);
     border-color: rgba(255, 255, 255, 0.08);
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
 }

 /* End of cookie styles */

 /* ================================================================ */
 /* --- COOKIE CONSENT ALERT (KONTAKTFORMULAR) --- */
 /* ================================================================ */

 .cookie-consent-alert {
     background: rgba(30, 41, 59, 0.95);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 16px;
     padding: 20px 24px;
     backdrop-filter: blur(20px) saturate(180%);
     -webkit-backdrop-filter: blur(20px) saturate(180%);
     box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
     position: relative;
     animation: slideInDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
     overflow: hidden;
 }

 @keyframes slideInDown {
     0% {
         opacity: 0;
         transform: translateY(-20px);
     }

     100% {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Background Icon für Cookie Consent Alert */
 .cookie-consent-alert::before {
     content: '';
     position: absolute;
     top: -40px;
     left: -40px;
     width: 200px;
     height: 200px;
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233B82F6" stroke-width="1.5"><circle cx="12" cy="12" r="9"/><circle cx="8" cy="9" r="1.5" fill="%233B82F6"/><circle cx="15" cy="10" r="1.5" fill="%233B82F6"/><circle cx="10" cy="15" r="1.5" fill="%233B82F6"/><circle cx="16" cy="14" r="1.5" fill="%233B82F6"/><path d="M20 12 A8 8 0 0 1 14 19"/></svg>');
     background-repeat: no-repeat;
     background-position: center;
     background-size: 180px;
     opacity: 0.08;
     pointer-events: none;
     z-index: 0;
     transform: rotate(15deg);
 }

 .cookie-consent-title {
     color: #F8FAFC;
     font-weight: 700;
     font-size: 16px;
     margin: 0 0 8px 0;
     letter-spacing: -0.01em;
     position: relative;
     z-index: 1;
 }

 .cookie-consent-description {
     color: #E4E4E7;
     font-size: 14px;
     line-height: 1.6;
     margin: 0;
     font-weight: 500;
     position: relative;
     z-index: 1;
 }

 .cookie-consent-buttons {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
     align-items: center;
     position: relative;
     z-index: 1;
 }

 .cookie-consent-settings {
     background: rgba(255, 255, 255, 0.05);
     color: #60A5FA;
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 8px;
     padding: 8px 16px;
     font-size: 13px;
     font-weight: 600;
     min-height: 36px;
     transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
     letter-spacing: 0.01em;
 }

 .cookie-consent-settings:hover {
     background: rgba(59, 130, 246, 0.1);
     color: #93C5FD;
     border-color: rgba(59, 130, 246, 0.4);
     transform: translateY(-1px);
     box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
 }

 .cookie-consent-settings:focus-visible {
     outline: 2px solid #FFD700;
     outline-offset: 1px;
 }

 .cookie-consent-accept {
     background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
     color: #ffffff;
     border: none;
     border-radius: 8px;
     padding: 8px 16px;
     font-size: 13px;
     font-weight: 600;
     min-height: 36px;
     box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
     transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
     letter-spacing: 0.01em;
 }

 .cookie-consent-accept:hover {
     transform: translateY(-1px);
     box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
     filter: brightness(1.1);
 }

 .cookie-consent-accept:focus-visible {
     outline: 2px solid #FFD700;
     outline-offset: 1px;
 }

 .cookie-consent-close {
     position: absolute;
     top: 12px;
     right: 12px;
     width: 32px;
     height: 32px;
     border: none;
     background: transparent;
     color: #71717A;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 18px;
     border-radius: 50%;
     transition: all 0.2s ease;
     padding: 0;
     flex-shrink: 0;
     z-index: 2;
 }

 .cookie-consent-close:hover {
     background: rgba(255, 255, 255, 0.05);
     color: #E4E4E5;
 }

 .cookie-consent-close:focus-visible {
     outline: 2px solid #FFD700;
     outline-offset: 1px;
 }

 /* Responsive Design */
 @media (max-width: 576px) {
     .cookie-consent-alert {
         padding: 16px;
         gap: 12px;
     }

     .cookie-consent-icon {
         font-size: 28px;
     }

     .cookie-consent-title {
         font-size: 15px;
         margin: 0 0 6px 0;
     }

     .cookie-consent-description {
         font-size: 13px;
         line-height: 1.5;
     }

     .cookie-consent-buttons {
         gap: 8px;
     }

     .cookie-consent-settings,
     .cookie-consent-accept {
         padding: 6px 12px;
         font-size: 12px;
         min-height: 34px;
     }
 }

 /* ------------------------------------------------------------------ */
 /* Styles moved from Views/Website/Index.cshtml (inline -> central CSS) */
 /* ------------------------------------------------------------------ */

 /* Hero / Banner â€“ now styled via features/hero.css */

 /* Intro section background moved from inline style */
 .intro-section {
     background-color: #F7F7F7;
 }

 /* Contact image default constraints */
 .contact-image {
     max-height: 400px;
     object-fit: cover;
 }

 /* Honeypot / visually hidden input for forms */
 .honeypot {
     position: absolute;
     left: -5000px;
 }

 /* Small utility for the cookie alert icon */
 .cookie-alert-icon {
     font-size: 1.25rem;
 }

 /* ================================================================ */
 /* --- REDUCED MOTION: Accessibility & Low-Power Device Support --- */
 /* ================================================================ */
 @media (prefers-reduced-motion: reduce) {

     *,
     *::before,
     *::after {
         animation-duration: 0.01ms !important;
         animation-iteration-count: 1 !important;
         transition-duration: 0.01ms !important;
         scroll-behavior: auto !important;
     }

     html {
         scroll-behavior: auto;
     }

     .animate-on-scroll {
         opacity: 1 !important;
         transform: none !important;
         transition: none !important;
     }
 }

/* ================================================================ */
/* --- UNIVERSAL STATUS BADGES (Light & Dark Mode) ---------------- */
/* ================================================================ */
.badge-status,
.db-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
    transition: all 0.2s ease;
}

/* Aktiv / Success - Dark Mode */
.badge-status.active,
.db-status-badge.active,
.badge.bg-success-subtle {
    background: rgba(16, 185, 129, 0.16) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

/* Inaktiv / Secondary - Dark Mode */
.badge-status.inactive,
.db-status-badge.inactive,
.badge.bg-secondary-subtle {
    background: rgba(148, 163, 184, 0.14) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
}

/* Warning - Dark Mode */
.badge-status.warning,
.badge.bg-warning-subtle {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

/* Info - Dark Mode */
.badge-status.info,
.badge.bg-info-subtle {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
}

/* Danger - Dark Mode */
.badge-status.danger,
.badge.bg-danger-subtle {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

/* Light Mode Overrides */
html[data-theme="light"] .badge-status.active,
html[data-theme="light"] .db-status-badge.active,
html[data-theme="light"] .badge.bg-success-subtle {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}

html[data-theme="light"] .badge-status.inactive,
html[data-theme="light"] .db-status-badge.inactive,
html[data-theme="light"] .badge.bg-secondary-subtle {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .badge-status.warning,
html[data-theme="light"] .badge.bg-warning-subtle {
    background: #fffbeb !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}

html[data-theme="light"] .badge-status.info,
html[data-theme="light"] .badge.bg-info-subtle {
    background: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
}

html[data-theme="light"] .badge-status.danger,
html[data-theme="light"] .badge.bg-danger-subtle {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

/* --- buttons.css --- */
/* ============================================
   ORJICLOUD - Unified Button Styles
   Glassmorphism Design System
   ============================================
   
   Usage:
   - .btn                  : Base button class (required)
   - .btn-primary          : Primary action (blue glass)
   - .btn-secondary        : Secondary/cancel action (outline)
   - .btn-success          : Success/confirm action (green glass)
   - .btn-danger           : Destructive action (red glass)
   - .btn-warning          : Warning action (yellow/orange glass)
   - .btn-ghost            : Minimal/text-only style
   
   Sizes:
   - .btn-sm               : Small button
   - .btn-lg               : Large button
   
   Modifiers:
   - .btn-block            : Full width button
   - .btn-icon             : Icon-only button (square)
   - .btn-loading          : Loading state with spinner
   
   ============================================ */

/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn:focus {
    outline: none;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn i,
.btn svg {
    font-size: 0.9em;
    flex-shrink: 0;
}

/* ============================================
   PRIMARY BUTTON - Main actions (Blue Glass)
   ============================================ */
.btn-primary {
    background: rgba(59, 130, 246, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.95);
    border-color: rgba(96, 165, 250, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

/* ============================================
   SECONDARY BUTTON - Cancel, back, neutral (Glass Outline)
   ============================================ */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Light theme variant */
.btn-secondary-light {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.7);
}

.btn-secondary-light:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.9);
    transform: translateY(-1px);
}

/* ============================================
   SUCCESS BUTTON - Confirm, complete, save (Green Glass)
   ============================================ */
.btn-success {
    background: rgba(16, 185, 129, 0.85);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-success:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.95);
    border-color: rgba(52, 211, 153, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-success:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

/* ============================================
   DANGER BUTTON - Delete, remove, destructive (Red Glass)
   ============================================ */
.btn-danger {
    background: rgba(220, 38, 38, 0.85);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-danger:hover:not(:disabled) {
    background: rgba(220, 38, 38, 0.95);
    border-color: rgba(239, 68, 68, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-danger:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

/* Outline variant for less emphasis */
.btn-danger-outline {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #EF4444;
}

.btn-danger-outline:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.7);
    color: #EF4444;
    transform: translateY(-1px);
}

/* ============================================
   WARNING BUTTON - Caution actions (Orange Glass)
   ============================================ */
.btn-warning {
    background: rgba(217, 119, 6, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fff;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-warning:hover:not(:disabled) {
    background: rgba(217, 119, 6, 0.95);
    border-color: rgba(245, 158, 11, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ============================================
   GHOST BUTTON - Minimal, text-like
   ============================================ */
.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0.75rem;
    backdrop-filter: none;
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Light theme variant */
.btn-ghost-light {
    background: transparent;
    border-color: transparent;
    color: rgba(0, 0, 0, 0.6);
    backdrop-filter: none;
}

.btn-ghost-light:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.9);
}

/* ============================================
   SIZE VARIANTS
   ============================================ */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 10px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 14px;
}

/* ============================================
   MODIFIERS
   ============================================ */

/* Full width */
.btn-block {
    width: 100%;
}

/* Icon only (square button) */
.btn-icon {
    padding: 0.75rem;
    aspect-ratio: 1;
}

.btn-icon.btn-sm {
    padding: 0.5rem;
}

.btn-icon.btn-lg {
    padding: 1rem;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   BUTTON GROUPS
   ============================================ */
.btn-group {
    display: inline-flex;
    gap: 0;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 12px 0 0 12px;
}

.btn-group .btn:last-child {
    border-radius: 0 12px 12px 0;
}

.btn-group .btn:not(:last-child) {
    border-right-color: rgba(255, 255, 255, 0.1);
}

/* Button row with gap */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-row-center {
    justify-content: center;
}

.btn-row-end {
    justify-content: flex-end;
}

.btn-row-between {
    justify-content: space-between;
}

/* ============================================
   SPECIAL VARIANTS
   ============================================ */

/* Link style button */
.btn-link {
    background: transparent;
    border: none;
    color: #60A5FA;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    backdrop-filter: none;
}

.btn-link:hover:not(:disabled) {
    color: #3B82F6;
    text-decoration: underline;
}

/* Glass Primary - More transparent version */
.btn-glass-primary {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glass-primary:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.35);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93C5FD;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Glass Success */
.btn-glass-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glass-success:hover:not(:disabled) {
    background: rgba(16, 185, 129, 0.35);
    border-color: rgba(16, 185, 129, 0.5);
    color: #6EE7B7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Glass Danger */
.btn-glass-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glass-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.35);
    border-color: rgba(239, 68, 68, 0.5);
    color: #FCA5A5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Glass Neutral - For dark backgrounds */
.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-glass:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-row {
        flex-direction: column;
    }
    
    .btn-row .btn {
        width: 100%;
    }
    
    .btn-row-responsive {
        flex-direction: column;
    }
}


/* --- modals.css --- */
/* ================================================================ */
/* MODAL SYSTEM - FROSTED GLASS (LIGHT THEME) */
/* ================================================================ */

/* Base modal styling - all modals inherit this */
.modal-content {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

/* Modal Backdrop - Solid overlay (not transparent) */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.modal-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title i {
    color: #2b6fd6;
    font-size: 1rem;
}

.btn-close {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.btn-close:hover {
    opacity: 0.8;
}

.modal-body {
    padding: 1.5rem;
    max-height: 65vh;
    overflow-y: auto;
    background: #ffffff;
}

/* Custom scrollbar for modals */
.modal-body::-webkit-scrollbar {
    width: 5px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.25);
}

.modal-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
}

/* Default modal button styles */
.modal-content .btn-secondary {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #475569;
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.modal-content .btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.25);
    color: #0f172a;
}

.modal-content .btn-primary {
    background: linear-gradient(180deg, #4ea8ff 0%, #2b6fd6 100%);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(43, 111, 214, 0.2);
    transition: all 0.15s ease;
}

.modal-content .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(43, 111, 214, 0.3);
}

.modal-content .btn-primary:disabled {
    opacity: 0.5;
    box-shadow: none;
}

/* Form controls in modals */
.modal-content .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}

.modal-content .form-control,
.modal-content .form-select {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.modal-content .form-control:focus,
.modal-content .form-select:focus {
    background: #ffffff !important;
    border-color: #2b6fd6 !important;
    box-shadow: 0 0 0 3px rgba(43, 111, 214, 0.1) !important;
    outline: none;
}

.modal-content .form-control::placeholder {
    color: #94a3b8;
}

/* Select dropdown arrow */
.modal-content .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 14px 10px !important;
    padding-right: 2.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Checkboxes in modals */
.modal-content .form-check {
    padding-left: 1.75rem;
    margin-bottom: 0;
    min-height: auto;
    display: block;
}

.modal-content .form-check-input {
    width: 1rem;
    height: 1rem;
    margin-left: -1.75rem;
    margin-top: 0.2rem;
    background-color: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.25);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    float: left;
}

.modal-content .form-check-input:checked {
    background-color: #2b6fd6;
    border-color: #2b6fd6;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.modal-content .form-check-input:focus {
    box-shadow: 0 0 0 2px rgba(43, 111, 214, 0.15);
    border-color: #2b6fd6;
}

.modal-content .form-check-label {
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    line-height: 1.4;
}

/* Modal animations */
.modal.fade .modal-dialog {
    animation: modalSlideIn 0.3s ease-out forwards;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ================================================================ */
/* MODAL VARIANTS */
/* ================================================================ */

/* Success modal (green accent) */
.modal-content.modal-success .modal-title i {
    color: #16a34a;
}

.modal-content.modal-success .btn-primary {
    background: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.modal-content.modal-success .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

/* Danger modal (red accent) */
.modal-content.modal-danger .modal-title i {
    color: #dc2626;
}

.modal-content.modal-danger .btn-primary {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.modal-content.modal-danger .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* Warning modal (amber accent) */
.modal-content.modal-warning .modal-title i {
    color: #f59e0b;
}

.modal-content.modal-warning .btn-primary {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.modal-content.modal-warning .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Info modal (cyan accent) */
.modal-content.modal-info .modal-title i {
    color: #06b6d4;
}

.modal-content.modal-info .btn-primary {
    background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.modal-content.modal-info .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

/* ================================================================ */
/* MODAL SIZE VARIANTS */
/* ================================================================ */

/* Small modal (for confirmations, simple forms) */
.modal-sm .modal-content {
    border-radius: 16px;
}

/* Large modal (for complex forms, data tables) */
.modal-lg .modal-dialog {
    max-width: 900px;
}

/* ================================================================ */
/* RESPONSIVE MODALS */
/* ================================================================ */

@media (max-width: 768px) {
    .modal-header {
        padding: 1rem 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 0.75rem 1rem;
    }

    .modal-title {
        font-size: 1rem;
    }

    .modal-content .btn-primary,
    .modal-content .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .modal-body .form-control,
    .modal-body .form-select {
        font-size: 16px !important; /* Prevents iOS zoom on input */
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        margin: 1rem 0.5rem;
    }

    .modal-content {
        border-radius: 16px;
    }

    .modal-header {
        padding: 0.75rem 1rem;
    }

    .modal-title {
        font-size: 0.95rem;
        gap: 0.3rem;
    }

    .modal-title i {
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 1rem;
        max-height: 70vh;
    }

    .modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

/* ================================================================ */
/* UTILITY CLASSES FOR MODAL CUSTOMIZATION */
/* ================================================================ */

/* Center content in modal body */
.modal-centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Stacked form layout */
.modal-form-stacked {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Modal with divider */
.modal-divider {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin: 1rem 0;
    padding-top: 1rem;
}

/* Modal success/error message */
.modal-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.modal-message.show {
    display: block;
}

.modal-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #0f5132;
}

.modal-message.error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #7f1d1d;
}

.modal-message.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #78350f;
}

.modal-message.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1e40af;
}

/* ================================================================ */
/* CUSTOM CENTERED MODAL OVERLAY (für Admin-Modals) */
/* ================================================================ */

.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.admin-modal-overlay[style*="display: flex"],
.admin-modal-overlay.admin-modal-overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.admin-modal-overlay .admin-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out forwards;
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: transparent;
}

.admin-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.admin-modal-title i {
    color: #2b6fd6;
    font-size: 1.2rem;
}

.admin-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admin-modal-close:hover {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.admin-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: transparent;
}

.admin-modal-body::-webkit-scrollbar {
    width: 6px;
}

.admin-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.admin-modal-body::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 3px;
}

.admin-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.25);
}

.admin-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: transparent;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .admin-modal-overlay .admin-modal {
        max-width: calc(100% - 1rem);
        max-height: calc(100vh - 2rem);
    }

    .admin-modal-header {
        padding: 1.25rem;
    }

    .admin-modal-body {
        padding: 1.25rem;
    }

    .admin-modal-footer {
        padding: 1rem;
        flex-direction: column;
    }

    .admin-modal-footer .admin-btn {
        width: 100%;
    }
}

/* ================================================================ */
/ * 
 
 F P 
 
 A C C O R D I O N 
 
 S C H E D U L I N G 
 
 U I 
 
 * / 
 
 

/* --- upload-tray.css --- */
/* Global Upload Tray Styles */
.upload-tray-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1050; /* Above most elements but below modals */
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s ease;
}

.upload-tray-container.visible {
    display: flex;
    animation: slideUpTray 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpTray {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Header */
.upload-tray-header {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.upload-tray-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
}

.upload-tray-title i {
    color: #3b82f6;
}

.upload-tray-actions {
    display: flex;
    gap: 8px;
}

.upload-tray-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-tray-btn:hover {
    color: #334155;
    background: rgba(0, 0, 0, 0.05);
}

/* Body */
.upload-tray-body {
    max-height: 300px;
    overflow-y: auto;
    background: transparent;
    transition: max-height 0.3s ease;
    padding: 0;
}

.upload-tray-container.minimized .upload-tray-body {
    max-height: 0;
    display: none;
}

.upload-tray-container.minimized {
    width: 280px;
}

/* Upload Progress Item */
.upload-progress-item {
    padding: 16px 18px;
}

.upload-progress-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #475569;
}

.upload-progress-completed {
    font-weight: 600;
    color: #10b981;
}

.upload-progress-in-progress {
    color: #3b82f6;
}

.upload-progress-error {
    color: #ef4444;
}

.upload-progress-bar {
    height: 6px !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-radius: 3px !important;
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.upload-tray-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Minimized Floating Button */
.upload-tray-minimized-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1040;
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.upload-tray-minimized-btn:hover {
    transform: scale(1.1);
}

.upload-tray-minimized-btn.visible {
    display: flex;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active Upload Animation */
.upload-tray-minimized-btn.upload-active {
    border: 2px solid transparent;
    background-clip: padding-box;
}

.upload-tray-minimized-btn.upload-active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, #3b82f6 50%, transparent 100%);
    z-index: -1;
    animation: spinBorder 2s linear infinite;
}

.upload-tray-minimized-btn.upload-active::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: white;
    z-index: -1;
}

@keyframes spinBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.upload-tray-minimized-btn i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.upload-tray-minimized-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Resume Prompt inside Tray */
.upload-resume-prompt {
    padding: 20px;
    text-align: center;
}

.upload-resume-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 12px;
    opacity: 0.9;
}

.upload-resume-text {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.5;
}

.upload-resume-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Tray Footer Actions */
.upload-tray-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.3);
}

.upload-tray-footer-left {
    font-size: 0.8rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}

.upload-tray-footer-left:hover {
    color: #3b82f6;
}

.upload-tray-footer-actions {
    display: flex;
    gap: 8px;
}

.btn-tray-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    background: rgba(255,255,255,0.5);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-tray-action:hover {
    background: white;
    color: #3b82f6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn-tray-action.danger:hover {
    color: #ef4444;
    background: #fef2f2;
}

/* ===== Upload Details Modal ===== */
.upload-details-modal {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.upload-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.upload-details-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-details-title i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.upload-details-title h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.upload-details-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-upload-action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-upload-action.pause {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.btn-upload-action.pause:hover {
    background: rgba(59, 130, 246, 0.2);
}

.btn-upload-action.cancel {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.btn-upload-action.cancel:hover {
    background: rgba(239, 68, 68, 0.2);
}

.btn-close-modal {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-modal:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1e293b;
}

/* Stats Bar */
.upload-stats-bar {
    padding: 16px 24px;
    background: rgba(248, 250, 252, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.upload-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.upload-stat-box {
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    text-align: center;
}

.upload-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.upload-stat-value.highlight {
    color: #3b82f6;
}

/* Modal Body */
.upload-details-body {
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.3);
}

.upload-file-list {
    display: flex;
    flex-direction: column;
}

.upload-modal-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.upload-modal-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.upload-modal-empty p {
    margin: 0;
    font-size: 1rem;
}

/* Upload Sections */
.upload-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.upload-section:last-child {
    border-bottom: none;
}

.upload-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(248, 250, 252, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.upload-section-header i {
    color: #3b82f6;
}

.upload-section-header.error i {
    color: #ef4444;
}

.upload-section-list {
    display: flex;
    flex-direction: column;
}

/* Upload File Item */
.upload-file-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background 0.2s ease;
    position: relative;
}

.upload-file-item:hover {
    background: rgba(255, 255, 255, 0.6);
}

.upload-file-item:last-child {
    border-bottom: none;
}

.upload-file-index {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    flex-shrink: 0;
}

.upload-file-item.completed .upload-file-index {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.upload-file-item.error .upload-file-index {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.upload-file-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.upload-file-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-file-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-file-progress {
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    overflow: hidden;
    width: 100%;
}

.upload-file-progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.2s ease;
}

.upload-file-error {
    font-size: 0.75rem;
    color: #ef4444;
}

.upload-file-size {
    font-size: 0.8rem;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
}

.upload-file-cancel {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0;
}

.upload-file-item:hover .upload-file-cancel {
    opacity: 1;
}

.upload-file-cancel:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .upload-tray-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }
    
    .upload-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upload-file-size {
        display: none;
    }
}



