/* ── HomeTutor Odisha — Global Theme ── */
:root {
    --terra: #b91c1c;
    --gold:  #d97706;
    --silk:  #fffbf5;
    --royal: #450a0a;
    --indigo: #1e1b4b;
    /* Alias for dashboard pages that use --primary */
    --primary: #b91c1c;
    --primary-dark: #991b1b;

/* ── Global cursor ── */
a, button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], label[for], select { cursor: pointer; }
    --sidebar-w: 255px;
}

/* ── CURSOR — restore normal browser cursors everywhere ── */
*, *::before, *::after { cursor: auto; }
a, button, [role="button"], label, .btn, .btn-royal, .btn-login, .btn-submit,
.save-btn, .btn-primary-full, .fb-submit, .submit-btn, .slot-label,
.role-btn, .gender-option label, .check-item, .fee-label, .ac-item,
.avatar-upload-btn, .ds-avatar-upload-btn, .pass-wrap .toggle-pass,
.chip-check, .chip-check label, .chip-check input,
.subject-check, .subject-check .form-check-input, .subject-check .form-check-label,
input[type="submit"], input[type="button"], input[type="file"],
select, .filter-select, .faq-q, .star-btn, .book-btn, .ds-book-btn,
.ds-nav-item, .nav-item, .menu-item, .action-btn-card, .tutor-card,
.ds-action-card, .ds-tutor-card, .gurukul-card, .btn-menu { cursor: pointer; }
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="date"], textarea, .field-input,
.form-control, .search-input, .ds-search-input, .filter-text { cursor: text; }
[disabled], .slot-label.booked { cursor: not-allowed; }

body {
    background: var(--silk);
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden; color: #1a1a1a;
    scroll-behavior: smooth;
}

/* ── MOVING IKAT STRIPS ── */.ikat-strip {
    height: 20px; width: 100%;
    background: repeating-linear-gradient(90deg, #000 0, #000 15px, var(--terra) 15px, var(--terra) 30px, var(--gold) 30px, var(--gold) 45px);
    z-index: 1001; position: relative;
}
.ikat-top  { position: fixed; top: 0; animation: scrollRight 15s linear infinite; }
.ikat-bottom { animation: scrollLeft 15s linear infinite; }
@keyframes scrollLeft  { from { background-position: 0 0; } to { background-position: -450px 0; } }
@keyframes scrollRight { from { background-position: 0 0; } to { background-position:  450px 0; } }

/* ── BACKGROUND SILK ANIMATION ── */
.page-silk {
    position: fixed; inset: 0; z-index: -10; opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='%23b91c1c' stroke-width='0.5' stroke-opacity='0.1'/%3E%3C/svg%3E");
    animation: silkMove 100s linear infinite;
}
@keyframes silkMove { from { background-position: 0 0; } to { background-position: 1000px 1000px; } }

/* ── NAV OVERHAUL ── */
.nav-wrap { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 20px 0; 
    display: flex;
    justify-content: center;
}
.nav-glass {
    background: rgba(255, 255, 255, 0.78) !important; 
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 10px 32px !important; 
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 100px !important;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(69, 10, 10, 0.05) !important;
    width: 90% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-glass:hover {
    box-shadow: 0 20px 50px rgba(69, 10, 10, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.88) !important;
}

/* Nav Links hover states */
.nav-glass div.gap-5 a {
    position: relative;
    color: #334155 !important;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.25s ease !important;
}
.nav-glass div.gap-5 a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--terra), var(--gold));
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}
.nav-glass div.gap-5 a:hover {
    color: var(--terra) !important;
}
.nav-glass div.gap-5 a:hover::after {
    width: 100%;
}

/* Premium Navigation Register Button */
.nav-glass .btn-dark {
    background: linear-gradient(135deg, var(--terra), var(--gold)) !important;
    border: none !important;
    color: white !important;
    padding: 10px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-glass .btn-dark:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.25) !important;
    color: white !important;
}
.nav-glass .btn-dark:active {
    transform: translateY(0) scale(0.98) !important;
}

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 100px; }
.hero-title { font-family: 'Philosopher', sans-serif; font-size: clamp(3.5rem, 8vw, 4.5rem); line-height: 0.85; font-weight: 800; color: var(--royal); }
.hero-title span {
    background: linear-gradient(90deg, var(--terra), var(--gold), var(--terra));
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: textFlow 5s linear infinite;
}
@keyframes textFlow { to { background-position: 200% center; } }

/* ── PARCHMENT PAPERS (replaces 3D book) ── */
.book-stage { width: 100%; display: flex; justify-content: center; align-items: center; padding: 2rem 0; }
.mahapothi { width: 320px; position: relative; height: 420px; }
.mahapothi::before,
.mahapothi::after {
    content: ''; position: absolute;
    background: #fef9f0; border-radius: 4px 16px 16px 4px;
    box-shadow: 2px 4px 16px rgba(0,0,0,.12); border: 1px solid #e8d5b0;
}
.mahapothi::before { inset: 0; transform: translateX(8px) translateY(8px); background: #fdf3e3; }
.mahapothi::after  { inset: 0; transform: translateX(4px) translateY(4px); background: #fef6ec; }
.cover { display: none !important; }
.cover-design { display: none !important; }
.page {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #fffdf7 0%, #fef6e4 100%);
    border-radius: 4px 16px 16px 4px;
    border-left: 6px solid var(--royal);
    border-top: 1px solid #e8d5b0; border-right: 1px solid #e8d5b0; border-bottom: 1px solid #e8d5b0;
    box-shadow: 4px 8px 32px rgba(0,0,0,.15), inset 0 0 40px rgba(215,119,6,.04);
    padding: 2.5rem 2rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 2;
}
.page::before {
    content: ''; position: absolute; top: 0; left: 6px; bottom: 0; width: 1px;
    background: repeating-linear-gradient(to bottom, transparent, transparent 28px, rgba(185,28,28,.12) 28px, rgba(185,28,28,.12) 29px);
}
.topbar-back-btn-d { color:#64748b; font-size:.85rem; font-weight:600; text-decoration:none; display:flex; align-items:center; gap:.3rem; padding:.4rem .75rem; border-radius:8px; transition:background .15s; }
.topbar-back-btn-d:hover { background:#f1f5f9; }
.topbar-divider-d { color:#e2e8f0; }
.topbar-title-d { font-size:1.05rem; font-weight:700; color:#0f172a; }
.topbar-date-d { font-size:.85rem; color:#64748b; }

/* ── BRAND LOGO DESKTOP OVERHAUL ── */
.brand-logo-desktop {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.brand-logo-desktop:hover {
    transform: scale(1.02);
}
.brand-logo-img {
    height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 8px rgba(69, 10, 10, 0.08)) !important;
    transition: transform 0.5s ease !important;
}
.brand-logo-desktop:hover .brand-logo-img {
    transform: rotate(-5deg) scale(1.05);
}
.brand-text-wrap {
    text-align: left !important;
}
.brand-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
    color: var(--royal) !important;
    line-height: 1 !important;
    transition: color 0.3s ease !important;
}
.brand-tutor-highlight {
    color: var(--gold) !important;
    transition: color 0.3s ease !important;
}
.brand-logo-desktop:hover .brand-title {
    color: var(--terra) !important;
}
.brand-logo-desktop:hover .brand-tutor-highlight {
    color: var(--terra) !important;
}
.brand-subtitle-oriya {
    font-family: 'Noto Sans Oriya', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: var(--gold) !important;
    letter-spacing: 2px !important;
    margin-top: 2px !important;
    opacity: 0.95 !important;
    transition: color 0.3s ease !important;
}
.brand-logo-desktop:hover .brand-subtitle-oriya {
    color: var(--royal) !important;
}

/* ── MAP SANCTUARY ── */
.map-sanctuary { position: relative; padding: 120px 0; text-align: center; }
.map-container {
    position: relative; max-width: 800px; margin: auto;
    background: radial-gradient(circle, rgba(217,119,6,0.05) 0%, transparent 70%);
    padding: 50px;
}
.odisha-image { width: 100%; height: auto; display: block; margin: 0 auto; border: none; outline: none; box-shadow: none; }
.floating-district {
    position: absolute; font-weight: 800; font-size: 0.9rem;
    color: var(--terra); opacity: 0.6; text-transform: uppercase;
    animation: floatDistrict 4s infinite ease-in-out;
}
@keyframes floatDistrict { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── GURUKUL CARDS (BENTO) ── */
.gurukul-card {
    background: white; border-radius: 60px; padding: 60px;
    position: relative; overflow: hidden; height: 100%;
    border: 1px solid #f1f5f9; transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.gurukul-card:hover { transform: translateY(-30px); border-color: var(--gold); box-shadow: 0 50px 100px rgba(0,0,0,0.05); }
.gurukul-card i { font-size: 4rem; color: var(--terra); display: block; margin-bottom: 30px; }

/* ── THICK WHEEL SECTION ── */
.thick-wheel-section {
    background: var(--indigo); border-radius: 120px; padding: 150px 60px;
    color: white; position: relative; overflow: hidden; margin: 60px 20px;
    box-shadow: 0 50px 120px rgba(0,0,0,0.3);
}
.massive-wheel {
    position: absolute; right: -5%; bottom: -5%; width: 700px; height: 700px;
    opacity: 0.1; animation: spinHeavy 100s linear infinite;
}
@keyframes spinHeavy { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── PREMIUM BUTTON ── */
.btn-royal {
    background: linear-gradient(135deg, var(--terra), var(--gold));
    color: white; padding: 22px 60px; border-radius: 100px;
    font-weight: 800; border: none; text-transform: uppercase;
    letter-spacing: 2px; box-shadow: 0 20px 40px rgba(185,28,28,0.3);
    text-decoration: none; display: inline-block;
}
.btn-royal:hover { transform: scale(1.05) translateY(-8px); color: white; box-shadow: 0 30px 60px rgba(185,28,28,0.4); }

/* ── DASHBOARD SHARED STYLES ── */
*, *::before, *::after { box-sizing: border-box; }

/* Sidebar */
.ds-sidebar, .sidebar {
    position: fixed; top: 0; left: 0; width: var(--sidebar-w); height: 100vh;
    background: linear-gradient(160deg, var(--terra) 0%, var(--gold) 60%, #e7b900 100%);
    border-right: none;
    display: flex; flex-direction: column; z-index: 1000;
    transform: translateX(-100%); transition: transform .3s ease;
}
.ds-sidebar.open, .sidebar.open { transform: translateX(0); }
.ds-overlay, .sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.4); z-index: 999;
}
.ds-overlay.open, .sidebar-overlay.open { display: block; }

.ds-brand, .sidebar-brand {
    display: flex; align-items: center; gap: .75rem;
    padding: 1.4rem 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.2);
}
.ds-brand-icon, .brand-icon {
    width: 40px; height: 40px; background: rgba(255,255,255,.25); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.ds-user { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.2); }
.ds-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.5); flex-shrink: 0; }

.ds-nav, .sidebar-nav { flex: 1; padding: 1rem .75rem; overflow-y: auto; }
.ds-nav-label, .nav-group-label {
    font-size: .65rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.6);
    padding: .5rem .5rem .25rem; margin-top: .5rem;
}
.ds-nav-item, .nav-item {
    display: flex; align-items: center; gap: .65rem;
    padding: .65rem .75rem; border-radius: 10px;
    text-decoration: none; color: rgba(255,255,255,.85);
    font-size: .875rem; font-weight: 600;
    transition: .18s; margin-bottom: 2px;
}
.ds-nav-item i, .nav-item i { font-size: 1rem; width: 18px; text-align: center; }
.ds-nav-item:hover, .nav-item:hover { background: rgba(255,255,255,.2); color: #fff; }
.ds-nav-item.active, .nav-item.active { background: rgba(255,255,255,.3); color: #fff; }
.ds-nav-item.danger, .nav-item.danger { color: rgba(255,255,255,.7); }
.ds-nav-item.danger:hover, .nav-item.danger:hover { background: rgba(239,68,68,.25); color: #fff; }

.sidebar-footer {
    padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; gap: .65rem;
}
.avatar {
    width: 34px; height: 34px; background: rgba(255,255,255,.25);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: #fff; font-weight: 700; font-size: .85rem; flex-shrink: 0;
}

/* Topbar */
.ds-topbar, .topbar {
    background: #fff; border-bottom: 1px solid #e2e8f0;
    padding: .9rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.btn-menu { background: none; border: none; font-size: 1.4rem; color: #475569; padding: 0; cursor: pointer; }

/* Main content area */
.ds-main, .main { margin-left: var(--sidebar-w); min-height: 100vh; }
.ds-main { display: flex; flex-direction: column; flex: 1; }
.ds-content, .content { padding: 1.5rem; flex: 1; }

/* Welcome banner */
.welcome-banner {
    background: linear-gradient(135deg, var(--terra) 0%, var(--gold) 100%);
    border-radius: 20px; padding: 1.75rem; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-bottom: 1.5rem;
}
.welcome-banner img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.4); }

/* App header (mobile) */
.app-header {
    background: linear-gradient(135deg, var(--terra) 0%, var(--gold) 100%);
    padding: 1.5rem 1.25rem 3.5rem;
}
.header-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.brand-link { color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.logout-btn {
    background: rgba(255,255,255,0.15); border: none; color: #fff;
    border-radius: 10px; padding: .4rem .85rem; font-size: .82rem;
    font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: .3rem;
}

/* Stat cards */
.stat-card {
    background: #fff; border-radius: 18px; padding: 1.4rem;
    border: 1px solid #f1f5f9; box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.stat-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .9rem; }
.stat-val { font-size: 1.9rem; font-weight: 800; color: #0f172a; line-height: 1; }
.stat-lbl { font-size: .8rem; color: #64748b; font-weight: 600; margin-top: .25rem; }
.stat-pill { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; margin-top: .5rem; }

/* Action cards */
.ds-action-card {
    background: #fff; border-radius: 18px; padding: 1.5rem;
    border: 1px solid #f1f5f9; box-shadow: 0 4px 20px rgba(0,0,0,.04);
    text-decoration: none; display: flex; align-items: center; gap: 1rem;
    transition: box-shadow .2s, transform .2s; color: #1e293b;
}
.ds-action-card:hover { box-shadow: 0 8px 30px rgba(185,28,28,.12); transform: translateY(-2px); }
.ds-action-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.ds-action-title { font-size: .95rem; font-weight: 700; }
.ds-action-sub { font-size: .78rem; color: #94a3b8; margin-top: 2px; }

/* Table card */
.tcard {
    background: #fff; border-radius: 18px;
    border: 1px solid #f1f5f9; box-shadow: 0 4px 20px rgba(0,0,0,.04); overflow: hidden;
}
.tcard-head {
    padding: 1rem 1.25rem; border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; justify-content: space-between;
}
.tcard-head h6 { margin: 0; font-weight: 700; font-size: .9rem; }
.tcard table { width: 100%; border-collapse: collapse; }
.tcard th {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: #94a3b8;
    padding: .55rem 1.25rem; background: #f8fafc; border-bottom: 1px solid #f1f5f9;
}
.tcard td { font-size: .84rem; padding: .75rem 1.25rem; border-bottom: 1px solid #f8fafc; color: #374151; }
.tcard tr:last-child td { border-bottom: none; }
.tcard tr:hover td { background: #fffbf5; }

/* Badges */
.badge-class { background: #fef3c7; color: var(--terra); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.badge-subj  { background: #faf5ff; color: #9333ea; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }

/* Hero card (mobile floating card) */
.hero-card {
    background: #fff; border-radius: 20px; margin: -2rem 1rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 1.25rem;
    display: flex; align-items: center; gap: 1rem; position: relative; z-index: 10;
}
.hero-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #fef3c7; flex-shrink: 0; }
.class-badge { background: #fef3c7; color: var(--terra); font-size: .72rem; font-weight: 700; padding: .2rem .65rem; border-radius: 20px; display: inline-block; margin-bottom: .3rem; }

/* Section helpers */
.section-wrap { padding: 1.25rem 1rem 0; }
.section-title { font-size: .72rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }

/* Action grid (mobile) */
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.action-btn-card {
    border-radius: 18px; padding: 1.25rem 1rem;
    text-decoration: none; display: flex; flex-direction: column;
    align-items: flex-start; gap: .5rem; transition: transform .15s; border: none;
}
.action-btn-card:active { transform: scale(.97); }
.action-btn-card .icon  { font-size: 1.6rem; }
.action-btn-card .title { font-size: .92rem; font-weight: 700; }
.action-btn-card .sub   { font-size: .72rem; opacity: .8; }

/* Menu card (mobile) */
.menu-card { background: #fff; border-radius: 18px; box-shadow: 0 2px 12px rgba(0,0,0,.05); overflow: hidden; margin-bottom: 1rem; }
.menu-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; text-decoration: none; color: #1e293b; border-bottom: 1px solid #f8fafc; transition: background .15s; }
.menu-item:last-child { border-bottom: none; }
.menu-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.menu-text .title { font-size: .92rem; font-weight: 700; }
.menu-text .sub   { font-size: .75rem; color: #94a3b8; margin-top: 1px; }
.menu-arrow { color: #cbd5e1; font-size: .9rem; margin-left: auto; }

/* Desktop layout */
@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .mobile-layout { display: none !important; }
    .desktop-layout { display: flex; min-height: 100vh; }
    .ds-sidebar, .sidebar { transform: translateX(0); position: fixed; }
    .ds-main { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; }
    .main    { margin-left: var(--sidebar-w); }
    .ds-content, .content { padding: 1.75rem; flex: 1; }
    .btn-menu { display: none; }
}
@media (max-width: 767px) {
    .mobile-layout { display: block; }
    .desktop-layout { display: none; }
    body { padding-bottom: 110px; }
    .btn-menu { display: block; }
}

/* ── Book Tutor Page ── */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 1.5rem; }
.step { display: flex; align-items: center; gap: .5rem; flex: 1; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; flex-shrink: 0; }
.step-num.active { background: var(--terra); color: #fff; }
.step-num.done { background: #10b981; color: #fff; }
.step-num.inactive { background: #e2e8f0; color: #94a3b8; }
.step-label { font-size: .75rem; font-weight: 700; }
.step-label.active { color: var(--terra); }
.step-label.done { color: #10b981; }
.step-label.inactive { color: #94a3b8; }
.step-line { flex: 1; height: 2px; background: #e2e8f0; margin: 0 .5rem; }
.step-line.done { background: #10b981; }
.tutor-mini { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 1rem 1.1rem; display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.tutor-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #fef3c7; flex-shrink: 0; }
.slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.slot-option { display: none; }
.slot-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .85rem .5rem; border: 2px solid #e2e8f0; border-radius: 14px; cursor: pointer; transition: .15s; text-align: center; }
.slot-option:checked + .slot-label { border-color: var(--terra); background: #fef3c7; }
.slot-label .s-icon { font-size: 1.3rem; }
.slot-label .s-period { font-size: .72rem; font-weight: 700; color: #475569; }
.slot-label .s-time { font-size: .65rem; color: #94a3b8; margin-top: 1px; }
.slot-option:checked + .slot-label .s-period { color: var(--terra); }
.slot-option:checked + .slot-label .s-time { color: var(--gold); }
.slot-label.booked { background: #f8fafc; border-color: #e2e8f0; cursor: not-allowed; opacity: .55; }
.slot-booked-tag { font-size: .6rem; font-weight: 700; color: #ef4444; background: #fef2f2; border-radius: 6px; padding: .1rem .4rem; margin-top: 2px; }
.pay-summary { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden; margin-bottom: 1.25rem; }
.pay-row { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.1rem; border-bottom: 1px solid #f8fafc; font-size: .85rem; }
.pay-row:last-child { border-bottom: none; }
.pay-row .label { color: #64748b; font-weight: 600; }
.pay-row .val { font-weight: 700; color: #0f172a; }
.pay-total { background: linear-gradient(135deg, var(--terra), var(--gold)); }
.pay-total .label { color: rgba(255,255,255,.8); }
.pay-total .val { color: #fff; font-size: 1.1rem; }
.btn-primary-full { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; background: linear-gradient(135deg, var(--terra), var(--gold)); color: #fff; border: none; border-radius: 12px; padding: .9rem; font-size: .95rem; font-weight: 700; cursor: pointer; transition: opacity .2s; text-decoration: none; }
.btn-primary-full:hover { opacity: .9; color: #fff; }
.btn-back { display: flex; align-items: center; gap: .4rem; color: #64748b; font-size: .82rem; font-weight: 600; text-decoration: none; margin-bottom: 1rem; }
.btn-back:hover { color: #0f172a; }
.section-card { background: #fff; border-radius: 18px; box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.section-card-title { font-size: .72rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .85rem; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; border-radius: 10px; padding: .65rem .9rem; font-size: .8rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: .4rem; }
@media (min-width: 768px) { .book-wrap { max-width: 560px; } }

/* Classes for replaced inline styles in book_tutor.php */
.book-topbar-m { background:#fff; border-bottom:1px solid #e2e8f0; padding:.9rem 1.25rem; display:flex; align-items:center; gap:.75rem; position:sticky; top:0; z-index:100; }
.book-back-btn-m { color:#64748b; font-size:.85rem; font-weight:600; text-decoration:none; display:flex; align-items:center; gap:.3rem; }
.book-page-title-m { font-size:.95rem; font-weight:700; color:#0f172a; margin-left:auto; }
.book-container-m { padding:1.25rem 1rem; }
.tutor-mini-name { font-size:.95rem; font-weight:700; color:#0f172a; }
.tutor-mini-info { font-size:.75rem; color:#64748b; }
.form-label-bold { font-size:.78rem; font-weight:700; color:#374151; display:block; margin-bottom:.35rem; }
.form-input-rounded { border-radius:10px; border:2px solid #e2e8f0; padding:.6rem 1rem; font-size:.9rem; width:100%; }
.pay-row-val-right { text-align:right; max-width:55%; }
.pay-alert { background:#fffbeb; border:1px solid #fde68a; border-radius:10px; padding:.65rem .9rem; font-size:.75rem; color:#92400e; margin-bottom:1rem; display:flex; align-items:center; gap:.4rem; }
.text-success-icon { color:#16a34a; }
.topbar-content-d { display:flex; align-items:center; gap:.75rem; }
.topbar-back-btn-d { color:#64748b; font-size:.85rem; font-weight:600; text-decoration:none; display:flex; align-items:center; gap:.3rem; padding:.4rem .75rem; border-radius:8px; transition:background .15s; }
.topbar-back-btn-d:hover { background:#f1f5f9; }
.topbar-divider-d { color:#e2e8f0; }
.topbar-title-d { font-size:1.05rem; font-weight:700; color:#0f172a; }
.topbar-date-d { font-size:.85rem; color:#64748b; }
