/* =========================================================
   DOUBLE BUTTON FIX (Book a Call)
   ========================================================= */
.nav-cta-mobile {
    display: none !important;
}
@media (max-width: 900px) {
    .nav-cta-mobile {
        display: flex !important;
    }
    .header-cta {
        display: none !important;
    }
}

/* =========================================================
   PREMIUM BOOKING PAGE
   ========================================================= */
body {
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #334155;
}

/* --- Page Header --- */
.booking-header {
    background: #0a1a33;
    padding: 60px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.booking-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
}
.booking-header h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
}
.booking-header h1 span { color: #8db8ff; }
.booking-header p {
    color: #94a3b8;
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Main App Container --- */
.booking-app {
    max-width: 1080px;
    margin: -50px auto 80px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 340px 1fr;
    overflow: hidden;
    position: relative;
    z-index: 10;
    min-height: 680px;
    height: auto;
    border: 1px solid #e2e8f0;
}

/* --- Left Sidebar (Summary) --- */
.app-sidebar {
    border-right: 1px solid #e2e8f0;
    padding: 40px 32px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}
.sidebar-brand img { width: 40px; }
.sidebar-brand span {
    font-weight: 800;
    color: #0b5cff;
    font-size: 20px;
    letter-spacing: -0.5px;
}
.meeting-title {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}
.summary-box p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.summary-box p:last-child { margin-bottom: 0; }
.summary-box svg { color: #0b5cff; flex-shrink: 0; }
.summary-box strong { color: #0f172a; font-weight: 600; }

.sidebar-features {
    list-style: none;
    padding: 0;
    margin-top: auto;
}
.sidebar-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 500;
}
.sidebar-features svg { color: #10b981; flex-shrink: 0; }

/* --- Right Content --- */
.app-content {
    padding: 40px 50px;
    position: relative;
    overflow-y: auto;
    background: #ffffff;
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.app-content::-webkit-scrollbar { width: 6px; }
.app-content::-webkit-scrollbar-track { background: transparent; }
.app-content::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 10px; }

.step-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.step-desc {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
}

/* --- Calendar Grid --- */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.calendar-header h4 { font-size: 18px; font-weight: 700; color: #0f172a; }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #64748b; transition: 0.2s;
}
.calendar-nav button:hover { background: #ffffff; border-color: #0b5cff; color: #0b5cff; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 30px;
    text-align: center;
}
.calendar-day-name {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.calendar-date {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin: 0 auto;
    font-size: 15px; font-weight: 500; color: #334155;
    border-radius: 50%; cursor: pointer; transition: 0.2s;
    border: 1px solid transparent;
}
.calendar-date:hover:not(.disabled):not(.empty) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.calendar-date.selected {
    background: #0b5cff; color: #ffffff; font-weight: 700;
    box-shadow: 0 4px 12px rgba(11, 92, 255, 0.3);
}
.calendar-date.disabled {
    color: #cbd5e1; cursor: not-allowed; text-decoration: line-through;
}
.calendar-date.empty { cursor: default; }

/* --- Time Slots --- */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}
.time-slot {
    padding: 12px 0; text-align: center;
    border: 1px solid #cbd5e1; border-radius: 8px;
    font-size: 14px; font-weight: 600; color: #0b5cff;
    cursor: pointer; transition: 0.2s; background: #ffffff;
}
.time-slot:hover { border-color: #0b5cff; background: #eff6ff; }
.time-slot.selected { background: #0b5cff; color: #ffffff; border-color: #0b5cff; }

.time-slot.disabled {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot.disabled:hover {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

/* --- Form Fields --- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { margin-bottom: 20px; position: relative; }
.input-group label {
    display: block; font-size: 14px; font-weight: 600;
    color: #334155; margin-bottom: 8px;
}
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%; padding: 14px 16px;
    border: 1px solid #cbd5e1; border-radius: 8px;
    font-size: 15px; font-family: inherit; color: #0f172a;
    outline: none; transition: 0.2s; background: #f8fafc;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #0b5cff; background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.1);
}
.input-group textarea { resize: vertical; min-height: 100px; }

/* --- WIZARD VALIDATION ERRORS --- */
.error-msg {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}
.input-group.has-error input,
.input-group.has-error select,
.input-group.has-error textarea {
    border-color: #ef4444;
    background: #fef2f2;
}
.input-group.has-error .error-msg { display: block; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.shake { animation: shake 0.3s ease; }

/* --- Buttons --- */
.btn {
    background: #0b5cff; color: #fff; padding: 12px 24px;
    border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: 0.3s;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:hover {
    background: #0846c4; transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 92, 255, 0.3);
}
.btn-next { width: 100%; }
.btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.step-nav {
    display: flex; justify-content: space-between;
    margin-top: 30px; padding-top: 24px; border-top: 1px solid #e2e8f0;
}
.btn-back { background: #ffffff; color: #64748b; border: 1px solid #cbd5e1; }
.btn-back:hover { background: #f8fafc; color: #0f172a; box-shadow: none; }

/* --- Success State --- */
.success-msg {
    display: none; text-align: center; padding: 80px 20px;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.success-msg svg {
    width: 80px; height: 80px; color: #10b981; margin-bottom: 24px;
}
.success-msg h2 { font-size: 32px; color: #0f172a; margin-bottom: 12px; font-weight: 800; }
.success-msg p { color: #64748b; font-size: 16px; margin-bottom: 32px; }

.request-note {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin: -12px 0 20px;
}

#step2 { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .booking-app { grid-template-columns: 280px 1fr; }
    .app-sidebar { padding: 30px 20px; }
    .app-content { padding: 30px; }
}
@media (max-width: 900px) {
    .booking-header { padding: 50px 0 80px; }
    .booking-header h1 { font-size: 32px; }
    .booking-app {
        grid-template-columns: 1fr;
        min-height: 0; height: auto;
        margin: 20px 16px 52px;
    }
    .app-sidebar { display: none; }
    .app-content { padding: 30px 20px; overflow-y: visible; }
    .time-slots { grid-template-columns: repeat(3, 1fr); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .calendar-date { width: 36px; height: 36px; font-size: 14px; }
}
@media (max-width: 480px) {
    .booking-header h1 { font-size: 28px; }
    .step-title { font-size: 20px; }
    .time-slots { grid-template-columns: repeat(2, 1fr); }
    .calendar-date { width: 32px; height: 32px; font-size: 13px; }
    .calendar-grid { gap: 4px; }
}
