:root {
    --primary-blue: #0A3D62;
    --secondary-yellow: #FBC531;
    --bg-light: #f4f6f9;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --sidebar-width: 250px;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary-blue);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    color: #fff;
    transition: all 0.3s;
    z-index: 1000;
}

.sidebar .brand {
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--secondary-yellow);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 15px 20px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: var(--secondary-yellow);
    background-color: rgba(255,255,255,0.05);
    border-left: 4px solid var(--secondary-yellow);
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content Styles */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* Top Navbar */
.top-navbar {
    background: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Cards */
.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    border: none;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 20px;
}

.stat-icon.blue { background: rgba(10, 61, 98, 0.1); color: var(--primary-blue); }
.stat-icon.yellow { background: rgba(251, 197, 49, 0.1); color: #d4a31e; }
.stat-icon.green { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.stat-icon.red { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }

.stat-details h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-details p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e4d75 100%);
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #082d49;
    border-color: #082d49;
}

.btn-warning {
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: #fff;
}

.btn-warning:hover {
    background-color: #e0b02a;
    border-color: #e0b02a;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    .mobile-toggle {
        display: block !important;
    }
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}
