/* assets/css/booking.css — Student-facing pages */

/* ===== Hero Section (Landing Page) ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, var(--primary) 0%, #0f1f35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,.25) 0%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 1.5rem;
    max-width: 700px;
}
.teacher-logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.3);
    margin: 0 auto 1.25rem;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.teacher-name {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: .5rem;
}
.teacher-specialty {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    margin-bottom: 1.25rem;
}
.teacher-bio {
    max-width: 560px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
}
.social-links {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.social-links a {
    color: rgba(255,255,255,.85);
    padding: .45rem 1.1rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    font-size: .9rem;
    transition: all .2s;
}
.social-links a:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* ===== Stepper (Booking Form) ===== */
.booking-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #0f1f35 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
}
.stepper-container {
    background: #fff;
    max-width: 820px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2rem;
    margin: auto;
}
.stepper-container .brand {
    text-align: center;
    margin-bottom: 2rem;
}
.stepper-container .brand h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Steps bar */
.stepper-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}
.stepper-header::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    line-height: 36px;
    margin: 0 auto .6rem;
    font-weight: 700;
    font-size: .875rem;
    transition: all .3s;
}
.step.active .step-circle {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,.2);
}
.step.completed .step-circle {
    background: var(--success);
    color: #fff;
}
.step-label {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.step.active .step-label { color: var(--accent); }
.step.completed .step-label { color: var(--success); }

/* Step content */
.step-content {
    display: none;
    animation: fadeUp .25s ease;
}
.step-content.active { display: block; }

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

.stepper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: .75rem;
}

/* Group selection cards */
.group-card {
    border: 2px solid var(--border);
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: .75rem;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.group-card:hover {
    border-color: var(--accent);
    background: #f0f7ff;
}
.group-card.selected {
    border-color: var(--accent);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.group-card input[type="radio"] { accent-color: var(--accent); }
.group-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.group-meta  { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }
.group-price { font-size: 1.1rem; font-weight: 800; color: var(--accent); margin-right: auto; white-space: nowrap; }

/* Confirmation box */
.confirm-box {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
}
.confirm-box .confirm-row {
    display: flex;
    justify-content: space-between;
    padding: .6rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: .9rem;
}
.confirm-box .confirm-row:last-child { border-bottom: none; }
.confirm-box .confirm-label { color: var(--text-muted); }
.confirm-box .confirm-value { font-weight: 700; }

/* ===== Track / Upload Page ===== */
.public-page {
    min-height: 100vh;
    background: var(--bg);
    padding: 2rem 1rem;
}
.public-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}
.public-card .card-brand {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.public-card .card-brand h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Upload area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: var(--bg);
}
.upload-area:hover, .upload-area.dragover {
    border-color: var(--accent);
    background: #f0f7ff;
}
.upload-area .upload-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.upload-area p { color: var(--text-muted); font-size: .9rem; }
.upload-area input[type="file"] { display: none; }

/* Receipt card */
.receipt-page {
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.receipt-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2rem;
    max-width: 520px;
    width: 100%;
    text-align: center;
}
.receipt-box .receipt-qr {
    margin: 1.5rem auto;
    display: block;
    border-radius: var(--radius);
    border: 4px solid var(--border);
}
.receipt-box .receipt-code {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: monospace;
    color: var(--primary);
    letter-spacing: .08em;
    background: var(--bg);
    padding: .5rem 1.5rem;
    border-radius: var(--radius);
    display: inline-block;
    margin: .75rem 0;
}

@media print {
    .no-print, nav, footer, .btn { display: none !important; }
    body { background: #fff !important; }
    .receipt-box { box-shadow: none; }
}
