/* JetX Calendly-Style Booking */
.jetx-booking-app {
    display: flex;
    max-width: 1060px;
    margin: 40px auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a1a1a !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    min-height: 600px;
}

.jetx-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Left Panel */
.jetx-info-panel {
    flex: 0 0 33%;
    border-right: 1px solid #eaeaea;
    padding: 30px;
    box-sizing: border-box;
}

.jetx-brand {
    font-weight: 600;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.jetx-info-panel h2 {
    margin: 0 0 25px 0;
    font-weight: 700;
    font-size: 26px;
    color: #0b253a;
    line-height: 1.2;
}

.jetx-meta p {
    font-size: 15px;
    color: #4d5055;
    margin: 10px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.jetx-icon {
    margin-right: 8px;
    font-size: 18px;
}

.jetx-desc {
    margin-top: 25px;
    font-size: 15px;
    color: #4d5055;
    line-height: 1.5;
}

/* Right / Middle Panel */
.jetx-calendar-panel,
.jetx-details-panel {
    flex: 1;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.jetx-calendar-panel h3,
.jetx-details-header h3 {
    margin: 0 0 30px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.jetx-calendar-flex {
    display: flex;
    flex: 1;
    gap: 30px;
}

.jetx-calendar-grid-container {
    flex: 1;
}

.jetx-month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.jetx-month-nav span {
    width: 200px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.jetx-month-nav button {
    background: transparent;
    border: none;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

#jetx-prev-month {
    background: transparent;
    color: #6b7280;
}

#jetx-next-month {
    background: #e8efff;
    color: #0f4dd4;
    box-shadow: 0 10px 20px rgba(15, 77, 212, 0.16);
}

.jetx-month-nav button:hover {
    background-color: #dde7ff;
}
.jetx-month-nav button:focus-visible {
    outline: 2px solid #0056d6;
    outline-offset: 2px;
}

#jetx-prev-month:hover {
    background-color: #f3f4f6;
}

#jetx-next-month:hover {
    transform: translateX(1px);
}

/* Calendar Grid */
.jetx-calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.jetx-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 46px;
    gap: 5px;
}

.jetx-cal-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jetx-cal-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.jetx-cal-btn:hover:not(.disabled) {
    background: #006bff !important;
    color: #ffffff !important;
}

.jetx-cal-btn.disabled {
    color: #767676 !important;
    cursor: not-allowed;
    text-decoration: line-through;
}

.jetx-cal-btn.active {
    background: #006bff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0, 107, 255, 0.3);
}
.jetx-cal-btn:focus-visible {
    outline: 2px solid #0056d6;
    outline-offset: 2px;
}

.jetx-timezone-info {
    margin-top: 30px;
    font-size: 13px;
    color: #1a1a1a;
}

.jetx-timezone-info strong {
    font-weight: 600;
}

/* Time Slots */
.jetx-time-slots {
    flex: 0 0 200px;
    height: 400px;
    overflow-y: auto;
    padding-left: 15px;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.jetx-time-slots::-webkit-scrollbar {
    width: 6px;
}

.jetx-time-slots::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

#jetx-selected-date-label {
    margin-bottom: 20px;
    font-weight: 500;
    color: #4d5055;
}

.jetx-slot-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.jetx-time-btn {
    width: 100%;
    padding: 14px 0;
    border: 1px solid #4a83e0;
    border-radius: 4px;
    background: #fff;
    color: #000000 !important;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.jetx-time-btn:hover {
    border-color: #006bff !important;
    background-color: #006bff !important;
    color: #ffffff !important;
}

.jetx-time-btn.active {
    background: #4d5055 !important;
    border-color: #4d5055 !important;
    color: #ffffff !important;
}
.jetx-time-btn:focus-visible,
.jetx-confirm-btn:focus-visible,
.jetx-service-btn:focus-visible,
#jetx-submit-btn:focus-visible {
    outline: 2px solid #0056d6;
    outline-offset: 2px;
}

.jetx-confirm-btn {
    width: 48%;
    padding: 14px 0;
    border: none;
    border-radius: 4px;
    background: #006bff;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-sizing: border-box;
}

.jetx-slot-wrapper.show-confirm .jetx-time-btn,
.jetx-slot-wrapper.show-confirm .jetx-confirm-btn {
    width: auto;
}

.jetx-slot-wrapper.show-confirm {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    column-gap: 5px;
}

.jetx-slot-wrapper.show-confirm .jetx-time-btn {
    min-width: 0;
    white-space: nowrap;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.jetx-slot-wrapper.show-confirm .jetx-confirm-btn {
    width: 84px;
    min-width: 84px;
    padding-left: 0;
    padding-right: 0;
}

/* Details Panel */
.jetx-details-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.jetx-details-header h3 {
    margin: 0;
}

.jetx-back-arrow {
    background: #e8efff;
    border: 1px solid #c9d9ff;
    color: #0f4dd4;
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jetx-back-arrow:hover {
    background: #dce8ff;
    transform: translateX(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.jetx-back-arrow:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 107, 255, 0.24);
}

.jetx-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.jetx-input-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid #898989;
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.jetx-input-group input:focus {
    outline: none;
    border-color: #006bff;
    box-shadow: 0 0 0 3px rgba(0, 107, 255, 0.15);
}

.jetx-required {
    color: #e51d1d;
    margin-left: 2px;
}

#jetx-submit-btn {
    background: #006bff;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

#jetx-submit-btn:hover {
    background: #0050cc;
}

#jetx-booking-message {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 500;
}

.jetx-booking-message-success {
    color: #2e7d32;
}

.jetx-booking-message-error {
    color: #c62828;
}

@media (max-width: 768px) {
    .jetx-booking-app {
        flex-direction: column;
    }

    .jetx-calendar-flex {
        flex-direction: column;
    }

    .jetx-info-panel {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }

    .jetx-time-slots {
        width: 100%;
        margin-top: 20px;
        padding-left: 0;
        height: auto;
    }
}

/* Service Selection UI */
.jetx-service-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
    color: #000;
}

.jetx-service-btn:hover {
    border-color: #006bff;
    background-color: #006bff;
    box-shadow: 0 4px 12px rgba(0, 107, 255, 0.1);
}

.jetx-service-btn:hover .jetx-svc-title,
.jetx-service-btn:hover .jetx-svc-dur {
    color: #fff;
}

.jetx-svc-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.jetx-svc-dur {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}