/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #a855f7;
    --secondary-dark: #9333ea;
    --accent: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --border: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(to bottom, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    position: relative;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 12px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Button with icon animation */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* ========================================
   Navigation Bar
   ======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 28px;
    -webkit-text-fill-color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Hamburger Menu Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--dark);
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 30px 30px;
        transition: right 0.4s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a,
    .nav-links .user-name {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }

    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .logo {
        font-size: 20px;
    }

    .logo i {
        font-size: 24px;
    }

    /* Hero section mobile */
    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    /* Course grid mobile */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Dashboard mobile */
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* Course details mobile */
    .course-header-content {
        flex-direction: column;
    }

    .course-sidebar {
        position: static;
        width: 100%;
        margin-top: 30px;
    }

    /* Checkout mobile */
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        order: -1;
    }

    /* Payment options mobile */
    .payment-options {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .stat-number {
        font-size: 28px;
    }

    .nav-links {
        width: 100%;
        right: -100%;
    }

    .logo {
        font-size: 18px;
    }

    .logo i {
        font-size: 20px;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat {
    text-align: center;
    animation: fadeInUp 0.8s ease 0.4s both;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 500;
}

/* ========================================
   Filter Section
   ======================================== */
.filter-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.filter-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========================================
   Courses Section
   ======================================== */
.courses-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.section-header h2 {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.course-card:hover::before {
    opacity: 0.05;
}

.course-thumbnail {
    position: relative;
    height: 220px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.course-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-thumbnail img {
    transform: scale(1.1);
}

.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 64px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.thumbnail-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.thumbnail-placeholder i {
    position: relative;
    z-index: 1;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

.course-level {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.course-content {
    padding: 28px;
    position: relative;
    z-index: 1;
}

.course-category {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.course-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.course-card:hover .course-title {
    color: var(--primary);
}

.course-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
}

.course-meta i {
    color: var(--primary);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.course-card:hover .course-price {
    transform: scale(1.1);
}

/* ========================================
   Course Details Page
   ======================================== */
.course-header {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    color: white;
    padding: 60px 0;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
}

.course-lead {
    font-size: 18px;
    margin: 20px 0;
    opacity: 0.9;
}

.course-meta-header {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.course-meta-header span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: var(--success);
}

.course-details-section {
    padding: 60px 0;
    background: var(--light);
}

.course-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.content-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-box h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 24px;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    align-items: center;
}

.video-thumbnail {
    width: 80px;
    height: 60px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.video-info {
    flex: 1;
}

.video-info h4 {
    margin-bottom: 8px;
}

.video-duration {
    font-size: 13px;
    color: var(--gray);
}

.locked-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.locked-content i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
    align-items: center;
}

.note-item i {
    font-size: 32px;
    color: var(--danger);
}

.note-info {
    flex: 1;
}

.note-info h4 {
    margin-bottom: 4px;
}

.note-info span {
    font-size: 13px;
    color: var(--gray);
}

.price-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.price-tag {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.course-includes {
    margin-top: 30px;
}

.course-includes h4 {
    margin-bottom: 15px;
}

.course-includes ul {
    list-style: none;
}

.course-includes li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-includes i {
    color: var(--success);
}

/* ========================================
   Auth Pages
   ======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px 20px;
}

.auth-container {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
}

.auth-logo i {
    font-size: 36px;
}

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.auth-header p {
    color: var(--gray);
}

.auth-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 14px;
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--primary-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   Dashboard
   ======================================== */
.dashboard-section {
    padding: 60px 0;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 50px;
}

.dashboard-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.dashboard-header p {
    font-size: 18px;
    color: var(--gray);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card i {
    font-size: 42px;
    color: var(--primary);
}

.stat-card h3 {
    font-size: 36px;
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--gray);
}

.my-courses-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.empty-state i {
    font-size: 80px;
    color: var(--gray);
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* ========================================
   Checkout Page
   ======================================== */
.checkout-section {
    padding: 60px 0;
    background: var(--light);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.checkout-main h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.checkout-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.checkout-box h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    margin-bottom: 24px;
}

.coupon-form {
    display: flex;
    gap: 15px;
}

.coupon-form .form-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.coupon-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
}

.coupon-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-weight: 600;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--primary);
}

.payment-option input[type="radio"] {
    margin-right: 15px;
}

.payment-option span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    width: 100%;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.payment-info strong {
    font-size: 16px;
    color: var(--dark);
}

.payment-info small {
    font-size: 13px;
    color: var(--gray);
    font-weight: normal;
}

.payment-binance {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5f3ff 100%);
    border-color: #3b82f6;
}

.payment-binance:hover {
    background: linear-gradient(135deg, #e5f3ff 0%, #dbeafe 100%);
    border-color: #2563eb;
}

.payment-binance i {
    color: #f0b90b;
    font-size: 28px;
}

.payment-agent {
    background: linear-gradient(135deg, #f3f4f6 0%, #fff7ed 100%);
    border-color: #f59e0b;
}

.payment-agent:hover {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #d97706;
}

.payment-agent i {
    color: #f59e0b;
    font-size: 28px;
}

.order-summary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 24px;
}

.course-summary {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.course-summary img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.course-summary h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.course-summary p {
    color: var(--gray);
}

.price-breakdown {
    margin-bottom: 30px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.price-row.discount {
    color: var(--success);
}

.price-row.total {
    font-size: 24px;
    font-weight: 700;
    border-top: 2px solid var(--dark);
    border-bottom: none;
    padding-top: 20px;
    margin-top: 10px;
}

.guarantee {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.guarantee i {
    font-size: 32px;
    color: var(--success);
}

.guarantee h4 {
    margin-bottom: 8px;
}

.guarantee p {
    font-size: 13px;
    color: var(--gray);
}

/* ========================================
   Admin Panel
   ======================================== */
.admin-body {
    background: #f1f5f9;
    display: flex;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    color: white;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    font-size: 22px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(59, 130, 246, 0.2);
    color: white;
    border-left: 4px solid var(--primary);
}

.admin-main {
    margin-left: 260px;
    flex: 1;
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.admin-content {
    padding: 40px 30px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card-admin {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-details h3 {
    font-size: 32px;
    margin-bottom: 4px;
}

.stat-details p {
    color: var(--gray);
    font-size: 14px;
}

.admin-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.admin-box h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 24px;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--light);
}

.admin-table th {
    padding: 14px;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
}

.admin-table tbody tr:hover {
    background: var(--light);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--light);
    color: var(--dark);
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
}

.btn-icon.btn-danger:hover {
    background: var(--danger);
    color: white;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.admin-form .form-group.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.search-form {
    margin-bottom: 0;
}

.search-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: 16px;
    color: var(--gray);
}

.search-input-group input {
    flex: 1;
    padding: 12px 16px 12px 45px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
}

.revenue-chart {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.chart-bar {
    flex: 1;
    text-align: center;
}

.bar-label {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 10px;
}

.bar-container {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 10px;
}

.bar-fill {
    width: 60px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 6px 6px 0 0;
    transition: height 0.3s;
}

.bar-value {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.bar-sales {
    font-size: 12px;
    color: var(--gray);
}

.course-cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.admin-auth .auth-logo {
    background: var(--dark);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
}

.admin-logo i {
    color: var(--primary);
}

/* ========================================
   Alerts
   ======================================== */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    animation: slideInDown 0.5s ease;
    box-shadow: var(--shadow-md);
    border-left: 4px solid;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left-color: #10b981;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left-color: #ef4444;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-left-color: #3b82f6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 50px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ========================================
   Payment Settings & Agent Pages
   ======================================== */
.payment-status-indicator {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
}

.status-active {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
    text-align: center;
}

.status-inactive {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
    text-align: center;
}

.status-active i,
.status-inactive i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.contact-preview {
    margin-top: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.contact-buttons-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.contact-preview-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
}

.contact-preview-btn.telegram {
    background: #0088cc;
}

.contact-preview-btn.whatsapp {
    background: #25d366;
}

/* Agent Payment Page */
.agent-payment-section {
    padding: 60px 0;
    background: var(--light);
    min-height: 100vh;
}

.agent-payment-container {
    max-width: 800px;
    margin: 0 auto;
}

.agent-payment-header {
    text-align: center;
    margin-bottom: 40px;
}

.agent-payment-header i {
    font-size: 64px;
    color: var(--warning);
    margin-bottom: 20px;
}

.agent-payment-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.agent-payment-header p {
    font-size: 18px;
    color: var(--gray);
}

.agent-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.agent-box h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 24px;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-course h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.order-course p {
    color: var(--gray);
}

.order-pricing {
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.agent-instruction {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 16px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s;
    color: white;
    font-weight: 600;
}

.contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #0066a0 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
}

.contact-btn i {
    font-size: 42px;
}

.contact-btn div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-btn strong {
    font-size: 18px;
}

.contact-btn span {
    font-size: 14px;
    opacity: 0.9;
}

.order-info-box {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.order-info-box h4 {
    margin-bottom: 15px;
}

.order-info-box p {
    margin-bottom: 8px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: var(--primary);
    font-weight: 600;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Agent Orders Management */
.header-stats {
    display: flex;
    gap: 15px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.stat-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.orders-grid {
    display: grid;
    gap: 24px;
}

.order-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.order-card:hover {
    box-shadow: var(--shadow-lg);
}

.pending-order {
    border-left: 4px solid var(--warning);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.order-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.order-time {
    color: var(--gray);
    font-size: 14px;
}

.order-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--success);
}

.order-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.order-info-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--primary);
}

.order-info-section p {
    margin-bottom: 8px;
    font-size: 14px;
}

.order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.order-action-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-action-form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.order-action-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

/* ========================================
   Admin Settings & Management
   ======================================== */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.info-row label {
    font-weight: 600;
    color: var(--dark);
}

.info-row span {
    color: var(--gray);
}

.security-tips {
    background: #e0f2fe;
    border: 2px solid #0284c7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.security-tips h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0284c7;
    margin-bottom: 15px;
}

.security-tips ul {
    margin-left: 20px;
    color: #0c4a6e;
}

.security-tips li {
    margin-bottom: 8px;
}

.security-notice {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.security-notice i {
    font-size: 42px;
    color: #f59e0b;
}

.security-notice h3 {
    margin-bottom: 10px;
    color: #92400e;
}

.security-notice p {
    color: #78350f;
}

/* Admin Management */
.admins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.admin-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.admin-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.admin-card.current-admin {
    border-color: var(--success);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.admin-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.admin-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.admin-card-info {
    flex: 1;
}

.admin-card-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

.admin-card-info p {
    font-size: 14px;
    color: var(--gray);
}

.admin-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.admin-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 14px;
}

.admin-detail i {
    color: var(--primary);
    width: 20px;
}

.admin-card-actions {
    display: flex;
    gap: 10px;
}

.admin-card-actions .btn {
    flex: 1;
}

/* ========================================
   Video Upload & Progress
   ======================================== */
.upload-method-toggle {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.method-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.method-btn:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.method-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.method-btn i {
    font-size: 20px;
}

/* Progress Bar */
.progress-container {
    margin: 20px 0;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    border: 2px solid var(--border);
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border);
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 15px;
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.progress-info span {
    font-size: 14px;
    color: var(--gray);
}

#progressPercent {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

#progressStatus {
    font-weight: 600;
    color: var(--dark);
}

#progressTime {
    font-style: italic;
    color: var(--success);
}

/* Protected Video Player */
.protected-video-container {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.protected-video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.protected-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.video-protection-notice {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-protection-notice i {
    font-size: 24px;
    color: #f59e0b;
}

.video-protection-notice p {
    margin: 0;
    color: #92400e;
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .price-box,
    .order-summary {
        position: static;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .order-actions {
        grid-template-columns: 1fr;
    }
    
    .order-body {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        gap: 12px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .header-stats {
        flex-direction: column;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .admins-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-card-actions {
        flex-direction: column;
    }
}

