/* Public website styles */

:root {
            --primary-color: #ef1b1b;
            --primary-dark: #b91c1c;
            --accent-red: #ff3b3b;
            --accent-red-dark: #b91c1c;
            --dark-bg: #070707;
            --dark-nav: #111111;
            --surface-1: #0d0d0d;
            --surface-2: #151515;
            --surface-3: #1d1d1d;
            --border-color: rgba(255, 255, 255, 0.11);
            --border-red: rgba(239, 27, 27, 0.4);
            --text-white: #ffffff;
            --text-light: #c5c5c5;
            --text-muted: #929292;
            --focus-ring: 0 0 0 0.22rem rgba(239, 27, 27, 0.28);
            color-scheme: dark;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background:
                radial-gradient(circle at 50% -20%, rgba(185, 28, 28, 0.16), transparent 34rem),
                var(--dark-bg);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            color: var(--text-white);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        ::selection {
            background: rgba(239, 27, 27, 0.78);
            color: #fff;
        }
        
        /* Top Navigation Bar - Optimized */
        .top-navbar {
            background: var(--dark-nav);
            padding: 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .navbar-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        .navbar-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 0;
            min-height: 70px;
        }
        
        /* Logo Section - Compact */
        .logo-section {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            flex-shrink: 0;
        }
        
        .logo-image {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #10b981, #059669);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
            flex-shrink: 0;
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .logo-text .main-text {
            font-size: 1.25rem;
            font-weight: 900;
            color: #ef4444;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            line-height: 1.2;
            white-space: nowrap;
        }
        
        .logo-text .sub-text {
            font-size: 0.75rem;
            color: var(--text-white);
            font-weight: 600;
            opacity: 0.9;
        }
        
        /* Navigation Links - Compact */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            list-style: none;
            margin: 0;
            padding: 0;
            flex-wrap: wrap;
        }
        
        .nav-links .nav-item {
            position: relative;
        }
        
        .nav-links .nav-link {
            color: var(--text-white) !important;
            font-weight: 600;
            font-size: 0.875rem;
            padding: 0.5rem 0.875rem !important;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s;
            position: relative;
            text-transform: uppercase;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }
        
        .nav-links .nav-link i {
            font-size: 0.9rem;
        }
        
        .nav-links .nav-link:hover {
            background: rgba(239, 27, 27, 0.1);
            color: var(--accent-red) !important;
        }
        
        .nav-links .nav-link.active {
            background: linear-gradient(135deg, rgba(239, 27, 27, 0.2), rgba(185, 28, 28, 0.2));
            color: var(--accent-red) !important;
        }
        
        .nav-links .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-red), var(--accent-red-dark));
            border-radius: 2px;
        }
        
        /* Right Side Icons & Buttons - Compact */
        .nav-right {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
        }
        
        .icon-button {
            position: relative;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 0.5rem;
            color: var(--text-white);
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
        }
        
        .icon-button:hover {
            background: rgba(239, 27, 27, 0.2);
            border-color: var(--accent-red);
            color: var(--accent-red);
            transform: translateY(-2px);
        }
        
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ef4444;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            font-weight: 700;
            border: 2px solid var(--dark-nav);
            transition: all 0.3s;
        }
        
        .notification-badge:empty {
            display: none;
        }
        
        /* Notification Dropdown */
        .notification-dropdown {
            position: relative;
        }
        
        .notification-menu {
            width: 380px;
            max-width: 90vw;
            max-height: 500px;
            background: var(--dark-nav);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
            padding: 0;
            overflow: hidden;
            margin-top: 0.5rem;
        }
        
        .notification-header {
            padding: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(239, 27, 27, 0.05);
        }
        
        .notification-header h6 {
            color: var(--text-white);
            font-weight: 700;
            margin: 0;
            font-size: 1rem;
        }
        
        .notification-list {
            max-height: 350px;
            overflow-y: auto;
            padding: 0.5rem 0;
        }
        
        .notification-item {
            padding: 0.875rem 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            gap: 0.75rem;
            position: relative;
        }
        
        .notification-item:hover {
            background: rgba(239, 27, 27, 0.1);
        }
        
        .notification-item.unread {
            background: rgba(239, 27, 27, 0.05);
        }
        
        .notification-item.unread::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--accent-red);
        }
        
        .notification-icon {
            width: 40px;
            height: 40px;
            min-width: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }
        
        .notification-icon.success {
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
        }
        
        .notification-icon.danger {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }
        
        .notification-icon.warning {
            background: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
        }
        
        .notification-icon.info {
            background: rgba(239, 27, 27, 0.2);
            color: var(--accent-red);
        }
        
        .notification-icon.primary {
            background: rgba(185, 28, 28, 0.2);
            color: var(--accent-red-dark);
        }
        
        .notification-content {
            flex: 1;
            min-width: 0;
        }
        
        .notification-title {
            color: var(--text-white);
            font-weight: 600;
            font-size: 0.875rem;
            margin-bottom: 0.25rem;
            line-height: 1.4;
        }
        
        .notification-message {
            color: var(--text-light);
            font-size: 0.8rem;
            line-height: 1.4;
            margin-bottom: 0.25rem;
        }
        
        .notification-time {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.7rem;
        }
        
        .notification-empty {
            padding: 2rem 1rem;
            text-align: center;
            color: var(--text-light);
        }
        
        .notification-empty i {
            font-size: 3rem;
            opacity: 0.3;
            margin-bottom: 0.5rem;
        }
        
        .notification-footer {
            padding: 0.75rem 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            background: rgba(0, 0, 0, 0.2);
        }
        
        .notification-loading {
            padding: 2rem;
            color: var(--text-light);
        }
        
        @media (max-width: 768px) {
            .notification-menu {
                width: 320px;
            }
        }
        
        /* Auth Buttons - CSS chung cho header */
        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        /* Scope cụ thể cho header để tránh conflict với form */
        .auth-buttons .auth-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            padding: 0.4rem 0.875rem;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.8rem;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            white-space: nowrap;
            height: 36px;
            cursor: pointer;
            letter-spacing: 0.3px;
        }
        
        .auth-buttons .auth-btn i {
            font-size: 0.9rem;
        }
        
        .auth-buttons .auth-btn-login {
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(185, 28, 28, 0.2));
            color: #a5b4fc;
            border: 1.5px solid rgba(185, 28, 28, 0.4);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }
        
        .auth-buttons .auth-btn-login::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        
        .auth-buttons .auth-btn-login:hover {
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(185, 28, 28, 0.3));
            border-color: rgba(185, 28, 28, 0.6);
            color: #c7d2fe;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
        }
        
        .auth-buttons .auth-btn-login:hover::before {
            left: 100%;
        }
        
        .auth-buttons .auth-btn-register {
            background: linear-gradient(135deg, #dc2626, #b91c1c, #ec4899);
            background-size: 200% 200%;
            color: #ffffff;
            border: none;
            box-shadow: 
                0 4px 15px rgba(220, 38, 38, 0.4),
                0 0 20px rgba(185, 28, 28, 0.3);
            position: relative;
            overflow: hidden;
            animation: gradient-shift 3s ease infinite;
        }
        
        .auth-buttons .auth-btn-register::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s;
        }
        
        @keyframes gradient-shift {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }
        
        .auth-buttons .auth-btn-register:hover {
            background: linear-gradient(135deg, #b91c1c, #991b1b, #db2777);
            transform: translateY(-2px);
            box-shadow: 
                0 6px 20px rgba(220, 38, 38, 0.5),
                0 0 30px rgba(185, 28, 28, 0.4);
        }
        
        .auth-buttons .auth-btn-register:hover::before {
            left: 100%;
        }
        
        /* User Dropdown */
        .user-dropdown {
            position: relative;
        }
        
        /* User Profile Container */
        .user-profile-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            padding: 0.2rem 0.5rem 0.2rem 0.2rem;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            height: 40px;
        }
        
        .user-profile-container:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
        }
        
        .user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s;
        }
        
        .user-profile-container:hover .user-avatar {
            transform: scale(1.05);
        }
        
        .user-avatar-letter {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: #ffd700;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1a1a1a;
            font-weight: 900;
            font-size: 0.95rem;
            box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
            text-shadow: none;
            transition: all 0.3s;
            letter-spacing: 0;
            padding: 0.1rem;
            line-height: 1;
        }
        
        .user-profile-container:hover .user-avatar-letter {
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
            transform: scale(1.02);
        }
        
        .user-dropdown-indicator {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            flex-shrink: 0;
        }
        
        .user-dropdown-indicator i {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.65rem;
            transition: transform 0.3s;
        }
        
        .user-dropdown.show .user-profile-container {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        .user-dropdown.show .user-dropdown-indicator {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        .user-dropdown.show .user-dropdown-indicator i {
            transform: rotate(180deg);
            color: rgba(255, 255, 255, 0.8);
        }
        
        .user-profile-container:hover .user-dropdown-indicator {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.18);
        }
        
        .user-profile-container:hover .user-dropdown-indicator i {
            color: rgba(255, 255, 255, 0.8);
        }
        
        /* Ẩn mũi tên tự động của Bootstrap */
        .user-profile-container.dropdown-toggle::after {
            display: none !important;
        }
        
        .icon-button.dropdown-toggle::after {
            display: none !important;
        }
        
        /* Mobile Menu Toggle */
        .mobile-toggle {
            display: none;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 0.5rem;
            color: var(--text-white);
            font-size: 1.5rem;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
        }
        
        /* Dropdown Menu */
        .dropdown-menu {
            border-radius: 12px;
            border: none;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            margin-top: 0.5rem;
            background: var(--dark-nav);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .dropdown-item {
            padding: 0.75rem 1.25rem;
            transition: all 0.3s;
            color: var(--text-white);
        }
        
        .dropdown-item:hover {
            background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
            color: var(--text-white);
        }
        
        /* Mobile Responsive */
        @media (max-width: 992px) {
            .navbar-content {
                position: relative;
                justify-content: space-between;
            }
            
            .logo-section {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                z-index: 1;
            }
            
            .mobile-toggle {
                display: flex;
                order: -1;
                z-index: 2;
            }
            
            .nav-right {
                order: 1;
                z-index: 2;
            }
            
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--dark-nav);
                flex-direction: column;
                align-items: flex-start;
                padding: 1rem;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
                border-top: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .nav-links.show {
                display: flex;
            }
            
            .nav-links .nav-link {
                width: 100%;
                padding: 0.75rem 1rem !important;
                border-radius: 8px;
                margin-bottom: 0.5rem;
                justify-content: flex-start;
                text-align: left;
            }
            
            .nav-links .nav-item {
                width: 100%;
            }
            
            .logo-text .main-text {
                font-size: 1.1rem;
            }
            
            .logo-text .sub-text {
                font-size: 0.7rem;
            }
            
            .logo-image {
                width: 45px;
                height: 45px;
                font-size: 1.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .navbar-container {
                padding: 0 0.75rem;
            }
            
            .navbar-content {
                padding: 0.5rem 0;
                min-height: 60px;
                position: relative;
                justify-content: space-between;
                display: grid;
                grid-template-columns: 56px 1fr auto; /* trái: menu, giữa: logo, phải: auth */
                align-items: center;
                column-gap: 0.25rem;
            }
            
            .logo-section {
                gap: 0.5rem;
                grid-column: 2;
                justify-content: center;
                text-align: center;
                /* mobile: tránh absolute gây lệch tâm */
                position: static !important;
                left: auto !important;
                transform: none !important;
            }

            .nav-right {
                position: relative;
                z-index: 3;
                grid-column: 3;
                justify-self: end;
                flex: 0 0 auto;
            }

            .auth-buttons {
                position: relative;
                z-index: 4;
                flex-wrap: nowrap;
                justify-content: flex-end;
            }

            .mobile-toggle {
                position: relative;
                z-index: 4;
                grid-column: 1;
                justify-self: start;
            }
            
            .logo-image {
                width: 40px;
                height: 40px;
                font-size: 1.25rem;
            }
            
            .logo-text .main-text {
                font-size: 1rem;
            }
            
            .logo-text .sub-text {
                display: none;
            }
            
            .icon-button {
                width: 36px;
                height: 36px;
                padding: 0.375rem;
                font-size: 1rem;
            }
            
            .auth-buttons .auth-btn {
                padding: 0.4rem 0.75rem;
                font-size: 0.75rem;
                height: 36px;
                border-radius: 10px;
                font-weight: 700;
            }
            
            .auth-buttons .auth-btn i {
                font-size: 0.9rem;
                margin: 0;
            }
            
            .auth-buttons .auth-btn span {
                display: none !important; /* mobile: chỉ hiển thị icon, không hiện chữ */
            }

            /* mobile: thu gọn nút để vừa màn hình và không làm lệch logo */
            .auth-buttons .auth-btn {
                padding: 0.35rem 0.45rem !important;
                width: 52px; /* icon-only button */
                justify-content: center;
            }

            .auth-buttons .auth-btn i {
                margin: 0 !important;
                font-size: 1rem;
            }

            .auth-buttons {
                gap: 0.35rem;
            }
            
            .auth-buttons .auth-btn-login {
                background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(185, 28, 28, 0.25));
                border: 1.5px solid rgba(185, 28, 28, 0.5);
                color: #c7d2fe;
            }
            
            .auth-buttons .auth-btn-register {
                background: linear-gradient(135deg, #dc2626, #b91c1c);
                box-shadow: 
                    0 4px 15px rgba(220, 38, 38, 0.5),
                    0 0 25px rgba(185, 28, 28, 0.4);
            }
            
            .user-profile-container {
                gap: 0.4rem;
                padding: 0.15rem 0.4rem 0.15rem 0.15rem;
                height: 36px;
            }
            
            .user-avatar {
                width: 28px;
                height: 28px;
            }
            
            .user-avatar-letter {
                font-size: 0.875rem;
            }
            
            .user-dropdown-indicator {
                width: 22px;
                height: 22px;
            }
            
            .user-dropdown-indicator i {
                font-size: 0.6rem;
            }
        }
        
        @media (max-width: 576px) {
            .logo-text .main-text {
                font-size: 0.9rem;
            }
            
            .notification-badge {
                width: 16px;
                height: 16px;
                font-size: 0.6rem;
            }
        }

.system-notification-banner {
        background: linear-gradient(135deg, rgba(239, 27, 27, 0.15), rgba(185, 28, 28, 0.15));
        border-bottom: 2px solid rgba(239, 27, 27, 0.3);
        padding: 1rem 0;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .system-notification-content {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .system-notification-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .system-notification-icon.success {
        background: rgba(34, 197, 94, 0.2);
        color: #22c55e;
    }
    
    .system-notification-icon.danger {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
    }
    
    .system-notification-icon.warning {
        background: rgba(251, 191, 36, 0.2);
        color: #fbbf24;
    }
    
    .system-notification-icon.info {
        background: rgba(239, 27, 27, 0.2);
        color: var(--accent-red);
    }
    
    .system-notification-icon.primary {
        background: rgba(185, 28, 28, 0.2);
        color: var(--accent-red-dark);
    }
    
    .system-notification-text {
        flex: 1;
        min-width: 200px;
    }
    
    .system-notification-text strong {
        color: var(--text-white);
        font-size: 1rem;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .system-notification-text p {
        color: var(--text-light);
        font-size: 0.875rem;
        margin: 0;
    }
    
    .system-notification-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .close-system-notification {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--text-white);
        border-radius: 8px;
        padding: 0.4rem 0.6rem;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .close-system-notification:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    @media (max-width: 768px) {
        .system-notification-content {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .system-notification-actions {
            width: 100%;
            justify-content: flex-end;
        }
        
        .system-notification-text {
            width: 100%;
        }
    }

.site-footer {
                background: linear-gradient(180deg, var(--dark-nav) 0%, #080808 100%);
                color: white;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                position: relative;
                overflow: hidden;
            }
            
            .site-footer::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 1px;
                background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
            }
            
            .footer-top {
                padding: 4rem 0 3rem;
                position: relative;
            }
            
            .footer-widget {
                margin-bottom: 2rem;
            }
            
            .footer-widget-title {
                color: var(--accent-red);
                font-weight: 700;
                font-size: 1.125rem;
                margin-bottom: 1.5rem;
                position: relative;
                padding-bottom: 0.75rem;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            
            .footer-widget-title::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 40px;
                height: 3px;
                background: linear-gradient(90deg, var(--accent-red), var(--accent-red-dark));
                border-radius: 2px;
            }
            
            .footer-logo {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                margin-bottom: 1.5rem;
            }
            
            .footer-logo-icon {
                width: 50px;
                height: 50px;
                background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.5rem;
                box-shadow: 0 4px 15px rgba(239, 27, 27, 0.3);
            }
            
            .footer-logo-text {
                font-size: 1.25rem;
                font-weight: 900;
                color: var(--accent-red);
                text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            }
            
            .footer-description {
                color: var(--text-light);
                line-height: 1.8;
                font-size: 0.9375rem;
                margin-bottom: 1.5rem;
            }
            
            .footer-badges {
                display: flex;
                flex-wrap: wrap;
                gap: 0.75rem;
            }
            
            .footer-badge {
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                padding: 0.5rem 1rem;
                background: rgba(239, 27, 27, 0.1);
                border: 1px solid rgba(239, 27, 27, 0.2);
                border-radius: 8px;
                color: var(--text-white);
                font-size: 0.875rem;
                font-weight: 500;
                transition: all 0.3s;
            }
            
            .footer-badge:hover {
                background: rgba(239, 27, 27, 0.2);
                border-color: var(--accent-red);
                transform: translateY(-2px);
            }
            
            .footer-badge i {
                color: var(--accent-red);
                font-size: 1rem;
            }
            
            .footer-links {
                list-style: none;
                padding: 0;
                margin: 0;
            }
            
            .footer-links li {
                margin-bottom: 0.75rem;
            }
            
            .footer-links li:last-child {
                margin-bottom: 0;
            }
            
            .footer-links a {
                color: var(--text-light);
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 0.75rem;
                transition: all 0.3s;
                font-size: 0.9375rem;
                padding: 0.25rem 0;
            }
            
            .footer-links a i {
                color: var(--accent-red);
                font-size: 0.875rem;
                width: 16px;
                transition: transform 0.3s;
            }
            
            .footer-links a:hover {
                color: var(--accent-red);
                padding-left: 0.5rem;
            }
            
            .footer-links a:hover i {
                transform: translateX(4px);
            }
            
            .footer-contact-item {
                display: flex;
                align-items: flex-start;
                gap: 1rem;
                margin-bottom: 1.25rem;
                color: var(--text-light);
                font-size: 0.9375rem;
                line-height: 1.6;
            }
            
            .footer-contact-item:last-child {
                margin-bottom: 0;
            }
            
            .footer-contact-icon {
                width: 40px;
                height: 40px;
                min-width: 40px;
                background: rgba(239, 27, 27, 0.1);
                border: 1px solid rgba(239, 27, 27, 0.2);
                border-radius: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--accent-red);
                font-size: 1.125rem;
                transition: all 0.3s;
            }
            
            .footer-contact-item:hover .footer-contact-icon {
                background: rgba(239, 27, 27, 0.2);
                border-color: var(--accent-red);
                transform: scale(1.1);
            }
            
            .footer-contact-content {
                flex: 1;
            }
            
            .footer-contact-label {
                color: var(--text-white);
                font-weight: 600;
                margin-bottom: 0.25rem;
                font-size: 0.875rem;
            }
            
            .footer-contact-value {
                color: var(--text-light);
                word-break: break-word;
            }
            
            .footer-social {
                display: flex;
                gap: 0.75rem;
                margin-top: 1.5rem;
            }
            
            .footer-social-link {
                width: 42px;
                height: 42px;
                background: rgba(255, 255, 255, 0.05);
                border: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--text-white);
                font-size: 1.125rem;
                text-decoration: none;
                transition: all 0.3s;
            }
            
            .footer-social-link:hover {
                background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
                border-color: transparent;
                color: white;
                transform: translateY(-3px);
                box-shadow: 0 4px 15px rgba(239, 27, 27, 0.3);
            }
            
            .footer-bottom {
                padding: 2rem 0;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                background: rgba(0, 0, 0, 0.2);
            }
            
            .footer-bottom-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .footer-copyright {
                color: var(--text-light);
                font-size: 0.875rem;
                margin: 0;
            }
            
            .footer-copyright strong {
                color: var(--accent-red);
                font-weight: 700;
            }
            
            .footer-legal {
                display: flex;
                gap: 1.5rem;
                flex-wrap: wrap;
            }
            
            .footer-legal a {
                color: var(--text-light);
                text-decoration: none;
                font-size: 0.875rem;
                transition: all 0.3s;
            }
            
            .footer-legal a:hover {
                color: var(--accent-red);
            }
            
            @media (max-width: 992px) {
                .footer-top {
                    padding: 3rem 0 2rem;
                }
                
                .footer-widget {
                    margin-bottom: 2.5rem;
                }
            }
            
            @media (max-width: 768px) {
                .footer-top {
                    padding: 2.5rem 0 1.5rem;
                }
                
                .footer-bottom-content {
                    flex-direction: column;
                    text-align: center;
                }
                
                .footer-legal {
                    justify-content: center;
                }
                
                .footer-social {
                    justify-content: center;
                }
            }

/* Shared black-red design system */
html {
    background: var(--dark-bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

a {
    color: var(--accent-red);
}

a:hover {
    color: #ff6b6b;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent-red) !important;
    outline-offset: 3px;
    box-shadow: var(--focus-ring) !important;
}

.top-navbar {
    border-bottom: 1px solid var(--border-red);
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(16px);
}

.site-logo-image {
    width: auto;
    max-width: 200px;
    height: 50px;
    object-fit: contain;
}

.site-footer {
    margin-top: 4rem;
}

.footer-description-spaced {
    margin-bottom: 1rem;
}

.notification-action-link,
.notification-view-all {
    color: var(--accent-red) !important;
    text-decoration: none;
}

.notification-action-link {
    font-size: 0.75rem;
}

.notification-view-all {
    font-size: 0.875rem;
}

.dropdown-divider {
    border-color: var(--border-color);
}

.dropdown-logout-button {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
}

.auth-readonly-input {
    background-color: rgba(255, 255, 255, 0.03);
}

.account-detail-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-image.is-clickable {
    cursor: pointer;
}

.popup-image.is-static {
    cursor: default;
}

.card,
.modal-content,
.dropdown-menu,
.offcanvas {
    color: var(--text-white);
    background-color: var(--surface-2);
    border-color: var(--border-color);
}

.form-control,
.form-select,
.input-group-text {
    color: var(--text-white);
    background-color: var(--surface-1);
    border-color: var(--border-color);
}

.form-control::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

.form-control:focus,
.form-select:focus {
    color: var(--text-white);
    background-color: var(--surface-1);
    border-color: var(--accent-red);
    box-shadow: var(--focus-ring);
}

.btn-primary,
.btn-danger {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    box-shadow: 0 0.35rem 1.1rem rgba(185, 28, 28, 0.2);
}

.btn-primary:hover,
.btn-danger:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff3b3b, #991b1b);
    border-color: #ff3b3b;
}

.btn-outline-primary {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.table {
    --bs-table-color: var(--text-white);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--border-color);
    --bs-table-hover-color: #fff;
    --bs-table-hover-bg: rgba(239, 27, 27, 0.06);
}

.flash-alert-success {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.13);
    border: 1px solid rgba(34, 197, 94, 0.42);
}

.flash-alert-danger {
    color: #ff7b7b;
    background: rgba(239, 27, 27, 0.14);
    border: 1px solid rgba(239, 27, 27, 0.44);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-dark) var(--surface-1);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Deduplicated utilities migrated from legacy inline styles */
.u-0049a4e86b { color: rgba(255, 255, 255, 0.6) !important; }
.u-0413a4dc69 { background: linear-gradient(135deg, rgba(239, 27, 27,0.2), rgba(185, 28, 28,0.2)) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 15px 15px 0 0 !important; }
.u-048b9a2b26 { display: block; }
.u-06eeebc88f { max-width: 100%; height: auto; }
.u-0a563cf175 { background: rgba(34, 197, 94, 0.2); border: 1px solid rgba(34, 197, 94, 0.5); color: #22c55e; border-radius: 12px; margin-bottom: 1.5rem; }
.u-0c486d2781 { color: #ff3b3b !important; font-weight: 700 !important; margin-bottom: 0.75rem !important; font-size: 0.95rem !important; }
.u-17d832c8fd { font-size: 3rem; opacity: 0.5; }
.u-19bfdbe006 { background: rgba(239, 68, 68, 0.15) !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; border-radius: 10px !important; padding: 1rem !important; margin-bottom: 1rem !important; }
.u-1bf270e4be { background: rgba(34, 197, 94, 0.2); border: 1px solid rgba(34, 197, 94, 0.5); color: #4ade80; border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.u-1d26750554 { display: block; color: #ef4444; margin-top: 0.5rem; }
.u-1d9fb993b1 { position: absolute; top: 0; left: 0; right: 0; z-index: 1055; padding: 1rem; display: flex; justify-content: flex-end; align-items: center; }
.u-208090be59 { font-size: 3rem; opacity: 0.3; }
.u-231fb775c9 { color: var(--accent-red); }
.u-2350da2395 { color: #ffffff; display: block; margin-bottom: 0.5rem; }
.u-236f9cbb04 { color: #ffffff !important; font-weight: 600 !important; }
.u-27895aa49c { font-size: 0.9rem; }
.u-27d225a353 { background: rgba(251, 191, 36, 0.2); border: 1px solid rgba(251, 191, 36, 0.3); color: #fbbf24; }
.u-29dcbf9904 { padding: 0.75rem; background: rgba(0, 0, 0, 0.2); border-radius: 8px; margin-bottom: 0.5rem; }
.u-2f93a4e1a2 { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; display: block; margin-top: 0.5rem; }
.u-3629a29a23 { font-size: 5rem; color: rgba(255,255,255,0.3); }
.u-3ba0492ff3 { color: #22c55e !important; font-size: 0.85rem !important; }
.u-415b288869 { background: #111111 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 15px !important; }
.u-4acde126e9 { height: 400px; background: linear-gradient(135deg, rgba(239, 27, 27,0.2), rgba(185, 28, 28,0.2)); border-radius: 20px; }
.u-4d0c15d31b { background: #070707; min-height: calc(100vh - 200px); }
.u-4d51d10355 { color: var(--text-white); }
.u-4e1c475b17 { background: rgba(239, 68, 68, 0.8); border-radius: 50%; width: 45px; height: 45px; opacity: 1; border: 2px solid rgba(255, 255, 255, 0.3); color: #ffffff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; cursor: pointer; padding: 0; }
.u-52a9596210 { background: transparent; border: none; height: 100vh; }
.u-58054e5474 { background: rgba(251, 191, 36, 0.2) !important; border: 1px solid rgba(251, 191, 36, 0.3) !important; color: #fbbf24 !important; border-radius: 10px !important; padding: 0.875rem !important; margin-bottom: 1.25rem !important; }
.u-5a89b13add { display: none; margin-top: 1rem; }
.u-5d46e3e5b3 { color: #ff3b3b !important; font-weight: 700 !important; font-size: 1.1rem !important; }
.u-60fde2fb3a { padding: 0 !important; }
.u-6510b14f11 { color: #ef4444 !important; font-weight: 700 !important; font-size: 1.5rem !important; }
.u-6c96dd8884 { padding: 0.75rem !important; }
.u-6d4cc1daeb { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: var(--danger); border-radius: 8px; }
.u-708c1359c0 { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); z-index: 1056; background: rgba(239, 27, 27, 0.8); border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 50%; width: 50px; height: 50px; color: #ffffff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; }
.u-70b98aa308 { background: var(--danger); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.875rem; }
.u-70cbde6bd8 { font-size: 5rem; opacity: 0.5; }
.u-7117e3abfb { color: #ffffff; }
.u-728e469d95 { position: relative; width: 100%; min-height: 200px; background: linear-gradient(135deg, rgba(239, 27, 27,0.1), rgba(185, 28, 28,0.1)); border-radius: 15px; overflow: hidden; }
.u-76085d3f68 { font-size: 1.25rem; }
.u-7816dc7acd { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.95); padding: 0; }
.u-78d7af8b7e { font-weight: bold; }
.u-79485cfefb { color: var(--text-light); }
.u-8410c989c9 { cursor: pointer; }
.u-8a3a4b9dea { color: rgba(255, 255, 255, 0.7) !important; }
.u-8ae57e885d { font-size: 3rem; }
.u-8c393717e0 { margin-bottom: 1.25rem; padding: 0.875rem 1rem; background: rgba(239, 27, 27, 0.1); border: 1px solid rgba(239, 27, 27, 0.3); border-radius: 10px; font-size: 0.95rem; color: #ff3b3b; }
.u-8d454df327 { color: var(--text-light); font-size: 0.95rem; }
.u-916968dbcc { color: #ef4444 !important; border-bottom-color: rgba(239, 68, 68, 0.3) !important; }
.u-953b378ddf { font-size: 0.875rem !important; }
.u-9747470151 { color: #ef1b1b; font-size: 1rem; margin-bottom: 1rem; }
.u-981cedda04 { color: rgba(255, 255, 255, 0.8); }
.u-9de35c127b { background: rgba(255, 255, 255, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; color: #ffffff !important; padding: 0.75rem !important; font-weight: 600 !important; }
.u-9df5314f8c { color: rgba(255, 255, 255, 0.5); font-style: italic; }
.u-9e6a142ebd { background: rgba(0, 0, 0, 0.2) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 10px !important; padding: 1rem !important; margin-bottom: 1rem !important; }
.u-b96d102121 { background: rgba(255,255,255,0.05); border-radius: 8px; }
.u-ba04dcd525 { font-size: 1rem; }
.u-ba8bfc2f34 { padding: 1.25rem; }
.u-be6e7b47b5 { padding: 1.5rem !important; }
.u-bf864dbf0e { background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.5); color: #ff6b6b; border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.u-c0e56f3803 { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1056; background: rgba(239, 27, 27, 0.8); border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 50%; width: 50px; height: 50px; color: #ffffff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; }
.u-c2bcea0858 { display: flex; justify-content: space-between; align-items: center; }
.u-cabf708cc4 { font-size: 4rem; opacity: 0.3; }
.u-cdd4d804b7 { max-width: 100vw; margin: 0; width: 100%; }
.u-d0d11c1752 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(239, 27, 27,0.1), rgba(185, 28, 28,0.1)); pointer-events: none; }
.u-d4e08d8328 { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.u-d826239c04 { background-color: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.3); color: #ef4444; padding: 1rem; border-radius: 10px; margin-bottom: 1.5rem; }
.u-d85dad13e0 { font-size: 5rem; color: rgba(255,255,255,0.3); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.u-dec031c854 { color: rgba(255, 255, 255, 0.6); }
.u-e047b0aeaa { color: var(--text-light); margin-bottom: 1rem; }
.u-e19957c8e0 { letter-spacing: normal; }
.u-e31598320f { color: #ff3b3b !important; font-weight: 700 !important; }
.u-e9a88bd8c1 { background: var(--accent-red); font-size: 0.7rem; margin-left: 0.5rem; }
.u-eb7f9e3fff { background: rgba(239, 27, 27, 0.1); border: 1px solid rgba(239, 27, 27, 0.3); color: var(--accent-red); border-radius: 8px; }
.u-ee349023e3 { color: rgba(255, 255, 255, 0.8); margin-bottom: 0.5rem; }
.u-ee9247b2fb { width: 3rem; height: 3rem; }
.u-eea7d2f472 { width: 100vw; height: 100vh; object-fit: contain; border-radius: 0; box-shadow: none; }
.u-ef906660ec { color: #ef4444 !important; font-size: 0.85rem !important; }
.u-f2892a2e8a { display: none; }
.u-f2c8dbfbbf { user-select: all; cursor: pointer; }
.u-faebabbe6c { color: #ffffff; margin: 0; }
.u-fe0a7e0e7e { color: #ff3b3b; }


/* Deduplicated utilities migrated from legacy inline styles */
.u-7c0f06feca { text-decoration: none; color: inherit; }
.u-849db8af52 { text-decoration: none; color: inherit; display: block; }
.u-c4976e7bbe { color: #ef4444; }
