/* Custom styles for authentication and user management system */

:root {
    --primary-color: #3b82f6;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Modern Gradient Backgrounds */
.gradient-bg {
    background: var(--gradient-primary);
}

.gradient-bg-secondary {
    background: var(--gradient-secondary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Modern Course Cards */
.modern-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modern-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Level Badges */
.level-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Modern Buttons */
.btn-modern {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border: none;
}

.btn-modern-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

.btn-modern-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Price Display */
.price-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-duration {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modern Navigation */
.navbar-modern {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Status Indicators */
.status-active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-expired {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modern Form Controls */
.form-control-modern {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Smooth Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Shadows */
.shadow-modern {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
}

.shadow-modern-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Modern Navigation Styles */
.navbar {
    backdrop-filter: blur(20px);
    background: rgba(59, 130, 246, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.modern-nav-link {
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 0 4px;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.modern-nav-link:hover::before {
    left: 100%;
}

.modern-nav-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-nav-link:active {
    transform: translateY(0) scale(0.98);
}

/* Enhanced Dropdown */
.modern-dropdown {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98);
    margin-top: 12px;
    padding: 8px;
    min-width: 280px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modern-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.modern-dropdown .dropdown-item {
    padding: 12px 16px;
    border-radius: 10px;
    margin: 2px 4px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.modern-dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: left 0.3s ease;
    z-index: -1;
}

.modern-dropdown .dropdown-item:hover {
    color: white;
    transform: translateX(6px) scale(1.02);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.modern-dropdown .dropdown-item:hover::before {
    left: 0;
}

.modern-dropdown .dropdown-divider {
    margin: 8px 12px;
    border-color: rgba(0, 0, 0, 0.1);
}

/* User Avatar Enhanced */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Register Button Enhanced */
.btn-modern-outline {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
    background: transparent !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-modern-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-modern-outline:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    border-color: white !important;
}

.btn-modern-outline:hover::before {
    left: 0;
}

/* Mobile Menu Enhanced */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        margin-top: 20px;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .modern-nav-link {
        margin: 6px 0;
        text-align: center;
    }
    
    .modern-dropdown {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .modern-dropdown .dropdown-item {
        color: white;
        text-align: center;
    }
    
    .modern-dropdown .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: scale(1.02);
    }
    
    .btn-modern-outline {
        margin-top: 12px;
        width: 100%;
        text-align: center;
    }
}

/* Navbar Scroll Effect */
.navbar.scrolled {
    background: rgba(59, 130, 246, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Loading State for Dropdown */
.dropdown-loading {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

.dropdown-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Authentication Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 1rem;
    box-shadow: var(--box-shadow-lg);
}

.auth-card .card-body {
    padding: 2rem;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.94-.94 1.44 1.44L7.4 4.5l.94.94L4.66 9.12z'/%3e%3c/svg%3e");
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4L5.8 7'/%3e%3c/svg%3e");
}

/* Password Strength Indicator */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 0.5rem;
    background-color: #e9ecef;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-weak { background-color: var(--danger-color); }
.password-strength-medium { background-color: var(--warning-color); }
.password-strength-strong { background-color: var(--success-color); }

/* Course Cards */
.course-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.course-card .badge {
    font-size: 0.75rem;
}

.course-rating {
    color: #ffc107;
}

/* Profile Page */
.profile-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--box-shadow);
}

.profile-stats .card {
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Payment Form */
.payment-summary {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.payment-method-option {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

.payment-method-option.active {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

/* Card Input Styling */
.card-input-group {
    position: relative;
}

.card-type-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Loading States */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .spinner-border {
    width: 1rem;
    height: 1rem;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--box-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem 1rem 0 0;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1rem 1rem;
}

/* Toast Notifications */
.toast {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card .card-body {
        padding: 1.5rem;
    }
    
    .course-card .card-img-top {
        height: 150px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auth-card {
        background: rgba(33, 37, 41, 0.95);
        color: white;
    }
    
    .form-control {
        background-color: #495057;
        border-color: #6c757d;
        color: white;
    }
    
    .form-control:focus {
        background-color: #495057;
        border-color: var(--primary-color);
        color: white;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-strong {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Compact Dashboard Styles */
.dashboard-compact {
    font-size: 0.85rem;
}

.dashboard-compact h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dashboard-compact h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.dashboard-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.dashboard-compact h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.dashboard-compact h5 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.dashboard-compact .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.dashboard-compact .card-text {
    font-size: 0.8rem;
    line-height: 1.4;
}

.dashboard-compact .table {
    font-size: 0.8rem;
}

.dashboard-compact .table th {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem;
}

.dashboard-compact .table td {
    font-size: 0.8rem;
    padding: 0.5rem;
}

.dashboard-compact .btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.dashboard-compact .btn-sm {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
}

.dashboard-compact .badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
}

.dashboard-compact .form-control {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
}

.dashboard-compact .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.dashboard-compact .mobile-card {
    font-size: 0.8rem;
}

.dashboard-compact .mobile-card-header {
    font-size: 0.85rem;
    font-weight: 600;
}

.dashboard-compact .mobile-card-body {
    font-size: 0.75rem;
}

/* Sidebar compact styles */
.dashboard-compact .sidebar .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.dashboard-compact .sidebar .nav-link i {
    font-size: 0.9rem;
}

/* Navbar compact styles */
.dashboard-compact .navbar-brand {
    font-size: 1.2rem !important;
}

.dashboard-compact .nav-link {
    font-size: 0.8rem;
}

/* Professional Lesson List Styles */
.lesson-list {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.lesson-link {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef !important;
}

.lesson-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--bs-primary) !important;
}

.lesson-link.bg-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3) !important;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.lesson-type-badge {
    background: rgba(var(--bs-secondary-rgb), 0.1);
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--bs-secondary);
}

.lesson-link.bg-primary .lesson-type-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.empty-state .empty-icon {
    opacity: 0.3;
}

.hover-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Enhanced Course Cards */
.modern-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--bs-primary);
}

.modern-card .card-img-top {
    transition: all 0.3s ease;
}

.modern-card:hover .card-img-top {
    transform: scale(1.02);
}

.modern-card .position-absolute .badge {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Professional Course Cards */
.course-card {
    overflow: hidden;
    position: relative;
}

.course-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    z-index: 1;
}

.expired-course {
    opacity: 0.8;
    filter: grayscale(0.3);
}

.progress-section .progress-label {
    font-size: 0.85rem;
    color: var(--bs-secondary);
    font-weight: 500;
}

.progress-section .progress-value {
    font-size: 0.9rem;
    color: var(--bs-primary);
}

.expiry-info .alert {
    font-size: 0.8rem;
    border: none;
}

/* Stats Cards */
.stat-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-card small {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Print Styles */
@media print {
    .navbar,
    .modal,
    .toast-container,
    .btn,
    .form-control {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}