﻿/* --- Original Sidebar Styles --- */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000; /* Deep Black */
    padding-top: 0;
    color: #fff;
    z-index: 1060;
    transition: all 0.3s ease-in-out;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
}

    .sidebar a {
        padding: 15px 25px;
        text-decoration: none;
        font-size: 16px;
        color: #ccc;
        display: block;
        transition: 0.3s;
        border-left: 4px solid transparent;
    }

        .sidebar a:hover, .sidebar a.active {
            color: #E95440;
            background-color: rgba(233, 84, 64, 0.1);
            border-left: 4px solid #E95440;
            border-right: none;
        }

/* Main Content Area */
.main-content {
    margin-left: 250px;
    padding: 30px;
    background-color: #f4f6f9;
    min-height: 100vh;
    transition: margin-left 0.3s ease-in-out;
}

/* Sidebar Overlay (For Mobile) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Below sidebar, above content */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .sidebar {
        left: -250px; /* Hide off-screen */
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    }

        .sidebar.show {
            left: 0; /* Slide in */
        }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }
}

/* Admin Card Box */
.card-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    color: #000; /* Black text for Admin white cards */
}

/* ------------------------------------------------
   2. SELECT VEHICLE PAGE
   ------------------------------------------------ */
.vehicle-selection-page {
    background-color: #000000;
    min-height: 100vh;
    padding-top: 100px;
}

.selection-header {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    padding: 40px 0 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.selection-meta {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #fff;
}

.meta-item {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #111;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.filter-title {
    color: #fff;
    font-family: "Figtree", sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #E95440;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.filter-group .input-group-text {
    background-color: #222 !important;
    border-color: #444 !important;
    color: #fff !important;
}

.filter-group .form-control {
    background-color: #1a1a1a !important;
    border-color: #444 !important;
    color: white !important;
    font-weight: 600;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

    .custom-checkbox input {
        display: none;
    }

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.custom-checkbox input:checked + .checkmark {
    background-color: #E95440;
    border-color: #E95440;
}

.checkmark::after {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
    display: none;
}

.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

.checkbox-text {
    color: #fff;
    font-size: 15px;
}

/* Vehicle Card */
.vehicle-select-card {
    background: #111;
    border: 1px solid #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .vehicle-select-card:hover {
        transform: translateY(-5px);
        border-color: #E95440;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }

.vehicle-img-area {
    background: radial-gradient(circle at center, #222 0%, #000 70%);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    border-bottom: 1px solid #333;
}

    .vehicle-img-area img {
        max-width: 100%;
        max-height: 180px;
        object-fit: contain;
        transition: transform 0.4s ease;
        filter: drop-shadow(0 10px 15px rgba(255,255,255,0.1));
    }

.vehicle-select-card:hover .vehicle-img-area img {
    transform: scale(1.08);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #fff;
    font-weight: bold;
}

.vehicle-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-name {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-family: "Figtree", sans-serif;
    font-weight: 700;
}

.vehicle-specs {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
}

    .spec-item i {
        color: #E95440;
    }

.price-block .text-muted {
    color: #fff !important;
    opacity: 0.8;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    font-family: "Figtree", sans-serif;
    line-height: 1;
    color: #fff;
}

.btn-select {
    background: #E95440;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-select:hover {
        background: white;
        color: black;
    }

.hover-primary:hover {
    color: #E95440 !important;
}

/* ------------------------------------------------
   3. SERVICES PAGE
   ------------------------------------------------ */
.services-selection-page {
    background-color: #050505;
    min-height: 100vh;
    padding-top: 100px;
}

.service-modern-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .service-modern-card:hover {
        transform: translateY(-5px);
        border-color: #444;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .service-modern-card.selected {
        border-color: #E95440;
        box-shadow: 0 0 20px rgba(233, 84, 64, 0.2);
    }

.card-visual {
    height: 140px;
    background: radial-gradient(circle at center, #222 0%, #000 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #222;
}

.service-modern-card.selected .card-visual {
    background: radial-gradient(circle at center, #2c1a1a 0%, #000 100%);
}

.card-icon {
    font-size: 3rem;
    color: #fff;
    transition: 0.3s;
}

.service-modern-card:hover .card-icon {
    transform: scale(1.1);
    color: #E95440;
}

.service-modern-card.selected .card-icon {
    color: #E95440;
    filter: drop-shadow(0 0 10px rgba(233, 84, 64, 0.5));
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-family: "Figtree", sans-serif;
    font-weight: 700;
    border: 1px solid #fff;
}

.service-modern-card.selected .price-badge {
    background: #E95440;
    border-color: #E95440;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: "Figtree", sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.25rem;
    margin: 0;
}

.service-desc {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.select-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

    .select-circle i {
        font-size: 12px;
        color: #000;
        opacity: 0;
        transition: 0.3s;
    }

.service-modern-card.selected .select-circle {
    background: #E95440;
    border-color: #E95440;
}

    .service-modern-card.selected .select-circle i {
        opacity: 1;
    }

.quantity-area {
    background: #000;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #fff;
    opacity: 0.6;
    pointer-events: none;
    transition: 0.3s;
    margin-top: auto;
}

    .quantity-area.active {
        opacity: 1;
        pointer-events: all;
        border-color: #E95440;
    }

.qty-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

.qty-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-qty-mod {
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    cursor: pointer;
}

    .btn-qty-mod:hover {
        background: #E95440;
        border-color: #E95440;
        color: #fff;
    }

.qty-number {
    font-family: "Figtree", sans-serif;
    color: #fff;
    font-weight: 700;
    width: 20px;
    text-align: center;
}

.service-checkbox-hidden {
    display: none;
}

/* --- NEW: Child Seat Styles --- */
.child-seat-area {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.added-seats-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.added-seat-item {
    background: #222;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #fff;
    border: 1px solid #444;
}

/* ------------------------------------------------
   4. PAYMENT PAGE
   ------------------------------------------------ */
.payment-page-container {
    background-color: #050505;
    background-image: radial-gradient(circle at top right, #1a1a1a 0%, #050505 40%);
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 50px;
    font-family: 'DM Sans', sans-serif;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-steps {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .checkout-steps .step {
        color: #555;
        position: relative;
        padding-bottom: 5px;
    }

        .checkout-steps .step.active {
            color: #E95440;
            border-bottom: 2px solid #E95440;
        }

        .checkout-steps .step.completed {
            color: #fff;
        }

            .checkout-steps .step.completed i {
                color: #28a745;
            }

.payment-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
}

.card-header-luxury {
    background: #161616;
    padding: 25px 30px;
    border-bottom: 1px solid #222;
}

    .card-header-luxury h4 {
        margin: 0;
        color: #fff;
        font-family: 'Figtree', sans-serif;
        font-weight: 600;
    }

.section-label {
    color: #888;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
}

.input-group-luxury .input-group-text {
    background-color: #1a1a1a;
    border-color: #333;
    color: #888;
}

.form-control-luxury {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
}

    .form-control-luxury:focus {
        border-color: #E95440;
        background-color: #0a0a0a;
        box-shadow: 0 0 0 3px rgba(233, 84, 64, 0.1);
        outline: none;
        color: white;
    }

.summary-card {
    background: #161616;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
}

.summary-header-luxury {
    background: linear-gradient(90deg, #1f1f1f, #161616);
    padding: 20px 30px;
    border-bottom: 1px solid #222;
}

    .summary-header-luxury h5 {
        margin: 0;
        color: #fff;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

.vehicle-thumb {
    width: 80px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .vehicle-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.trip-timeline {
    position: relative;
    padding-left: 15px;
}

.timeline-point {
    position: relative;
    padding-left: 25px;
    padding-bottom: 30px;
}

    .timeline-point:last-child {
        padding-bottom: 0;
    }

.timeline-line {
    position: absolute;
    left: 19px;
    top: 5px;
    bottom: 25px;
    width: 2px;
    background: #333;
    border-left: 1px dashed #555;
}

.dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E95440;
    box-shadow: 0 0 0 4px rgba(233, 84, 64, 0.2);
}

    .dot.red {
        background: #fff;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    }

    .dot.white {
        background: #fff;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    }

.timeline-point label {
    font-size: 11px;
    color: #888;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.btn-pay-luxury {
    background: linear-gradient(135deg, #E95440 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(233, 84, 64, 0.3);
}

    .btn-pay-luxury:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(233, 84, 64, 0.5);
        color: white;
    }

.text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}

/* ------------------------------------------------
   5. BOOKING HISTORY & DETAILS
   ------------------------------------------------ */
.booking-history-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .booking-history-card:hover {
        transform: translateY(-5px);
        border-color: #E95440;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

.history-header {
    background: #161616;
    padding: 15px 20px;
    border-bottom: 1px solid #222;
}

.booking-id {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.history-body {
    padding: 20px;
    flex-grow: 1;
}

.history-footer {
    padding: 15px 20px;
    background: #161616;
    border-top: 1px solid #222;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.status-confirmed {
    background: rgba(25, 135, 84, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-other {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid #444;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(233, 84, 64, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(233, 84, 64, 0.2);
}

.ls-1 {
    letter-spacing: 1px;
}

.trip-mini-timeline {
    position: relative;
    padding-left: 10px;
}

    .trip-mini-timeline .line {
        position: absolute;
        left: 13px;
        top: 6px;
        bottom: 6px;
        width: 1px;
        background: #333;
        border-left: 1px dashed #555;
        z-index: 0;
    }

    .trip-mini-timeline .point {
        position: relative;
        z-index: 1;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .trip-mini-timeline .point:last-child {
            margin-bottom: 0;
        }

.small-dot {
    font-size: 6px;
}

.empty-state-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
}

/* ------------------------------------------------
   6. NEW: Call Button & Flight Inputs
   ------------------------------------------------ */
.call-btn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
    text-decoration: none;
}

    .call-btn:hover {
        background-color: #0056b3;
        transform: scale(1.08);
        color: #fff;
    }

.flight-input-wrapper {
    margin-top: 10px;
    animation: fadeIn 0.3s ease-in-out;
    display: none;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px dashed #E95440;
}

    .flight-input-wrapper label {
        font-size: 12px;
        color: #ddd;
        margin-bottom: 2px !important;
        display: block;
    }

    .flight-input-wrapper input {
        background: transparent;
        border: none;
        border-bottom: 1px solid #fff;
        border-radius: 0;
        padding: 5px 0;
        color: #fff;
        font-size: 14px;
        width: 100%;
    }

        .flight-input-wrapper input:focus {
            box-shadow: none;
            border-color: #E95440;
            outline: none;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stripe Element Custom */
.StripeElement {
    background-color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}
.platform-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .platform-card:hover {
        transform: translateY(-5px);
    }

.google-card {
    border-left: 4px solid #4285F4;
}

.yelp-card {
    border-left: 4px solid #FF1A1A;
}

.review-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

    .review-box:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border-color: #E95440;
    }

.review-text {
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
}