        :root {
            /* Palette (fixed) */
            --c-primary: #00a0f5;
            --c-primary-signal: #00e3e3;
            --c-signal-1: #006982;
            --c-signal-2: #00a0a0;
            --c-signal-3: #005555;
            --c-signal-4: #6432ff;
            --c-success: #5fc85f;
            --c-warning: #fae623;
            --c-danger: #f05041;
            --c-rose: #d7005f;
            --c-deep: #410055;
            /* Theme variables (light defaults) */
            --bg: #f6f7f9;
            --surface: #ffffff;
            --surface-2: #fbfcfd;
            --text: #141a23;
            --muted: #5b6472;
            --border: rgba(20, 26, 35, .12);
            --border-2: rgba(20, 26, 35, .08);
            --shadow-sm: 0 8px 18px rgba(20, 26, 35, .06);
            --shadow-md: 0 14px 40px rgba(20, 26, 35, .10);
            --focus: var(--c-primary-signal);
            --link: var(--c-primary);
            --topbar-bg: rgba(255, 255, 255, .78);
            --topbar-border: rgba(20, 26, 35, .10);
            --sidebar-bg: var(--surface);
            --sidebar-border: var(--border-2);
            /* Border radius system - consolidated to 5 values */
            --radius-sm: .5rem;
            --radius-md: .75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.25rem;
            --radius-full: 999px;
            /* Spacing system */
            --spacing-xs: .5rem;
            --spacing-sm: .75rem;
            --spacing-md: 1rem;
            --spacing-lg: 1.25rem;
            --spacing-xl: 1.5rem;
            --sidebar-w: 260px;
            --sidebar-w-collapsed: 70px;
            --badge-unread-bg: var(--c-rose);
            --badge-unread-text: #ffffff;
            --status-success-bg: rgba(95, 200, 95, .16);
            --status-warning-bg: rgba(250, 230, 35, .25);
            --status-danger-bg: rgba(240, 80, 65, .16);
            --status-info-bg: rgba(0, 160, 245, .16);
            --status-deep-bg: rgba(65, 0, 85, .14);
            --status-success-fg: #1e5d1e;
            --status-warning-fg: #5d4f00;
            --status-danger-fg: #7a1a13;
            --status-info-fg: #064b6e;
            --status-deep-fg: #3a0a48;
            /* Bootstrap variable nudges (still driven by our vars) */
            --bs-body-bg: var(--bg);
            --bs-body-color: var(--text);
            --bs-border-color: var(--border);
            --bs-link-color: var(--link);
            --bs-link-hover-color: var(--c-signal-4);
            --bs-primary: var(--c-primary);
            --bs-secondary: var(--c-signal-1);
            --bs-success: var(--c-success);
            --bs-warning: var(--c-warning);
            --bs-danger: var(--c-danger);
            --bs-focus-ring-color: rgba(0, 227, 227, .38);
            --bs-nav-pills-link-active-color: #000 !important;
        }

        @font-face {
            font-display: swap;
            font-family: tktype;
            font-style: normal;
            font-weight: 400;
            src: url(https://ucpcdn.thyssenkrupp.com/fonts/tktyperegular-regular.woff2) format("woff2"), url(https://ucpcdn.thyssenkrupp.com/fonts/tktyperegular-regular.woff) format("woff")
        }

        @font-face {
            font-display: swap;
            font-family: tktype;
            font-style: italic;
            font-weight: 400;
            src: url(https://ucpcdn.thyssenkrupp.com/fonts/tktyperegular-italic.woff2) format("woff2"), url(https://ucpcdn.thyssenkrupp.com/fonts/tktyperegular-italic.woff) format("woff")
        }

        @font-face {
            font-display: swap;
            font-family: tktype;
            font-style: normal;
            font-weight: 500;
            src: url(https://ucpcdn.thyssenkrupp.com/fonts/tktypemedium-regular.woff2) format("woff2"), url(https://ucpcdn.thyssenkrupp.com/fonts/tktypemedium-regular.woff) format("woff")
        }

        @font-face {
            font-display: swap;
            font-family: tktype;
            font-style: normal;
            font-weight: 700;
            src: url(https://ucpcdn.thyssenkrupp.com/fonts/tktypebold-regular.woff2) format("woff2"), url(https://ucpcdn.thyssenkrupp.com/fonts/tktypebold-regular.woff) format("woff")
        }

        html[data-theme="dark"] {
            --bg: #070b14;
            --surface: #0e1628;
            --surface-2: #0b1222;
            --text: #e8edf7;
            --muted: #aab4c5;
            --border: rgba(232, 237, 247, .14);
            --border-2: rgba(232, 237, 247, .10);
            --shadow-sm: 0 10px 20px rgba(0, 0, 0, .35);
            --shadow-md: 0 16px 46px rgba(0, 0, 0, .45);
            --topbar-bg: rgba(14, 22, 40, .76);
            --topbar-border: rgba(232, 237, 247, .10);
            --badge-unread-bg: var(--c-rose);
            --badge-unread-text: #ffffff;
            --status-success-bg: rgba(95, 200, 95, .18);
            --status-warning-bg: rgba(250, 230, 35, .18);
            --status-danger-bg: rgba(240, 80, 65, .18);
            --status-info-bg: rgba(0, 160, 245, .18);
            --status-deep-bg: rgba(65, 0, 85, .22);
            --status-success-fg: #b7f0b7;
            --status-warning-fg: #ffe066;
            --status-danger-fg: #ffb6af;
            --status-info-fg: #b7e6ff;
            --status-deep-fg: #e7b8ff;
            --bs-focus-ring-color: rgba(0, 227, 227, .45);
        }

        body {
            background: var(--bg);
            color: var(--text);
            font-family: tktype, Roboto, Calibri, -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif !important;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        html {
            scroll-behavior: smooth;
        }

        .h1,
        .h2,
        .h3,
        .h4,
        .h5,
        .h6,
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: tktype, Roboto, Calibri, -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif !important;
            color: var(--text) !important;
        }

        a {
            color: var(--link);
        }

        a:hover {
            color: var(--c-signal-4);
            text-decoration: none;
        }

        .skip-link {
            position: absolute;
            top: .75rem;
            left: .75rem;
            padding: .5rem .75rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            transform: translateY(-140%);
            transition: transform .2s ease;
            z-index: 2000;
        }

        .skip-link:focus {
            transform: translateY(0);
            outline: none;
            box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color), var(--shadow-sm);
            border-radius: var(--radius-md);
        }

        .topbar {
            background: var(--topbar-bg);
            border-bottom: 1px solid var(--topbar-border);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 8px rgba(20, 26, 35, .04);
        }

        html[data-theme="dark"] .topbar {
            box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
        }

        .logo-light {
            display: block;
            height: 32px;
            width: auto;
        }

        .logo-dark {
            display: none;
            height: 32px;
            width: auto;
        }

        html[data-theme="dark"] .logo-light {
            display: none;
        }

        html[data-theme="dark"] .logo-dark {
            display: block;
        }


        .card,
        .dropdown-menu,
        .modal-content,
        .list-group-item,
        .offcanvas {
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text);
        }

        .modal-content {
            background: rgba(255, 255, 255, 0.95);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        html[data-theme="dark"] .modal-content {
            background: rgba(14, 22, 40, 0.95);
            border: 1px solid rgba(232, 237, 247, 0.15);
        }

        .card {
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-sm);
            border: none;
            background: var(--surface);
            transition: all .2s ease;
            position: relative;
        }

        .card:hover {
            box-shadow: var(--shadow-md);
        }

        /* Loading state for cards */
        .card.loading {
            pointer-events: none;
            opacity: 0.6;
        }

        .card.loading::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(255, 255, 255, 0.4),
                    transparent);
            animation: shimmer 1.5s infinite;
            z-index: 10;
        }

        html[data-theme="dark"] .card.loading::after {
            background: linear-gradient(90deg,
                    transparent,
                    rgba(255, 255, 255, 0.1),
                    transparent);
        }

        .shadow-soft {
            box-shadow: var(--shadow-sm);
        }

        .border-soft {
            border-color: var(--border-2) !important;
        }

        .text-muted-soft {
            color: var(--muted) !important;
        }
        
        /* Dark mode text-muted override */
        html[data-theme="dark"] .text-muted {
            color: var(--muted) !important;
        }

        /* Base button styling - unified */
        .btn {
            border-radius: var(--radius-xl);
            padding: .7rem 1.25rem;
            font-weight: 600;
            letter-spacing: .01em;
            transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn-soft {
            background: rgba(0, 160, 245, .10);
            border: none;
            color: var(--text);
        }

        .btn-soft:hover {
            background: rgba(0, 160, 245, .16);
            color: var(--text);
        }

        .btn-primary {
            background-color: var(--c-primary) !important;
            border: none !important;
            color: #ffffff !important;
            box-shadow: 0 8px 18px rgba(0, 160, 245, .2) !important;
        }

        .btn-primary:hover,
        .btn-primary:focus-visible {
            background-color: var(--c-primary-signal) !important;
            color: #000000 !important;
            box-shadow: 0 10px 22px rgba(0, 160, 245, .24) !important;
        }

        .btn-secondary {
            background-color: var(--c-signal-1) !important;
            border: none !important;
            color: #ffffff !important;
            box-shadow: 0 8px 18px rgba(0, 105, 130, .2) !important;
        }

        .btn-secondary:hover,
        .btn-secondary:focus-visible {
            background-color: var(--c-signal-2) !important;
            color: #ffffff !important;
            box-shadow: 0 10px 22px rgba(0, 105, 130, .24) !important;
        }

        .btn-success {
            background-color: var(--c-success) !important;
            border: none !important;
            color: #ffffff !important;
            box-shadow: 0 8px 18px rgba(95, 200, 95, .2) !important;
        }

        .btn-success:hover,
        .btn-success:focus-visible {
            background-color: #4db34d !important;
            color: #ffffff !important;
            box-shadow: 0 10px 22px rgba(95, 200, 95, .24) !important;
        }

        .btn-danger {
            background-color: var(--c-danger) !important;
            border: none !important;
            color: #ffffff !important;
            box-shadow: 0 8px 18px rgba(240, 80, 65, .2) !important;
        }

        .btn-danger:hover,
        .btn-danger:focus-visible {
            background-color: #f2685b !important;
            color: #ffffff !important;
            box-shadow: 0 10px 24px rgba(240, 80, 65, .25) !important;
        }

        .btn-warning {
            background-color: var(--c-warning) !important;
            border: none !important;
            color: #000000 !important;
            box-shadow: 0 8px 18px rgba(250, 230, 35, .2) !important;
        }

        .btn-warning:hover,
        .btn-warning:focus-visible {
            background-color: #f5dd1f !important;
            color: #000000 !important;
            box-shadow: 0 10px 22px rgba(250, 230, 35, .24) !important;
        }

        .btn-info {
            background-color: var(--c-primary) !important;
            border: none !important;
            color: #ffffff !important;
            box-shadow: 0 8px 18px rgba(0, 160, 245, .2) !important;
        }

        .btn-info:hover,
        .btn-info:focus-visible {
            background-color: #0090d9 !important;
            color: #ffffff !important;
            box-shadow: 0 10px 22px rgba(0, 160, 245, .24) !important;
        }

        .profile-card .profile-avatar {
            width: 62px;
            height: 62px;
            border-radius: 20px;
            display: grid;
            place-items: center;
            background: linear-gradient(135deg, rgba(0, 160, 245, .2), rgba(0, 227, 227, .3));
            font-size: 1.35rem;
            font-weight: 700;
            color: #041527;
        }

        html[data-theme="dark"] .profile-card .profile-avatar {
            color: var(--text);
        }

        .profile-meta li {
            display: flex;
            align-items: center;
            gap: .6rem;
            font-size: .9rem;
            color: var(--muted);
            margin-bottom: .4rem;
        }

        .profile-meta li:last-child {
            margin-bottom: 0;
        }

        .profile-meta i {
            color: var(--c-primary);
        }

        .profile-card .btn-outline-danger {
            border-color: rgba(240, 80, 65, .35);
            color: var(--c-danger);
        }

        .profile-card .btn-outline-danger:hover {
            background: rgba(240, 80, 65, .1);
        }

        .profile-card .profile-actions {
            display: flex;
            gap: .75rem;
            flex-wrap: wrap;
            margin-top: .5rem;
        }

        .profile-card .profile-actions .btn {
            flex: 1 1 0;
            min-width: 140px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .35rem;
        }

        .profile-card .profile-actions .btn:active {
            filter: brightness(.98);
        }

        .card-toggle {
            border: none;
            background: rgba(0, 0, 0, 0);
            color: var(--muted);
            padding: .25rem;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .2s ease;
        }

        .card-toggle:hover {
            background: rgba(0, 160, 245, .1);
            color: var(--text);
        }

        .card-toggle .toggle-icon {
            transition: transform .2s ease;
        }

        .card-toggle[aria-expanded="true"] .toggle-icon {
            transform: rotate(180deg);
        }

        /* Component-specific focus states */
        .btn:focus-visible {
            outline: none;
            box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
        }

        .nav-link:focus-visible {
            outline: none;
            box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
            border-radius: var(--radius-md);
        }

        .dropdown-item:focus-visible {
            outline: none;
            box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
            border-radius: var(--radius-md);
        }

        .form-check-input:focus-visible {
            outline: none;
            box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
            border-radius: var(--radius-sm);
        }

        .module-card:focus-visible {
            outline: none;
            box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
            border-radius: var(--radius-lg);
        }

        .focus-ring-visible:focus-visible {
            outline: none;
            box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
        }

        /* Layout */
        .app-shell {
            display: grid;
            grid-template-columns: var(--sidebar-w) 1fr;
            grid-template-rows: auto 1fr;
            flex: 1;
            transition: grid-template-columns .4s ease;
        }

        aside#sidebar {
            position: sticky;
            top: 56px;
            height: calc(100vh - 56px);
            background: var(--sidebar-bg);
            border-right: 1px solid var(--sidebar-border);
            overflow-y: auto;
            overflow-x: hidden;
            padding: .75rem .75rem 1rem .75rem;
            display: flex;
            flex-direction: column;
            grid-row: 1 / 3;
        }

        aside#sidebar .sidebar-nav {
            overflow: visible;
        }

        aside#sidebar>div:last-child {
            margin-top: auto;
        }

        main#content {
            padding: 0;
            grid-column: 2;
            grid-row: 2;
        }

        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: .5rem;
            padding: .0rem .5rem .0rem .5rem;
            min-width: 0;
            transition: justify-content .4s ease;
        }

        body.sidebar-collapsed .sidebar-header {
            justify-content: center;
            transition: justify-content .4s ease;
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .sidebar-header {
            justify-content: flex-start;
            transition: justify-content .4s ease;
        }

        #sidebarCollapseBtn {
            background: transparent;
            border: none;
            color: var(--muted);
            transition: color .2s ease;
        }

        #sidebarCollapseBtn:hover {
            background: transparent;
            color: var(--c-primary);
        }

        #sidebarCollapseIcon {
            transition: transform .3s ease;
        }

        body.sidebar-collapsed #sidebarCollapseIcon {
            transform: rotate(180deg);
        }

        .brand-pill {
            display: flex;
            align-items: center;
            gap: .6rem;
            padding: .5rem .65rem;
            border: 1px solid var(--border-2);
            border-radius: var(--radius-full);
            background: var(--surface-2);
        }

        .brand-dot {
            width: .8rem;
            height: .8rem;
            border-radius: var(--radius-full);
            background: linear-gradient(135deg, var(--c-primary), var(--c-primary-signal));
            box-shadow: 0 0 0 .25rem rgba(0, 227, 227, .14);
        }

        .sidebar-nav .nav-link {
            display: flex;
            align-items: center;
            gap: .65rem;
            border-radius: var(--radius-md);
            padding: .45rem .7rem;
            color: var(--muted);
            transition: all .18s ease;
            font-weight: 500;
            font-size: .9rem;
        }

        .sidebar-nav .nav-link:hover {
            background: rgba(0, 160, 245, .08);
            transform: translateX(2px);
            color: var(--text);
        }

        .sidebar-nav .nav-link.active {
            background: linear-gradient(90deg, rgba(0, 160, 245, .12), rgba(0, 160, 245, .06));
            border-left: 2px solid var(--c-primary);
            padding-left: calc(.7rem - 2px);
            font-weight: 600;
            color: var(--c-primary);
        }

        .sidebar-icon {
            width: 1.15rem;
            height: 1.15rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            transition: all .18s ease;
            font-size: .95rem;
        }

        body.sidebar-collapsed .sidebar-icon {
            width: 2.5rem;
            height: 2.5rem;
            font-size: 1.1rem;
        }

        .sidebar-nav .nav-link:hover .sidebar-icon {
            transform: scale(1.1);
        }

        .sidebar-nav .nav-link.active .sidebar-icon {
            color: var(--c-primary);
        }

        .sidebar-label {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1 1 auto;
        }

        .sidebar-chevron {
            opacity: .7;
            flex: 0 0 auto;
        }

        .submenu {
            margin: .25rem 0 .4rem 0;
            padding-left: 1.5rem;
        }

        .submenu .nav-link {
            padding: .35rem .6rem;
            border-radius: var(--radius-sm);
            gap: .5rem;
            font-size: .85rem;
        }

        .submenu .sub-dot {
            width: 4px;
            height: 4px;
            border-radius: var(--radius-full);
            background: var(--muted);
            flex: 0 0 auto;
        }

        .submenu .nav-link:hover .sub-dot,
        .submenu .nav-link.active .sub-dot {
            background: var(--c-primary);
        }

        /* Collapsed sidebar (desktop) */
        body.sidebar-collapsed .app-shell {
            grid-template-columns: var(--sidebar-w-collapsed) 1fr;
            transition: grid-template-columns .4s ease;
        }

        body.sidebar-collapsed:has(aside#sidebar:hover:not(.hover-blocked)) .app-shell {
            grid-template-columns: var(--sidebar-w) 1fr;
            transition: grid-template-columns .4s ease;
        }

        body.sidebar-collapsed aside#sidebar {
            padding-left: .5rem;
            padding-right: .5rem;
            width: var(--sidebar-w-collapsed);
            transition: width .4s ease;
            overflow-x: hidden;
            overflow-y: auto;
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) {
            width: var(--sidebar-w);
            overflow-y: auto;
            transition: width .4s ease;
        }

        aside#sidebar.hover-blocked:hover {
            width: var(--sidebar-w-collapsed) !important;
            transition: width .4s ease !important;
        }

        body.sidebar-collapsed .brand-pill .brand-text,
        body.sidebar-collapsed .sidebar-label,
        body.sidebar-collapsed .sidebar-chevron {
            opacity: 0;
            visibility: hidden;
            transition: opacity .2s ease, visibility .2s ease;
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .sidebar-label,
        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .sidebar-chevron {
            opacity: 1;
            visibility: visible;
            transition-delay: .15s;
        }

        body.sidebar-collapsed .sidebar-nav .nav-link {
            justify-content: center;
            padding: .2rem .5rem;
            width: 100%;
            border-radius: var(--radius-md);
        }

        body.sidebar-collapsed .sidebar-nav .nav-link.active {
            background: transparent;
            border-left: none;
            padding-left: .6rem;
        }

        body.sidebar-collapsed .sidebar-nav .nav-link.active .sidebar-icon {
            background: rgba(0, 160, 245, .15);
            border-radius: var(--radius-md);
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .sidebar-nav .nav-link {
            justify-content: flex-start;
            padding: .45rem .7rem;
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .sidebar-nav .nav-link.active {
            border-left: 2px solid var(--c-primary);
            padding-left: calc(.7rem - 2px);
            background: linear-gradient(90deg, rgba(0, 160, 245, .12), rgba(0, 160, 245, .06));
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .sidebar-nav .nav-link.active .sidebar-icon {
            background: transparent;
            width: 1.15rem;
            height: 1.15rem;
        }



        body.sidebar-collapsed .submenu {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height .3s ease, opacity .2s ease;
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .submenu.show {
            max-height: 500px;
            opacity: 1;
        }

        body.sidebar-collapsed .sidebar-item {
            position: relative;
        }

        body.sidebar-collapsed .submenu .nav-link {
            justify-content: flex-start;
        }

        /* Footer */
        footer.site-footer {
            background: var(--surface);
            border-top: 1px solid var(--border);
            padding: 1.5rem;
            margin-top: auto;
            transition: margin-left .4s ease;
        }

        footer.site-footer .footer-content {
            max-width: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
        }

        footer.site-footer .footer-text {
            color: var(--muted);
            font-size: 0.875rem;
        }

        footer.site-footer .footer-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        footer.site-footer .footer-links a {
            color: var(--muted);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color .2s ease;
        }

        footer.site-footer .footer-links a:hover {
            color: var(--c-primary);
        }

        #mobileSidebar {
            width: 280px;
        }

        /* Mobile: sidebar becomes offcanvas */
        @media (max-width: 991.98px) {
            .app-shell {
                grid-template-columns: 1fr;
            }

            aside#sidebar {
                display: none;
            }

            main#content {
                padding: 1rem;
            }

            footer.site-footer .footer-content {
                flex-direction: column;
                align-items: flex-start;
                text-align: left;
            }

            footer.site-footer .footer-links {
                flex-direction: column;
                gap: 0.75rem;
            }
        }

        /* Module cards */
        .module-card {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            height: 100%;
            --module-accent: var(--c-primary);
            border-left: 4px solid var(--module-accent);
            transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow .3s ease,
                background .2s ease,
                border-color .18s ease;
        }

        .module-card:hover,
        .module-card:focus-within {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(20, 26, 35, .08),
                0 12px 32px rgba(20, 26, 35, .12),
                0 24px 64px rgba(20, 26, 35, .08);
            background: var(--surface-2);
        }

        html[data-theme="dark"] .module-card:hover,
        html[data-theme="dark"] .module-card:focus-within {
            box-shadow: 0 4px 12px rgba(0, 0, 0, .3),
                0 12px 32px rgba(0, 0, 0, .4),
                0 24px 64px rgba(0, 0, 0, .2);
        }

        .module-card .card-body {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: .6rem;
            padding: 1.35rem 1.25rem;
        }

        .module-icon {
            width: 48px;
            height: 48px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            background: rgba(0, 0, 0, .04);
            border: 1px solid rgba(0, 0, 0, .05);
            color: var(--module-accent);
            flex: 0 0 auto;
            font-size: 1.4rem;
            transition: transform .2s ease, background .2s ease, border-color .2s ease;
            animation: none;
        }

        html[data-theme="dark"] .module-icon {
            background: rgba(255, 255, 255, .08);
            border-color: rgba(255, 255, 255, .12);
        }

        .module-card:hover .module-icon,
        .module-card:focus-within .module-icon {
            transform: translateY(-2px);
            background: rgba(0, 0, 0, .06);
            border-color: rgba(0, 0, 0, .12);
            animation: floatIcon 2.2s ease-in-out infinite;
            box-shadow: 0 0 20px rgba(0, 160, 245, 0.3),
                0 0 40px rgba(0, 160, 245, 0.15);
        }

        html[data-theme="dark"] .module-card:hover .module-icon,
        html[data-theme="dark"] .module-card:focus-within .module-icon {
            background: rgba(255, 255, 255, .12);
            border-color: rgba(255, 255, 255, .2);
            box-shadow: 0 0 20px rgba(0, 227, 227, 0.4),
                0 0 40px rgba(0, 227, 227, 0.2);
        }

        @keyframes floatIcon {
            0% {
                transform: translateY(-2px);
            }

            50% {
                transform: translateY(-6px);
            }

            100% {
                transform: translateY(-2px);
            }
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        .module-subtle {
            color: var(--muted);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
        }

        .module-headline {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: .85rem;
        }

        .module-eyebrow {
            font-size: .72rem;
            text-transform: uppercase;
            letter-spacing: .35px;
            color: var(--muted);
            margin-bottom: .15rem;
        }



        .module-card.module-disabled {
            cursor: pointer;
            --module-accent: var(--muted);
            border-left-color: rgba(20, 26, 35, .15);
            background: var(--surface);
        }

        html[data-theme="dark"] .module-card.module-disabled {
            border-left-color: rgba(232, 237, 247, .25);
        }

        .module-card.module-disabled .module-icon {
            background: rgba(20, 26, 35, .04);
            border-color: rgba(20, 26, 35, .08);
            color: var(--muted);
            animation: none;
            transform: none;
        }

        html[data-theme="dark"] .module-card.module-disabled .module-icon {
            background: rgba(232, 237, 247, .06);
            border-color: rgba(232, 237, 247, .16);
            color: var(--muted);
        }

        .module-card.module-disabled .module-title,
        .module-card.module-disabled .module-subtle {
            color: var(--muted);
        }

        .module-card.module-disabled .lock-chip {
            background: rgba(20, 26, 35, .08);
            border-color: rgba(20, 26, 35, .16);
            color: var(--muted);
        }

        html[data-theme="dark"] .module-card.module-disabled .lock-chip {
            background: rgba(232, 237, 247, .12);
            border-color: rgba(232, 237, 247, .24);
            color: var(--text);
        }

        .lock-chip {
            position: absolute;
            top: .85rem;
            right: .85rem;
            display: inline-flex;
            align-items: center;
            gap: .4rem;
            padding: .35rem .7rem;
            border-radius: var(--radius-full);
            border: 1px solid rgba(215, 0, 95, .25);
            background: rgba(215, 0, 95, .13);
            color: var(--text);
            font-size: .825rem;
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
            z-index: 4;
        }

        .module-card:hover .lock-chip,
        .module-card:focus-within .lock-chip {
            animation: pulseAccent 2.4s ease-in-out infinite;
        }

        @keyframes pulseAccent {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(215, 0, 95, .35);
            }

            50% {
                box-shadow: 0 0 0 12px rgba(215, 0, 95, 0);
            }
        }

        .teaser-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding: 1rem;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .22));
            opacity: 0;
            transition: opacity .15s ease;
            pointer-events: none;
            z-index: 3;
        }

        html[data-theme="dark"] .teaser-overlay {
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, .35));
        }

        .module-disabled:hover .teaser-overlay,
        .module-disabled:focus-within .teaser-overlay {
            opacity: 1;
        }

        .teaser-pill {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            padding: .5rem .75rem;
            border-radius: var(--radius-full);
            background: rgba(255, 255, 255, .82);
            border: 1px solid rgba(255, 255, 255, .55);
            color: #0b1020;
            box-shadow: var(--shadow-sm);
            font-weight: 600;
        }

        html[data-theme="dark"] .teaser-pill {
            background: rgba(14, 22, 40, .86);
            border-color: rgba(232, 237, 247, .14);
            color: var(--text);
        }

        /* Status badges (list groups) */
        .badge-status {
            border-radius: var(--radius-sm);
            padding: .25rem .55rem;
            font-weight: 600;
            font-size: .75rem;
            border: none;
            transition: all .2s ease;
            letter-spacing: 0.3px;
            position: relative;
            cursor: help;
        }

        .badge-status:hover {
            transform: scale(1.05);
            filter: brightness(1.1);
        }

        .badge-status[data-tooltip]::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%) translateY(-4px);
            background: rgba(14, 22, 40, 0.95);
            color: #fff;
            padding: .5rem .75rem;
            border-radius: var(--radius-md);
            font-size: .75rem;
            white-space: nowrap;
            pointer-events: none;
            opacity: 0;
            transition: opacity .2s ease, transform .2s ease;
            z-index: 1000;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .badge-status[data-tooltip]:hover::after {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .status-success {
            background: rgba(95, 200, 95, .14);
            color: var(--status-success-fg);
        }

        .status-warning {
            background: rgba(250, 230, 35, .18);
            color: var(--status-warning-fg);
        }

        .status-danger {
            background: rgba(240, 80, 65, .14);
            color: var(--status-danger-fg);
        }

        .status-info {
            background: rgba(0, 160, 245, .14);
            color: var(--status-info-fg);
        }

        .status-deep {
            background: rgba(65, 0, 85, .12);
            color: var(--status-deep-fg);
        }

        /* Dropdown theming */
        .dropdown-menu {
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            padding: .5rem;
            min-width: 18rem;
            background: rgba(255, 255, 255, 1);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.5);
            z-index: 1050;
        }

        html[data-theme="dark"] .dropdown-menu {
            background: rgba(14, 22, 40, 1);
            border: 1px solid rgba(232, 237, 247, 0.15);
        }

        .dropdown-item {
            border-radius: var(--radius-md);
            padding: .55rem .65rem;
            color: var(--text);
        }

        .dropdown-item:hover {
            background: rgba(0, 160, 245, .10);
        }

        .dropdown-divider {
            border-top-color: var(--border-2);
        }

        /* Navbar controls */
        .icon-btn {
            width: 42px;
            height: 42px;
            border-radius: var(--radius-full);
            display: grid;
            place-items: center;
            background: rgba(255, 255, 255, .55);
            color: var(--text);
            padding: 0 !important;
        }

        html[data-theme="dark"] .icon-btn {
            background: rgba(14, 22, 40, .55);
        }

        .icon-btn:hover {
            background: rgba(0, 160, 245, .10);
            border-color: rgba(0, 160, 245, .18);
        }

        .avatar {
            width: 42px;
            height: 42px;
            border-radius: var(--radius-full);
            display: grid;
            place-items: center;
            background: linear-gradient(135deg, rgba(0, 160, 245, .20), rgba(0, 227, 227, .16));
            font-weight: 700;
            color: var(--text);
            -webkit-user-select: none;
            user-select: none;
            pointer-events: none;
        }

        .unread-badge {
            position: absolute;
            top: 4px;
            right: -2px;
            min-width: 18px;
            height: 18px;
            border-radius: var(--radius-full);
            display: grid;
            place-items: center;
            padding: 0 4px;
            font-size: .62rem;
            font-weight: 800;
            background: var(--badge-unread-bg);
            color: var(--badge-unread-text);
            border: 2px solid var(--surface);
            line-height: 1;
            animation: badgePulse 2s ease-in-out infinite;
        }

        @keyframes badgePulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(215, 0, 95, 0.4);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 4px rgba(215, 0, 95, 0);
            }
        }

        html[data-theme="dark"] .unread-badge {
            border-color: var(--surface);
        }

        .notif-item {
            display: flex;
            gap: .75rem;
            align-items: flex-start;
        }

        .notif-dot {
            width: 10px;
            height: 10px;
            border-radius: var(--radius-full);
            margin-top: .35rem;
            background: rgba(0, 160, 245, .30);
            border: 1px solid rgba(0, 160, 245, .28);
            flex: 0 0 auto;
        }

        .notif-dot.unread {
            background: var(--c-primary-signal);
            border-color: rgba(0, 227, 227, .55);
            box-shadow: 0 0 0 .2rem rgba(0, 227, 227, .14);
        }

        .notif-meta {
            font-size: .825rem;
            color: var(--muted);
        }

        /* Notification list item with mark as read button */
        #notifList li {
            position: relative;
        }

        #notifList li .btn-sm {
            opacity: 0;
            transition: opacity 0.2s ease;
            padding: 0.25rem 0.5rem;
            min-width: 32px;
        }

        #notifList li:hover .btn-sm,
        #notifList li:focus-within .btn-sm {
            opacity: 1;
        }

        /* Toast */
        .toast {
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            background: rgba(255, 255, 255, 0.9);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            backdrop-filter: blur(16px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: var(--text);
        }

        .toast.showing {
            animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .toast.hide {
            animation: toastSlideOut 0.3s ease forwards;
        }

        @keyframes toastSlideIn {
            from {
                transform: translateX(100%) translateY(0);
                opacity: 0;
            }

            to {
                transform: translateX(0) translateY(0);
                opacity: 1;
            }
        }

        @keyframes toastSlideOut {
            from {
                transform: translateX(0) scale(1);
                opacity: 1;
            }

            to {
                transform: translateX(100%) scale(0.9);
                opacity: 0;
            }
        }

        html[data-theme="dark"] .toast {
            background: rgba(14, 22, 40, 0.9);
            border: 1px solid rgba(232, 237, 247, 0.15);
        }

        /* Toast variants */
        .toast.text-bg-primary,
        .toast.bg-primary {
            background-color: var(--c-primary) !important;
            color: #ffffff !important;
            border-color: rgba(0, 160, 245, 0.3) !important;
        }

        .toast.text-bg-secondary,
        .toast.bg-secondary {
            background-color: var(--c-signal-1) !important;
            color: #ffffff !important;
            border-color: rgba(0, 105, 130, 0.3) !important;
        }

        .toast.text-bg-success,
        .toast.bg-success {
            background-color: var(--c-success) !important;
            color: #ffffff !important;
            border-color: rgba(95, 200, 95, 0.3) !important;
        }

        .toast.text-bg-danger,
        .toast.bg-danger {
            background-color: var(--c-danger) !important;
            color: #ffffff !important;
            border-color: rgba(240, 80, 65, 0.3) !important;
        }

        .toast.text-bg-warning,
        .toast.bg-warning {
            background-color: var(--c-warning) !important;
            color: #000000 !important;
            border-color: rgba(250, 230, 35, 0.3) !important;
        }

        .toast.text-bg-info,
        .toast.bg-info {
            background-color: var(--c-primary) !important;
            color: #ffffff !important;
            border-color: rgba(0, 160, 245, 0.3) !important;
        }

        /* Alert variants */
        .alert {
            border-radius: var(--radius-lg) !important;
            border-width: 1px !important;
            padding: 1rem 1.25rem !important;
        }

        .alert-primary {
            background-color: rgba(0, 160, 245, 0.15) !important;
            color: var(--c-primary) !important;
            border-color: rgba(0, 160, 245, 0.3) !important;
        }

        html[data-theme="dark"] .alert-primary {
            background-color: rgba(0, 160, 245, 0.2) !important;
            color: #66c9ff !important;
        }

        .alert-secondary {
            background-color: rgba(0, 105, 130, 0.15) !important;
            color: var(--c-signal-1) !important;
            border-color: rgba(0, 105, 130, 0.3) !important;
        }

        html[data-theme="dark"] .alert-secondary {
            background-color: rgba(0, 105, 130, 0.2) !important;
            color: #00c8c8 !important;
        }

        .alert-success {
            background-color: rgba(95, 200, 95, 0.15) !important;
            color: #2d7a2d !important;
            border-color: rgba(95, 200, 95, 0.3) !important;
        }

        html[data-theme="dark"] .alert-success {
            background-color: rgba(95, 200, 95, 0.2) !important;
            color: #a8f0a8 !important;
        }

        .alert-danger {
            background-color: rgba(240, 80, 65, 0.15) !important;
            color: #b82015 !important;
            border-color: rgba(240, 80, 65, 0.3) !important;
        }

        html[data-theme="dark"] .alert-danger {
            background-color: rgba(240, 80, 65, 0.2) !important;
            color: #ffb3ab !important;
        }

        .alert-warning {
            background-color: rgba(250, 230, 35, 0.2) !important;
            color: #665a00 !important;
            border-color: rgba(250, 230, 35, 0.4) !important;
        }

        html[data-theme="dark"] .alert-warning {
            background-color: rgba(250, 230, 35, 0.25) !important;
            color: #ffe066 !important;
        }

        .alert-info {
            background-color: rgba(0, 160, 245, 0.15) !important;
            color: #00567d !important;
            border-color: rgba(0, 160, 245, 0.3) !important;
        }

        html[data-theme="dark"] .alert-info {
            background-color: rgba(0, 160, 245, 0.2) !important;
            color: #8fd4ff !important;
        }

        /* Soft separators */
        .soft-hr {
            height: 1px;
            background: var(--border-2);
            border: 0;
            margin: 0;
        }

        /* Dark mode toggle animation */
        .form-check-input[type="checkbox"] {
            cursor: pointer;
            transition: all .3s ease;
        }

        #themeToggle {
            position: relative;
            appearance: none;
            width: 48px;
            height: 24px;
            background: rgba(0, 160, 245, 0.2) !important;
            border-radius: var(--radius-full);
            outline: none;
            transition: background .3s ease;
            border: 0 !important;
        }

        #themeToggle::before {
            content: '☀️';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: var(--surface);
            border-radius: var(--radius-full);
            transition: transform .3s cubic-bezier(0.68, -0.55, 0.265, 1.55), background .3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .7rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

        }

        #themeToggle:checked {
            background: rgba(100, 50, 255, 0.3) !important;
            border: 0 !important;
        }

        #themeToggle:checked::before {
            content: '🌙';
            transform: translateX(24px) rotate(360deg);
        }

        .nav-pills .nav-link.active,
        .nav-pills .show>.nav-link {
            color: var(--text);

        }

        .sidenav-footer-content img {
            width: 80%;
        }

        /* Favorites section */
        .sidebar-favorites {
            margin-top: auto;
            padding-top: .75rem;
            border-top: 1px solid var(--border-2);
        }

        .favorites-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: .4rem .7rem;
            margin-bottom: .35rem;
        }

        .favorites-title {
            font-size: .75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .5px;
            color: var(--muted);
        }

        .favorites-add-btn {
            width: 1.35rem;
            height: 1.35rem;
            padding: 0;
            border-radius: var(--radius-sm);
            background: rgba(0, 160, 245, .08);
            border: none;
            color: var(--c-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .75rem;
            transition: all .18s ease;
        }

        .favorites-add-btn:hover {
            background: rgba(0, 160, 245, .15);
            transform: scale(1.05);
        }

        .favorite-item {
            display: flex;
            align-items: center;
            gap: .55rem;
            padding: .4rem .7rem;
            border-radius: var(--radius-sm);
            color: var(--muted);
            transition: all .18s ease;
            font-size: .85rem;
            text-decoration: none;
        }

        .favorite-item:hover {
            background: rgba(0, 160, 245, .08);
            color: var(--text);
            transform: translateX(2px);
        }

        .favorite-icon {
            color: var(--c-warning);
            font-size: .8rem;
        }

        .favorite-remove {
            margin-left: auto;
            opacity: 0;
            color: var(--muted);
            font-size: .7rem;
            transition: opacity .18s ease;
        }

        .favorite-item:hover .favorite-remove {
            opacity: 1;
        }

        .favorite-remove:hover {
            color: var(--c-danger);
        }

        body.sidebar-collapsed .sidebar-favorites {
            opacity: 0;
            visibility: hidden;
            max-height: 0;
            overflow: hidden;
            transition: opacity .2s ease, max-height .3s ease, visibility .2s ease;
        }

        body.sidebar-collapsed aside#sidebar:hover:not(.hover-blocked) .sidebar-favorites {
            opacity: 1;
            visibility: visible;
            max-height: 300px;
            transition-delay: .15s;
        }

        .sidebar-logo-container {
            margin-top: auto;
        }

        /* Grid/List Toggle */
        .btn-group .btn-check:checked+.btn {
            background: rgba(0, 160, 245, .2);
            border-color: rgba(0, 0, 0, 0)
        }

        /* Module Grid/List View */
        #moduleGrid.list-view {
            display: flex;
            flex-direction: column;
        }

        #moduleGrid.list-view .col-12 {
            display: contents;
        }

        #moduleGrid.list-view .module-card {
            display: flex;
            flex-direction: row;
            height: auto;
            margin-bottom: 1rem;
        }

        #moduleGrid.list-view .card-body {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        #moduleGrid.list-view .module-icon {
            width: 3.5rem;
            height: 3.5rem;
            margin-right: 1rem;
            flex-shrink: 0;
        }

        #moduleGrid.list-view .module-disabled:after {
            content: '';
        }

        /* Modern List Items - 2025 Style */
        .list-group-item {
            border: none;
            padding: 1rem 1.125rem;
            background: transparent;
            border-bottom: 1px solid var(--border-2);
            transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
            border-radius: var(--radius-md);
            margin-bottom: .5rem;
        }

        .list-group-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .list-group-item:hover {
            background: rgba(0, 160, 245, .08);
            border-bottom-color: transparent;
            transform: translateX(2px);
            box-shadow: inset 0 0 0 1px rgba(0, 160, 245, .12);
        }

        .list-group-item.list-group-item-action:focus,
        .list-group-item.list-group-item-action:active {
            background: rgba(0, 160, 245, .12);
            border-radius: var(--radius-md);
            box-shadow: inset 0 0 0 1px rgba(0, 160, 245, .2);
        }

        .badge-status {
            font-size: .75rem;
            padding: .4rem .6rem;
        }

        /* Loading spinner */
        .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(0, 160, 245, 0.2);
            border-top-color: var(--c-primary);
            border-radius: var(--radius-full);
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .spinner-lg {
            width: 40px;
            height: 40px;
            border-width: 3px;
        }

        /* Button loading state */
        .btn.loading {
            pointer-events: none;
            position: relative;
            color: transparent !important;
        }

        .btn.loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            margin-left: -8px;
            margin-top: -8px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: currentColor;
            border-radius: var(--radius-full);
            animation: spin 0.6s linear infinite;
            color: inherit;
        }

        .btn-primary.loading::after {
            border-color: rgba(4, 17, 31, 0.3);
            border-top-color: #04111f;
        }

        /* Report Cards */
        .report-card {
            cursor: pointer;
            transition: transform .2s ease, box-shadow .2s ease;
            position: relative;
            height: 100%;
        }

        .report-card:hover {
            transform: translateY(-2px);
        }

        .report-card .card-body {
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .report-favorite-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: transparent;
            border: none;
            color: var(--muted);
            font-size: 1.1rem;
            cursor: pointer;
            transition: all .2s ease;
            z-index: 2;
            padding: 0.25rem;
        }

        .report-favorite-btn:hover {
            color: var(--c-warning);
            transform: scale(1.1);
        }

        .report-favorite-btn.active {
            color: var(--c-warning);
        }

        .report-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            padding-right: 2rem;
        }

        .report-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin: 0.5rem 0;
            line-height: 1.3;
        }

        .report-description {
            font-size: 0.875rem;
            color: var(--muted);
            margin: 0;
            flex-grow: 1;
            line-height: 1.5;
        }

        .report-footer {
            margin-top: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border-2);
        }

        /* Enhanced Input Group Styles - Fancy AF Edition */
        .input-group {
            position: relative;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            filter: drop-shadow(0 2px 8px rgba(0, 160, 245, 0));
        }

        .input-group::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, 
                rgba(0, 227, 227, 0.15), 
                rgba(0, 160, 245, 0.15));
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }

        .input-group:focus-within::before {
            opacity: 1;
        }

        .input-group-text {
            border: none !important;
            background: var(--surface) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0.75rem 1rem !important;
            border-radius: 0 !important;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            color: var(--text);
            font-size: 0.95rem;
        }
        
        /* First input-group-text */
        .input-group-text:first-child {
            border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
        }
        
        /* Last input-group-text */
        .input-group-text:last-child {
            border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
        }

        /* Removed animated gradient background for cleaner look */

        .input-group-text i {
            font-size: 1.5rem !important;
            line-height: 1 !important;
            transition: all 0.3s ease;
            color: var(--text-muted);
            position: relative;
            z-index: 1;
        }

        /* Subtle icon effect on focus */
        .input-group:focus-within .input-group-text {
            background: var(--surface) !important;
        }

        .input-group:focus-within .input-group-text i {
            color: var(--c-primary);
        }

        /* Unified input styling */
        .form-control,
        .form-select {
            border: 1px solid var(--border) !important;
            background: var(--surface) !important;
            color: var(--text);
            border-radius: var(--radius-md) !important;
            padding: 0.75rem 1rem !important;
            transition: all 0.25s ease;
            font-size: 0.95rem;
            font-weight: 400;
            position: relative;
        }

        /* Override border-radius for input-group children - preserve radius on first/last */
        .input-group .form-control:not(:first-child):not(:last-child),
        .input-group .form-select:not(:first-child):not(:last-child) {
            border-radius: 0 !important;
        }
        
        .input-group .form-control:first-child,
        .input-group .form-select:first-child {
            border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
        }
        
        .input-group .form-control:last-child,
        .input-group .form-select:last-child {
            border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
        }
        
        .input-group .form-control,
        .input-group .form-select {
            padding: 0.75rem 1rem !important;
            border: none !important;
        }

        .form-control:focus,
        .form-select:focus {
            background: var(--surface) !important;
            color: var(--text);
            outline: none !important;
            border-color: var(--c-primary) !important;
            box-shadow: 0 0 0 2px rgba(0, 160, 245, 0.08) !important;
        }

        /* Reduce glow intensity for input-groups */
        .input-group .form-control:focus,
        .input-group .form-select:focus {
            box-shadow: none !important;
        }

        .form-control::placeholder,
        .form-select::placeholder {
            color: var(--muted);
            opacity: 0.5;
            font-weight: 400;
            transition: all 0.3s ease;
        }

        .form-control:focus::placeholder,
        .form-select:focus::placeholder {
            opacity: 0.3;
        }

        /* Seamless border removal between elements */
        .input-group .input-group-text,
        .input-group .form-control {
            margin: 2px;
        }

        .input-group:focus-within {
            filter: drop-shadow(0 4px 12px rgba(0, 160, 245, 0.08));
            transform: translateY(-1px);
        }

        /* Subtle hover effect */
        .input-group:hover:not(:focus-within) {
            filter: drop-shadow(0 2px 8px rgba(0, 160, 245, 0.06));
        }

        .input-group:hover:not(:focus-within) .input-group-text i {
            transform: scale(1.05);
            color: var(--c-primary);
        }

        /* Background shimmer effect - inside form control */
        .form-control::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(0, 227, 227, 0.15) 50%,
                transparent 100%
            );
            pointer-events: none;
            z-index: -1;
        }

        .form-control:focus::after {
            animation: shimmerSlide 2s ease-in-out infinite;
        }

        @keyframes shimmerSlide {
            0% {
                left: -100%;
            }
            100% {
                left: 200%;
            }
        }

        /* Glass morphism effect */
        .input-group-text,
        .form-control {
            -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
            backdrop-filter: blur(10px) saturate(180%) !important;
        }

        /* Dark mode enhancements */
        html[data-theme="dark"] .input-group::before {
            background: linear-gradient(135deg, 
                rgba(0, 227, 227, 0.4), 
                rgba(0, 160, 245, 0.3), 
                rgba(100, 50, 255, 0.3));
        }

        html[data-theme="dark"] .input-group:focus-within .input-group-text i {
            filter: drop-shadow(0 0 6px rgba(0, 227, 227, 0.6));
        }

        html[data-theme="dark"] .input-group:focus-within {
            filter: drop-shadow(0 8px 20px rgba(0, 227, 227, 0.25));
        }

        .report-category {
            animation: fadeInUp .4s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Breadcrumb Section */
        .breadcrumb-section {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 1rem 1.25rem;
            grid-column: 2;
            grid-row: 1;
        }

        .page-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            margin: 0;
            letter-spacing: -0.01em;
        }

        .breadcrumb {
            background: none;
            padding: 0;
            margin: 0;
            font-size: 0.8125rem;
            display: flex;
            align-items: center;
        }

        .breadcrumb-item {
            color: var(--muted);
            display: inline-flex;
            align-items: center;
        }

        .breadcrumb-item+.breadcrumb-item {
            padding-left: 0;
        }

        .breadcrumb-item+.breadcrumb-item::before {
            content: "\ea61";
            font-family: "tabler-icons" !important;
            font-style: normal;
            font-weight: 400;
            font-variant: normal;
            text-transform: none;
            color: var(--muted);
            font-size: 0.75rem;
            margin: 0 0.5rem;
            opacity: 0.5;
            line-height: 1;
            position: relative;
            top: 0px;
            speak: never;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            padding-right: 0 !important;
        }

        .breadcrumb-item a {
            color: var(--link);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .breadcrumb-item a:hover {
            color: var(--c-signal-4);
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: var(--text);
            font-weight: 500;
        }

        /*********		SIGN IN 		*******/

        #content-container.signinpage {
            background-image: url(/signinbg.png);
            background-size: cover;
            background-repeat: no-repeat;
            background-position-y: 23%;
            margin-top: -18px;
            min-height: calc(100vh - 50px);
        }

        #content-container.signinpage #content .nav.nav-tabs {
            display: none !important;
        }

        /* Sign In form */
        #content-container.signinpage .page-content.row .row {
            background: #ffffff;
        }

        @media (min-width: 992px) {
            #content-container.signinpage .page-content.row .row {
                -ms-flex: 0 0 40%;
                flex: 0 0 40%;
            }
        }

        @media (max-width: 992px) {
            #content-container.signinpage .page-content {
                flex-direction: column-reverse;
            }

            #content-container.signinpage .page-content.row .row {
                background: #fff;
            }
        }

        #content-container.signinpage .page-content.row .row .col-md-6 {
            -ms-flex: 0 0 100%;
            flex: 0 0 100%;
            max-width: 100%;
        }

        #content-container.signinpage .page-content.row .row .col-md-6:first-child {
            margin-bottom: 40px;
        }

        #content-container.signinpage .page-content.row .row .col-md-6 .form-group .label,
        #content-container.signinpage .page-content.row .row .col-md-6 .form-group .col-sm-8 {
            -ms-flex: 0 1 auto;
            flex: 0 1 auto;
            max-width: 100%;
        }

        #content-container.signinpage .page-content.row .row .col-md-6 .form-group .form-control {
            padding: 1em;
        }

        #content-container.signinpage .page-content #submit-signin-local {
            padding: .5rem 1rem;
            font-size: 1.25rem;
            line-height: 1.5;
            border-radius: .3rem;
            display: block;
            width: 100%;
        }

        #content-container.signinpage .page-content.row .row .col-md-6 form fieldset {
            position: relative;
        }

        button.btn[name='provider'] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            text-align: center;
            width: 100% !important;
            flex: 0 0 auto;
        }

        button.btn[title*="Sign in with your Microsoft account."],
        button.btn[title*="Microsoft"] {
            background-color: #2F2F2F !important;
            color: transparent !important;
            position: relative;
        }

        button.btn[title*="Sign in with your Microsoft account."]::after,
        button.btn[title*="Microsoft"]::after {
            content: "Sign in with Microsoft";
            /* New text to display */
            color: #ffffff;
            /* Text color for visibility */
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: bold;
        }


        button.btn[title*="Sign in with your Microsoft account."]::before,
        button.btn[title*="Microsoft"]::before {
            content: url('https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg');
            /* Microsoft's logo */
            display: inline-block;
            height: 20px;
            width: 20px;
            margin-right: 130px;
        }

        button.btn[title*="Sign in with your Google Workspace account."]::before,
        button.btn[title*="Google"]::before {
            content: url('https://upload.wikimedia.org/wikipedia/commons/3/3c/Google_Favicon_2025.svg');
            /* Google logo */
            display: inline-block;
            height: 20px;
            width: 20px;
            margin-right: 130px;
        }

        button.btn[title*="Sign in with your Google Workspace account."],
        button.btn[title*="Google"] {
            background-color: #000000 !important;
            color: transparent !important;
            position: relative;
        }


        button.btn[title*="Sign in with your Google Workspace account."]::after,
        button.btn[title*="Google"]::after {
            content: "Sign in with Google Workspace";
            /* New text to display */
            color: #ffffff;
            /* Text color for visibility */
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: bold;
        }

        button.btn[title*="Sign in with your Google Workspace account."]:hover,
        button.btn[title*="Google"]:hover {
            background-color: #2F2F2F !important;
            /* Lighter gray for hover */
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Hover effect */
        button.btn[title*="Sign in with your Microsoft account."]:hover,
        button.btn[title*="Microsoft"]:hover {
            background-color: #5F5F5F !important;
            /* Lighter gray for hover */
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Active (clicked) state */
        button.btn[title*="Sign in with your Microsoft account."]:active,
        button.btn[title*="Microsoft"]:active {
            background-color: #1E1E1E;
            /* Darker gray */
        }

        /* Focused state for accessibility */
        button.btn[title*="Sign in with your Microsoft account."]:focus,
        button.btn[title*="Microsoft"]:focus {
            outline: 2px solid #0078D4;
            /* Microsoft's blue */
            outline-offset: 2px;
        }

        button.btn[title*="thyssenkrupp Material Services"],
        button.btn[title*="Azure AD"] {
            color: transparent !important;
            position: relative;
        }

        button.btn[title*="thyssenkrupp Material Services"]::after,
        button.btn[title*="Azure AD"]::after {
            content: "Sign in with thyssenkrupp";
            /* New text to display */
            color: #ffffff;
            /* Text color for visibility */
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: bold;
        }


        button.btn[title*="thyssenkrupp Material Services"]::before,
        button.btn[title*="Azure AD"]::before {
            content: "";
            display: inline-block;
            background: url('/signet.png') no-repeat center center;
            background-size: contain;
            /* Resize the image to fit the container */
            width: 20px;
            /* Desired width */
            height: 20px;
            /* Desired height */
            margin-right: 10px;
        }

        /* Redeem Invotation Code Page */
        #content-container.signinpage.redeem {
            z-index: 1;
        }

        #content-container.signinpage.redeem #content .page-content form {
            background: #ffffff;
            border-radius: .25rem !important;
            margin-top: 100px;
            margin-bottom: 100px;
            padding-left: 2.14rem !important;
            padding-right: 2.14rem !important;
            padding-top: 2.85rem !important;
            padding-bottom: 2.85rem !important;
            flex-direction: column;
            justify-content: space-between;
        }

        @media (min-width: 992px) {
            #content-container.signinpage.redeem #content .page-content form {
                -ms-flex: 0 0 40%;
                flex: 0 0 40%;
                max-width: 40%;
            }
        }

        #content-container.signinpage.redeem #content .page-content form legend span {
            padding: 0px 10px;
        }

        input#InvitationCode,
        label[for*="InvitationCode"] {
            width: 100%;
            -ms-flex: 0 0 100%;
            flex: 0 0 100%;
            max-width: 100%;
        }

        #content-container.signinpage.redeem .col-sm-offset-2.col-sm-10 .checkbox {
            display: none;
        }

        button#submit-redeem-invitation {
            margin: 5px auto !important;
            width: 100%;
            padding: 1rem 1rem;
            font-size: 1.25rem;
            line-height: 1.5;
            border-radius: .3rem;
        }

        button#submit-redeem-invitation:hover {
            background: #008895;
        }


        #content-container.signinpage #mainContent {
            padding-top: 100px;
        }

        /* Register */
        #ContentContainer_MainContent_PageCopy_PageCopy {
            margin: 0px;
        }

        #Register {
            width: 100%;
        }

        #ContentContainer_MainContent_MainContent_SecureRegister .alert {
            display: none;
        }

        #Register #ContentContainer_MainContent_MainContent_SecureRegister .row {
            margin: 0 auto;
            margin-bottom: 50px;
        }

        #Register #ContentContainer_MainContent_MainContent_SecureRegister .row .col-md-6 button.btn[title*="Skill-interne"] {
            display: none;
        }

        label.col-md-2.col-form-label.required.fw-bold[for="InvitationCode"] {
            text-align: left;
        }


        #content-container.signinpage .page-content.row .row {
            -ms-flex: 0 0 40%;
            flex: 0 0 40% !important;
        }

        .login-heading-section-title {
            margin-top: 3rem !important;
        }

        .dropdown-menu>li>a:focus,
        .dropdown-menu>li>a:hover {
            padding: .55rem .65rem !important
        }

        /* Global Overlay for blocking UI */
        #globalOverlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #globalOverlay .overlay-content {
            text-align: center;
            min-width: 300px;
            color: #ffffff;
        }

        #overlayProgressContainer {
            width: 300px;
            margin: 0 auto;
            color: #ffffff;
        }

        #overlayProgressContainer .progress {
            height: 30px;
            font-size: 14px;
            font-weight: bold;
        }

        /* Toast container positioning */
        .toast-container {
            z-index: 10000;
        }

        html[dir=ltr] li a {
            margin-left: 0px !important;
        }


        /* Skeleton Loader / Lazy Load Animation */
        .skeleton-loader {
            display: inline-block;
            background: linear-gradient(90deg,
                    var(--bs-gray-200) 25%,
                    var(--bs-gray-300) 50%,
                    var(--bs-gray-200) 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s ease-in-out infinite;
            border-radius: 4px;
            color: transparent !important;
            -webkit-user-select: none;
            user-select: none;
            pointer-events: none;
        }

        /* Dark mode skeleton */
        html[data-theme="dark"] .skeleton-loader {
            background: linear-gradient(90deg,
                    rgba(255, 255, 255, 0.05) 25%,
                    rgba(255, 255, 255, 0.1) 50%,
                    rgba(255, 255, 255, 0.05) 75%);
            background-size: 200% 100%;
        }

        /* Skeleton animation */
        @keyframes skeleton-loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        /* Skeleton variants for different content types */
        .skeleton-loader.skeleton-text {
            width: 100%;
            height: 1em;
            display: inline-block;
        }

        .skeleton-loader.skeleton-text-short {
            width: 60%;
            height: 1em;
            display: inline-block;
        }

        .skeleton-loader.skeleton-heading {
            width: 80%;
            height: 1.5em;
            display: block;
            margin-bottom: 0.5em;
        }

        .skeleton-loader.skeleton-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        .skeleton-loader.skeleton-button {
            width: 120px;
            height: 38px;
            border-radius: 6px;
        }

        .skeleton-loader.skeleton-card {
            width: 100%;
            height: 200px;
            display: block;
            border-radius: 8px;
        }

        /* Menu Management Styles */
        .menu-tree .drag-handle {
            cursor: grab;
            display: flex;
            align-items: center;
            padding: 0 4px;
            color: var(--muted);
        }

        .menu-tree .drag-handle:active {
            cursor: grabbing;
        }

        .menu-tree .sortable-ghost {
            opacity: 0.5;
        }

        .menu-tree .sortable-ghost .card {
            background: var(--bs-primary-bg-subtle);
            border-color: var(--bs-primary);
        }

        .menu-tree .menu-children {
            margin-left: 3rem;
            margin-top: 0.5rem;
        }

        .menu-tree .sidebar-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bs-primary-bg-subtle);
            color: var(--bs-primary);
            border-radius: var(--radius-md);
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .menu-tree .sidebar-icon-sm {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bs-primary-bg-subtle);
            color: var(--bs-primary);
            border-radius: var(--radius-sm);
            font-size: 1rem;
            flex-shrink: 0;
        }

        .menu-edit-panel {
            position: sticky;
            top: 88px;
        }

        .menu-edit-panel .roles-container {
            max-height: 200px;
            overflow-y: auto;
        }

        .menu-edit-panel #iconPreview {
            font-size: 1.25rem;
            color: var(--bs-primary);
        }

        .skeleton-menu-item {
            height: 60px;
        }

        .badge.bg-soft-primary {
            background: var(--bs-primary-bg-subtle);
            color: var(--bs-primary);
        }

        .badge.bg-soft-secondary {
            background: var(--bs-secondary-bg-subtle);
            color: var(--bs-secondary);
        }

        .btn-close {
            --bs-btn-close-color: #000;
            --bs-btn-close-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e);
            --bs-btn-close-opacity: 0.5;
            --bs-btn-close-hover-opacity: 0.75;
            --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
            --bs-btn-close-focus-opacity: 1;
            --bs-btn-close-disabled-opacity: 0.25;
            box-sizing: content-box;
            width: 1em;
            height: 1em;
            padding: .25em .25em;
            color: var(--bs-btn-close-color);
            background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat;
            filter: var(--bs-btn-close-filter);
            border: 0;
            border-radius: .375rem;
            opacity: var(--bs-btn-close-opacity);
        }

        /* Utility Color Classes - Text Colors */
        .text-primary { color: var(--c-primary) !important; }
        .text-primary-signal { color: var(--c-primary-signal) !important; }
        .text-signal-1 { color: var(--c-signal-1) !important; }
        .text-signal-2 { color: var(--c-signal-2) !important; }
        .text-signal-3 { color: var(--c-signal-3) !important; }
        .text-signal-4 { color: var(--c-signal-4) !important; }
        .text-success { color: var(--c-success) !important; }
        .text-warning { color: var(--c-warning) !important; }
        .text-danger { color: var(--c-danger) !important; }
        .text-rose { color: var(--c-rose) !important; }
        .text-deep { color: var(--c-deep) !important; }

        /* Utility Color Classes - Background Colors (solid) */
        .bg-primary { background-color: var(--c-primary) !important; color: #ffffff !important; }
        .bg-primary-signal { background-color: var(--c-primary-signal) !important; color: #141a23 !important; }
        .bg-signal-1 { background-color: var(--c-signal-1) !important; color: #ffffff !important; }
        .bg-signal-2 { background-color: var(--c-signal-2) !important; color: #ffffff !important; }
        .bg-signal-3 { background-color: var(--c-signal-3) !important; color: #ffffff !important; }
        .bg-signal-4 { background-color: var(--c-signal-4) !important; color: #ffffff !important; }
        .bg-success { background-color: var(--c-success) !important; color: #ffffff !important; }
        .bg-warning { background-color: var(--c-warning) !important; color: #141a23 !important; }
        .bg-danger { background-color: var(--c-danger) !important; color: #ffffff !important; }
        .bg-rose { background-color: var(--c-rose) !important; color: #ffffff !important; }
        .bg-deep { background-color: var(--c-deep) !important; color: #ffffff !important; }

        /* Badge-style backgrounds with subtle opacity and contrasting text */
        .badge.bg-primary.bg-opacity-10 { background-color: rgba(0, 160, 245, 0.1) !important; color: var(--c-primary) !important; }
        .badge.bg-primary-signal.bg-opacity-10 { background-color: rgba(0, 227, 227, 0.1) !important; color: var(--c-primary-signal) !important; }
        .badge.bg-signal-1.bg-opacity-10 { background-color: rgba(0, 105, 130, 0.1) !important; color: var(--c-signal-1) !important; }
        .badge.bg-signal-2.bg-opacity-10 { background-color: rgba(0, 160, 160, 0.1) !important; color: var(--c-signal-2) !important; }
        .badge.bg-signal-3.bg-opacity-10 { background-color: rgba(0, 85, 85, 0.1) !important; color: var(--c-signal-3) !important; }
        .badge.bg-signal-4.bg-opacity-10 { background-color: rgba(100, 50, 255, 0.1) !important; color: var(--c-signal-4) !important; }
        .badge.bg-success.bg-opacity-10 { background-color: rgba(95, 200, 95, 0.1) !important; color: var(--c-success) !important; }
        .badge.bg-warning.bg-opacity-10 { background-color: rgba(250, 230, 35, 0.2) !important; color: #5d4f00 !important; }
        .badge.bg-danger.bg-opacity-10 { background-color: rgba(240, 80, 65, 0.1) !important; color: var(--c-danger) !important; }
        .badge.bg-rose.bg-opacity-10 { background-color: rgba(215, 0, 95, 0.1) !important; color: var(--c-rose) !important; }
        .badge.bg-deep.bg-opacity-10 { background-color: rgba(65, 0, 85, 0.1) !important; color: var(--c-deep) !important; }

        /* Dark mode adjustments for badges */
        html[data-theme="dark"] .badge.bg-primary.bg-opacity-10 { background-color: rgba(0, 160, 245, 0.15) !important; }
        html[data-theme="dark"] .badge.bg-success.bg-opacity-10 { background-color: rgba(95, 200, 95, 0.15) !important; }
        html[data-theme="dark"] .badge.bg-warning.bg-opacity-10 { background-color: rgba(250, 230, 35, 0.25) !important; color: #fae623 !important; }
        html[data-theme="dark"] .badge.bg-danger.bg-opacity-10 { background-color: rgba(240, 80, 65, 0.15) !important; }
        html[data-theme="dark"] .badge.bg-signal-4.bg-opacity-10 { background-color: rgba(100, 50, 255, 0.15) !important; }
        html[data-theme="dark"] .badge.bg-rose.bg-opacity-10 { background-color: rgba(215, 0, 95, 0.15) !important; }
        html[data-theme="dark"] .badge.bg-deep.bg-opacity-10 { background-color: rgba(65, 0, 85, 0.15) !important; }

        /* Color Picker Component */
        .color-picker-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
            gap: 8px;
            padding: 8px 0;
        }

        .color-swatch {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-md);
            border: 2px solid transparent;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-sm);
        }

        .color-swatch:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            border-color: var(--border);
        }

        .color-swatch.selected {
            border-color: var(--text);
            box-shadow: 0 0 0 4px rgba(0, 160, 245, 0.2);
        }

        .color-swatch-check {
            color: white;
            font-size: 1.25rem;
            opacity: 0;
            transition: opacity 0.2s ease;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }

        .color-swatch.selected .color-swatch-check {
            opacity: 1;
        }

        /* Special handling for light colors */
        .color-swatch.bg-warning .color-swatch-check,
        .color-swatch.bg-primary-signal .color-swatch-check {
            color: var(--text);
            text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
        }