/* ============================================================
   DUMI SURF — Appointments Page  |  Premium Sea & Surf Theme
   Shared tokens, nav & footer styles → shared.css
   ============================================================ */
/* NOTE: shared.css is loaded before this file in appointments.php */
/* Google Fonts loaded in shared.css — do not duplicate here */

/* ---- TOKENS ---- */
:root {
    --primary: #0077b6;
    --primary-dark: #005f8e;
    --primary-mid: #0096c7;
    --primary-light: #90e0ef;
    --primary-pale: #caf0f8;
    --accent: #f77f00;
    --accent-dark: #d46b00;
    --ocean: #023e8a;
    --bg: #f0f9ff;
    --bg2: #e0f2fe;
    --bg3: #bae6fd;
    --surface: #ffffff;
    --border: #b9e3f8;
    --border-strong: #7dd3f5;
    --text: #0c2a4a;
    --text-2: #1e3a5f;
    --text-muted: #4a7fa0;
    --text-light: #7fb3cc;
    --success: #059669;
    --success-bg: #d1fae5;
    --danger: #dc2626;
    --danger-bg: #fee2e2;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-xs: 0 1px 4px rgba(0, 119, 182, 0.07);
    --shadow-sm: 0 2px 12px rgba(0, 119, 182, 0.09);
    --shadow: 0 8px 32px rgba(0, 119, 182, 0.13);
    --shadow-lg: 0 20px 60px rgba(0, 119, 182, 0.18);
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ================================================================
   NAVIGATION
================================================================ */
.appt-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-logo .logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1;
}

.nav-logo .logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--bg2);
}

.nav-links a.active {
    color: var(--primary);
    background: var(--bg2);
    font-weight: 600;
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: var(--shadow-sm);
}

/* Burger */
.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 201;
    border-radius: 8px;
}

.burger-btn:hover {
    background: var(--bg2);
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 40, 80, 0.4);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.mobile-nav-overlay.open {
    display: block;
    opacity: 1;
}

/* Mobile panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-nav-panel.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.mobile-nav-header .logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.mobile-nav-header .logo-text span {
    color: var(--accent);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    line-height: 1;
}

.mobile-nav-close:hover {
    background: var(--border);
}

.mobile-nav-links {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-links a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 13px 16px;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary);
    background: var(--bg2);
}

/* ================================================================
   HERO
================================================================ */
.appt-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--primary) 50%, var(--primary-mid) 100%);
    padding: 80px 20px 70px;
    text-align: center;
}

.appt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 120%, rgba(144, 224, 239, 0.2) 0%, transparent 70%),
        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='%2390e0ef' fill-opacity='0.06'%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");
    pointer-events: none;
}

.appt-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--primary-light);
}

.appt-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 62px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.appt-hero h1 em {
    font-style: italic;
    color: var(--primary-light);
}

.hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.65;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(6px);
}

/* ================================================================
   MAIN LAYOUT — two-column
================================================================ */
.booking-outer {
    max-width: 1160px;
    margin: -20px auto 64px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* ================================================================
   WIZARD CARD (left column)
================================================================ */
.wizard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.wizard-card-header {
    padding: 28px 32px 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom, var(--bg2), var(--surface));
}

/* ---- Step Indicator ---- */
.step-indicator-wrap {
    padding-bottom: 24px;
}

.step-indicator {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg3);
    border: 2px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}

.step-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(0, 119, 182, 0.15);
}

.step-dot.done {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.step-dot.done::after {
    content: '✓';
    font-size: 14px;
    font-weight: 700;
}

.step-dot.done span {
    display: none;
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.step-item.active .step-label,
.step-item.done .step-label {
    color: var(--primary);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border-strong);
    margin-top: 17px;
    border-radius: 2px;
    transition: background 0.4s;
    min-width: 20px;
}

.step-connector.done {
    background: var(--success);
}

/* ---- Step Body ---- */
.wizard-body {
    padding: 28px 32px;
}

/* ================================================================
   FORM ELEMENTS
================================================================ */
.form-section {
    margin-bottom: 22px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-label-icon {
    font-size: 14px;
}

.form-select,
.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a7fa0' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.5;
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.10);
}

.form-input {
    background-image: none;
    cursor: text;
}

.form-textarea {
    background-image: none;
    cursor: text;
    resize: vertical;
    min-height: 88px;
}

/* two-col form grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---- Lesson selector ---- */
.lesson-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lesson-btn {
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg2);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.lesson-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.lesson-btn:hover:not(.selected) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg2);
}

/* ================================================================
   CALENDAR
================================================================ */
.date-time-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
}

.calendar-wrap {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.cal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cal-month {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.cal-month strong {
    color: var(--primary-light);
}

.cal-nav {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 9px;
    border-radius: 6px;
    transition: var(--transition);
    line-height: 1;
}

.cal-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 6px;
}

.cal-day-header {
    text-align: center;
    padding: 10px 0 6px;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    margin: 2px;
    width: 30px;
    height: 30px;
    transition: var(--transition);
    color: var(--text);
}

.cal-day:hover:not(.disabled):not(.other-month) {
    background: var(--bg2);
    color: var(--primary);
    font-weight: 600;
}

.cal-day.today {
    font-weight: 800;
    color: var(--primary);
    background: var(--bg2);
    outline: 2px solid var(--primary-light);
}

.cal-day.selected {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.cal-day.disabled,
.cal-day.other-month {
    color: var(--bg3);
    cursor: default;
    pointer-events: none;
}

/* ---- Slots ---- */
.slots-area {
    min-height: 200px;
}

.slots-area-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.slots-area-header h3 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.slots-count-badge {
    background: var(--bg2);
    color: var(--primary);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--border);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.slot-btn {
    padding: 13px 8px;
    text-align: center;
    background: var(--surface);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    line-height: 1.3;
}

.slot-btn .slot-time {
    font-size: 13px;
    font-weight: 700;
}

.slot-btn .slot-sub {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 500;
}

.slot-btn:hover {
    background: var(--bg2);
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.slot-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.slot-btn.selected .slot-sub {
    color: rgba(255, 255, 255, 0.70);
}

.slot-btn.booked {
    background: var(--bg2);
    border-color: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: none;
    opacity: 0.55;
}

.slot-btn.booked .slot-time {
    text-decoration: line-through;
}

.slot-btn.not-enough {
    background: var(--bg2);
    color: var(--text-light);
    cursor: not-allowed;
    border-color: var(--border);
    opacity: 0.5;
}

.slot-empty {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg);
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.slot-empty .slot-empty-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.slot-empty p {
    font-size: 14px;
}

.slots-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.no-slots {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1.5px dashed var(--border-strong);
}

/* ================================================================
   STEP 3 — REVIEW
================================================================ */
.review-block {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--primary) 100%);
}

.review-header .svc-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.review-header .svc-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
}

.review-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.review-detail-item {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.review-detail-item:nth-child(even) {
    border-right: none;
}

.review-detail-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.review-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.review-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.review-actions {
    border-top: 1px solid var(--border);
    padding: 14px 24px;
    background: var(--bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-total {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
    color: var(--text-2);
    padding: 16px 20px;
    background: var(--bg2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-total span {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
}

/* ================================================================
   STEP 4 — ORDER TABLE
================================================================ */
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.order-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.order-table tr:last-child td {
    border-bottom: none;
}

.order-table .total-row td {
    font-weight: 800;
    font-size: 16px;
    color: var(--primary);
    background: var(--bg2);
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-family: inherit;
    transition: var(--transition);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.30);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.40);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
    background: var(--bg2);
    border-color: var(--primary-light);
    color: var(--primary);
}

.btn-lg {
    padding: 14px 34px;
    font-size: 15px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
    align-items: center;
}

/* ================================================================
   RIGHT SIDEBAR — summary card
================================================================ */
.booking-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-card-header {
    padding: 16px 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card-header h3 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.sidebar-card-body {
    padding: 20px 22px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row .label {
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.summary-row .value {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.summary-empty {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.summary-total {
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--bg2);
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-strong);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-total .t-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.summary-total .t-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
}

.summary-total-pending {
    color: var(--text-light) !important;
    font-size: 16px !important;
}

/* trust badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg2);
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
}

.trust-badge .tb-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-pale);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-badge .tb-text strong {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 1px;
}

.trust-badge .tb-text span {
    font-size: 11px;
    color: var(--text-muted);
}

/* ================================================================
   SUCCESS SCREEN
================================================================ */
.success-screen {
    text-align: center;
    padding: 50px 32px;
}

.success-icon-wrap {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--success) 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.30);
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-screen h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text);
    font-size: 28px;
    margin-bottom: 10px;
}

.success-screen>p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    max-width: 400px;
    margin: 0 auto 24px;
}

.ref-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 28px;
    background: var(--bg2);
    border: 2px solid var(--primary);
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.success-detail {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 auto;
    max-width: 440px;
    text-align: left;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.success-detail-row:last-child {
    border-bottom: none;
}

.success-detail-row span {
    color: var(--text-muted);
    font-weight: 500;
}

.success-detail-row strong {
    color: var(--text);
    font-weight: 600;
}

/* ================================================================
   PRICE PLANS
================================================================ */
.plans-section {
    padding: 80px 24px 90px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, #d4effc 100%);
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 119, 182, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    background: var(--bg2);
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    color: var(--ocean);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-title em {
    font-style: italic;
    color: var(--primary);
}

.section-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 52px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.plan-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.plan-card.featured {
    background: linear-gradient(145deg, var(--primary) 0%, var(--ocean) 100%);
    border-color: var(--primary);
    color: #fff;
}

.plan-card.featured::before {
    content: '⭐  POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-card .plan-name {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
}

.plan-card.featured .plan-name {
    color: var(--primary-light);
}

.plan-tag {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.plan-card.featured .plan-tag {
    color: rgba(255, 255, 255, 0.70);
}

.plan-price {
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
    margin: 0;
    font-family: 'Oswald', sans-serif;
}

.plan-card.featured .plan-price {
    color: #fff;
}

.plan-price sup {
    font-size: 22px;
    vertical-align: top;
    margin-top: 10px;
    display: inline-block;
    font-weight: 700;
}

.plan-price sub {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.plan-discount {
    font-size: 12px;
    font-weight: 600;
    margin: 10px 0 20px;
    color: var(--text-muted);
    background: var(--bg2);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--border);
}

.plan-card.featured .plan-discount {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.85);
}

.plan-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.plan-card.featured .plan-divider {
    background: rgba(255, 255, 255, 0.20);
}

.plan-features {
    text-align: left;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.plan-features li {
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.plan-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-card.featured .plan-features li {
    color: rgba(255, 255, 255, 0.90);
}

.plan-card.featured .plan-features li::before {
    color: var(--primary-light);
}

.plan-features li strong {
    color: var(--primary);
    font-weight: 700;
}

.plan-card.featured .plan-features li strong {
    color: var(--primary-light);
}

.custom-price {
    font-size: 26px;
    font-weight: 800;
    margin: 16px 0 8px;
    color: var(--text);
    font-family: 'Oswald', sans-serif;
}

.plan-card.featured .custom-price {
    color: #fff;
}

/* ================================================================
   FOOTER
================================================================ */
.appt-footer {
    background: var(--ocean);
    padding: 60px 40px 32px;
    border-top: 4px solid var(--primary);
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 220px repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .brand-name {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
}

.footer-brand .brand-name span {
    color: var(--primary-light);
}

.footer-brand .brand-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.50);
    margin-top: 6px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.footer-brand img {
    height: 80px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    opacity: 0.9;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: var(--primary-light);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col a,
.footer-col p {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
    line-height: 1.5;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col .contact-icon {
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.40);
}

/* ================================================================
   SPINNER
================================================================ */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(0, 119, 182, 0.20);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================================================================
   STEP 2 TIME HINT
================================================================ */
.time-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 14px;
    background: var(--bg2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 18px;
}

/* ================================================================
   MOBILE RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .appt-nav {
        padding: 0 20px;
        height: 66px;
    }

    .nav-links {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .booking-outer {
        margin-top: -14px;
        padding: 0 14px;
    }

    .wizard-card-header,
    .wizard-body {
        padding: 20px 20px;
    }

    .date-time-grid {
        grid-template-columns: 1fr;
    }

    .review-details {
        grid-template-columns: 1fr;
    }

    .review-detail-item {
        border-right: none !important;
    }

    .review-detail-item:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .review-detail-item:last-child {
        border-bottom: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .appt-footer {
        padding: 40px 20px 24px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .appt-hero {
        padding: 60px 16px 55px;
    }

    .appt-hero h1 {
        font-size: 30px;
    }

    .hero-badges {
        gap: 8px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .slots-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .step-label {
        display: none;
    }

    .plans-section {
        padding: 60px 16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}