/* ═══════════════════════════════════════════════════════════════
   Platinum Travels - Isolated Quick Booking Module CSS (v2)
   - Perfectly horizontal 5-column layout on Desktop
   - Enhanced UI drawing from theme design tokens (#02514b, #e5ab23)
   - Scoped entirely under .pt-quick-booking-wrap
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

.pt-quick-booking-wrap {
    all: initial;
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #e2e8f0;
    max-width: 1140px;
    margin: 30px auto;
    box-sizing: border-box;
}

.pt-quick-booking-wrap *,
.pt-quick-booking-wrap *::before,
.pt-quick-booking-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ══ Dark Charcoal Container ══ */
.pt-quick-booking-wrap .pt-quick-booking-box {
    background: #2d3139;
    border-radius: 20px;
    padding: 22px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
}

/* ══ Perfectly Horizontal 5-Column Grid on Desktop ══ */
.pt-quick-booking-wrap .pt-quick-booking-grid {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
    width: 100%;
}

/* Proportional Field Columns */
.pt-quick-booking-wrap .pt-quick-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pt-quick-booking-wrap .pt-quick-field--pickup { flex: 1 1 24%; }
.pt-quick-booking-wrap .pt-quick-field--drop   { flex: 1 1 24%; }
.pt-quick-booking-wrap .pt-quick-field--date   { flex: 1 1 19%; }
.pt-quick-booking-wrap .pt-quick-field--time   { flex: 1 1 18%; }
.pt-quick-booking-wrap .pt-quick-field--btn    { flex: 0 0 auto; min-width: 145px; }

/* ══ Labels - Rich Gold (#e5ab23) ══ */
.pt-quick-booking-wrap .pt-quick-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #e5ab23;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.pt-quick-booking-wrap .pt-quick-label-icon {
    color: #e5ab23;
    opacity: 0.9;
    flex-shrink: 0;
}

/* ══ Input Wrappers & Dark Fields ══ */
.pt-quick-booking-wrap .pt-quick-input-wrap {
    position: relative;
    width: 100%;
}

.pt-quick-booking-wrap .pt-quick-input {
    width: 100%;
    height: 46px;
    background: #3a3f4a;
    border: 1.5px solid #2d7363; /* Subtle green border matching reference image */
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #ffffff !important;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
}

.pt-quick-booking-wrap .pt-quick-input::placeholder {
    color: #949ca9;
    opacity: 1;
}

.pt-quick-booking-wrap .pt-quick-input:focus {
    border-color: #25a468;
    background: #424855;
    box-shadow: 0 0 0 3px rgba(37, 164, 104, 0.25);
}

/* Date input styling */
.pt-quick-booking-wrap .pt-quick-input--date {
    color: #e5ab23 !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.pt-quick-booking-wrap .pt-quick-input--date::-webkit-calendar-picker-indicator {
    filter: invert(70%) sepia(80%) saturate(600%) hue-rotate(5deg);
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.pt-quick-booking-wrap .pt-quick-input--date::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Select dropdown */
.pt-quick-booking-wrap select.pt-quick-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e5ab23' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* ══ Green View Option Button (#25a468) ══ */
.pt-quick-booking-wrap .pt-quick-btn {
    height: 46px;
    width: 100%;
    background: #25a468;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 164, 104, 0.25);
}

.pt-quick-booking-wrap .pt-quick-btn:hover {
    background: #2ecc71;
    box-shadow: 0 6px 20px rgba(37, 164, 104, 0.4);
    transform: translateY(-1px);
}

.pt-quick-booking-wrap .pt-quick-btn:active {
    transform: translateY(0);
}

.pt-quick-booking-wrap .pt-quick-btn--accent {
    background: #02514b;
    box-shadow: 0 4px 12px rgba(2, 81, 75, 0.3);
}
.pt-quick-booking-wrap .pt-quick-btn--accent:hover {
    background: #037a71;
    box-shadow: 0 6px 18px rgba(3, 122, 113, 0.4);
}

/* Validation Messages */
.pt-quick-booking-wrap .pt-quick-field-msg {
    font-size: 11.5px;
    color: #ff6b6b;
    margin-top: 4px;
    display: none;
}
.pt-quick-booking-wrap .pt-quick-field-msg.is-visible {
    display: block;
}

.pt-quick-booking-wrap .pt-quick-alert {
    color: #ff6b6b;
    font-size: 13.5px;
    margin-top: 10px;
    font-weight: 500;
    min-height: 18px;
}

/* ══ Results Container (Vehicles & Checkout) ══ */
.pt-quick-booking-wrap .pt-quick-results-wrap {
    margin-top: 24px;
    background: #ffffff;
    color: #1e222a;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.pt-quick-booking-wrap .pt-quick-trip-summary {
    display: flex;
    gap: 16px;
    background: #e8f5f4;
    border: 1px solid #d0e8e6;
    padding: 12px 20px;
    border-radius: 12px;
    color: #02514b;
    font-size: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pt-quick-booking-wrap .pt-quick-section-title {
    font-family: 'Syne', sans-serif;
    color: #02514b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pt-quick-booking-wrap .pt-quick-subtext {
    color: #666666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Vehicle Selection Grid */
.pt-quick-booking-wrap .pt-quick-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pt-quick-booking-wrap .pt-quick-veh-card {
    border: 1.5px solid #d0e8e6;
    border-radius: 12px;
    padding: 18px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background: #fafafa;
}

.pt-quick-booking-wrap .pt-quick-veh-card:hover {
    border-color: #02514b;
    background: #e8f5f4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 81, 75, 0.1);
}

.pt-quick-booking-wrap .pt-quick-veh-card.is-selected {
    border-color: #02514b;
    background: #d4ede9;
    box-shadow: inset 0 0 0 2px #02514b, 0 6px 16px rgba(2, 81, 75, 0.12);
}

.pt-quick-booking-wrap .pt-quick-veh-type {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #02514b;
}

.pt-quick-booking-wrap .pt-quick-veh-seats {
    font-size: 12.5px;
    color: #02514b;
    font-weight: 600;
    margin-bottom: 6px;
}

.pt-quick-booking-wrap .pt-quick-veh-img {
    width: 100%;
    height: 95px;
    object-fit: contain;
    margin-top: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

.pt-quick-booking-wrap .pt-quick-step-actions {
    display: flex;
    justify-content: flex-end;
}

/* Details Form & Summary */
.pt-quick-booking-wrap .pt-quick-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}

.pt-quick-booking-wrap .pt-quick-field-dark {
    margin-bottom: 14px;
}

.pt-quick-booking-wrap .pt-quick-label-dark {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #02514b;
    margin-bottom: 6px;
}

.pt-quick-booking-wrap .pt-quick-input-dark {
    width: 100%;
    height: 44px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #02514b !important;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}
.pt-quick-booking-wrap .pt-quick-input-dark:focus {
    border-color: #02514b;
    box-shadow: 0 0 0 3px rgba(2, 81, 75, 0.12);
}

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

.pt-quick-booking-wrap .pt-quick-summary-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.pt-quick-booking-wrap .pt-quick-summary-card h4 {
    font-family: 'Syne', sans-serif;
    color: #02514b;
    font-size: 16px;
    margin-bottom: 14px;
}

.pt-quick-booking-wrap .pt-quick-sum-line {
    font-size: 13.5px;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
}
.pt-quick-booking-wrap .pt-quick-sum-line:last-child {
    border-bottom: none;
}
.pt-quick-booking-wrap .pt-quick-sum-line strong {
    color: #02514b;
}

.pt-quick-booking-wrap .pt-quick-btn--full {
    width: 100%;
}

.pt-quick-booking-wrap .pt-quick-btn-link {
    background: none;
    border: none;
    color: #02514b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 12px;
    width: 100%;
    text-align: center;
}

/* Confirmed Box */
.pt-quick-booking-wrap .pt-quick-confirmed-box {
    text-align: center;
    padding: 20px 0;
}

.pt-quick-booking-wrap .pt-quick-tick {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #e8f5f4;
    border: 3px solid #02514b;
    color: #02514b;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-weight: bold;
}

.pt-quick-booking-wrap .pt-quick-confirm-details {
    max-width: 500px;
    margin: 24px auto;
    border: 1.5px solid #d0e8e6;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.pt-quick-booking-wrap .pt-quick-c-row {
    display: flex;
    justify-content: space-between;
    padding: 11px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13.5px;
}
.pt-quick-booking-wrap .pt-quick-c-row:last-child {
    border-bottom: none;
}
.pt-quick-booking-wrap .pt-quick-c-row strong {
    color: #02514b;
}

/* ════ Responsive Breakpoints ════ */
@media (max-width: 992px) {
    .pt-quick-booking-wrap .pt-quick-booking-grid {
        flex-wrap: wrap;
    }
    .pt-quick-booking-wrap .pt-quick-field--pickup,
    .pt-quick-booking-wrap .pt-quick-field--drop   { flex: 1 1 45%; }
    .pt-quick-booking-wrap .pt-quick-field--date,
    .pt-quick-booking-wrap .pt-quick-field--time   { flex: 1 1 45%; }
    .pt-quick-booking-wrap .pt-quick-field--btn    { flex: 1 1 100%; min-width: 0; }
    .pt-quick-booking-wrap .pt-quick-vehicles-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-quick-booking-wrap .pt-quick-details-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .pt-quick-booking-wrap .pt-quick-booking-box {
        padding: 20px 18px;
    }
    .pt-quick-booking-wrap .pt-quick-field--pickup,
    .pt-quick-booking-wrap .pt-quick-field--drop,
    .pt-quick-booking-wrap .pt-quick-field--date,
    .pt-quick-booking-wrap .pt-quick-field--time,
    .pt-quick-booking-wrap .pt-quick-field--btn {
        flex: 1 1 100%;
    }
    .pt-quick-booking-wrap .pt-quick-vehicles-grid {
        grid-template-columns: 1fr;
    }
}
