/* =============================================
   Shanet Book Now — Light / White theme
   ============================================= */

.shanet-book-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f8f9fa;
    padding-bottom: 64px;
}

/* =============================================
   Hero
   ============================================= */
.shanet-book-hero {
    text-align: center;
    padding: 60px 24px 40px;
    background: #f8f9fa;
}

.shanet-book-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px;
    line-height: 1.1;
}

.shanet-book-hero h1 span {
    color: #f15512;
}

.shanet-book-hero p {
    font-size: 16px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Feature badges */
.shanet-book-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.shanet-book-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    flex: 1;
    min-width: 200px;
}

.shanet-book-badge svg {
    color: #f15512;
    flex-shrink: 0;
}

.shanet-book-badge strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.shanet-book-badge span {
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 700px) {
    .shanet-book-badges { flex-direction: column; max-width: 360px; }
}

/* =============================================
   Two-column layout
   ============================================= */
.shanet-book-layout {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   Contact Information sidebar
   ============================================= */
.shanet-book-contact {
    position: absolute;
    right: -330px;
    top: 0;
    width: 300px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.shanet-book-contact__title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
}

.shanet-book-contact__items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shanet-book-contact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #475569;
    text-decoration: none !important;
    transition: color 0.15s;
}

a.shanet-book-contact__item:hover {
    color: #f15512;
}

.shanet-book-contact__item svg {
    color: #dc2626;
    flex-shrink: 0;
}

/* =============================================
   Why Choose Us card
   ============================================= */
.shanet-book-why-choose {
    position: absolute;
    right: -330px;
    top: 190px;
    width: 300px;
    background: #f15512;
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
}

/* =============================================
   Responsive: stack sidebar cards under the form
   (kept AFTER base rules so they win the cascade)
   ============================================= */
@media (max-width: 1200px) {
    .shanet-book-layout {
        display: flex;
        flex-direction: column;
    }
    .shanet-book-contact,
    .shanet-book-why-choose {
        position: static !important;
        right: auto !important;
        top: auto !important;
        width: auto !important;
        max-width: 820px !important;
        margin: 24px auto 0 !important;
    }
}

/* Mobile: contact info card on TOP of the form, form in middle, why-choose last */
@media (max-width: 768px) {
    .shanet-book-contact {
        order: 1;
        margin: 0 auto 20px !important;
    }
    .shanet-book-card {
        order: 2;
    }
    .shanet-book-why-choose {
        order: 3;
    }
}

.shanet-book-why-choose__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
}

.shanet-book-why-choose__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shanet-book-why-choose__list li {
    font-size: 15px;
    line-height: 1.4;
    padding-left: 24px;
    position: relative;
}

.shanet-book-why-choose__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* =============================================
   Form Card
   ============================================= */
.shanet-book-card {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

@media (max-width: 560px) {
    .shanet-book-card { margin: 0 auto; padding: 24px 20px; max-width: calc(100% - 32px); }
}

/* Pro tip banner */
.shanet-book-tip {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 14px;
    color: #1e40af;
    text-align: center;
    margin-bottom: 28px;
}

.shanet-book-tip strong {
    color: #1d4ed8;
}

.shanet-book-tip a {
    color: #f15512 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.shanet-book-tip a:hover {
    text-decoration: underline !important;
}

/* Section title */
.shanet-book-section {
    margin-bottom: 28px;
}

.shanet-book-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
}

.shanet-book-section__title svg {
    color: #f15512;
}

/* Input fields */
.shanet-book-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shanet-book-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 560px) {
    .shanet-book-field-row { grid-template-columns: 1fr; }
}

.shanet-book-fields input,
.shanet-book-fields textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.shanet-book-fields input:focus,
.shanet-book-fields textarea:focus {
    border-color: #f15512 !important;
    box-shadow: 0 0 0 3px rgba(241,85,18,0.1);
}

.shanet-book-fields input::placeholder,
.shanet-book-fields textarea::placeholder {
    color: #94a3b8;
}

.shanet-book-fields textarea {
    resize: vertical;
    min-height: 240px;
}

/* =============================================
   Custom Dropdown (replaces native <select>)
   Matches .shanet-pkg-dropdown styling for consistency
   ============================================= */
.shanet-book-dropdown {
    position: relative;
    width: 100% !important;
}

.shanet-book-dropdown__trigger {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-align: left !important;
    font-family: inherit !important;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.shanet-book-dropdown__trigger:hover {
    border-color: #94a3b8 !important;
}

.shanet-book-dropdown__trigger:focus,
.shanet-book-dropdown__trigger[aria-expanded="true"] {
    border-color: #f15512 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(241,85,18,0.1);
}

.shanet-book-dropdown__label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1e293b;
}

.shanet-book-dropdown__label--placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.shanet-book-dropdown__caret {
    flex-shrink: 0;
    color: #64748b;
    transition: transform 0.2s;
}

.shanet-book-dropdown__trigger[aria-expanded="true"] .shanet-book-dropdown__caret {
    transform: rotate(180deg);
    color: #f15512;
}

.shanet-book-dropdown__menu {
    position: absolute !important;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    max-height: 280px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.shanet-book-dropdown__menu[hidden] {
    display: none !important;
}

.shanet-book-dropdown__item {
    padding: 14px 16px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
    line-height: 1.35;
}

.shanet-book-dropdown__item:hover {
    background: #f1f5f9 !important;
    color: #111827 !important;
}

.shanet-book-dropdown__item--selected {
    background: rgba(241, 85, 18, 0.12) !important;
    color: #f15512 !important;
    font-weight: 600;
}

/* Mobile: larger tap targets, fuller dropdown */
@media (max-width: 640px) {
    .shanet-book-dropdown__trigger {
        padding: 16px 18px !important;
        font-size: 16px !important; /* prevent iOS zoom */
    }
    .shanet-book-dropdown__item {
        padding: 16px 18px !important;
        font-size: 16px !important;
    }
    .shanet-book-dropdown__menu {
        max-height: 60vh;
    }
}

/* =============================================
   Week Date Picker
   ============================================= */
.shanet-book-date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.shanet-book-date-header .shanet-book-section__title {
    margin: 0;
}

.shanet-book-date-nav {
    display: flex;
    gap: 8px;
}

.shanet-book-date-arrow {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #64748b !important;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.15s;
    box-shadow: none !important;
    outline: none !important;
}

.shanet-book-date-arrow:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}

.shanet-book-date-arrow svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Date pill grid */
.shanet-book-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

@media (max-width: 560px) {
    .shanet-book-week { grid-template-columns: repeat(4, 1fr); }
}

/* Individual date pill */
.shanet-book-day {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
    padding: 16px 8px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    box-shadow: none !important;
    outline: none !important;
    min-height: 86px;
}

.shanet-book-day:hover {
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
}

.shanet-book-day.active {
    border-color: #f15512 !important;
    background: #f15512 !important;
}

/* Day of week label */
.shanet-book-day__dow {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Date number */
.shanet-book-day__num {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

/* Month label */
.shanet-book-day__month {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

/* Active state overrides */
.shanet-book-day.active .shanet-book-day__dow,
.shanet-book-day.active .shanet-book-day__num,
.shanet-book-day.active .shanet-book-day__month {
    color: #fff;
}

/* =============================================
   Time Slots
   ============================================= */
#sb-time-section[hidden] { display: none; }

.shanet-book-times {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

@media (max-width: 700px) {
    .shanet-book-times { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .shanet-book-times { grid-template-columns: repeat(2, 1fr); }
}

.shanet-book-time {
    padding: 12px 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    text-align: center;
    box-shadow: none !important;
    outline: none !important;
}

.shanet-book-time:hover {
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

.shanet-book-time.active {
    border-color: #f15512 !important;
    background: rgba(241,85,18,0.08) !important;
    color: #f15512 !important;
    font-weight: 600 !important;
}

/* =============================================
   Banner + Submit
   ============================================= */
.shanet-book-banner {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
}
.shanet-book-banner[hidden] { display: none; }
.shanet-book-banner--success { background: rgba(22,163,74,0.08); color: #16a34a; border: 1px solid rgba(22,163,74,0.2); }
.shanet-book-banner--error { background: rgba(241,85,18,0.08); color: #dc2626; border: 1px solid rgba(241,85,18,0.2); }
.shanet-book-banner--loading { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

/* Referral code input field */
.shanet-book-referral-field {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}
.shanet-book-referral-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}
.shanet-book-referral-field label svg { color: #16a34a; flex-shrink: 0; }
.shanet-book-referral-input-wrap {
    position: relative;
}
.shanet-book-referral-input-wrap input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #1e293b;
    outline: none;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
}
.shanet-book-referral-input-wrap input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}
.shanet-book-referral-input-wrap input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.shanet-book-referral-status {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    min-height: 20px;
}

/* Referral discount banner */
.shanet-referral-discount-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(22,163,74,0.1), rgba(22,163,74,0.05));
    border: 1px solid rgba(22,163,74,0.2);
    border-radius: 12px;
    color: #16a34a;
    font-size: 14px;
    margin: 0 auto 16px;
    max-width: 820px;
    box-sizing: border-box;
}
.shanet-referral-discount-banner[hidden] { display: none; }
.shanet-referral-discount-banner svg { flex-shrink: 0; color: #16a34a; }
.shanet-referral-discount-banner strong { color: #15803d; }
@media (max-width: 560px) {
    .shanet-referral-discount-banner { margin: 0 16px 16px; }
}

.shanet-book-submit {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    padding: 18px 28px !important;
    background: #cbd5e1 !important;
    color: #64748b !important;
    font-size: 16px;
    font-weight: 600;
    border: none !important;
    border-radius: 12px !important;
    cursor: not-allowed;
    font-family: inherit;
    transition: all 0.2s;
    margin-top: 20px;
}

.shanet-book-submit.ready {
    background: #f15512 !important;
    color: #fff !important;
    cursor: pointer;
}

.shanet-book-submit.ready:hover {
    background: #c44410 !important;
}

/* =============================================
   Phone CTA
   ============================================= */
.shanet-book-phone {
    text-align: center;
    padding: 40px 24px 0;
}

.shanet-book-phone p {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 12px;
}

.shanet-book-phone__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16a34a !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background 0.15s;
}

.shanet-book-phone__btn:hover {
    background: #15803d !important;
}

.shanet-book-phone__area {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #94a3b8;
}
