﻿/* ============ CSS Variables & Reset ============ */
:root {
    --primary: #ff6310;
    --primary-dark: #e55a0e;
    --primary-light: #ff8a4d;
    --secondary: #fd7c47;
    --dark: #111518;
    --dark-2: #1a1f24;
    --gray: #687279;
    --gray-light: #E9EBEC;
    --gray-lighter: #F4F5F6;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --font-heading: "Poppins", sans-serif;
    --font-body: "Open Sans", sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.text-small { font-size: 0.85rem; }

/* ============ Buttons ============ */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-success {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}
.btn-success:hover { background: #1da851; color: var(--white); }

.btn-danger {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}
.btn-danger:hover { background: #c82333; color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

/* ============ Alerts ============ */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ============ Header ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}
.landing-header {
    background: rgba(17, 21, 24, 0.95);
    backdrop-filter: blur(10px);
}
.member-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}
.member-header .logo h2 { color: var(--dark); }

.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.member-header .main-nav a { color: var(--gray); }
.member-header .main-nav a:hover { color: var(--primary); background: transparent; }
.main-nav .btn { padding: 8px 20px; }
.main-nav .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.main-nav .btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.member-header .menu-toggle span { background: var(--dark); }

/* ============ Hero Section ============ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #000 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="80" r="1" fill="rgba(255,255,255,0.04)"/><circle cx="30" cy="60" r="0.8" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 200px 200px;
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: var(--primary-light);
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--dark); }

/* ============ Sections ============ */
.section {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}
.section-header p {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ About Section ============ */
.about-section { background: var(--gray-lighter); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}
.about-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.about-icon {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 16px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,99,16,0.1), rgba(253,124,71,0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-card h4 { font-size: 1.15rem; margin-bottom: 10px; color: var(--dark); }
.about-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* ============ Classes Section ============ */
.classes-section { background: var(--white); }
.classes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; margin: 20px 0; }

.class-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.class-card.has-access { border-color: var(--primary); }

.class-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.class-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
}
.class-thumb-icon { font-size: 3rem; }
.class-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.class-body { padding: 20px; }
.class-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.class-mentor { color: var(--gray); font-size: 0.88rem; margin-bottom: 8px; }
.class-desc { color: var(--gray); font-size: 0.85rem; margin-bottom: 12px; line-height: 1.6; }
.class-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 0.85rem; color: var(--gray); }

/* ============ Pricing Section ============ */
.pricing-section { background: var(--gray-lighter); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; align-items: start; }
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(255,99,16,0.15);
}
.pricing-card.featured:hover { transform: scale(1.05); }
.pricing-card.active-card { border-color: var(--success); background: #f0fff4; }

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.pricing-name { font-size: 1.2rem; color: var(--dark); margin-bottom: 12px; }
.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}
.pricing-duration { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.pricing-desc { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 24px; text-align: left; }
.pricing-features li { padding: 8px 0; font-size: 0.88rem; color: var(--dark); border-bottom: 1px solid var(--gray-lighter); }
.pricing-features li:last-child { border-bottom: none; }

/* ============ Testimonials ============ */
.testimonial-section { background: var(--dark); }
.testimonial-section .section-header h2 { color: var(--white); }
.testimonial-section .section-header p { color: rgba(255,255,255,0.6); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(10px);
}
.testimonial-stars { margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
}
.testimonial-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.testimonial-author span { color: var(--primary-light); font-size: 0.82rem; }

/* ============ CTA Section ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    color: var(--white);
}
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; color: var(--white); }
.cta-section p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.7); }
.cta-section .btn-outline:hover { background: var(--white); color: var(--primary); }

/* ============ Footer ============ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 24px 0;
    font-size: 0.88rem;
}

/* ============ Auth Pages ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    padding: 20px;
}
.auth-container { width: 100%; max-width: 440px; }
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 6px; }
.auth-header h3 { font-size: 1.15rem; color: var(--gray); font-weight: 400; }
.auth-form .form-group { margin-bottom: 20px; }
.auth-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}
.auth-form input, .auth-form textarea, .auth-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}
.auth-form input:focus, .auth-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,99,16,0.1);
}
.auth-form small { display: block; color: var(--gray); font-size: 0.8rem; margin-top: 4px; }
.auth-form textarea { resize: vertical; min-height: 80px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--gray); }
.auth-footer a { font-weight: 600; }
.auth-back { text-align: center; margin-top: 12px; }

/* ============ Member Content ============ */
.member-content { padding-top: 100px; padding-bottom: 60px; }

.page-header {
    margin-bottom: 40px;
}
.page-header h1 { font-size: 1.8rem; color: var(--dark); }
.page-header p { color: var(--gray); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}
.stat-label { color: var(--gray); font-size: 0.9rem; margin-top: 4px; }

/* ============ Empty State ============ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-lighter);
    border-radius: var(--radius-lg);
}
.empty-state h2 { margin-bottom: 12px; color: var(--dark); }
.empty-state p { color: var(--gray); margin-bottom: 24px; }

/* ============ Form Card ============ */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.form-card h2, .form-card h3 { margin-bottom: 20px; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,99,16,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.checkbox-label { display: flex !important; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0; }

/* ============ Data Table ============ */
.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table th {
    background: var(--gray-lighter);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dark);
    border-bottom: 2px solid var(--gray-light);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--dark);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-lighter); }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}
.status-lunas { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }
.status-gagal { background: #f8d7da; color: #721c24; }

/* ============ Class Video Grid ============ */
.class-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.class-video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}
.class-video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.class-video-thumb {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}
.class-video-thumb:hover .class-video-play { transform: scale(1.15); background: rgba(255,255,255,0.95); color: var(--primary); }
.class-video-init {
    font-size: 1.8rem; font-weight: 700; color: rgba(255,255,255,0.3);
    font-family: var(--font-heading); user-select: none;
}
.class-video-play {
    position: absolute; width: 44px; height: 44px;
    background: rgba(255,255,255,0.85); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--dark); transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); padding-left: 3px;
}
.class-video-duration {
    position: absolute; bottom: 6px; right: 8px;
    background: rgba(0,0,0,0.6); color: var(--white);
    padding: 2px 7px; border-radius: 4px; font-size: 0.72rem; font-weight: 500;
}
.class-video-card-body { padding: 10px 12px; }
.class-video-card-body h4 {
    font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0;
}

/* ============ Inline Player ============ */
.inline-player-wrapper {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.inline-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.inline-player-title {
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.inline-player-meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.inline-player-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    line-height: 1;
    flex-shrink: 0;
}
.inline-player-close:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}
.inline-player-wrapper .video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: contain;
    background: #000;
}

/* ============ Pagination ============ */
.pagination {
    display: flex; gap: 6px; align-items: center; justify-content: center;
    flex-wrap: wrap; margin: 16px 0;
}
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--gray-light); border-radius: var(--radius);
    background: var(--white); color: var(--dark);
    font-size: 0.88rem; font-weight: 500; text-decoration: none;
    transition: var(--transition);
}
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============ Video Player ============ */
.video-player-wrapper {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}
.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: contain;
    background: #000;
}

/* ============ Class Detail ============ */
.class-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}
.info-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.info-card h3 { margin-bottom: 12px; font-size: 1.05rem; }

.video-list { display: flex; flex-direction: column; gap: 4px; }
.video-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.video-item:hover { background: var(--gray-lighter); }
.video-item.active { background: rgba(255,99,16,0.1); border-left: 3px solid var(--primary); }
.video-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    flex-shrink: 0;
}
.video-item.active .video-number { background: var(--primary); color: var(--white); }
.video-info { display: flex; flex-direction: column; }
.video-title { font-size: 0.88rem; font-weight: 500; }
.video-duration { font-size: 0.78rem; color: var(--gray); }

/* ============ Payment ============ */
.payment-wrapper { max-width: 600px; margin: 0 auto; }
.payment-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}
.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-light);
}
.payment-header h2 { font-size: 1.2rem; }
.payment-details { margin-bottom: 24px; }
.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-lighter);
}
.payment-amount { color: var(--primary); font-size: 1.3rem; }
.payment-instructions { background: var(--gray-lighter); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.payment-instructions h3 { margin-bottom: 12px; }
.bank-info p { padding: 6px 0; }
.payment-note { margin-top: 16px; padding: 12px; background: #fff3cd; border-radius: var(--radius); font-size: 0.85rem; }
.payment-actions { text-align: center; }

/* ============ Admin Header Row ============ */
.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ Detail Table ============ */
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-lighter);
}
.detail-table td:first-child { font-weight: 500; color: var(--gray); width: 140px; }

/* ============ Profile Card ============ */
.profile-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    max-width: 600px;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
    .member-header .main-nav { background: var(--white); border-bottom: 1px solid var(--gray-light); }
    .main-nav.active { display: flex; }
    .main-nav a { width: 100%; text-align: center; }
    .class-detail-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: none; }
    .section { padding: 50px 0; }
    .hero-section { min-height: 70vh; padding: 100px 0 60px; }
    .admin-header-row { flex-direction: column; gap: 12px; align-items: flex-start; }
}
