
:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --primary-dark: #3730A3;
    --secondary: #22C55E;
    --secondary-light: #4ADE80;
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --danger: #EF4444;
    --bg: #F8FAFC;
    --bg-card: #FFFFFF;
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', sans-serif;
    --max-width: 1200px;
    --navbar-height: 72px;
}

[data-theme="dark"] {
    --bg: #0F172A;
    --bg-card: #1E293B;
    --text: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #64748B;
    --border: #334155;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-secondary:hover {
    background: #16A34A;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
    background: #D97706;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #DC2626;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(var(--bg), 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo span {
    color: var(--primary);
}

.nav-logo-icon {
    display: block;
    width: 36px;
    height: auto;
    object-fit: contain;
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.nav-links a:hover {
    background: var(--border);
    color: var(--text);
}

.nav-links .btn {
    padding: 8px 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: var(--border);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--text);
}

.theme-toggle:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 24px;
        gap: 12px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform var(--transition);
        box-shadow: var(--shadow);
        align-items: stretch;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links a {
        text-align: center;
        padding: 12px;
    }

    .nav-links .btn {
        justify-content: center;
    }

    .nav-actions .btn {
        display: none;
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    margin: 8px auto 0;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero-stats .stat h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stats .stat p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 480px;
}

.floating-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(4px);
}

.floating-card:nth-child(2) {
    animation-delay: -1.5s;
    margin-top: 20px;
}

.floating-card:nth-child(3) {
    animation-delay: -3s;
}

.floating-card:nth-child(4) {
    animation-delay: -4.5s;
    margin-top: 20px;
}

.floating-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.floating-card .icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}

.floating-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .floating-cards {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .floating-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .floating-card {
        padding: 16px;
    }

    .floating-card .icon {
        font-size: 1.6rem;
    }
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: var(--radius);
    padding: 48px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    opacity: 0.8;
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-image i {
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-features li i {
    color: var(--secondary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.course-card .icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    display: block;
}

.course-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.course-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.course-card .badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    margin-top: 12px;
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.why-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.why-item .icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    display: block;
}

.why-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    opacity: 0.85;
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    background: #fff;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.cta-section .btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .cta-section {
        padding: 40px 24px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-brand .social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-brand .social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--text-secondary);
}

.footer-brand .social a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    width: 100%;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow-hover);
    animation: slideUp 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--primary);
}

.toast.success {
    border-left-color: var(--secondary);
}

.toast.error {
    border-left-color: var(--danger);
}

.toast .toast-icon {
    font-size: 1.4rem;
}

.toast .toast-msg {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.toast .toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.alert-success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #BBF7D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* Form Card */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.form-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
}

.form-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Tables */
.table-wrap {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table-wrap th {
    text-align: left;
    padding: 12px 12px 12px 0;
    border-bottom: 2px solid var(--border);
    font-weight: 700;
    color: var(--text-secondary);
}

.table-wrap td {
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid var(--border);
}

.table-wrap tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge-status {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-status.pending {
    background: var(--accent);
    color: #fff;
}

.badge-status.verified {
    background: var(--secondary);
    color: #fff;
}

.badge-status.approved {
    background: var(--primary);
    color: #fff;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-card .stat-icon {
    float: right;
    font-size: 1.8rem;
    color: var(--primary-light);
    opacity: 0.5;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card h3 {
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar .fill {
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.8s ease;
    width: 0%;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 520px;
    width: 100%;
    padding: 40px 36px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal .close-modal {
    float: right;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition);
}

.modal .close-modal:hover {
    color: var(--text);
}

.modal h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Payment Detail */
.payment-detail {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 16px 0;
    border: 1px dashed var(--border);
}

.payment-detail .row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.payment-detail .row:last-child {
    border-bottom: none;
}

.payment-detail .label {
    color: var(--text-muted);
    font-weight: 500;
}

.payment-detail .value {
    font-weight: 600;
}

/* Flex Utilities */
.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.text-center {
    text-align: center;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.hidden {
    display: none !important;
}

/* Dashboard Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding-top: 100px;
    min-height: 100vh;
}

..dashboard-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}

.dashboard-sidebar .user {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.dashboard-sidebar .user .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 8px;
}

.dashboard-sidebar .user h4 {
    font-weight: 700;
}

.dashboard-sidebar .user p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dashboard-sidebar .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition);
    cursor: pointer;
    margin-bottom: 2px;
}

.dashboard-sidebar .nav-item:hover {
    background: var(--border);
    color: var(--text);
}

.dashboard-sidebar .nav-item.active {
    background: var(--primary);
    color: #fff;
}

.dashboard-sidebar .nav-item i {
    width: 20px;
    text-align: center;
}

.dashboard-sidebar .nav-item.logout {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    color: var(--danger);
}

.dashboard-sidebar .nav-item.logout:hover {
    background: var(--danger);
    color: #fff;
}

.dashboard-content {
    padding-bottom: 60px;
}

.dashboard-content .page-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        padding-top: 90px;
    }

    .dashboard-sidebar {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1005;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        display: block;
        border-radius: 0;
        padding: 16px 16px 24px;
        box-shadow: var(--shadow);
    }

    .dashboard-sidebar.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dashboard-sidebar .user {
        width: 100%;
        padding-bottom: 12px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .dashboard-sidebar .user .avatar {
        margin: 0;
    }

    .dashboard-sidebar .nav-item {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .dashboard-sidebar .nav-item.logout {
        border-top: none;
        margin-top: 0;
        padding-top: 12px;
    }
}

@media (max-width: 480px) {
    .dashboard-sidebar .nav-item {
        min-width: 60px;
        font-size: 0.7rem;
        padding: 6px 8px;
    }

    .dashboard-sidebar .nav-item span {
        display: inline;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}