
:root {
    --liberia-red: #BF0A30;
    --liberia-white: #FFFFFF;
    --liberia-blue: #002868;
    --liberia-light-blue: #0a3d8a;
    --liberia-dark-blue: #001a4d;
    --liberia-gold: #FFD700;
    --glass-bg: rgba(0, 20, 50, 0.85);
    --glass-border: rgba(0, 40, 104, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 20, 50, 0.4);
    --blue-glow: 0 0 20px rgba(0, 40, 104, 0.6);
    --red-glow: 0 0 15px rgba(191, 10, 48, 0.4);
    --white-glow: 0 0 10px rgba(255, 255, 255, 0.3);
    --secondary-text: rgba(220, 220, 255, 0.85);
    --muted-text: rgba(200, 200, 255, 0.7);
}

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

/* Liberia-inspired dark theme - Deep dark background */
body {
    background: #0a0a0f;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 40, 104, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 90% 80%, rgba(191, 10, 48, 0.08) 0%, transparent 50%);
    font-family: 'Inter', 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    color: var(--liberia-white);
    position: relative;
}

/* Subtle grid pattern for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 40, 104, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 40, 104, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Glass Navigation */
.glass-nav {
    background: rgba(5, 10, 20, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 40, 104, 0.4);
    box-shadow: var(--glass-shadow);
    position: relative;
    z-index: 100;
}

.glass-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--liberia-blue), var(--liberia-red), var(--liberia-white), var(--liberia-blue), transparent);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--liberia-white), var(--liberia-blue), var(--liberia-white));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--white-glow);
    animation: gradientShift 3s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glass Sidebar */
.sidebar-glass {
    background: rgba(5, 10, 25, 0.9);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(0, 40, 104, 0.3);
    min-height: calc(100vh - 70px);
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Sidebar icons */
.glass-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    margin: 0 10px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-nav-item i {
    width: 24px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50%;
    text-align: center;
    color: #000000;
}

.glass-nav-item span {
    color: rgba(255, 255, 255, 0.9);
}

.glass-nav-item:hover {
    background: rgba(0, 40, 104, 0.2);
    transform: translateX(5px);
    color: var(--liberia-white);
}

.glass-nav-item:hover i {
    background: rgba(255, 255, 255, 0.25);
    color: #000000;
    transform: scale(1.1);
    box-shadow: var(--blue-glow);
}

.glass-nav-item.active {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.3), rgba(191, 10, 48, 0.1));
    border-left: 3px solid var(--liberia-blue);
}

.glass-nav-item.active i {
    background: rgba(255, 255, 255, 0.25);
    color: #000000;
    box-shadow: var(--blue-glow);
}

/* Main Content */
.main-glass {
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Glass Cards */
.glass-card {
    background: rgba(5, 10, 20, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 40, 104, 0.3);
    padding: 20px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--liberia-blue), var(--liberia-white), var(--liberia-red));
    opacity: 0.4;
}

.glass-card-inner {
    background: rgba(5, 10, 20, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(0, 40, 104, 0.2);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header-glass {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.2), rgba(191, 10, 48, 0.08));
    border-bottom: 1px solid rgba(0, 40, 104, 0.3);
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.3px;
}

/* STAT CARDS */
.glass-stat-card {
    background: rgba(5, 10, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 40, 104, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-icon i {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #000000;
    transition: all 0.3s ease;
}

.glass-stat-card:hover .stat-icon i {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: var(--blue-glow);
    color: #000000;
}

.glass-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(5, 10, 20, 0.85);
    border-color: var(--liberia-blue);
    box-shadow: var(--blue-glow);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
}

.stat-info p {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
    color: #ffffff;
}

/* ACTIVITY ITEMS */
.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(5, 10, 20, 0.4);
}

.activity-item i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    color: #000000;
}

.activity-item strong {
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.activity-item .text-muted {
    color: rgba(200, 220, 255, 0.9);
    font-size: 0.7rem;
}

.activity-item small {
    color: rgba(180, 200, 255, 0.85);
    font-size: 0.65rem;
}

.activity-item:hover {
    background: rgba(0, 40, 104, 0.2);
    transform: translateX(5px);
}

.activity-item:hover i {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    color: #000000;
}

/* SCHEDULE ITEMS - Upcoming schedule text improved */
.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(5, 10, 20, 0.4);
}

.schedule-item i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #000000;
    transition: all 0.3s ease;
}

.schedule-item strong {
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.schedule-item .text-muted {
    color: rgba(200, 220, 255, 0.9);
    font-size: 0.7rem;
}

.schedule-item small {
    color: rgba(180, 200, 255, 0.85);
    font-size: 0.65rem;
}

.schedule-item:hover {
    background: rgba(0, 40, 104, 0.2);
    transform: translateX(5px);
}

.schedule-item:hover i {
    background: rgba(255, 255, 255, 0.25);
    color: #000000;
}

/* TASK CARDS */
.task-card {
    background: rgba(5, 10, 20, 0.5);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid var(--liberia-blue);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.task-card h6 {
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
}

.task-card .text-muted {
    color: rgba(200, 220, 255, 0.85);
    font-size: 0.7rem;
}

.task-card small {
    color: rgba(180, 200, 255, 0.8);
    font-size: 0.65rem;
}

.task-card p {
    color: rgba(220, 235, 255, 0.9);
    font-size: 0.8rem;
}

.task-card:hover {
    transform: translateY(-3px);
    background: rgba(0, 40, 104, 0.2);
    border-left-color: var(--liberia-white);
    box-shadow: var(--blue-glow);
}

.task-card:hover .text-muted,
.task-card:hover small {
    color: rgba(255, 255, 255, 0.95);
}

.task-card i.fa-tasks {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50%;
    margin-right: 8px;
    color: #000000;
}

/* LEAVE CARDS */
.leave-card-mini {
    transition: all 0.2s ease;
}

.leave-card-mini i {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50%;
    color: #000000;
}

.leave-card-mini strong {
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.leave-card-mini .text-muted {
    color: rgba(200, 220, 255, 0.85);
    font-size: 0.7rem;
}

.leave-card-mini small {
    color: rgba(180, 200, 255, 0.8);
    font-size: 0.65rem;
}

/* EXPENSE CARDS */
.expense-card-mini i {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50%;
    color: #000000;
}

.expense-card-mini strong {
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.expense-card-mini .text-muted {
    color: rgba(200, 220, 255, 0.85);
    font-size: 0.7rem;
}

.expense-card-mini small {
    color: rgba(180, 200, 255, 0.8);
    font-size: 0.65rem;
}

/* CHAT STYLES */
.chat-sidebar {
    border-right: 1px solid var(--liberia-blue);
    padding: 15px;
    height: 500px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .chat-sidebar {
        height: auto;
        max-height: 250px;
        border-right: none;
        border-bottom: 1px solid var(--liberia-blue);
    }
}

.chat-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(5, 10, 20, 0.5);
}

.chat-user-item:hover {
    background: rgba(0, 40, 104, 0.2);
    transform: translateX(5px);
}

.chat-user-item.active {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.3), rgba(191, 10, 48, 0.1));
    border-left: 2px solid var(--liberia-blue);
}

.chat-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--liberia-blue), var(--liberia-light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--liberia-white);
}

.chat-user-info {
    flex-grow: 1;
}

.chat-user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
}

.chat-user-status {
    font-size: 0.7rem;
    opacity: 0.7;
    color: rgba(200, 220, 255, 0.8);
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .chat-message {
        max-width: 95%;
    }
}

.chat-message.own {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.chat-message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--liberia-blue), var(--liberia-light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--liberia-white);
    flex-shrink: 0;
}

/* WHITE BUBBLE WITH BLACK TEXT */
.chat-message-bubble {
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 100%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chat-message.own .chat-message-bubble {
    background: var(--liberia-blue);
}

.chat-message-name {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: 3px;
    color: #666666;
}

.chat-message.own .chat-message-name {
    color: rgba(255,255,255,0.7);
}

.chat-message-text {
    font-size: 0.9rem;
    word-wrap: break-word;
    color: #000000;
}

.chat-message.own .chat-message-text {
    color: #ffffff;
}

.chat-message-time {
    font-size: 0.6rem;
    opacity: 0.5;
    margin-top: 3px;
    text-align: right;
    color: #999999;
}

.chat-message.own .chat-message-time {
    color: rgba(255,255,255,0.5);
}

.chat-input-container {
    padding: 10px;
    border-top: 1px solid var(--liberia-blue);
}

.chat-divider {
    margin: 10px 0;
    text-align: center;
    position: relative;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}

.chat-divider hr {
    margin: 10px 0;
    border-color: var(--liberia-blue);
}

/* Chat Media Styles */
.chat-media-container {
    margin-top: 8px;
}

.chat-image {
    max-width: 200px;
    max-height: 150px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-image:hover {
    transform: scale(1.02);
}

.chat-file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 40, 104, 0.15);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    color: rgba(200, 220, 255, 0.9);
}

.chat-file-link:hover {
    background: rgba(0, 40, 104, 0.3);
    text-decoration: underline;
    color: #ffffff;
}

/* Chat Read Receipts */
.chat-read-receipts {
    margin-top: 4px;
    font-size: 0.6rem;
    text-align: right;
    opacity: 0.6;
    color: #666666;
}

.chat-message.own .chat-read-receipts {
    color: rgba(255,255,255,0.6);
}

/* Buttons */
.btn-glass-primary {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.3), rgba(191, 10, 48, 0.1));
    border: 1px solid rgba(0, 40, 104, 0.4);
    padding: 8px 20px;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-glass-primary:hover {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.5), rgba(191, 10, 48, 0.2));
    transform: translateY(-2px);
    box-shadow: var(--blue-glow);
    color: #ffffff;
    border-color: var(--liberia-blue);
}

.btn-glass-success {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.3), rgba(191, 10, 48, 0.1));
    border: 1px solid rgba(0, 40, 104, 0.4);
    padding: 12px 30px;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass-success:hover {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.5), rgba(191, 10, 48, 0.2));
    transform: translateY(-2px);
    box-shadow: var(--blue-glow);
}

.btn-glass-danger {
    background: rgba(191, 10, 48, 0.15);
    border: 1px solid rgba(191, 10, 48, 0.3);
    padding: 12px 30px;
    border-radius: 25px;
    color: #ffaaaa;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass-danger:hover {
    background: rgba(191, 10, 48, 0.3);
    color: #ffffff;
    box-shadow: var(--red-glow);
}

.btn-glass-logout {
    background: rgba(191, 10, 48, 0.15);
    border: 1px solid rgba(191, 10, 48, 0.3);
    padding: 6px 15px;
    border-radius: 20px;
    color: #ffaaaa;
    transition: all 0.3s ease;
}

.btn-glass-logout:hover {
    background: rgba(191, 10, 48, 0.3);
    color: #ffffff;
}

.btn-glass-sm {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 40, 104, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    color: rgba(220, 235, 255, 0.9);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-glass-sm:hover {
    background: rgba(0, 40, 104, 0.3);
    border-color: var(--liberia-blue);
    color: #ffffff;
}

/* Inputs */
.glass-input {
    background: rgba(5, 10, 20, 0.8);
    border: 1px solid rgba(0, 40, 104, 0.4);
    border-radius: 10px;
    padding: 10px 15px;
    color: #ffffff;
    width: 100%;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(5, 10, 20, 0.95);
    border-color: var(--liberia-blue);
    outline: none;
    color: #ffffff;
    box-shadow: var(--blue-glow);
}

.glass-input::placeholder {
    color: rgba(200, 220, 255, 0.5);
}

/* Tables */
.glass-table {
    width: 100%;
    border-collapse: collapse;
}

.glass-table th {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.25), rgba(191, 10, 48, 0.08));
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid var(--liberia-blue);
}

.glass-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 40, 104, 0.15);
    color: rgba(220, 240, 255, 0.9);
}

.glass-table tr:hover {
    background: rgba(0, 40, 104, 0.1);
}

/* Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-present { background: rgba(0, 40, 104, 0.4); color: #aaddff; border: 1px solid var(--liberia-blue); }
.status-late { background: rgba(191, 10, 48, 0.3); color: #ffbbbb; border: 1px solid var(--liberia-red); }
.status-absent { background: rgba(191, 10, 48, 0.2); color: #ffaaaa; border: 1px solid rgba(191, 10, 48, 0.5); }
.status-pending { background: rgba(255, 255, 255, 0.1); color: #ffdd99; border: 1px solid rgba(255, 255, 255, 0.3); }
.status-approved { background: rgba(0, 40, 104, 0.4); color: #aaddff; border: 1px solid var(--liberia-blue); }
.status-rejected { background: rgba(191, 10, 48, 0.3); color: #ffbbbb; border: 1px solid var(--liberia-red); }

/* Modal Glass */
.glass-modal {
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--liberia-blue);
    border-radius: 20px;
}

.glass-modal-header {
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.25), rgba(191, 10, 48, 0.08));
    border-bottom: 1px solid var(--liberia-blue);
    color: #ffffff;
}

/* Modal body text */
.modal-body label {
    color: rgba(220, 240, 255, 0.9);
}

/* Glass Card Hover Effect */
.glass-card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
}

.glass-card-hover:hover {
    background: rgba(0, 40, 104, 0.2);
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar-glass {
        position: fixed;
        left: -280px;
        transition: left 0.3s;
        z-index: 1000;
        width: 280px;
        height: 100vh;
        overflow-y: auto;
    }
    
    .sidebar-glass.open {
        left: 0;
    }
    
    .main-glass {
        width: 100%;
        margin-left: 0;
        padding: 15px;
    }
    
    .glass-stat-card {
        padding: 12px;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
    
    .stat-info h3 {
        font-size: 1rem;
        padding: 3px 10px;
    }
    
    .card-header-glass {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .glass-nav-item span {
        font-size: 0.9rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
    
    .glass-table {
        min-width: 600px;
    }
    
    .schedule-item .text-muted,
    .activity-item .text-muted {
        font-size: 0.6rem;
    }
    
    .schedule-item small,
    .activity-item small {
        font-size: 0.55rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .glass-nav-item span {
        font-size: 0.85rem;
    }
    
    .glass-nav-item i {
        font-size: 1rem;
    }
    
    .stat-info h3 {
        font-size: 1.2rem;
    }
    
    .main-glass {
        padding: 15px;
    }
}

/* Desktop optimization */
@media (min-width: 1200px) {
    .container-fluid {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .main-glass {
        padding: 25px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(5, 10, 20, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--liberia-blue), var(--liberia-light-blue));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--liberia-blue);
}

/* SweetAlert2 custom styling */
.swal2-popup {
    backdrop-filter: blur(20px);
    background: rgba(5, 10, 20, 0.98) !important;
    border: 1px solid var(--liberia-blue);
    border-radius: 20px;
}

.swal2-title, .swal2-html-container {
    color: #ffffff !important;
}

.swal2-input, .swal2-select, .swal2-textarea, .swal2-file {
    background: rgba(5, 10, 20, 0.9) !important;
    border: 1px solid var(--liberia-blue) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.swal2-input:focus, .swal2-select:focus, .swal2-textarea:focus {
    border-color: var(--liberia-blue) !important;
    box-shadow: var(--blue-glow) !important;
}

/* Profile Picture Preview */
.profile-picture-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid var(--liberia-blue);
}

.profile-picture-preview img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Glass Badge */
.glass-badge {
    background: rgba(5, 10, 20, 0.7);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.85rem;
    border: 1px solid var(--liberia-blue);
    color: rgba(220, 240, 255, 0.9);
}

/* Responsive table */
@media (max-width: 768px) {
    .glass-table th, .glass-table td {
        padding: 8px;
        font-size: 0.8rem;
    }
}

/* Glass Info Cards */
.glass-info-card {
    background: rgba(5, 10, 20, 0.5);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--liberia-blue);
}

.glass-info-card i {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 50%;
    margin-bottom: 10px;
    color: #000000;
}

.glass-info-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 5px 0;
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
}

.glass-info-card p {
    font-size: 0.8rem;
    opacity: 0.9;
    color: #ffffff;
    margin-top: 10px;
}

/* Glass Admin Cards */
.glass-admin-card {
    background: rgba(5, 10, 20, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    border: 1px solid var(--liberia-blue);
    transition: all 0.3s ease;
}

.glass-admin-card i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #000000;
}

.glass-admin-card h5 {
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.glass-admin-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(0, 40, 104, 0.15), rgba(191, 10, 48, 0.08));
    border-color: var(--liberia-white);
    box-shadow: var(--blue-glow);
}

.glass-admin-card:hover i {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: var(--blue-glow);
    color: #000000;
}

.glass-admin-card:hover h5 {
    background: #ffffff;
}

/* Mobile Responsive Additions */
@media (max-width: 768px) {
    .glass-stat-card {
        padding: 12px 8px;
    }
    
    .stat-icon i {
        font-size: 1rem;
        width: 30px;
        height: 30px;
        padding: 6px;
    }
    
    .stat-info h3 {
        font-size: 0.8rem;
        padding: 2px 8px;
    }
    
    .stat-info p {
        font-size: 0.65rem;
    }
    
    .glass-info-card {
        padding: 10px;
    }
    
    .glass-info-card i {
        font-size: 1.2rem;
        padding: 8px;
    }
    
    .glass-info-card h4 {
        font-size: 0.9rem;
        padding: 3px 10px;
    }
    
    .glass-info-card p {
        font-size: 0.6rem;
    }
    
    .btn-glass-success, .btn-glass-danger {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .chat-message-name, .chat-message-text {
        font-size: 0.8rem;
    }
    
    .glass-card .row.g-3 {
        --bs-gutter-y: 0.5rem;
    }
    
    .glass-admin-card {
        padding: 15px 10px;
    }
    
    .glass-admin-card i {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .glass-admin-card h5 {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .glass-nav .container-fluid {
        padding-left: 50px;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
    
    .btn-glass-logout {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .card-header-glass {
        font-size: 0.8rem;
    }
}

/* Liberia Flag Animation */
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Add star to body */
body::after {
    content: '★';
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--liberia-white);
    opacity: 0.3;
    animation: pulse 3s infinite;
    font-weight: bold;
    text-shadow: var(--blue-glow);
    z-index: 999;
    pointer-events: none;
}

/* Blue accent text */
.blue-accent {
    color: var(--liberia-blue);
    text-shadow: var(--blue-glow);
}

/* Success message color */
.text-success {
    color: #4caf50 !important;
}

/* Warning message color */
.text-warning {
    color: #ff9800 !important;
}

/* Global secondary text improvements */
.text-muted {
    color: rgba(200, 220, 255, 0.85) !important;
}

small, .small {
    color: rgba(180, 200, 255, 0.8) !important;
}

.alert {
    color: #000000 !important;
}

.alert-success {
    background: rgba(76, 175, 80, 0.2) !important;
    color: #a5d6a7 !important;
    border: 1px solid rgba(76, 175, 80, 0.5) !important;
}

.alert-warning {
    background: rgba(255, 152, 0, 0.2) !important;
    color: #ffcc80 !important;
    border: 1px solid rgba(255, 152, 0, 0.5) !important;
}

.alert-info {
    background: rgba(33, 150, 243, 0.2) !important;
    color: #90caf9 !important;
    border: 1px solid rgba(33, 150, 243, 0.5) !important;
}
