/* ==========================================================================
   Tab Booking Bike Component - Kevin Nguyen Travel
   ========================================================================== */

:root {
    --ct-bike-primary: #1e8f6d;
    --ct-bike-primary-hover: #1e8f6d;
    --ct-bike-green: #10b981;
    --ct-bike-green-dark: #059669;
    --ct-bike-green-bg: #ecfdf5;
    --ct-bike-blue: #0284c7;
    --ct-bike-blue-bg: #f0f9ff;
    --ct-bike-danger: #ef4444;
    --ct-bike-text-main: #111827;
    --ct-bike-text-muted: #6b7280;
    --ct-bike-card-border: #f0f2f5;
    --ct-bike-card-bg: #ffffff;
    --ct-bike-btn-disabled-bg: #f3f4f6;
    --ct-bike-btn-disabled-text: #9ca3af;
}

/* Container */
.ct-tab-booking-container {
    width: 100%;
    margin: 30px 0;
}

/* ==========================================================================
   Tabs Header (YC1)
   ========================================================================== */
.ct-booking-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.ct-booking-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.ct-tab-btn {
    border: none;
    outline: none;
    background: #f3f4f6;
    color: #374151;
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
    box-shadow: none;
    margin: 0;
}

.ct-tab-btn:hover {
    background: #e5e7eb;
    color: #111827;
    transform: translateY(-1px);
}

.ct-tab-btn.active {
    background: var(--ct-bike-primary, #f26522);
    color: #ffffff;
}

/* ==========================================================================
   Bike Cards Grid (YC2)
   ========================================================================== */
.ct-booking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ct-bike-card {
    background: var(--ct-bike-card-bg, #ffffff);
    border: 1px solid var(--ct-bike-card-border, #f0f2f5);
    border-radius: 20px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.ct-bike-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.09);
    border-color: #e2e8f0;
    border-color: var(--primary-color);
}

.ct-bike-card.is-soldout,
.ct-bike-card.is-stopped {
    border-color: #e5e7eb;
}

/* Hide card when filtered by tab */
.ct-bike-card.is-hidden {
    display: none !important;
}

/* Image Area */
.ct-bike-thumb-wrap {
    position: relative;
    width: 100%;
    height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.ct-bike-thumb-wrap img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
    /* filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.06)); */
}

.ct-bike-card:hover .ct-bike-thumb-wrap img {
    transform: scale(1.04);
}

.ct-bike-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
}

/* Badges on Image */
.ct-badge-group-left {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.ct-badge-type {
    display: inline-block;
    background: #374151;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3.5px 10px;
    border-radius: 9999px;
    line-height: 1.3;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.ct-badge-group-right {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 2;
}

.ct-badge-stock {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3.5px 12px;
    border-radius: 9999px;
    line-height: 1.3;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.ct-badge-stock.stock-available {
    background: var(--ct-bike-green, #10b981);
    color: #ffffff;
}

.ct-badge-stock.stock-highlight {
    background: var(--ct-bike-primary, #f26522);
    color: #ffffff;
}

.ct-badge-stock.stock-empty {
    background: var(--ct-bike-danger, #ef4444);
    color: #ffffff;
}

.ct-badge-stock.stock-stopped {
    background: #6b7280;
    color: #ffffff;
}

.ct-stock-status-text {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ct-bike-green-dark, #059669);
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1.2;
}

/* Card Body Content */
.ct-bike-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.ct-bike-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--ct-bike-text-main, #111827);
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.ct-bike-info {
    font-size: 12.5px;
    color: var(--ct-bike-text-muted, #6b7280);
    margin: 0 0 14px 0;
    line-height: 1.4;
}

/* Price Section */
.ct-bike-price-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}

.ct-price-left {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.ct-price-main {
    font-size: 22px;
    font-weight: 800;
    color: var(--ct-bike-primary, #f26522);
    line-height: 1;
    letter-spacing: -0.3px;
}

.ct-price-unit {
    font-size: 12.5px;
    color: var(--ct-bike-text-muted, #6b7280);
    font-weight: 500;
}

.ct-price-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ct-price-2days-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ct-bike-green-dark, #059669);
    line-height: 1.2;
}

.ct-price-2days-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ct-bike-green-dark, #059669);
    line-height: 1.25;
}

/* Electric Bike Info Box (YC2) */
.ct-bike-electric-info {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ct-bike-blue-bg, #f0f9ff);
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    padding: 7px 11px;
    color: var(--ct-bike-blue, #0284c7);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
}

.ct-bike-electric-info svg,
.ct-bike-electric-info .icon {
    flex-shrink: 0;
    color: #0284c7;
}

/* Accessory (YC2) */
.ct-bike-accessory {
    font-size: 12px;
    color: var(--ct-bike-text-muted, #6b7280);
    line-height: 1.45;
    margin-bottom: 18px;
}

/* ==========================================================================
   Action Buttons (YC2 & YC3)
   ========================================================================== */
.ct-bike-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
}

/* Active State: Chọn xe này */
.ct-bike-action {
    padding-left: 20px;
    padding-right: 20px;
}

.ct-bike-btn.btn-choose {
    background: var(--ct-bike-primary, #f26522);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.25);
}

.ct-bike-btn.btn-choose:hover {
    background: var(--ct-bike-primary-hover, #d9531e);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(242, 101, 34, 0.35);
}

/* Out of Stock: Hết xe */
.ct-bike-btn.btn-soldout {
    background: var(--ct-bike-btn-disabled-bg, #f3f4f6);
    color: var(--ct-bike-btn-disabled-text, #9ca3af);
    border: 1px solid #e5e7eb;
    cursor: not-allowed;
    pointer-events: none;
}

/* Stopped State (YC3): Đã dừng vận hành */
.ct-bike-btn.btn-stopped {
    background: var(--ct-bike-btn-disabled-bg, #f3f4f6);
    color: var(--ct-bike-btn-disabled-text, #9ca3af);
    border: 1px solid #e5e7eb;
    cursor: not-allowed;
    pointer-events: none;
}

/* Empty Tab State */
.ct-booking-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 16px;
    color: #6b7280;
    font-size: 15px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 991px) {
    .ct-booking-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ct-bike-thumb-wrap {
        height: 165px;
    }

    .ct-price-main {
        font-size: 20px;
    }

    .ct-bike-title {
        font-size: 17px;
    }
}

@media screen and (max-width: 640px) {
    .ct-booking-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ct-booking-tabs-wrapper {
        justify-content: flex-start;
    }

    .ct-booking-tabs {
        flex-wrap: nowrap;
    }

    .ct-tab-btn {
        padding: 8px 18px;
        font-size: 13.5px;
    }

    .ct-bike-thumb-wrap {
        height: 170px;
    }

    .ct-bike-card {
        border-radius: 16px;
    }
}

/* ==========================================================================
   Booking Modal Popup Styles (Step 1 & Step 2)
   ========================================================================== */

/* Overlay */
.ct-booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ct-booking-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Dialog Container */
.ct-booking-modal-dialog {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 670px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    padding: 30px 28px;
    box-sizing: border-box;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.94);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ct-booking-modal-overlay.is-open .ct-booking-modal-dialog {
    transform: scale(1);
}

/* Close Button (X) */
.ct-modal-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    margin: 0;
}

.ct-modal-close-btn:hover {
    background: #e5e7eb;
    color: #111827;
    transform: rotate(90deg);
}

/* Modal Headers */
.ct-modal-header {
    margin-bottom: 20px;
    padding-right: 40px;
}

.ct-modal-header-with-icon {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 36px;
}

.ct-header-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ct-bike-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-header-text {
    flex-grow: 1;
}

.ct-btn-step-back {
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ct-btn-step-back:hover {
    background: #e5e7eb;
    color: #111827;
}

.ct-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.ct-modal-subtitle {
    font-size: 13.5px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Step 1: Selected Bike Box
   ========================================================================== */
.ct-selected-bike-box {
    border: 1.5px solid #f0f2f5;
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    background: #ffffff;
}

.ct-sbb-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ct-sbb-img-wrap {
    width: 48px;
    height: 48px;
    background: #f9fafb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.ct-sbb-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ct-sbb-title {
    font-size: 15.5px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
}

.ct-sbb-desc {
    font-size: 12.5px;
    color: #6b7280;
    margin-top: 2px;
}

.ct-btn-change-bike {
    background: transparent;
    border: none;
    color: #f26522;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.ct-btn-change-bike:hover {
    background: #fff7ed;
}

/* ==========================================================================
   Step 1: Datetime Picker Container (Image 1)
   ========================================================================== */
.ct-datetime-picker-box {
    border: 1.5px solid #f0f2f5;
    border-radius: 16px;
    display: flex;
    position: relative;
    background: #ffffff;
    margin-bottom: 22px;
    box-sizing: border-box;
}

.ct-dt-col {
    padding: 16px 16px;
    box-sizing: border-box;
}

.ct-dt-pickup {
    flex: 1;
}

.ct-dt-return {
    flex: 1;
    border-left: 1px solid #f0f2f5;
    padding-left: 40px
}

.ct-dt-days {
    width: 110px;
    border-left: 1px solid #f0f2f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    flex-shrink: 0;
}

.ct-dt-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.ct-dt-label {
    font-size: 11px;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 0.5px;
}

.ct-date-display-wrap {
    cursor: pointer;
    position: relative;
    padding: 4px 0;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.ct-date-display-wrap:hover {
    background: #fafafa;
}

.ct-date-main {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.ct-date-day {
    font-size: 12.5px;
    color: #6b7280;
    margin-top: 3px;
}

.ct-hidden-date-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ct-time-select-wrap {
    margin-top: 8px;
}

.ct-time-label {
    font-size: 10.5px;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ct-select-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.ct-select-custom svg {
    position: absolute;
    left: 10px;
    color: #6b7280;
    pointer-events: none;
}

.ct-select-custom select {
    width: 100%;
    padding: 7px 10px 7px 32px;
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    margin-bottom: 0;
}

.ct-select-custom select:focus {
    border-color: #f26522;
}

/* Arrow between dates */
.ct-dt-arrow-btn {
    position: absolute;
    left: calc((100% - 130px) / 2);
    margin: 0;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--ct-bike-primary);
    color: var(--ct-bike-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ct-dt-arrow-btn:hover {
    background: var(--ct-bike-primary);
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.08);
}

/* Total Days Box */
.ct-days-number {
    font-size: 36px;
    font-weight: 900;
    color: #111827;
    line-height: 1;
}

.ct-days-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-top: 4px;
    text-align: center;
}

/* Button & Action Step 1 */
.ct-modal-action-wrap {
    margin-top: 10px;
}

.ct-modal-btn-primary {
    width: 100%;
    background: var(--ct-bike-primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgb(30 143 109 / 28%);
    transition: all 0.25s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.ct-modal-btn-primary:hover {
    background: var(--ct-bike-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgb(30 143 109 / 28%);
}

.ct-modal-action-sub {
    font-size: 12.5px;
    color: #6b7280;
    text-align: center;
    margin-top: 10px;
}

/* ==========================================================================
   Step 2: Summary Card & Details (Image 2)
   ========================================================================== */
.ct-step2-summary-card {
    border: 1.5px solid #f0f2f5;
    border-radius: 16px;
    padding: 16px 18px;
    background: #ffffff;
    margin-bottom: 16px;
}

.ct-s2-row-bike {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ct-s2-bike-img {
    width: 56px;
    height: 56px;
    background: #f9fafb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.ct-s2-bike-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ct-s2-bike-title {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
}

.ct-s2-bike-desc {
    font-size: 12.5px;
    color: #6b7280;
    margin-top: 2px;
}

.ct-s2-bike-acc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.ct-s2-bike-acc .acc-tag {
    font-size: 11px;
    font-weight: 700;
    background: rgb(30 143 109 / 10%);
    color: var(--ct-bike-primary);
    padding: 2.5px 8px;
    border-radius: 9999px;
}

.ct-s2-divider {
    height: 1px;
    background: #f0f2f5;
    margin: 12px 0;
}

.ct-s2-row-dates {
    display: flex;
    justify-content: space-between;
}

.ct-s2-date-item {
    flex: 1;
}

.ct-s2-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.ct-s2-val-date {
    font-size: 14.5px;
    font-weight: 800;
    color: #111827;
    margin-top: 2px;
}

.ct-s2-val-time {
    font-size: 12px;
    color: #6b7280;
}

.ct-s2-row-pricing {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ct-s2-qty-val {
    font-size: 14.5px;
    font-weight: 800;
    color: #111827;
    margin-top: 2px;
}

.ct-s2-price-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ct-s2-price-orig {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-top: 2px;
}

.ct-s2-price-final {
    font-size: 17px;
    font-weight: 800;
    color: #f26522;
    line-height: 1.2;
}

.ct-s2-price-saving {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    margin-top: 2px;
}

.ct-s2-days-note {
    font-size: 12px;
    color: #6b7280;
}

/* Alert Box */
.ct-alert-box-warning {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    padding: 12px 14px;
    color: #92400e;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ct-alert-box-warning strong {
    color: #d97706;
}

.ct-alert-icon {
    font-size: 14px;
    line-height: 1.3;
}

/* ==========================================================================
   Contact Form 7 inside Modal
   ========================================================================== */
.ct-cf7-booking-container {
    margin-bottom: 14px;
}

.ct-cf7-booking-container input[type="text"],
.ct-cf7-booking-container input[type="tel"],
.ct-cf7-booking-container input[type="email"],
.ct-cf7-booking-container textarea,
.ct-cf7-fallback-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 14.5px;
    font-family: inherit;
    margin-bottom: 12px;
    background: #ffffff;
    min-height: 45px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-cf7-booking-container input:focus,
.ct-cf7-fallback-form input:focus {
    border-color: var(--ct-bike-primary);
    outline: none;

}

.ct-cf7-booking-container label,
.ct-cf7-fallback-form label {
    font-size: 11.5px;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.ct-cf7-booking-container form label {
    margin-bottom: 10px;
}

.ct-cf7-booking-container form input {
    font-weight: 500;
    box-shadow: unset
}

.ct-cf7-booking-container input[type="submit"],
.ct-btn-submit-booking {
    width: 100%;
    background: var(--ct-bike-primary) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.35) !important;
    transition: all 0.25s ease !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-top: 6px;
}

.ct-cf7-booking-container input[type="submit"]:hover,
.ct-btn-submit-booking:hover {
    background: var(--ct-bike-primary) !important;
    transform: translateY(-1px);
}

/* Terms Collapsible */
.ct-booking-terms-box {
    border: 1.5px solid #f0f2f5;
    border-radius: 12px;
    margin-top: 14px;
    overflow: hidden;
    background: #ffffff;
}

.ct-booking-terms-box summary {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ct-booking-terms-box summary::-webkit-details-marker {
    display: none;
}

.ct-booking-terms-box summary::after {
    content: '▾';
    font-size: 13px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.ct-booking-terms-box[open] summary::after {
    transform: rotate(180deg);
}

.ct-terms-content {
    padding: 0 16px 14px 30px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.55;
}

.ct-terms-content ul {
    margin: 0;
    padding-left: 0;
}

.ct-terms-content li {
    margin-bottom: 6px;
}

/* Responsive Modal for Mobile */
@media screen and (max-width: 640px) {
    .ct-booking-modal-dialog {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .ct-modal-title {
        font-size: 21px;
    }

    .ct-datetime-picker-box {
        flex-direction: column;
    }

    .ct-dt-return {
        border-left: none;
        border-top: 1px solid #f0f2f5;
    }

    .ct-dt-days {
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f2f5;
        border-radius: 0 0 16px 16px;
        padding: 14px;
        flex-direction: row;
        gap: 10px;
    }

    .ct-days-number {
        font-size: 28px;
    }

    .ct-days-label {
        margin-top: 0;
    }

    .ct-dt-arrow-btn {
        display: none;
    }
}

/* ==========================================================================
   Special Bike Card & Features (Image 2)
   ========================================================================== */
.ct-bike-card.is-group-spec {
    border: 1.5px solid #fed7aa;
    background: #ffffff;
    box-shadow: 0 4px 20px -2px rgba(249, 115, 22, 0.08);
}

.ct-bike-card.is-group-spec:hover {
    border-color: #fb923c;
    box-shadow: 0 12px 30px -4px rgba(249, 115, 22, 0.16);
}

.ct-badge-stock.stock-spec-top {
    background: #f06a1d;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(240, 106, 29, 0.3);
}

.ct-card-spec-banner {
    background: #fff8f1;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 12px 0 6px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ct-csb-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ct-csb-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.ct-csb-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #7c2d12;
    margin: 0 0 2px 0;
    line-height: 1.25;
}

.ct-csb-desc {
    font-size: 11.5px;
    font-weight: 600;
    color: #9a3412;
    margin: 0;
    line-height: 1.3;
}

.ct-csb-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ct-csb-dots .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

.ct-csb-dots .dot-gray {
    background: #9ca3af;
}

.ct-csb-dots .dot-navy {
    background: #0f172a;
}

.ct-csb-dots .dot-blue {
    background: #1d4ed8;
}

.ct-bike-btn.btn-choose-spec {
    background: #f06a1d !important;
    color: #ffffff !important;
    border: none;
    font-weight: 700;
}

.ct-bike-btn.btn-choose-spec:hover {
    background: #ea580c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 106, 29, 0.35);
}

/* ==========================================================================
   Step 0: Version Selection Popup (Image 1)
   ========================================================================== */
.ct-modal-header-spec .ct-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.ct-spec-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.ct-spec-card {
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px 14px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.ct-spec-card:hover {
    border-color: #fb923c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.08);
}

.ct-spec-card.is-active {
    border: 2px solid #f06a1d !important;
    box-shadow: 0 10px 25px -4px rgba(240, 106, 29, 0.18);
}

.ct-spec-ribbon-badge {
    position: absolute;
    top: -11px;
    right: 14px;
    background: #f06a1d;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 10px;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(240, 106, 29, 0.35);
    z-index: 2;
}

.ct-spec-card-thumb {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.ct-spec-card-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ct-spec-card:hover .ct-spec-card-thumb img {
    transform: scale(1.04);
}

.ct-spec-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ct-spec-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.ct-spec-card-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.ct-spec-card-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.ct-spec-card-info {
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.35;
}

.ct-spec-card-pricing {
    margin-top: auto;
    margin-bottom: 8px;
}

.ct-spec-price-main {
    font-size: 19px;
    font-weight: 800;
    color: #f06a1d;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.ct-spec-price-main .unit {
    font-size: 12.5px;
    font-weight: 600;
    color: #9ca3af;
}

.ct-spec-price-sub {
    font-size: 12.5px;
    font-weight: 700;
    color: #10b981;
}

.ct-spec-card-stock {
    font-size: 12.5px;
    font-weight: 700;
    color: #ef4444;
}

.ct-spec-card-stock.in-stock {
    color: #059669;
}

/* Upgrade Green Banner */
.ct-spec-diff-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #166534;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ct-spec-diff-banner strong {
    color: #14532d;
    font-weight: 800;
}

/* Orange Continue Button */
.ct-modal-btn-orange {
    width: 100%;
    background: #f06a1d;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(240, 106, 29, 0.32);
}

.ct-modal-btn-orange:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(240, 106, 29, 0.4);
    color: #ffffff;
}

@media screen and (max-width: 640px) {
    .ct-spec-cards-grid {
        grid-template-columns: 1fr;
    }
}