/* Vortex Theme - EXAKT nach ChatGPT Canvas Screenshot */
/* Alle Farben direkt vom Screenshot abgelesen! */

/* Higher specificity to ensure Vortex takes precedence when active */
html.theme-vortex,
body.theme-vortex,
html.theme-vortex:root,
body.theme-vortex:root {
    /* === BOOTSTRAP 5 GLOBAL VARIABLES === */
    --bs-body-bg: #000000 !important;           /* Bootstrap Body Background */
    --bs-body-color: #F2F2F3 !important;        /* Bootstrap Body Text Color */
    --bs-emphasis-color: #F2F2F3 !important;    /* Bootstrap Emphasis Color */
    --bs-border-color: rgba(242, 242, 243, 0.1) !important; /* Bootstrap Border Color */

    /* === DESIGN PALETTE (exakt vom ChatGPT Screenshot) === */
    --primary-accent: #F2F2F3 !important;       /* Primäre Akzentfarbe (helles Grau) */
    --secondary-accent: #F2F2F3 !important;     /* Sekundäre Akzentfarbe */

    /* === TEXT === */
    --text-header: #F2F2F3 !important;          /* Überschriftfarbe */
    --text-body: #E5E0DF !important;            /* Haupttextfarbe */
    --text-primary: #F2F2F3 !important;         /* Primärer Text */
    --text-secondary: #E5E0DF !important;       /* Sekundärer Text */
    --text-muted: #999999 !important;           /* Gedimmter Text */

    /* === HINTERGRUND === */
    --bg-card: #050505 !important;              /* Hintergrundfarbe der Karte (fast schwarz) */
    --bg-main: #000000 !important;              /* Seite Hintergrund (SCHWARZ) */
    --bg-gradient: #000000 !important;          /* SCHWARZ - kein Gradient! */
    --issue-card-bg: #000000 !important;        /* Issue Card Hintergrund - SCHWARZ */

    /* === STATUS & WARNINGS (Glow Effects vom Screenshot) === */
    --status-info: #0099FF !important;          /* Info - Blau */
    --status-ok: #00FF00 !important;            /* OK - Grün */
    --status-warning: #FFCC00 !important;       /* Warnung - Gelb */
    --status-alarm: #FF0000 !important;         /* Alarm - Rot */

    /* === LAYOUT === */
    --sidebar-bg: #0a0a0a !important;
    --border-radius: 8px !important;
    --glow-intensity: 0 0 20px !important;

    /* === CARDS === */
    --card-bg: #050505 !important;              /* Alternative card-bg Variable */
    --card-border: rgba(242, 242, 243, 0.1) !important;

    /* === ISSUE MANAGEMENT SYSTEM === */
    --issue-card-bg: #050505 !important;        /* Issue Card Background */
    --issue-border: rgba(242, 242, 243, 0.1) !important; /* Issue Border */
    --issue-text: #F2F2F3 !important;           /* Issue Text */
    --issue-text-muted: #999999 !important;     /* Issue Muted Text */
    --issue-primary: #F2F2F3 !important;        /* Issue Primary Color */
    --issue-primary-hover: #FFFFFF !important;  /* Issue Primary Hover */
    --issue-primary-light: rgba(242, 242, 243, 0.1) !important; /* Issue Primary Light */
    --issue-secondary: rgba(242, 242, 243, 0.05) !important; /* Issue Secondary */
    --issue-danger: #FF0000 !important;         /* Issue Danger Color */
    --issue-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important; /* Issue Shadow */
    --issue-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.7) !important; /* Issue Shadow Hover */
    --issue-shadow-active: 0 2px 6px rgba(0, 0, 0, 0.3) !important; /* Issue Shadow Active */
    --issue-transition: all 0.3s ease !important; /* Issue Transition */

    /* === BUTTONS === */
    --button-bg: #F2F2F3 !important;
    --button-text: #1B191A !important;
    --button-gradient: linear-gradient(135deg, #F2F2F3 0%, #E5E0DF 100%) !important;
    --button-hover-gradient: linear-gradient(135deg, #FFFFFF 0%, #F2F2F3 100%) !important;

    /* === ACCENTS === */
    --accent-color: #F2F2F3 !important;
    --border-accent: #F2F2F3 !important;
    --glow-shadow: 0 0 20px rgba(242, 242, 243, 0.2) !important;
}

/* === GLOBAL STYLES === */
html.theme-vortex {
    background-color: #000000 !important;
    background: #000000 !important;
}

body.theme-vortex {
    background-color: #000000 !important;
    background: var(--bg-main) !important;
    color: var(--text-primary) !important;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* === LAYOUT === */
.sidebar-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* === SIDEBAR === */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh !important;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding-left: 12px;
    padding-right: 12px;
}

body.theme-vortex .sidebar {
    background: var(--sidebar-bg);
    border-right: 1px solid rgba(242, 242, 243, 0.1);
}

/* === MAIN CONTENT === */
.main-content {
    flex: 1;
    margin-left: 285px;
    padding: 2rem;
    transition: margin-left 0.3s ease-in-out;
    min-height: 100vh;
    background: #000000 !important;
}

body.theme-vortex > div > main {
    background: #000000 !important;
}

body.theme-vortex .sidebar .nav-link {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.15);
}

body.theme-vortex .sidebar .nav-link:hover {
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-primary);
}

body.theme-vortex .sidebar .nav-link.active {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
    border-left: 3px solid var(--primary-accent);
}

/* === CARDS === */
body.theme-vortex .card,
.theme-vortex .card,
.card.theme-vortex {
    background: var(--bg-card) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .card-body,
.theme-vortex .card-body,
.card-body.theme-vortex {
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
}

body.theme-vortex .card-header,
.theme-vortex .card-header,
.card-header.theme-vortex {
    background: rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid var(--card-border) !important;
    color: var(--text-primary) !important;
}

/* === STATUS BADGES mit GLOW (wie im Screenshot) === */
.badge-status {
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.badge-status.status-info {
    background: var(--status-info);
    color: #fff;
    box-shadow: var(--glow-intensity) var(--status-info);
}

.badge-status.status-ok {
    background: var(--status-ok);
    color: #000;
    box-shadow: var(--glow-intensity) var(--status-ok);
}

.badge-status.status-warning {
    background: var(--status-warning);
    color: #000;
    box-shadow: var(--glow-intensity) var(--status-warning);
}

.badge-status.status-alarm {
    background: var(--status-alarm);
    color: #fff;
    box-shadow: var(--glow-intensity) var(--status-alarm);
}

.badge-status.pulsing {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* === BUTTONS === */
body.theme-vortex .btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

body.theme-vortex .btn-primary {
    background: var(--button-bg);
    border: none;
    color: var(--button-text);
}

body.theme-vortex .btn-primary:hover {
    background: var(--button-hover-gradient);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

body.theme-vortex .btn-secondary {
    background: rgba(242, 242, 243, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

body.theme-vortex .btn-secondary:hover {
    background: rgba(242, 242, 243, 0.1);
    border-color: var(--primary-accent);
}

/* === FORMS (simple) === */
body.theme-vortex .form-control {
    background: rgba(242, 242, 243, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    color: var(--text-primary);
}

body.theme-vortex .form-control:focus {
    background: rgba(242, 242, 243, 0.05);
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(242, 242, 243, 0.1);
    color: var(--text-primary);
}

body.theme-vortex .form-control::placeholder {
    color: var(--text-muted);
}

/* === TABLES - ULTRA HIGH SPECIFICITY TO OVERRIDE BOOTSTRAP === */
/* BOOTSTRAP 5 CSS VARIABLES - DIREKT überschreiben! */
body.theme-vortex .table,
body.theme-vortex table.table,
.theme-vortex .table,
.theme-vortex table.table {
    --bs-table-color-type: initial !important;
    --bs-table-bg-type: initial !important;
    --bs-table-color-state: initial !important;
    --bs-table-bg-state: initial !important;
    --bs-table-color: var(--text-primary) !important;
    --bs-table-bg: #050505 !important;  /* SCHWARZ! */
    --bs-table-border-color: rgba(242, 242, 243, 0.1) !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-color: var(--text-primary) !important;
    --bs-table-striped-bg: rgba(242, 242, 243, 0.03) !important;
    --bs-table-active-color: var(--text-primary) !important;
    --bs-table-active-bg: rgba(242, 242, 243, 0.1) !important;
    --bs-table-hover-color: var(--text-primary) !important;
    --bs-table-hover-bg: rgba(242, 242, 243, 0.075) !important;

    color: var(--text-primary) !important;
    background-color: var(--bg-card) !important;
    background: var(--bg-card) !important;
}

/* Table Headers */
body.theme-vortex .table > thead > tr > th,
body.theme-vortex .table thead th,
body.theme-vortex table.table > thead > tr > th,
.theme-vortex .table > thead > tr > th,
.theme-vortex .table thead th {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 212, 255, 0.15)) !important;
    border-bottom: 2px solid var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    font-weight: 600 !important;
}

/* Table Body Rows */
body.theme-vortex .table > tbody > tr,
body.theme-vortex .table tbody tr,
body.theme-vortex table.table > tbody > tr,
body.theme-vortex table tbody tr,
.theme-vortex .table > tbody > tr,
.theme-vortex .table tbody tr {
    border-bottom: 1px solid var(--card-border) !important;
    background-color: var(--bg-card) !important;
    background: var(--bg-card) !important;
}

/* Table Body Cells */
body.theme-vortex .table > tbody > tr > td,
body.theme-vortex .table > tbody > tr > th,
body.theme-vortex .table tbody td,
body.theme-vortex .table tbody th,
body.theme-vortex table.table > tbody > tr > td,
body.theme-vortex table.table > tbody > tr > th,
body.theme-vortex table tbody td,
body.theme-vortex table tbody th,
.theme-vortex .table > tbody > tr > td,
.theme-vortex .table > tbody > tr > th,
.theme-vortex .table tbody td,
.theme-vortex .table tbody th {
    background-color: var(--bg-card) !important;
    background: var(--bg-card) !important;
    border-color: var(--card-border) !important;
    color: var(--text-primary) !important;
}

/* Table Row Hover */
body.theme-vortex .table > tbody > tr:hover,
body.theme-vortex .table tbody tr:hover,
body.theme-vortex table.table > tbody > tr:hover,
.theme-vortex .table > tbody > tr:hover,
.theme-vortex .table tbody tr:hover {
    background-color: rgba(242, 242, 243, 0.08) !important;
    background: rgba(242, 242, 243, 0.08) !important;
}

/* Table Row Hover Cells */
body.theme-vortex .table > tbody > tr:hover > td,
body.theme-vortex .table > tbody > tr:hover > th,
body.theme-vortex .table tbody tr:hover td,
body.theme-vortex .table tbody tr:hover th,
.theme-vortex .table > tbody > tr:hover > td,
.theme-vortex .table > tbody > tr:hover > th {
    background-color: rgba(242, 242, 243, 0.08) !important;
    background: rgba(242, 242, 243, 0.08) !important;
}

/* === TIMELINE LAYOUT (Smart Layouts vom Screenshot) === */
.layout-timeline {
    position: relative;
    padding-left: 40px;
}

.layout-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--status-info), var(--status-ok));
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--status-info);
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 0 2px var(--status-info);
}

/* === PYRAMIDE LAYOUT (Smart Layouts vom Screenshot) === */
.layout-pyramid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pyramid-level {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pyramid-level-1 { width: 100%; }
.pyramid-level-2 { width: 80%; margin: 0 auto; }
.pyramid-level-3 { width: 60%; margin: 0 auto; }

.pyramid-item {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    padding: 16px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.pyramid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-accent);
}

/* === LOGIN PAGE === */
body.theme-vortex .login-container {
    background: var(--bg-main);
}

body.theme-vortex .login-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

body.theme-vortex .login-button {
    background: var(--button-bg);
    border: none;
    color: var(--button-text);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius);
}

body.theme-vortex .login-button:hover {
    background: var(--button-hover-gradient);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .mobile-toggle {
        display: block;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .pyramid-level {
        flex-direction: column;
    }

    .pyramid-level-1,
    .pyramid-level-2,
    .pyramid-level-3 {
        width: 100%;
    }
}

/* === SCROLLBAR === */
.theme-vortex ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.theme-vortex ::-webkit-scrollbar-track {
    background: rgba(242, 242, 243, 0.02);
}

.theme-vortex ::-webkit-scrollbar-thumb {
    background: rgba(242, 242, 243, 0.15);
    border-radius: 5px;
}

.theme-vortex ::-webkit-scrollbar-thumb:hover {
    background: rgba(242, 242, 243, 0.25);
}

/* ============================================================================
   COMPREHENSIVE BOOTSTRAP OVERRIDES FOR VORTEX THEME
   ============================================================================ */

/* === 1. FORM CONTROLS (Inputs, Textareas, Selects) === */
body.theme-vortex .form-control,
body.theme-vortex input.form-control,
body.theme-vortex textarea.form-control,
body.theme-vortex select.form-control {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--card-border) !important;
}

body.theme-vortex .form-control:focus,
body.theme-vortex input.form-control:focus,
body.theme-vortex textarea.form-control:focus {
    background-color: rgba(242, 242, 243, 0.05) !important;
    color: var(--text-primary) !important;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 3px rgba(242, 242, 243, 0.1) !important;
}

body.theme-vortex .form-control::placeholder,
body.theme-vortex input.form-control::placeholder,
body.theme-vortex textarea.form-control::placeholder {
    color: var(--text-muted) !important;
}

/* === 2. FORM-SELECT === */
body.theme-vortex .form-select,
body.theme-vortex select.form-select {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--card-border) !important;
    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='%2300FFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.5rem !important;
}

body.theme-vortex .form-select:focus,
body.theme-vortex select.form-select:focus {
    background-color: rgba(242, 242, 243, 0.05) !important;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 3px rgba(242, 242, 243, 0.1) !important;
}

body.theme-vortex .form-select option {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* === 3. FORM LABELS === */
body.theme-vortex .form-label,
body.theme-vortex label {
    color: var(--text-primary) !important;
}

body.theme-vortex .form-text {
    color: var(--text-muted) !important;
}

/* === 4. TABLE STRIPED FIX === */
body.theme-vortex .table-striped > tbody > tr:nth-of-type(odd),
body.theme-vortex .table-striped > tbody > tr:nth-of-type(odd) > *,
body.theme-vortex .table-striped > tbody > tr:nth-of-type(odd) > td,
body.theme-vortex .table-striped > tbody > tr:nth-of-type(odd) > th,
body.theme-vortex .table-striped tbody tr:nth-of-type(odd),
body.theme-vortex table.table-striped > tbody > tr:nth-of-type(odd),
body.theme-vortex table.table-striped > tbody > tr:nth-of-type(odd) > td,
body.theme-vortex table.table-striped > tbody > tr:nth-of-type(odd) > th {
    background-color: rgba(242, 242, 243, 0.03) !important;
    background: rgba(242, 242, 243, 0.03) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .table-striped > tbody > tr:nth-of-type(even),
body.theme-vortex .table-striped > tbody > tr:nth-of-type(even) > *,
body.theme-vortex .table-striped > tbody > tr:nth-of-type(even) > td,
body.theme-vortex .table-striped > tbody > tr:nth-of-type(even) > th,
body.theme-vortex .table-striped tbody tr:nth-of-type(even),
body.theme-vortex table.table-striped > tbody > tr:nth-of-type(even),
body.theme-vortex table.table-striped > tbody > tr:nth-of-type(even) > td,
body.theme-vortex table.table-striped > tbody > tr:nth-of-type(even) > th {
    background-color: var(--bg-card) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* === 5. MODAL === */
body.theme-vortex .modal-content {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: var(--border-radius) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .modal-header {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid var(--card-border) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .modal-title {
    color: var(--text-primary) !important;
}

body.theme-vortex .modal-body {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .modal-footer {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-top: 1px solid var(--card-border) !important;
}

/* === 6. BTN-CLOSE === */
body.theme-vortex .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
    opacity: 0.7 !important;
}

body.theme-vortex .btn-close:hover {
    opacity: 1 !important;
}

/* === 7. ALERTS === */
body.theme-vortex .alert {
    border-radius: var(--border-radius) !important;
    border: 1px solid transparent !important;
}

body.theme-vortex .alert-success {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-color: var(--status-ok) !important;
    color: var(--status-ok) !important;
}

body.theme-vortex .alert-danger {
    background-color: rgba(255, 0, 0, 0.1) !important;
    border-color: var(--status-alarm) !important;
    color: var(--status-alarm) !important;
}

/* === 8. DROPDOWN MENU === */
body.theme-vortex .dropdown-menu {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--card-border) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5) !important;
}

body.theme-vortex .dropdown-item {
    color: var(--text-primary) !important;
    transition: all 0.2s ease !important;
}

body.theme-vortex .dropdown-item:hover,
body.theme-vortex .dropdown-item:focus {
    background-color: rgba(242, 242, 243, 0.1) !important;
    color: var(--text-primary) !important;
}

/* === 9. NAV-TABS === */
body.theme-vortex .nav-tabs {
    border-bottom: 1px solid var(--card-border) !important;
    background-color: var(--bg-card) !important;
}

body.theme-vortex .nav-tabs .nav-link {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--text-secondary) !important;
    transition: all 0.3s ease !important;
}

body.theme-vortex .nav-tabs .nav-link:hover {
    background-color: rgba(242, 242, 243, 0.05) !important;
    border-color: var(--card-border) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .nav-tabs .nav-link.active {
    background-color: rgba(242, 242, 243, 0.1) !important;
    border-color: var(--primary-accent) !important;
    border-bottom-color: transparent !important;
    color: var(--text-primary) !important;
}

/* Tab Content */
body.theme-vortex .tab-content {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .tab-pane {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

/* === 10. PAGINATION === */
body.theme-vortex .page-link {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .page-link:hover {
    background-color: rgba(242, 242, 243, 0.1) !important;
    border-color: var(--primary-accent) !important;
    color: var(--text-primary) !important;
}

body.theme-vortex .page-item.active .page-link {
    background-color: var(--primary-accent) !important;
    border-color: var(--primary-accent) !important;
    color: var(--button-text) !important;
}

/* === 11. SPINNER === */
body.theme-vortex .spinner-border {
    color: var(--primary-accent) !important;
    border-color: currentColor transparent transparent transparent !important;
}

/* === 12. TEXT UTILITIES === */
body.theme-vortex .text-muted {
    color: var(--text-muted) !important;
}

body.theme-vortex strong,
body.theme-vortex b {
    color: var(--text-primary) !important;
}

body.theme-vortex hr {
    border-color: var(--card-border) !important;
    opacity: 0.3 !important;
}
/* Badges im Vortex-Theme an Gamma-Stil anpassen */
body.theme-vortex .badge.bg-primary,
body.theme-vortex .badge.text-bg-primary {
    background-color: rgba(242,242,243,0.08) !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    color: var(--accent-blue) !important;
    border: 1px solid rgba(242,242,243,0.15) !important;
    box-shadow: 0 0 12px rgba(37,99,235,0.35) !important; /* leichter Glow */
}

/* Hover leicht aufhellen */
body.theme-vortex .badge.bg-primary:hover,
body.theme-vortex .badge.text-bg-primary:hover {
    background-color: rgba(242,242,243,0.16) !important;
}
