/* Route Booking Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-rgb: 102, 126, 234;
    --danger: #e74c3c;
    --success: #28a745;
    --light: #f8f9fa;
    --dark: #333;
    --gray: #6c757d;
}

html {
    overflow-x: hidden;
}

html::before,
html::after,
body::before,
body::after {
    display: none !important;
}

body {
    min-height: 100vh;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    margin: 0;
}

/* Remove highlight box border */
.highlight-box {
    border-left: none !important;
}

/* Remove any element with blue left border */
[style*="border-left: 4px solid #667eea"],
[style*="border-left:4px solid #667eea"] {
    border-left: none !important;
}

/* Ensure no floating boxes on left side */
body::before,
body::after,
html::before,
html::after {
    display: none !important;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-header {
    color: white;
    padding: 25px;
    text-align: center;
}

.booking-header h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.booking-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.trip-info {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.trip-info div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.trip-info div:last-child {
    margin-bottom: 0;
}

.trip-info strong {
    color: var(--dark);
}

.trip-info span {
    color: var(--light);
}

/* Trip Type Selector */
.trip-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.trip-type-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s ease;
}

.trip-type-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.trip-type-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: var(--primary);
}

/* Step Indicator */
.steps {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step.active:not(:last-child)::after {
    background: var(--success);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.step.active .step-circle {
    background: var(--success);
    color: white;
}

.step.completed .step-circle {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 5px;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: bold;
}

/* Form Content */
.form-content {
    padding: 30px 20px;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-group {
    margin-bottom: 20px;
}

.form-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

textarea {
    resize: none;
    min-height: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* OTP Input */
.otp-container {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.otp-input {
    width: 100% !important;
    padding: 15px !important;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 5px;
}

.otp-timer {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 10px;
}

.otp-timer.danger {
    color: var(--danger);
    font-weight: bold;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    padding: 5px 0;
}

.resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-next {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-back {
    background: #e9ecef;
    color: var(--dark);
}

.btn-back:hover {
    background: #dee2e6;
}

/* Confirmation */
.confirmation {
    text-align: center;
    padding: 40px 20px;
}

.confirmation-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirmation h2 {
    color: var(--dark);
    margin-bottom: 10px;
}

.booking-number {
    background: #e8f5e9;
    color: var(--success);
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    margin: 20px 0;
    font-size: 1.2rem;
    word-break: break-all;
}

.btn-home {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    margin-top: 20px;
}

/* Error Messages */
.error-message {
    background: #ffebee;
    color: var(--danger);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .container {
        max-width: 100%;
    }

    .booking-header h1 {
        font-size: 1.2rem;
    }

    .form-content {
        padding: 20px 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row:has(#journeyDate) {
        grid-template-columns: 1fr 1fr;
    }

    .form-3col {
        grid-template-columns: 1fr;
    }

    .steps {
        padding: 15px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .trip-info {
        padding: 12px 15px;
    }

    .trip-info div {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .vehicle-options {
        grid-template-columns: 1fr;
    }

    .trip-type-btn {
        flex: 1;
        min-width: 80px;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

/* Vehicle Cards */
.vehicle-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.vehicle-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
    position: relative;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vehicle-card:empty {
    display: none !important;
}

.vehicle-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-2px);
}

.vehicle-card.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.2);
}

.vehicle-card.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.vehicle-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 6px;
}

@media (max-width: 480px) {
    .vehicle-icon {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
}

.vehicle-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 0.85rem;
    word-break: break-word;
}

.vehicle-price {
    color: var(--success);
    font-weight: bold;
    font-size: 0.95rem;
}

.vehicle-info {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 4px;
}

/* Payment Options Styles */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
}

.payment-option input[type="radio"]:checked ~ * {
    color: var(--primary);
}

.payment-option input[type="radio"]:checked,
.payment-option.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.02);
}

/* Featured Option Styling */
.featured-option {
    border: 2px solid var(--success);
    background: #f0f8f5;
    position: relative;
}

.featured-option:hover {
    border-color: var(--success);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.15);
}

.payment-radio {
    cursor: pointer;
    accent-color: var(--primary);
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 2px;
    width: 10px;
}

/* Modern Payment Styles */
.payment-summary-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.summary-label {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.summary-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.summary-amount-highlight {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.summary-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 8px 0;
}

/* Payment Option Header */
.payment-option-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.payment-option-title {
    align-items: flex-start;
    gap: 12px;
}

.payment-option-title > div {
    text-align: left;
    flex: 1;
}

.payment-title-text {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
    text-align: left;
    margin-bottom: 4px;
}

.payment-subtitle {
    color: #6c757d;
    font-size: 0.85rem;
    text-align: left;
    line-height: 1.4;
}

.recommended-badge {
    background: #e8f5e9;
    color: var(--success);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Payment Alert */
.payment-alert {
    margin-top: 12px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #856404;
}

.payment-alert i {
    color: #ff9800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Payment Method Grid */
.payment-method-group {
    margin: 0;
}

.payment-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.payment-mini-option {
    position: relative;
    cursor: pointer;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.payment-mini-option:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.15);
    transform: translateY(-2px);
}

.payment-mini-option input[type="radio"]:checked + .payment-mini-content,
.payment-mini-option.selected {
    color: var(--primary);
}

.payment-mini-option input:checked ~ .payment-mini-content .payment-mini-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.payment-mini-option input:checked {
    accent-color: var(--primary);
}

.payment-mini-option.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

.payment-mini-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.payment-mini-icon {
    font-size: 1.8rem;
    transition: all 0.3s ease;
    color: var(--gray);
}

.payment-mini-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    word-break: break-word;
}

.payment-radio-hidden {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    left: 0;
}

/* Online Payment Details */
.online-payment-details {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.payment-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.breakdown-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.breakdown-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.breakdown-amount-remain {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

/* Mobile Responsive for Payment */
@media (max-width: 600px) {
    .payment-option-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-summary-card {
        padding: 12px;
    }

    .summary-amount {
        font-size: 1rem;
    }

    .summary-amount-highlight {
        font-size: 0.95rem;
    }

    .payment-mini-option {
        min-height: 90px;
        padding: 12px;
    }

    .payment-mini-icon {
        font-size: 1.5rem;
    }

    .payment-mini-text {
        font-size: 0.75rem;
    }
}

/* Error Modal */
.error-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.error-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-modal-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--danger);
}

.error-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    margin-bottom: 12px;
}

.error-modal-message {
    font-size: 0.95rem;
    text-align: center;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.error-modal-button {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-modal-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.error-modal-button:active {
    transform: translateY(0);
}

.error-modal-call-button {
    display: inline-block;
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.error-modal-call-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.error-modal-call-button:active {
    transform: translateY(0);
}

  /* Override global .form-group i styling for all icons in this booking page */
        .booking-card i {
            position: static !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
            pointer-events: auto !important;
        }

        /* Trip Info Section Styles */
        .trip-info {
            background: white;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 25px;
            border: 2px solid #e9ecef;
            transition: all 0.3s ease;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .trip-info:hover {
            border-color: var(--primary);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
        }

        .trip-info-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }

        .trip-info-item.full-width {
            grid-column: 1 / -1;
            border-top: 1px solid #f0f0f0;
            border-bottom: none;
            padding-top: 15px;
            padding-bottom: 0;
            justify-content: center;
            text-align: center;
        }

        .trip-info-item i {
            font-size: 1.3rem;
            color: var(--primary);
            width: 28px;
            text-align: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .trip-info-content {
            display: flex;
            flex-direction: column;
            gap: 3px;
            flex: 1;
        }

        .trip-info-content strong {
            color: var(--dark);
            font-weight: 600;
            font-size: 0.95rem;
            display: block;
        }

        .trip-info-content span {
            color: #888;
            font-size: 0.8rem;
            display: block;
        }

        .trip-info-content span.trip-info-label {
            color: #999;
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        /* Duration Itinerary Link in Trip-Info */
        .duration-itinerary-link {
            font-size: 0.8rem;
            margin-top: 8px;
            padding-top: 8px;
            /* border-top: 1px solid #f0f0f0; */
        }

        /* Trip Info Selection Items - Full Width */
        .trip-type-selector-item,
        .vehicle-selector-item {
            grid-column: 1 / -1;
            border-bottom: none;
            padding-bottom: 0;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }

        /* Modern Trip Type Selector */
        .modern-trip-type-selector {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 10px;
            width: 100%;
        }

        .modern-trip-type-selector .trip-type-btn {
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            background: white;
            color: #666;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .modern-trip-type-selector .trip-type-btn i {
            font-size: 1rem;
        }

        .modern-trip-type-selector .trip-type-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(102, 126, 234, 0.05);
        }

        .modern-trip-type-selector .trip-type-btn.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        /* Modern Vehicle Select Dropdown */
        .vehicle-select-dropdown {
            display: none;
        }

        /* Vehicle Options Inline - Modern Tabs */
        .vehicle-options-inline {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 12px;
            margin-top: 12px;
            justify-items: center;
        }

        .vehicle-option-pill {
            padding: 12px 14px;
            border: 2px solid #ddd;
            border-radius: 8px;
            background: #f9f9f9;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            font-size: 0.85rem;
            font-weight: 500;
            color: #333;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            width: 100%;
            max-width: 180px;
            position: relative;
        }

        .vehicle-option-pill i {
            font-size: 1.8rem;
            color: var(--primary);
        }

        .vehicle-option-tab-name {
            font-weight: 700;
            font-size: 0.9rem;
            color: #333;
        }

        .vehicle-option-tab-price {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--success);
        }

        .vehicle-option-tab-details {
            font-size: 0.75rem;
            color: #999;
            display: flex;
            gap: 4px;
            justify-content: center;
            width: 100%;
        }

        .vehicle-option-tab-details span {
            background: rgba(255, 255, 255, 0.3);
            padding: 2px 6px;
            border-radius: 3px;
        }

        .vehicle-option-pill:hover {
            border-color: var(--primary);
            background: white;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
            border-width: 2px;
        }

        .vehicle-option-pill.selected {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
            border-width: 3px;
        }

        .vehicle-option-pill.selected::before {
            content: '✓';
            position: absolute;
            top: -8px;
            right: -8px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: bold;
            box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
            border: 2px solid white;
        }

        .vehicle-option-pill.selected .vehicle-option-tab-name,
        .vehicle-option-pill.selected .vehicle-option-tab-price {
            color: white;
        }

        .vehicle-option-pill.selected .vehicle-option-tab-details span {
            background: rgba(255, 255, 255, 0.3);
            color: white;
        }

        .vehicle-option-pill.selected i {
            color: white;
        }


        /* Mobile Responsive - Trip Info */
        @media (max-width: 600px) {
            .trip-info {
                padding: 15px;
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }

            .trip-info-item {
                gap: 10px;
                padding-bottom: 12px;
            }

            .trip-info-item.full-width {
                padding-top: 12px;
            }

            .trip-info-item i {
                font-size: 1rem;
                width: 24px;
            }

            .trip-info-content strong {
                font-size: 0.85rem;
            }

            .trip-info-content span.trip-info-label {
                font-size: 0.65rem;
                letter-spacing: 0.3px;
            }

            /* Mobile - Modern Trip Type Selector */
            .modern-trip-type-selector {
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
            }

            .modern-trip-type-selector .trip-type-btn {
                padding: 8px 6px;
                font-size: 0.7rem;
                gap: 4px;
            }

            .modern-trip-type-selector .trip-type-btn i {
                font-size: 0.85rem;
            }

            /* Mobile - Vehicle Dropdown */
            .vehicle-select-dropdown {
                padding: 10px 12px;
                font-size: 0.9rem;
            }

            /* Mobile - Vehicle Pills */
            .vehicle-options-inline {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 8px;
                justify-items: center;
            }

            .vehicle-option-pill {
                padding: 10px 8px;
                font-size: 0.75rem;
                max-width: 140px;
            }

            .vehicle-option-pill i {
                font-size: 1.3rem;
            }

            .vehicle-option-tab-name {
                font-size: 0.8rem;
            }

            .vehicle-option-tab-price {
                font-size: 0.85rem;
            }

            .vehicle-option-tab-details {
                font-size: 0.65rem;
            }

            .vehicle-option-tab-details span {
                padding: 1px 4px;
            }

            .vehicle-option-pill.selected::before {
                width: 24px;
                height: 24px;
                font-size: 0.9rem;
                top: -6px;
                right: -6px;
            }
        }

          @keyframes spin {
                                from { transform: rotate(0deg); }
                                to { transform: rotate(360deg); }
                            }

                            /* Coupon List Item Styles */
                            .coupon-item {
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                gap: 12px;
                                padding: 12px 14px;
                                border-bottom: 1px solid #e8e8e8;
                                cursor: pointer;
                                transition: all 0.25s ease;
                                background: white;
                            }

                            .coupon-item:last-child {
                                border-bottom: none;
                            }

                            .coupon-item:hover {
                                background: rgba(102, 126, 234, 0.03);
                            }

                            .coupon-item.disabled {
                                opacity: 0.5;
                                cursor: not-allowed;
                            }

                            .coupon-item.disabled:hover {
                                background: white;
                            }

                            .coupon-item input[type="radio"] {
                                margin-top: 4px;
                                cursor: pointer;
                                width: 18px;
                                height: 18px;
                                accent-color: #667eea;
                                flex-shrink: 0;
                                display: none;
                            }

                            .coupon-item.disabled input[type="radio"] {
                                cursor: not-allowed;
                            }

                            .coupon-content {
                                flex: 1;
                                display: flex;
                                flex-direction: column;
                                gap: 6px;
                                min-width: 0;
                            }

                            /* Remove button in coupon item */
                            .coupon-item button {
                                flex-shrink: 0;
                                margin-left: 8px;
                            }

                            .coupon-item button:hover {
                                background: #e0e0e0 !important;
                                border-color: #bbb !important;
                            }

                            .coupon-item button:active {
                                transform: scale(0.96);
                            }

                            .coupon-code-box {
                                display: inline-block;
                                border: 2px dotted #667eea;
                                border-radius: 4px;
                                padding: 6px 10px;
                                font-size: 0.85rem;
                                font-weight: 700;
                                color: #667eea;
                                letter-spacing: 1px;
                                width: fit-content;
                                background: rgba(102, 126, 234, 0.04);
                            }

                            .coupon-description {
                                font-size: 0.8rem;
                                color: #555;
                                line-height: 1.3;
                                margin: 2px 0 0 0;
                            }

                            .coupon-item.disabled .coupon-code-box {
                                border-color: #ccc;
                                color: #999;
                                background: #f5f5f5;
                            }

                            .coupon-item.disabled .coupon-description {
                                color: #999;
                            }

                            /* Itinerary Modal Styles */
                            .itinerary-modal {
                                position: fixed;
                                top: 0;
                                left: 0;
                                width: 100%;
                                height: 100%;
                                background: rgba(0, 0, 0, 0.5);
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                z-index: 2000;
                                animation: fadeIn 0.3s ease;
                            }

                            @keyframes fadeIn {
                                from { opacity: 0; }
                                to { opacity: 1; }
                            }

                            .itinerary-modal-content {
                                background: white;
                                border-radius: 12px;
                                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
                                max-width: 500px;
                                width: 90%;
                                max-height: 70vh;
                                overflow-y: auto;
                                animation: slideUp 0.3s ease;
                            }

                            @keyframes slideUp {
                                from {
                                    transform: translateY(50px);
                                    opacity: 0;
                                }
                                to {
                                    transform: translateY(0);
                                    opacity: 1;
                                }
                            }

                            .itinerary-modal-header {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                padding: 16px 20px;
                                border-bottom: 1px solid #e9ecef;
                                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                                border-radius: 12px 12px 0 0;
                            }

                            .itinerary-modal-header h2 {
                                margin: 0;
                                font-size: 1.2rem;
                                color: white;
                                font-weight: 600;
                            }

                            .itinerary-modal-header h2 i {
                                margin-right: 8px;
                            }

                            .itinerary-modal-close {
                                background: none !important;
                                border: none !important;
                                font-size: 16px !important;
                                cursor: pointer !important;
                                color: var(--primary-color, #667eea) !important;
                                width: 18px !important;
                                height: 18px !important;
                                display: flex !important;
                                align-items: center !important;
                                justify-content: center !important;
                                padding: 0 !important;
                                line-height: 1 !important;
                                flex: none !important;
                                border-radius: 0 !important;
                                font-weight: normal !important;
                                transition: all 0.2s ease !important;
                            }

                            .itinerary-modal-close:hover {
                                transform: scale(1.2);
                                color: #f0f0f0;
                            }

                            .itinerary-modal-body {
                                padding: 20px;
                            }

                            .itinerary-item {
                                display: flex;
                                margin-bottom: 20px;
                                position: relative;
                            }

                            .itinerary-item:not(:last-child)::before {
                                content: '';
                                position: absolute;
                                left: 19px;
                                top: 40px;
                                width: 2px;
                                height: calc(100% + 20px);
                                background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
                            }

                            .itinerary-marker {
                                min-width: 38px;
                                width: 38px;
                                height: 38px;
                                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                                color: white;
                                border-radius: 50%;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                font-weight: 600;
                                font-size: 0.9rem;
                                margin-right: 15px;
                                z-index: 1;
                                flex-shrink: 0;
                                box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
                            }

                            .itinerary-content {
                                padding-top: 2px;
                                flex: 1;
                            }

                            .itinerary-content h3 {
                                margin: 0 0 6px 0;
                                color: #2c3e50;
                                font-size: 0.95rem;
                                font-weight: 600;
                            }

                            .itinerary-content p {
                                margin: 0;
                                color: #666;
                                font-size: 0.85rem;
                                line-height: 1.4;
                            }

                            .itinerary-empty-message {
                                text-align: center;
                                padding: 40px 20px;
                                color: #999;
                                font-size: 0.9rem;
                            }

                            .itinerary-link {
                                color: var(--primary-color, #667eea);
                                text-decoration: none;
                                font-size: 0.85rem;
                                font-weight: 600;
                                display: block;
                                cursor: pointer;
                                margin: 0;
                                padding: 0;
                              
                                width: 100%;
                            }

                            .itinerary-link:hover {
                                text-decoration: none;
                                color: var(--primary-color, #667eea);
                            }
                            
                            .itinerary-link i {
                                font-size: 0.85rem;
                                margin-right: 4px;
                                color: var(--primary-color, #667eea) !important;
                                display: inline !important;
                                vertical-align: middle;
                            }

                            @media (max-width: 600px) {
                                .itinerary-modal-content {
                                    max-height: 80vh;
                                    width: 95%;
                                }

                                .itinerary-modal-body {
                                    padding: 15px;
                                }

                                .itinerary-item {
                                    margin-bottom: 15px;
                                }

                                .itinerary-content h3 {
                                    font-size: 0.9rem;
                                }

                                .itinerary-content p {
                                    font-size: 0.8rem;
                                }
                            }

                            /* Error Modal Styles */
                            .error-modal {
                                display: none;
                                position: fixed;
                                z-index: 2000;
                                left: 0;
                                top: 0;
                                width: 100%;
                                height: 100%;
                                background-color: rgba(0, 0, 0, 0.5);
                                animation: fadeIn 0.3s ease-in-out;
                            }

                            .error-modal.show {
                                display: flex;
                                align-items: center;
                                justify-content: center;
                            }

                            .error-modal-content {
                                background: white;
                                padding: 40px 30px;
                                border-radius: 12px;
                                text-align: center;
                                max-width: 400px;
                                width: 90%;
                                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
                                animation: slideUp 0.3s ease-out;
                            }

                            .error-modal-icon {
                                font-size: 3.5rem;
                                color: #e74c3c;
                                margin-bottom: 15px;
                            }

                            .error-modal-title {
                                font-size: 1.3rem;
                                font-weight: 600;
                                color: #2c3e50;
                                margin-bottom: 12px;
                            }

                            .error-modal-message {
                                font-size: 0.95rem;
                                color: #555;
                                margin-bottom: 25px;
                                line-height: 1.5;
                            }

                            .error-modal-button {
                                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                                color: white;
                                border: none;
                                padding: 12px 30px;
                                border-radius: 6px;
                                font-size: 0.95rem;
                                font-weight: 600;
                                cursor: pointer;
                                transition: transform 0.2s ease, box-shadow 0.2s ease;
                            }

                            .error-modal-button:hover {
                                transform: translateY(-2px);
                                box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
                            }

                            .error-modal-call-button {
                                display: inline-block;
                                background: #27ae60;
                                color: white;
                                padding: 10px 20px;
                                border-radius: 6px;
                                text-decoration: none;
                                font-size: 0.9rem;
                                font-weight: 600;
                                transition: background 0.2s ease;
                            }

                            .error-modal-call-button:hover {
                                background: #229954;
                            }

                            /* Policy Acceptance Styles */
                            #acceptPolicies {
                                width: 18px;
                                height: 18px;
                                cursor: pointer;
                            }

                            #acceptPolicies:checked {
                                accent-color: var(--primary-rgb) !important;
                            }

                            #policyError {
                                animation: slideDown 0.3s ease;
                            }
