:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-color: #6366f1;
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', 'Outfit', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

.navbar {
    background: var(--card-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.card-custom {
    background: white;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-valid { background: #dcfce7; color: #166534; }
.status-warning { background: #fef9c3; color: #854d0e; }
.status-danger { background: #fee2e2; color: #991b1b; }

.side-nav {
    border-radius: 20px;
    background: white;
    padding: 1rem;
}

.side-nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.side-nav-link:hover, .side-nav-link.active {
    background: #f1f5f9;
    color: var(--accent-color);
}

.side-nav-link i {
    margin-right: 15px;
    font-size: 1.2rem;
}

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

.animate-fade {
    animation: fadeIn 0.5s ease-out forwards;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 991.98px) {
    .navbar-nav .btn-primary-custom {
        display: block;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar-brand i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .card-custom {
        padding: 1.25rem !important; /* reduce padding on mobile */
        border-radius: 16px;
    }
    h4.fw-extrabold {
        font-size: 1.25rem;
    }
    .btn-primary-custom {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        border-radius: 12px;
    }
    h2 {
        font-size: 1.5rem;
    }
    
    /* Table specific mobile optimizations */
    .table-responsive {
        border: 0;
        margin-bottom: 0;
    }
    .table td, .table th {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Hide specific columns dynamically via bootstrap utility classes instead */
}
