/* Auto-generated standalone booking modal styles */
/* ============================================================
   Custom Consultation Booking Modal & Widget
   ============================================================ */
.eshocan-booking-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.eshocan-booking-modal-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

.eshocan-booking-modal-container {
    position: relative !important;
    background: #ffffff !important;
    width: 100% !important;
    max-width: 660px !important;
    border-radius: 18px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
    padding: 36px 32px 32px 32px !important;
    margin: auto !important;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Poppins', sans-serif !important;
    color: #1e293b !important;
    box-sizing: border-box !important;
}

.eshocan-booking-modal-overlay.open .eshocan-booking-modal-container {
    transform: scale(1) translateY(0) !important;
}

.eshocan-booking-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.eshocan-booking-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

/* Steps Indicator */
.eshocan-booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 8px;
}

.booking-step-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.booking-step-item.active {
    color: #0E4C92;
}

.booking-step-item.completed {
    color: #10b981;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.booking-step-item.active .step-num {
    background: #0E4C92;
    color: #ffffff;
}

.booking-step-item.completed .step-num {
    background: #10b981;
    color: #ffffff;
}

.booking-step-line {
    width: 32px;
    height: 2px;
    background: #e2e8f0;
}

/* Header */
.eshocan-booking-header {
    text-align: center;
    margin-bottom: 26px;
}

.eshocan-booking-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 76, 146, 0.08);
    color: #0E4C92;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.eshocan-booking-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.eshocan-booking-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Step Content Animation */
.booking-step-content {
    animation: fadeInStep 0.3s ease-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timezone bar */
.booking-tz-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 20px;
    font-size: 13px;
}

.booking-tz-bar label {
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.booking-tz-select {
    border: none;
    background: transparent;
    font-size: 13px;
    color: #0E4C92;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.booking-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dates Horizontal Strip */
.booking-dates-slider-wrapper {
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.booking-dates-slider-wrapper::-webkit-scrollbar {
    height: 5px;
}

.booking-dates-slider-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.booking-dates-strip {
    display: flex;
    gap: 10px;
}

.booking-date-pill {
    flex: 0 0 auto;
    width: 68px;
    padding: 10px 4px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.booking-date-pill:hover {
    border-color: #0E4C92;
    background: #f0f7ff;
    transform: translateY(-2px);
}

.booking-date-pill.active {
    background: linear-gradient(135deg, #0E4C92 0%, #0072ce 100%);
    border-color: #0E4C92;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(14, 76, 146, 0.28);
}

.booking-date-pill .pill-day {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 2px;
}

.booking-date-pill.active .pill-day {
    color: rgba(255, 255, 255, 0.85);
}

.booking-date-pill .pill-num {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 2px;
}

.booking-date-pill.active .pill-num {
    color: #ffffff;
}

.booking-date-pill .pill-mon {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
}

.booking-date-pill.active .pill-mon {
    color: rgba(255, 255, 255, 0.85);
}

/* Slots Grid */
.booking-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.booking-slot-btn {
    padding: 10px 6px;
    text-align: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.booking-slot-btn:hover {
    border-color: #0E4C92;
    background: #f0f7ff;
    color: #0E4C92;
}

.booking-slot-btn.active {
    background: #0E4C92;
    border-color: #0E4C92;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(14, 76, 146, 0.2);
}

/* Selected Slot Pill in Step 2 */
.booking-selected-slot-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 20px;
}

.booking-selected-slot-pill .pill-info {
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-selected-slot-pill .pill-change-btn {
    border: none;
    background: #ffffff;
    color: #0E4C92;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.booking-selected-slot-pill .pill-change-btn:hover {
    background: #e0f2fe;
}

/* Inputs & Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.booking-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.booking-form-group label .required {
    color: #ef4444;
}

.booking-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.booking-input:focus {
    border-color: #0E4C92;
    box-shadow: 0 0 0 3px rgba(14, 76, 146, 0.12);
}

.booking-field-feedback {
    font-size: 12px;
    margin-top: 2px;
    display: none;
}

.booking-field-feedback.error {
    display: block;
    color: #ef4444;
}

.booking-field-feedback.success {
    display: block;
    color: #10b981;
}

/* Action Buttons */
.booking-action-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 14px;
}

.eshocan-booking-primary-btn {
    background: #0E4C92;
    color: #ffffff;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(14, 76, 146, 0.2);
}

.eshocan-booking-primary-btn:hover:not(:disabled) {
    background: #0072ce;
    transform: translateY(-1px);
}

.eshocan-booking-primary-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

.eshocan-booking-secondary-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eshocan-booking-secondary-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.booking-privacy-note {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin: 12px 0 0 0;
    line-height: 1.4;
}

/* Confirmation View (Step 3) */
.booking-confirmation-card {
    text-align: center;
    padding: 10px 0 6px 0;
}

.booking-success-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    animation: scaleInCheck 0.4s ease-out;
}

@keyframes scaleInCheck {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.booking-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.booking-success-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.booking-confirmed-details-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.confirmed-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #334155;
}

.confirmed-detail-row i {
    width: 16px;
    color: #0E4C92;
    text-align: center;
}

.booking-calendar-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cal-action-btn {
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cal-action-btn.gcal {
    background: #4285F4;
    color: #ffffff;
}

.cal-action-btn.gcal:hover {
    background: #3367d6;
    color: #ffffff;
}

.cal-action-btn.ics {
    background: #0E4C92;
    color: #ffffff;
}

.cal-action-btn.ics:hover {
    background: #0072ce;
}

.eshocan-booking-finish-btn {
    background: #f1f5f9;
    color: #334155;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.eshocan-booking-finish-btn:hover {
    background: #e2e8f0;
}

@media (max-width: 600px) {
    .eshocan-booking-modal-container {
        padding: 24px 18px;
    }
    
    .booking-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .booking-form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-calendar-actions {
        flex-direction: column;
    }
}

