/* assets/css/custom.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Auth Pages Background */
.student-login-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.admin-login-bg {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    min-height: 100vh;
}

.bg-gradient-primary {
    background: linear-gradient(45deg, #0052d4, #4364f7, #6fb1fc) !important;
}

.card {
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Micro animations */
.btn {
    transition: all 0.2s ease-in-out;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* Custom Nav tabs for exam */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.2s;
}
.nav-tabs .nav-link:hover {
    border-color: #e9ecef;
}
.nav-tabs .nav-link.active {
    border-color: #0d6efd;
    color: #0d6efd;
    background: transparent;
}

/* Timer Sticky Header */
.exam-sticky-header {
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
}

/* Question Option Custom Styling */
.custom-option {
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.custom-option:hover {
    background: #f1f3f5;
}
.custom-control-input:checked ~ .custom-control-label {
    font-weight: bold;
    color: #0d6efd;
}

/* General Layout Tweaks */
.sidebar {
    min-height: calc(100vh - 56px);
    background: #343a40;
}
.sidebar .nav-link {
    color: rgba(255,255,255,.75);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: background 0.2s, color 0.2s;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
}
.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Quick stats cards */
.stat-card {
    border-left: 4px solid #0d6efd;
}
.stat-card-success { border-left-color: #198754; }
.stat-card-warning { border-left-color: #ffc107; }
