/* ============================================================
   GSVerwaltung - Modern Pro Design
   ============================================================ */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius:    8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --sidebar-width: 248px;
    --topbar-height: 58px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.18s var(--ease);
}

/* -- Dark Theme -------------------------------------------- */
[data-theme="dark"] {
    --bg-base:        #080b12;
    --bg-surface:     #0e1117;
    --bg-elevated:    #141822;
    --bg-hover:       #1c2235;
    --bg-active:      #202740;
    --border:         #1f2537;
    --border-subtle:  #191e2e;
    --border-strong:  #2d3550;
    /* -- Rueckwärtskompatible Aliase (alte Views) -- */
    --bg-secondary:   #141822;   /* = --bg-elevated */
    --border-color:   #1f2537;   /* = --border */
    --text-primary:   #edf0ff;
    --text-secondary: #8892b0;
    --text-muted:     #4e5a7a;
    --sidebar-bg:     #090c14;
    --input-bg:       #0e1117;
    --input-border:   #252d42;
    --code-bg:        #080b12;

    --blue:     #5b8dee;
    --blue-dim: rgba(91,141,238,0.12);
    --green:    #3ecf8e;
    --green-dim:rgba(62,207,142,0.12);
    --red:      #f06a6a;
    --red-dim:  rgba(240,106,106,0.12);
    --orange:   #f5a623;
    --orange-dim:rgba(245,166,35,0.12);
    --purple:   #9b6dff;
    --purple-dim:rgba(155,109,255,0.12);
    --yellow:   #fbbf24;

    --gradient-primary: linear-gradient(135deg, #5b8dee 0%, #7c5eff 100%);
    --gradient-surface: linear-gradient(180deg, #141822 0%, #0e1117 100%);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    --shadow:     0 4px 16px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.3);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
    --shadow-glow:0 0 0 1px rgba(91,141,238,0.2), 0 4px 24px rgba(91,141,238,0.12);
    --glow-blue:  0 0 0 3px rgba(91,141,238,0.18);
    --glow-green: 0 0 0 3px rgba(62,207,142,0.15);
}

/* -- Light Theme ------------------------------------------- */
[data-theme="light"] {
    --bg-base:        #f4f6fb;
    --bg-surface:     #ffffff;
    --bg-elevated:    #f8f9fd;
    --bg-hover:       #eef1fa;
    --bg-active:      #e6eaf8;
    --border:         #e4e8f4;
    --border-subtle:  #edf0f9;
    --border-strong:  #cdd3e8;
    /* -- Rueckwärtskompatible Aliase (alte Views) -- */
    --bg-secondary:   #f8f9fd;   /* = --bg-elevated */
    --border-color:   #e4e8f4;   /* = --border */
    --text-primary:   #111827;
    --text-secondary: #4b5675;
    --text-muted:     #94a3b8;
    --sidebar-bg:     #0e1117;
    --input-bg:       #ffffff;
    --input-border:   #dde2f0;
    --code-bg:        #f1f4fb;

    --blue:     #3b6fd4;
    --blue-dim: rgba(59,111,212,0.1);
    --green:    #0f9b6a;
    --green-dim:rgba(15,155,106,0.1);
    --red:      #d94040;
    --red-dim:  rgba(217,64,64,0.1);
    --orange:   #d97706;
    --orange-dim:rgba(217,119,6,0.1);
    --purple:   #7c3aed;
    --purple-dim:rgba(124,58,237,0.1);
    --yellow:   #d97706;

    --gradient-primary: linear-gradient(135deg, #3b6fd4 0%, #7c3aed 100%);
    --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8f9fd 100%);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow:     0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-glow:0 0 0 1px rgba(59,111,212,0.2), 0 4px 24px rgba(59,111,212,0.1);
    --glow-blue:  0 0 0 3px rgba(59,111,212,0.15);
    --glow-green: 0 0 0 3px rgba(15,155,106,0.12);
}

/* -- Base -------------------------------------------------- */
html, body {
    height: 100%;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--blue); }
code, pre { font-family: var(--font-mono); }
::selection { background: rgba(91,141,238,0.25); }

/* ============================================================
   Layout
   ============================================================ */
.layout { display: flex; min-height: 100vh; }

/* -- Sidebar ----------------------------------------------- */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform var(--transition);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.07); border-radius: 99px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.13); }

/* -- Brand -- */
.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    min-height: 62px;
    flex-shrink: 0;
}
.sidebar-brand img { flex-shrink: 0; max-width: 100%; filter: brightness(1.1); }

/* -- Nav -- */
.sidebar-nav { flex: 1; padding: 8px 10px 4px; }

.nav-section { margin-bottom: 4px; }
.nav-section + .nav-section { margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.04); }

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.22);
    padding: 10px 10px 4px;
    display: block;
    white-space: nowrap;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    font-size: 13px;
    font-weight: 500;
    position: relative;
    margin-bottom: 1px;
    line-height: 1.3;
}
.nav-item .nav-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 7px;
    background: rgba(255,255,255,0.04);
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}
.nav-item svg { flex-shrink: 0; transition: color var(--transition); }
.nav-item:hover {
    color: rgba(255,255,255,0.88);
    background: rgba(255,255,255,0.055);
    text-decoration: none;
}
.nav-item:hover .nav-icon { background: rgba(255,255,255,0.07); }
.nav-item.active {
    color: #fff;
    background: rgba(91,141,238,0.15);
    font-weight: 600;
}
.nav-item.active .nav-icon {
    background: rgba(91,141,238,0.25);
    color: var(--blue);
}
.nav-item.active svg { color: var(--blue); }
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 3px;
    background: linear-gradient(180deg, var(--blue), #7c5eff);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(91,141,238,0.5);
}

/* -- Footer / User-Card -- */
.sidebar-footer {
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: background var(--transition);
    cursor: pointer;
}
.sidebar-user-card:hover { background: rgba(255,255,255,0.06); text-decoration: none; }
.sidebar-user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b8dee, #7c5eff);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}
.sidebar-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name {
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3;
}
.sidebar-user-role {
    font-size: 10px; color: rgba(255,255,255,0.3); line-height: 1.3;
    text-transform: capitalize;
}
.sidebar-user-role.role-superadmin { color: rgba(155,109,255,0.7); background: none; }
.sidebar-user-role.role-admin      { color: rgba(91,141,238,0.7);  background: none; }
.sidebar-user-role.role-supporter  { color: rgba(62,207,142,0.6);  background: none; }
.sidebar-user-role.role-user       { color: rgba(255,255,255,0.3);  background: none; }
.sidebar-user-chevron { color: rgba(255,255,255,0.2); flex-shrink: 0; }
.version-info {
    font-size: 10px; color: rgba(255,255,255,0.15);
    text-align: center; margin-top: 7px;
}

/* -- Main Content ------------------------------------------ */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* -- Topbar ------------------------------------------------ */
.topbar {
    height: var(--topbar-height);
    background: rgba(14,17,23,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    position: sticky;
    top: 0;
    z-index: 100;
}
[data-theme="light"] .topbar {
    background: rgba(255,255,255,0.88);
}

.sidebar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.sidebar-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}
.topbar-right { display: flex; align-items: center; gap: 10px; }

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }

/* User Menu */
.user-menu { position: relative; }
.user-menu-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 5px 10px 5px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    font-family: inherit;
}
.user-menu-btn:hover { border-color: var(--blue); background: var(--bg-hover); }

.avatar {
    width: 26px; height: 26px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0; top: calc(100% + 8px);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 190px;
    z-index: 300;
    overflow: hidden;
    padding: 4px;
}
.user-dropdown.show { display: block; animation: dropIn 0.15s var(--ease); }
@keyframes dropIn { from { opacity:0; transform:translateY(-6px) scale(.97); } to { opacity:1; transform:none; } }

.user-dropdown a, .user-dropdown .dropdown-logout {
    display: block;
    padding: 8px 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-family: inherit;
}
.user-dropdown a:hover, .user-dropdown .dropdown-logout:hover {
    background: var(--bg-hover);
    text-decoration: none;
    color: var(--text-primary);
}
.user-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ============================================================
   Page
   ============================================================ */
.page-content {
    flex: 1;
    padding: 28px 28px 16px;
}

.page-footer {
    padding: 14px 28px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 14px;
    align-items: center;
}
.footer-sep { color: var(--border-strong); }

/* -- Page Header ------------------------------------------- */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.page-header h2,
.page-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.2;
}
.page-header-sub,
.page-subtitle {
    font-size: .85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.page-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition);
}
.card:hover { border-color: var(--border-strong); }

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}
.card-header h3 { font-size: 14px; font-weight: 600; letter-spacing: -0.1px; }
.card-body { padding: 20px; }
.card-body.p-0 { padding: 0; }

/* -- Mod Row -- */
.mod-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px;
    padding: 14px 16px;
}
.mod-row form { margin: 0; }
.mod-row img {
    width: 64px !important;
    height: 48px !important;
    object-fit: cover !important;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ============================================================
   Stats Grid
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-surface);
    opacity: 0;
    transition: opacity var(--transition);
}
.stat-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.stat-card:hover::before { opacity: 1; }

.stat-icon {
    width: 46px; height: 46px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.stat-icon-blue   { background: var(--blue-dim);   color: var(--blue);   box-shadow: 0 0 0 1px rgba(91,141,238,0.15); }
.stat-icon-green  { background: var(--green-dim);  color: var(--green);  box-shadow: 0 0 0 1px rgba(62,207,142,0.15); }
.stat-icon-orange { background: var(--orange-dim); color: var(--orange); box-shadow: 0 0 0 1px rgba(245,166,35,0.15); }
.stat-icon-purple { background: var(--purple-dim); color: var(--purple); box-shadow: 0 0 0 1px rgba(155,109,255,0.15); }
.stat-icon-red    { background: var(--red-dim);    color: var(--red);    box-shadow: 0 0 0 1px rgba(240,106,106,0.15); }

.stat-content { display: flex; flex-direction: column; position: relative; z-index: 1; }
.stat-value { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 3px; font-weight: 500; }

/* ============================================================
   Tables
   ============================================================ */
.table-wrapper { overflow-x: auto; }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.table th {
    text-align: left;
    padding: 9px 16px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    background: rgba(255,255,255,.015);
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}
[data-theme="light"] .table th { background: rgba(0,0,0,.02); }
.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
    color: var(--text-primary);
    font-size: 13px;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background var(--transition); cursor: default; }
.table tbody tr:hover { background: rgba(255,255,255,.025); }
[data-theme="light"] .table tbody tr:hover { background: rgba(0,0,0,.025); }

/* Icon action buttons in tables */
.tbl-actions     { display: flex; gap: 4px; align-items: center; }
.tbl-btn         {
    width: 30px; height: 30px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: transparent;
    color: var(--text-muted); cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all var(--transition); flex-shrink: 0;
    font-size: 12px;
}
.tbl-btn:hover           { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border-strong); text-decoration: none; }
.tbl-btn-primary:hover   { background: var(--blue-dim); color: var(--blue); border-color: rgba(91,141,238,.35); }
.tbl-btn-success:hover   { background: var(--green-dim); color: var(--green); border-color: rgba(62,207,142,.35); }
.tbl-btn-danger:hover    { background: var(--red-dim); color: var(--red); border-color: rgba(240,106,106,.35); }
.tbl-btn-warning:hover   { background: var(--orange-dim); color: var(--orange); border-color: rgba(245,166,35,.35); }

/* ============================================================
   Badges
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 99px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.badge-success { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(62,207,142,0.2); }
.badge-danger  { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(240,106,106,0.2); }
.badge-warning { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(245,166,35,0.2); }
.badge-info    { background: var(--blue-dim);   color: var(--blue);   border: 1px solid rgba(91,141,238,0.2); }
.badge-primary { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(155,109,255,0.2); }
.badge-neutral { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border); }
.badge-secondary { background: var(--bg-hover); color: var(--text-secondary); border: 1px solid var(--border); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
    font-family: inherit;
    letter-spacing: -0.1px;
    position: relative;
    overflow: hidden;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 1px 3px rgba(91,141,238,0.3), 0 4px 12px rgba(91,141,238,0.2);
    border-color: rgba(255,255,255,0.1);
}
.btn-primary:hover {
    color: #fff;
    box-shadow: 0 2px 6px rgba(91,141,238,0.4), 0 8px 20px rgba(91,141,238,0.25);
    filter: brightness(1.08);
}

.btn-success {
    background: linear-gradient(135deg, #3ecf8e 0%, #2ab578 100%);
    color: #fff;
    box-shadow: 0 1px 3px rgba(62,207,142,0.3);
}
.btn-success:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 2px 8px rgba(62,207,142,0.4); }

.btn-danger {
    background: linear-gradient(135deg, #f06a6a 0%, #d94545 100%);
    color: #fff;
    box-shadow: 0 1px 3px rgba(240,106,106,0.3);
}
.btn-danger:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 2px 8px rgba(240,106,106,0.4); }

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--blue); }

.btn-warning { background: linear-gradient(135deg, #f5a623, #e8920d); color: #fff; }
.btn-warning:hover { color:#fff; filter:brightness(1.08); }

.btn-sm  { padding: 5px 11px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-lg  { padding: 11px 24px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-full{ width: 100%; }
.btn-link{ background: none; border: none; color: var(--blue); cursor: pointer; font-size: 13.5px; padding: 0; font-family:inherit; transform:none !important; }
.btn-link:hover { text-decoration: underline; }

.action-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ============================================================
   Forms
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-inline-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.form-inline-row .form-group { margin-bottom: 0; }

/* Zwei-Spalten-Layout fuer Geplante Aufgaben */
.two-col-layout { display: flex !important; flex-direction: row !important; gap: 24px; align-items: flex-start; }
.two-col-layout .col-main { flex: 1 1 0%; min-width: 0; }
.two-col-layout .col-side { flex: 0 0 420px; width: 420px; }

/* Geplante Aufgaben - Task-Zeile */
.schedule-task-row {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    column-gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
}
.schedule-task-row:last-child { border-bottom: none; }

/* Task-Listen-Wrapper braucht kein Padding mehr - kommt vom Row-Class */
.schedule-task-list { padding: 0; }

/* Geplante Aufgaben - Cron-Preset-Raster */
.cron-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 14px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--text-secondary);
    letter-spacing: -0.1px;
}

.form-input, select.form-input, textarea.form-input {
    width: 100%;
    padding: 9px 13px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 13.5px;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}
.form-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: var(--glow-blue);
    background: var(--bg-surface);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input-center { text-align: center; letter-spacing: 6px; font-size: 22px; font-weight: 700; }
textarea.form-input { min-height: 100px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint, small.text-muted { font-size: 12px; color: var(--text-muted); margin-top: 5px; display: block; }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; }

.input-password-wrapper { position: relative; }
.input-password-wrapper .form-input { padding-right: 42px; }
.password-toggle {
    position: absolute;
    right: 11px; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0;
    transition: color var(--transition);
}
.password-toggle:hover { color: var(--text-primary); }

/* ============================================================
   Alerts
   ============================================================ */
.alert {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13.5px;
    gap: 10px;
    font-weight: 500;
}
.alert-success { background: var(--green-dim); border: 1px solid rgba(62,207,142,0.25); color: var(--green); }
.alert-error   { background: var(--red-dim);   border: 1px solid rgba(240,106,106,0.25); color: var(--red); }
.alert-warning { background: var(--orange-dim);border: 1px solid rgba(245,166,35,0.25);  color: var(--orange); }
.alert-info    { background: var(--blue-dim);  border: 1px solid rgba(91,141,238,0.25);  color: var(--blue); }
.alert-close { background: none; border: none; font-size: 18px; cursor: pointer; color: inherit; opacity: 0.6; padding: 0; line-height: 1; flex-shrink: 0; }
.alert-close:hover { opacity: 1; }

/* ============================================================
   Auth Page
   ============================================================ */
.auth-page {
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.auth-page::before {
    content: '';
    position: fixed;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(91,141,238,0.08) 0%, transparent 70%);
    top: -200px; left: -100px;
    pointer-events: none;
}
.auth-page::after {
    content: '';
    position: fixed;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(155,109,255,0.06) 0%, transparent 70%);
    bottom: -150px; right: -50px;
    pointer-events: none;
}

.auth-container { width: 100%; max-width: 400px; padding: 20px; position: relative; z-index: 1; }

.auth-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 38px 36px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.02);
}

.auth-brand { text-align: center; margin-bottom: 30px; }
.auth-brand img { margin-bottom: 14px; display: block; margin-left: auto; margin-right: auto; }
.auth-brand h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-top: 0; }
.auth-brand p  { color: var(--text-muted); font-size: 13px; margin-top: 5px; }

.auth-form { display: flex; flex-direction: column; }
.auth-links { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-muted); }
.auth-links a { color: var(--blue); font-weight: 500; }
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}
.auth-footer a { color: var(--text-muted); }
.auth-footer a:hover { color: var(--text-primary); }
.auth-sep { margin: 0 8px; opacity: .4; }
.auth-info-box { background:#1e3a2f; border:1px solid #2d6a4f; color:#b7e4c7; border-radius:8px; padding:12px 16px; margin-bottom:20px; font-size:13px; }
.pw-strength-bar { height:3px; border-radius:2px; margin-top:6px; background:var(--border); overflow:hidden; }
.pw-strength-fill { height:100%; width:0; transition:width .3s,background .3s; }
.pw-strength-label { font-size:.78rem; color:var(--text-muted); }
.pw-match-label { font-size:.78rem; }
.settings-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
.settings-col  { display:flex; flex-direction:column; gap:16px; }
.settings-save { margin-top:20px; display:flex; gap:10px; align-items:center; }
.page-hdr      { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:24px; gap:16px; flex-wrap:wrap; }
.page-hdr-left { flex:1; }
.page-hdr h2   { margin:0 0 4px; font-size:1.5rem; font-weight:800; color:var(--text-primary); letter-spacing:-.3px; }
.page-hdr-sub  { color:var(--text-secondary); font-size:.85rem; margin:0; }
.card-mb { margin-bottom:0; }
.mod-thumb { width:56px; height:40px; object-fit:cover; border-radius:4px; flex-shrink:0; }
.mod-thumb-empty { width:56px; height:40px; background:var(--bg-elevated); border-radius:4px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.mod-info { flex:1; min-width:0; overflow:hidden; }
.mod-name { font-weight:600; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mod-meta { font-size:12px; color:var(--text-muted); margin-top:2px; }
.mod-status-ok   { color:var(--green,#22c55e); }
.mod-status-prog { color:var(--yellow,#eab308); }
.mod-status-err  { color:var(--red,#ef4444); }
.mod-actions { display:flex; flex-wrap:nowrap; gap:6px; flex-shrink:0; align-items:center; }
.drag-handle { cursor:grab; color:var(--text-muted); font-size:18px; flex-shrink:0; line-height:1; }
.console-sep { width:1px; height:18px; background:#2a2d45; margin:0 4px; flex-shrink:0; }
.console-hdr { display:flex; align-items:center; gap:10px; margin-bottom:8px; flex-shrink:0; }
.console-hdr h2 { margin:0; font-size:15px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Datenschutz content partial */
.dsg-date { color:#94a3b8; font-size:.875rem; margin-bottom:24px; }
.dsg-cookie-wrap { overflow-x:auto; margin:16px 0; }
.dsg-cookie-table { width:100%; border-collapse:collapse; font-size:13px; }
.dsg-cookie-table thead tr { border-bottom:2px solid rgba(255,255,255,.12); }
.dsg-cookie-table th { text-align:left; padding:8px 12px; color:#c4cdd9; }
.dsg-cookie-table td { padding:8px 12px; border-bottom:1px solid rgba(255,255,255,.06); }
.dsg-cookie-table td.mono { font-family:monospace; }
.dsg-cookie-table tbody tr:last-child td { border-bottom:none; }
.dsg-hint { font-size:13px; color:#94a3b8; }
.dsg-custom { margin-top:32px; padding-top:24px; border-top:1px solid rgba(255,255,255,.08); }

/* Card utility */
.card-overflow { overflow:hidden; }

/* ============================================================
   Console
   ============================================================ */
.console-output {
    background: #06080f;
    color: #7ee787;
    font-family: var(--font-mono);
    font-size: 12.5px;
    padding: 16px;
    border-radius: var(--radius);
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    line-height: 1.75;
    border: 1px solid rgba(255,255,255,0.06);
}
.console-line { display: block; }
.console-line.err  { color: #f85149; }
.console-line.warn { color: #e3b341; }

/* ============================================================
   File Manager
   ============================================================ */
.file-list { list-style: none; }
.file-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.file-item:hover { background: var(--bg-hover); }
.file-item:last-child { border-bottom: none; }
.file-icon { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.file-name { flex: 1; font-size: 13.5px; }
.file-name a { color: var(--text-primary); }
.file-name a:hover { color: var(--blue); text-decoration: none; }
.file-size     { font-size: 12px; color: var(--text-muted); width: 80px; text-align: right; }
.file-modified { font-size: 12px; color: var(--text-muted); width: 140px; text-align: right; }

/* ============================================================
   Empty State
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.empty-state svg { margin-bottom: 14px; opacity: 0.15; }
.empty-state p { margin-bottom: 18px; font-size: .88rem; color: var(--text-secondary); max-width: 280px; line-height: 1.6; }

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; background: var(--blue-dim); }
.pagination .active { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(91,141,238,0.3); }

/* ============================================================
   Status Dots  (used across gameserver, host, ticket lists)
   ============================================================ */
.sdot            { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600 }
.sdot::before    { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0 }
.sdot-online::before     { background: var(--green);  box-shadow: 0 0 6px rgba(62,207,142,.6) }
.sdot-offline::before    { background: var(--text-muted) }
.sdot-starting::before,
.sdot-stopping::before   { background: var(--orange); box-shadow: 0 0 6px rgba(245,166,35,.5); animation: sdotPulse 1.2s ease-in-out infinite }
.sdot-error::before      { background: var(--red);    box-shadow: 0 0 6px rgba(240,106,106,.5) }
.sdot-installing::before { background: var(--blue);   animation: sdotPulse 1.8s ease-in-out infinite }
.sdot-online     { color: var(--green) }
.sdot-offline    { color: var(--text-muted) }
.sdot-starting,
.sdot-stopping   { color: var(--orange) }
.sdot-error      { color: var(--red) }
.sdot-installing { color: var(--blue) }
@keyframes sdotPulse { 0%,100%{opacity:1}50%{opacity:.35} }

/* ============================================================
   Table link - clickable names inside tables
   ============================================================ */
.tbl-link        { font-weight: 600; color: var(--text-primary); text-decoration: none; transition: color var(--transition) }
.tbl-link:hover  { color: var(--blue); text-decoration: none }

/* ============================================================
   List page card  (lp-card) - used on all list pages
   ============================================================ */
.lp-card         { background: var(--bg-elevated); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden }
.lp-card-header  {
    padding: 13px 18px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255,255,255,.015);
    gap: 12px;
}
[data-theme="light"] .lp-card-header { background: rgba(0,0,0,.015); }
.lp-card-title   {
    font-size: .8rem; font-weight: 700; color: var(--text-secondary);
    margin: 0; text-transform: uppercase; letter-spacing: .05em;
    display: flex; align-items: center; gap: 7px;
}
.lp-card-actions { display: flex; gap: 8px; align-items: center; }
.lp-card-footer  {
    padding: 9px 16px; border-top: 1px solid var(--border-subtle);
    background: rgba(255,255,255,.015);
}
.lp-card-footer a {
    font-size: .78rem; color: var(--blue); text-decoration: none;
    font-weight: 600; display: inline-flex; align-items: center; gap: 4px;
}
.lp-card-footer a:hover { opacity: .8 }

/* Filter bar */
.lp-filter {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 16px 18px;
    margin-bottom: 16px;
}
.lp-filter .form-row { margin-bottom: 0; gap: 12px; }
.lp-page-header  { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; gap: 12px }
.lp-page-header h2 { margin: 0 }
.lp-page-sub     { font-size: .82rem; color: var(--text-muted); margin-top: 3px }

/* ============================================================
   Layout helpers (replaces common inline styles)
   ============================================================ */
.form-inline     { display: inline }
.filter-end      { align-self: flex-end }
.card-h3-reset   { margin: 0; font-size: 14px; font-weight: 600 }

/* ============================================================
   Role-colour dots (in user lists)
   ============================================================ */
.role-dot              { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle }
.role-dot.role-superadmin { background: #ef4444 }
.role-dot.role-admin      { background: #f97316 }
.role-dot.role-supporter  { background: #3b82f6 }
.role-dot.role-user       { background: #22c55e }

/* ============================================================
   Empty state - with SVG icon support
   ============================================================ */
.empty-icon      { opacity: .18; margin-bottom: 14px }

/* ============================================================
   Ticket conversation messages
   ============================================================ */
.msg-wrap        { padding: 16px 20px; border-bottom: 1px solid var(--border-subtle) }
.msg-wrap:last-child { border-bottom: none }
.msg-note        { background: rgba(255,200,0,.05); border-left: 3px solid var(--orange) }
.msg-self        { background: var(--bg-elevated) }
.msg-header      { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px }
.msg-author      { font-weight: 600; font-size: .84rem; color: var(--text-primary) }
.msg-time        { font-size: .75rem; color: var(--text-muted) }
.msg-body        { line-height: 1.65; white-space: pre-wrap; word-break: break-word; font-size: .88rem; color: var(--text-secondary) }
.msg-note-badge  { font-size: .68rem; margin-left: 6px; vertical-align: middle }

/* ============================================================
   Ticket page layout
   ============================================================ */
.ticket-layout   { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start }
.ticket-meta-row { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap }

/* Rating stars */
.star-form-row   { margin-bottom: 4px }
.star-hint       { font-size: .74rem; color: var(--text-muted); margin-top: 6px; display: block }
.rating-stars    { display: flex; gap: 2px }
.rating-stars span       { font-size: 1.2rem; color: #f59e0b }
.rating-stars span.empty { color: var(--border) }
.rating-comment  { font-size: .85rem; color: var(--text-muted); font-style: italic; margin: 6px 0 0 }

/* ============================================================
   Backup page
   ============================================================ */
.backup-create-bar { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap }
.backup-server-sel { flex: 1; min-width: 220px }

/* ============================================================
   Utilities
   ============================================================ */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.text-primary   { color: var(--blue) !important; }
.text-muted     { color: var(--text-muted) !important; }
.text-success   { color: var(--green) !important; }
.text-danger    { color: var(--red) !important; }
.text-sm        { font-size: 12px; }
.fw-semibold    { font-weight: 600; }
.fw-bold        { font-weight: 700; }
.d-flex         { display: flex; }
.align-center   { align-items: center; }
.gap-2          { gap: 8px; }
.w-100          { width: 100%; }
.text-center    { text-align: center; }

/* ============================================================
   Responsive
   ============================================================ */

/* -- Sidebar Overlay (Backdrop beim Öffnen auf Mobile) ----- */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 199;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.sidebar-overlay.show { display: block; }

/* -- Tablet + Mobile (<= 768px) ---------------------------- */
@media (max-width: 768px) {

    /* Sidebar */
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .main-content { margin-left: 0; }
    .sidebar-toggle { display: flex; }

    /* Topbar */
    .topbar { padding: 0 14px; }
    .user-menu-btn span { display: none; }        /* Benutzername ausblenden */
    .user-menu-btn svg:last-child { display: none; } /* Chevron ausblenden */

    /* Page */
    .page-content { padding: 14px; }
    .page-footer  { flex-wrap: wrap; gap: 8px; padding: 12px 14px; font-size: 11px; }
    .footer-sep   { display: none; }

    /* Page Headers */
    .page-header,
    .page-hdr,
    .lp-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .page-hdr-left { flex-wrap: wrap; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card  { padding: 14px; gap: 12px; }
    .stat-value { font-size: 22px; }

    /* Forms */
    .form-row            { grid-template-columns: 1fr; }
    .form-inline-row     { flex-direction: column; gap: 0; }
    .cron-preset-grid    { grid-template-columns: repeat(2, 1fr); }
    .settings-grid       { grid-template-columns: 1fr; }

    /* Two-column layout (Gameserver-Detail etc.) */
    .two-col-layout      { flex-direction: column !important; }
    .two-col-layout .col-side { flex: unset; width: 100%; }

    /* Ticket-Layout */
    .ticket-layout       { grid-template-columns: 1fr; }

    /* Tabellen - selten genutzte Spalten verstecken */
    .table .hide-mobile  { display: none; }
    .table-wrapper       { border-radius: var(--radius); }

    /* File Manager - Metadaten ausblenden */
    .file-modified { display: none; }

    /* Action-Gruppen umbrechen */
    .action-group { flex-wrap: wrap; }

    /* Backup-Leiste */
    .backup-create-bar   { flex-direction: column; align-items: stretch; }
    .backup-server-sel   { min-width: unset; }

    /* Schedule-Zeilen vereinfachen */
    .schedule-task-row {
        grid-template-columns: 28px 1fr auto;
        gap: 8px;
        padding: 10px 14px;
    }

    /* Mod-Zeilen */
    .mod-row { gap: 8px; padding: 10px 12px; }
    .mod-actions { gap: 4px; }

    /* Console */
    .console-output { min-height: 200px; font-size: 11.5px; }

    /* Auth */
    .auth-container { padding: 16px; }
}

/* -- Smartphone (<= 480px) ---------------------------------- */
@media (max-width: 480px) {

    /* Stats: 2 Spalten auch auf kleinen Phones */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

    /* Auth */
    .auth-box   { padding: 24px 18px; border-radius: var(--radius-lg); }

    /* Buttons in Zeilen stapeln */
    .btn-full-mobile { width: 100%; }

    /* Topbar kompakter */
    .topbar { height: 52px; padding: 0 12px; }
    .theme-toggle { width: 30px; height: 30px; }

    /* Fußzeile */
    .page-footer { flex-direction: column; align-items: flex-start; gap: 4px; }

    /* Datei-Manager: Größe auch ausblenden */
    .file-size { display: none; }

    /* Formular-Labels kompakter */
    .form-group label { font-size: 12px; margin-bottom: 5px; }

    /* Cron-Preset: 1 Spalte */
    .cron-preset-grid { grid-template-columns: 1fr 1fr; }

    /* Pagination: kleinere Buttons */
    .pagination a, .pagination span { min-width: 28px; height: 28px; font-size: 12px; }

    /* Ticket-Zeilen */
    .ticket-meta-row { gap: 4px; }
    .badge { font-size: 10px; padding: 2px 6px; }

    /* Mod-Bild ausblenden */
    .mod-thumb, .mod-thumb-empty { display: none; }
}

/* ============================================================
   Cookie Banner
   ============================================================ */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 10000;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-strong);
    box-shadow: 0 -8px 40px rgba(0,0,0,.45);
}
.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-banner-text {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}
.cookie-banner-text strong { color: var(--text-primary); font-weight: 600; }
.cookie-banner-text a      { color: var(--blue); text-decoration: underline; margin-left: 4px; }
.cookie-banner-btn {
    flex-shrink: 0;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.4;
    transition: opacity var(--transition);
}
.cookie-banner-btn:hover { opacity: 0.88; transform: none; }
@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cookie-banner-btn   { width: 100%; text-align: center; }
}

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
