/**
 * Online Tutoring — Booking Flow Stylesheet
 * Matches the SVHS artifact design exactly.
 *
 * Color palette (from artifact):
 *   Navy dark   #152a55
 *   Blue        #3165ae
 *   Blue mid    #2e65ae / #629cd1
 *   Gold        #b6af64
 *   Gold light  #d6ce86
 *   Gray        #878e95
 *   BG          #f8fafc
 *
 * Font: Roboto (enqueued from Google Fonts in PHP)
 */

/* ==========================================================================
   Reset & base
   ========================================================================== */
.ot-booking-app,
.ot-booking-app *,
.ot-booking-app *::before,
.ot-booking-app *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ot-booking-app {
    font-family: 'Roboto', sans-serif;
    color: #152a55;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/*
 * Neutralise WordPress theme button styles.
 * :where() has zero specificity, so every specific class rule below wins.
 */
:where(.ot-booking-app) button {
    font-family: 'Roboto', sans-serif;
    background: none;
    background-color: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    text-align: inherit;
    display: inline-block;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.ot-booking-app input {
    font-family: 'Roboto', sans-serif;
}

/* ==========================================================================
   Header
   ========================================================================== */
.ot-header {
    background: linear-gradient(135deg, #3165ae 0%, #152a55 100%);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(21, 42, 85, 0.15);
}

.ot-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ot-logo-badge {
    background: #b6af64;
    color: #152a55;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.ot-logo-text {
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.ot-tagline {
    color: #d6ce86;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Progress indicator
   ========================================================================== */
.ot-progress-container {
    padding: 32px 40px 16px;
    max-width: 600px;
    margin: 0 auto;
}

.ot-progress-track {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ot-progress-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(135, 142, 149, 0.25);
    color: #878e95;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.ot-progress-step.ot-step-active {
    background: #3165ae;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(49, 101, 174, 0.2);
}

.ot-progress-step.ot-step-done {
    background: #3165ae;
    color: #ffffff;
    box-shadow: none;
}

.ot-progress-line {
    flex: 1;
    height: 3px;
    background: rgba(135, 142, 149, 0.25);
    max-width: 80px;
    transition: background 0.3s ease;
}

.ot-progress-line.ot-line-done {
    background: #3165ae;
}

.ot-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.ot-progress-labels span {
    font-size: 12px;
    color: #878e95;
    text-align: center;
    flex: 1;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.ot-progress-labels span.ot-label-active {
    color: #3165ae;
    font-weight: 500;
}

/* ==========================================================================
   Back button
   ========================================================================== */
.ot-booking-app .ot-back-btn {
    background: none;
    border: none;
    color: #3165ae;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 40px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}


/* ==========================================================================
   Step panels
   ========================================================================== */
.ot-step-panel {
    display: none;
    padding: 24px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    animation: ot-fade-in 0.4s ease;
}

.ot-step-panel.ot-panel-active {
    display: block;
}

@keyframes ot-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Step 1 — Welcome + Subject grid
   ========================================================================== */

/* Welcome / intro section */
.ot-welcome-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(49, 101, 174, 0.05) 0%, rgba(182, 175, 100, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(135, 142, 149, 0.2);
}

.ot-booking-app .ot-welcome-title {
    font-size: 36px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ot-welcome-text {
    font-size: 16px;
    color: #152a55;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ot-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.ot-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #152a55;
    line-height: 1.5;
}

.ot-benefit-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3165ae;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

/* Step heading */
.ot-step-heading {
    text-align: center;
    margin-bottom: 40px;
}

.ot-booking-app .ot-step-heading h2 {
    font-size: 32px;
    font-weight: 500;
    color: #152a55;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.ot-step-heading p {
    font-size: 16px;
    color: #878e95;
}

/* Subject grid */
.ot-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.ot-booking-app .ot-subject-card {
    background: #ffffff;
    border: 2px solid rgba(135, 142, 149, 0.25);
    border-radius: 16px;
    padding: 32px 24px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(21, 42, 85, 0.08);
}

.ot-booking-app .ot-subject-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(49, 101, 174, 0.2);
}

.ot-subject-icon {
    font-size: 40px;
    color: #3165ae;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.ot-subject-name {
    font-size: 18px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 6px;
    display: block;
}

.ot-subject-meta {
    font-size: 13px;
    color: #878e95;
}

/* ==========================================================================
   Step 2 — Booking instructions + Tutor grid
   ========================================================================== */

/* Booking instructions banner */
.ot-booking-instructions {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 28px 40px;
    background: linear-gradient(135deg, #152a55 0%, #2e65ae 100%);
    border-radius: 16px;
    color: #ffffff;
}

.ot-booking-app .ot-booking-instructions h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #d6ce86;
}

.ot-instruction-steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.ot-instruction-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #ffffff;
    text-align: left;
}

.ot-instruction-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #b6af64;
    color: #152a55;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Tutor grid */
.ot-tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.ot-booking-app .ot-tutor-card {
    background: #ffffff;
    border: 2px solid rgba(135, 142, 149, 0.25);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    text-align: left;
    display: flex;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(21, 42, 85, 0.06);
    width: 100%;
}

.ot-booking-app .ot-tutor-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(49, 101, 174, 0.15);
}

.ot-tutor-photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.ot-tutor-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3165ae 0%, #629cd1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

.ot-tutor-rating-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #b6af64;
    color: #152a55;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.ot-tutor-body {
    flex: 1;
    min-width: 0;
}

.ot-tutor-name {
    font-size: 18px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 4px;
}

.ot-tutor-credentials {
    font-size: 13px;
    color: #878e95;
    margin-bottom: 12px;
}

.ot-tutor-subject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.ot-subject-tag {
    background: rgba(49, 101, 174, 0.1);
    color: #3165ae;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

.ot-tutor-bio {
    font-size: 13px;
    color: #878e95;
    line-height: 1.5;
    margin-bottom: 12px;
}

.ot-tutor-sessions {
    font-size: 12px;
    color: #878e95;
    font-weight: 500;
}

/* ==========================================================================
   Step 3 — Tutor summary + Availability + Packages
   ========================================================================== */

/* Tutor summary banner */
.ot-tutor-summary-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #3165ae 0%, #152a55 100%);
    border-radius: 16px;
    color: #ffffff;
    margin-bottom: 32px;
}

.ot-summary-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    color: #ffffff;
}

.ot-summary-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

.ot-summary-credentials {
    font-size: 14px;
    opacity: 0.85;
}

/* Section card (availability + packages share this) */
.ot-section-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(21, 42, 85, 0.06);
    margin-bottom: 32px;
}

.ot-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 4px;
}

.ot-section-subtitle {
    font-size: 14px;
    color: #878e95;
    margin-bottom: 20px;
}

/* Availability calendar */
.ot-calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.ot-day-col {
    background: rgba(135, 142, 149, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.ot-day-header {
    background: #3165ae;
    color: #ffffff;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.ot-day-slots {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ot-time-slot {
    background: rgba(49, 101, 174, 0.12);
    color: #3165ae;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.ot-calendar-note {
    font-size: 12px;
    color: #878e95;
    text-align: center;
}

/* Packages */
.ot-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ot-booking-app .ot-package-card {
    position: relative;
    background: #ffffff;
    border: 2px solid rgba(135, 142, 149, 0.25);
    border-radius: 12px;
    padding: 24px 16px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
}

.ot-booking-app .ot-package-card:hover {
    background: #ffffff;
    border-color: #3165ae;
}

.ot-booking-app .ot-package-card.ot-package-selected {
    border-color: #3165ae;
    background: rgba(49, 101, 174, 0.05);
}

.ot-booking-app .ot-package-card.ot-package-popular {
    border-color: #b6af64;
}

.ot-booking-app .ot-package-card.ot-package-popular.ot-package-selected {
    border-color: #3165ae;
}

.ot-popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #b6af64;
    color: #152a55;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.ot-package-name {
    font-size: 16px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 4px;
}

.ot-package-credits {
    font-size: 13px;
    color: #878e95;
    margin-bottom: 12px;
}

.ot-package-price {
    font-size: 32px;
    font-weight: 700;
    color: #3165ae;
    margin-bottom: 4px;
    line-height: 1;
}

.ot-package-per-session {
    font-size: 13px;
    color: #878e95;
    margin-bottom: 8px;
}

.ot-package-savings {
    display: inline-block;
    background: rgba(182, 175, 100, 0.2);
    color: #152a55;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 10px;
}

/* Proceed button */
.ot-proceed-section {
    text-align: center;
}

.ot-booking-app .ot-proceed-btn {
    background: linear-gradient(135deg, #3165ae 0%, #152a55 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s ease;
    box-shadow: 0 4px 20px rgba(49, 101, 174, 0.3);
    font-family: 'Roboto', sans-serif;
}

.ot-booking-app .ot-proceed-btn:hover:not(:disabled) {
    opacity: 0.88;
}

.ot-booking-app .ot-proceed-btn:disabled {
    background: #878e95;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   Step 4 — OTP verification + Checkout
   ========================================================================== */

/* OTP panel (shown first in step 4) */
.ot-otp-panel {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(21, 42, 85, 0.08);
}

.ot-otp-panel h3 {
    font-size: 22px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 10px;
}

.ot-otp-panel p {
    font-size: 15px;
    color: #878e95;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Checkout layout (shown after OTP) */
.ot-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

/* Order summary */
.ot-order-summary {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(21, 42, 85, 0.08);
    height: fit-content;
}

.ot-order-summary h3 {
    font-size: 18px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d6ce86;
}

.ot-order-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: #152a55;
}

.ot-order-divider {
    height: 1px;
    background: #878e95;
    opacity: 0.3;
    margin: 8px 0;
}

.ot-order-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: #152a55;
}

/* Payment form */
.ot-payment-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(21, 42, 85, 0.08);
}

.ot-stripe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(135, 142, 149, 0.3);
}

.ot-stripe-logo {
    font-size: 24px;
    font-weight: 700;
    color: #635bff;
    font-style: italic;
    letter-spacing: -1px;
}

.ot-secure-label {
    font-size: 13px;
    color: #878e95;
}

/* Form controls */
.ot-form-group {
    margin-bottom: 20px;
}

.ot-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #152a55;
    margin-bottom: 8px;
}

.ot-form-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid rgba(135, 142, 149, 0.4);
    border-radius: 8px;
    outline: none;
    color: #152a55;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

.ot-form-input:focus {
    border-color: #3165ae;
    box-shadow: 0 0 0 3px rgba(49, 101, 174, 0.12);
}

.ot-field-error {
    display: block;
    font-size: 12px;
    color: #d63638;
    margin-top: 5px;
    min-height: 16px;
}

/* OTP code input */
.ot-otp-input {
    font-size: 26px;
    letter-spacing: 12px;
    text-align: center;
    font-weight: 700;
}

/* Card input group (Stripe-style) */
.ot-card-group {
    border: 1px solid rgba(135, 142, 149, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.ot-card-number {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: none;
    border-bottom: 1px solid rgba(135, 142, 149, 0.4);
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.ot-card-row {
    display: flex;
}

.ot-card-expiry,
.ot-card-cvc {
    flex: 1;
    padding: 12px 14px;
    font-size: 15px;
    border: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.ot-card-expiry {
    border-right: 1px solid rgba(135, 142, 149, 0.4);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.ot-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #3165ae 0%, #152a55 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ot-btn-primary:hover:not(:disabled) {
    opacity: 0.88;
}

.ot-btn-primary:disabled {
    background: #878e95;
    cursor: not-allowed;
}

.ot-btn-ghost {
    width: 100%;
    background: transparent;
    color: #878e95;
    border: 1px solid rgba(135, 142, 149, 0.4);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.2s ease, color 0.2s ease;
    margin-top: 10px;
}

.ot-btn-ghost:hover {
    border-color: #3165ae;
    color: #3165ae;
}

.ot-stripe-disclaimer {
    font-size: 12px;
    color: #878e95;
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* Processing state */
.ot-processing-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ==========================================================================
   Confirmation screen
   ========================================================================== */
.ot-confirmation-container {
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    animation: ot-fade-in 0.5s ease;
}

.ot-confirmation-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(21, 42, 85, 0.1);
}

.ot-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b6af64 0%, #d6ce86 100%);
    color: #152a55;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: ot-checkmark 0.5s ease;
}

@keyframes ot-checkmark {
    0%   { transform: scale(0); opacity: 0; }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.ot-confirmation-card h1 {
    font-size: 28px;
    font-weight: 600;
    color: #152a55;
    margin-bottom: 12px;
}

.ot-confirmation-card > p {
    font-size: 16px;
    color: #878e95;
    margin-bottom: 28px;
}

.ot-confirmation-details {
    background: linear-gradient(135deg, rgba(49, 101, 174, 0.05) 0%, rgba(182, 175, 100, 0.05) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid rgba(135, 142, 149, 0.2);
    text-align: left;
}

.ot-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(135, 142, 149, 0.15);
    font-size: 14px;
    color: #152a55;
}

.ot-detail-row:last-child {
    border-bottom: none;
}

/* Next steps box */
.ot-next-steps {
    background: linear-gradient(135deg, #152a55 0%, #2e65ae 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
    text-align: left;
}

.ot-next-steps h3 {
    font-size: 16px;
    font-weight: 600;
    color: #d6ce86;
    margin-bottom: 12px;
}

.ot-next-steps p {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.7;
}

.ot-dashboard-btn {
    background: linear-gradient(135deg, #3165ae 0%, #152a55 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 15px rgba(49, 101, 174, 0.3);
    transition: opacity 0.2s ease;
}

.ot-dashboard-btn:hover {
    opacity: 0.88;
}

/* ==========================================================================
   Loading overlay
   ========================================================================== */
.ot-loading {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ot-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(49, 101, 174, 0.2);
    border-top-color: #3165ae;
    border-radius: 50%;
    animation: ot-spin 0.7s linear infinite;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .ot-checkout-layout {
        grid-template-columns: 1fr;
    }
    .ot-calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ot-packages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .ot-header {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .ot-progress-container {
        padding: 24px 20px 12px;
    }
    .ot-step-panel {
        padding: 20px 20px 48px;
    }
    .ot-welcome-section {
        padding: 24px 20px;
    }
    .ot-booking-app .ot-welcome-title {
        font-size: 26px;
    }
    .ot-subjects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ot-tutors-grid {
        grid-template-columns: 1fr;
    }
    .ot-booking-app .ot-tutor-card {
        flex-direction: column;
    }
    .ot-calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ot-booking-instructions {
        padding: 20px;
    }
    .ot-otp-panel {
        padding: 24px 20px;
    }
    .ot-confirmation-container {
        padding: 32px 20px;
    }
    .ot-confirmation-card {
        padding: 32px 20px;
    }
    .ot-booking-app .ot-back-btn {
        padding: 8px 20px;
    }
}
