/* Route Page Styles
   Extracted from route.php
   Contains route itinerary, callback modal, and itinerary modal styles
*/

.route-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-bottom: 7rem;
}

.route-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 25, 31, 0.78), rgba(10, 25, 31, 0.42));
    content: "";
}

.route-hero-image {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.route-hero-content {
    position: relative;
    z-index: 1;
}

.route-hero-content p {
    color: rgba(255, 255, 255, 0.94);
}

.route-hero + .quick-booking {
    position: relative;
    z-index: 1;
    margin-top: -4rem;
}

.route-ticket .route-card-locations {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.route-ticket .route-card-location {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.route-ticket .route-card-location i {
    flex: none;
    color: #ff5a1f;
    font-size: 0.72rem;
}

.route-ticket .route-card-location--destination {
    justify-content: flex-end;
    text-align: right;
}

.route-ticket .route-card-arrow {
    color: #ff5a1f;
    font-size: 0.75rem;
}

.route-ticket .route-card-trip-type {
    position: relative;
    left: -34px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
}

.route-ticket .route-card-trip-type i {
    color: #ff5a1f;
}

@media (min-width: 769px) {
    .taxi-card.ride-ticket.route-ticket .ride-ticket__stub {
        width: 105px !important;
        max-width: 105px !important;
        flex: 0 0 105px !important;
        padding-right: 8px;
        padding-left: 8px;
    }

    .taxi-card.ride-ticket.route-ticket .stub-price {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .route-ticket .route-surcharge {
        display: block;
        margin-top: 3px;
        color: #7b8190;
        font-family: 'Inter', sans-serif;
        font-size: 0.62rem;
        font-weight: 400;
        line-height: 1.2;
    }

    #taxiGrid .route-ticket .price-option[data-type="oneway"] .stub-note {
        display: block !important;
        margin: 4px 0 0 !important;
        color: #7b8190;
        font-size: 0.62rem !important;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    .taxi-card.ride-ticket.route-ticket .book-taxi-btn.stub-cta {
        width: 100%;
        padding: 7px 4px;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .taxi-card.ride-ticket.route-ticket .stub-itinerary {
        justify-content: center;
        gap: 3px;
        margin-top: 4px;
        font-size: 0.62rem;
        white-space: nowrap;
    }

    .taxi-card.ride-ticket.route-ticket .stub-itinerary svg {
        width: 12px;
        height: 12px;
    }
}

@media (min-width: 769px) {
    .route-ticket .rental-info {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .route-ticket .ride-ticket__mobile-header .vehicle-type {
        order: 1;
    }

    .route-ticket .ride-ticket__mobile-header .vehicle-models {
        order: 2;
    }

    .route-ticket .route-card-locations {
        order: 3;
        margin-top: 8px;
        margin-bottom: 6px;
    }

    .route-ticket .route-card-trip-type {
        order: 4;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .route-hero {
        padding-bottom: 5.5rem;
    }

    .route-hero + .quick-booking {
        margin-top: -3.5rem;
    }
}

@media (max-width: 560px) {
    .route-ticket[data-current-trip-type="oneway"] .price-option:not([data-type="oneway"]) {
        display: none !important;
    }

    .route-ticket .ride-ticket__stub {
        display: grid !important;
        align-items: center;
        gap: 8px;
        padding: 12px 14px !important;
    }

    .route-ticket[data-current-trip-type="oneway"] .ride-ticket__stub {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .route-ticket[data-current-trip-type="oneway"] .price-option {
        grid-column: 1;
        grid-row: 1;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 5px !important;
        width: auto !important;
    }

    #taxiGrid .route-ticket[data-current-trip-type="oneway"] .price-option {
        justify-self: start;
        justify-content: flex-start !important;
    }

    .route-ticket .route-surcharge {
        display: inline;
        margin-left: 5px;
        color: #7b8190;
        font-family: 'Inter', sans-serif;
        font-size: 0.58rem;
        font-weight: 400;
        line-height: 1.2;
        white-space: nowrap;
        vertical-align: baseline;
    }

    #taxiGrid .route-ticket .price-option[data-type="oneway"] .stub-note {
        display: block !important;
        margin: 0 !important;
        color: #7b8190;
        font-size: 0.58rem !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    .route-ticket[data-current-trip-type="oneway"] .book-taxi-btn.stub-cta {
        grid-column: 2;
        grid-row: 1;
    }

    #taxiGrid .route-ticket[data-current-trip-type="oneway"] .book-taxi-btn.stub-cta {
        padding: 7px 4px !important;
        font-size: 0.7rem !important;
        transition: background-color 0.15s ease !important;
    }

    .route-ticket[data-current-trip-type="oneway"] .stub-itinerary {
        display: none !important;
    }

    .route-ticket[data-current-trip-type="roundtrip"] .ride-ticket__stub,
    .route-ticket[data-current-trip-type="sightseeing"] .ride-ticket__stub {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .route-ticket[data-current-trip-type="roundtrip"] .price-option,
    .route-ticket[data-current-trip-type="sightseeing"] .price-option {
        grid-column: 1;
        grid-row: 1;
        width: auto !important;
    }

    .route-ticket[data-current-trip-type="roundtrip"] .stub-itinerary,
    .route-ticket[data-current-trip-type="sightseeing"] .stub-itinerary {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: auto !important;
        justify-content: center;
        gap: 4px;
        margin: 0 !important;
        font-size: 0.68rem;
        white-space: nowrap;
    }

    .route-ticket[data-current-trip-type="roundtrip"] .stub-itinerary svg,
    .route-ticket[data-current-trip-type="sightseeing"] .stub-itinerary svg {
        width: 13px;
        height: 13px;
    }

    #taxiGrid .route-ticket[data-current-trip-type="roundtrip"] .book-taxi-btn.stub-cta,
    #taxiGrid .route-ticket[data-current-trip-type="sightseeing"] .book-taxi-btn.stub-cta {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        padding: 7px 4px !important;
        font-size: 0.7rem !important;
        transition: background-color 0.15s ease !important;
    }

    .route-ticket .route-card-locations {
        gap: 4px;
        margin-bottom: 7px;
    }

    .route-ticket .route-card-location {
        gap: 4px;
        font-size: 0.64rem;
    }

    .route-ticket .route-card-location i {
        font-size: 0.62rem;
    }

    .route-ticket .route-card-arrow {
        font-size: 0.62rem;
    }

    .route-ticket .route-card-trip-type {
        left: -27px;
        margin-bottom: 6px;
        font-size: 0.68rem;
    }

    .route-ticket .ride-ticket__mobile-header .vehicle-type,
    .route-ticket .ride-ticket__mobile-header .vehicle-models {
        position: relative;
        left: -27px;
        text-align: center;
    }
}

.route-tour-section {
    max-width: 1200px;
    margin: 1.5rem auto 2rem;
    padding: 0 1rem;
}

.route-tour-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.route-tour-header h2 {
    margin: 0 0 0.35rem;
    color: #263238;
    font-size: 1.65rem;
    line-height: 1.2;
}

.route-tour-header p {
    margin: 0;
    color: #647078;
}

.route-tour-controls {
    display: flex;
    gap: 0.5rem;
}

.route-tour-nav {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #d8e0e3;
    border-radius: 50%;
    background: #fff;
    color: #263238;
    cursor: pointer;
}

.route-tour-nav:hover {
    background: #087f6c;
    color: #fff;
}

.route-tour-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(235px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0.1rem 0.85rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.route-tour-carousel::-webkit-scrollbar {
    display: none;
}

.route-tour-card {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    border-radius: 12px;
    background: #263238;
    color: #fff;
    scroll-snap-align: start;
}

.route-tour-media,
.route-tour-media img,
.route-tour-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.route-tour-media img {
    object-fit: cover;
}

.route-tour-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 25, 29, 0.12) 15%, rgba(13, 25, 29, 0.9) 100%);
    content: "";
}

.route-tour-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #4b8b78, #233c48);
    color: #d5f1e8;
    font-size: 3rem;
}

.route-tour-card-content {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    padding: 1rem;
}

.route-tour-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    line-height: 1.25;
}

.route-tour-description {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 0 0 0.65rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.85rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.route-tour-meta {
    display: grid;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
}

.route-tour-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.route-tour-meta i {
    width: 1rem;
}

.route-tour-price {
    margin: 0.65rem 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.route-tour-actions {
    display: flex;
    gap: 0.45rem;
}

.route-tour-actions a {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 6px;
    color: #1d2a2d;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.route-tour-view,
.route-tour-call {
    flex: 1;
}

.route-tour-actions .route-tour-whatsapp {
    width: 2.5rem;
    flex: 0 0 2.5rem;
    background: #1fbd70;
    color: #fff;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .route-tour-section {
        margin-top: 1rem;
    }

    .route-tour-header h2 {
        font-size: 1.3rem;
    }

    .route-tour-controls {
        display: none;
    }

    .route-tour-carousel {
        grid-auto-columns: 82%;
        gap: 0.8rem;
    }

    .route-tour-card {
        min-height: 375px;
    }
}

/* Route Itinerary Styles */
.itinerary-timeline {
    position: relative;
    padding: 1rem 0;
}

.itinerary-item {
    display: flex;
    margin-bottom: 1.2rem;
    position: relative;
}

.itinerary-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    width: 2px;
    height: calc(100% + 15px);
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.itinerary-item:last-child::before {
    display: none;
}

.itinerary-marker {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
}

.itinerary-content {
    flex: 1;
    margin-left: 1.2rem;
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.itinerary-content:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(3px);
}

.itinerary-content h3 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin: 0 0 0.3rem 0;
    font-weight: 700;
}

.itinerary-content p {
    color: #555;
    margin: 0;
    line-height: 1.4;
    font-size: 0.85rem;
}

.itinerary-empty {
    text-align: center;
    padding: 1.5rem;
    color: #999;
    font-size: 0.9rem;
}

/* Content Box Text Justification */
.content-box {
    text-align: justify;
}

.content-box p {
    text-align: justify;
}

/* Mobile Optimized Booking Tabs */
@media (max-width: 768px) {
    .booking-tabs {
        gap: 0.25rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .booking-tabs .tab {
        padding: 8px 12px;
        font-size: 0.9rem;
        flex: 0 1 auto;
        min-width: auto;
    }

    .pricing-table thead th,
    .service-table thead th,
    table thead th,
    .table thead th {
        padding: 10px;
        font-size: 0.9rem;
    }

    .pricing-table td,
    .service-table td,
    table td,
    .table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .booking-tabs {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .booking-tabs .tab {
        flex: 0 1 calc(50% - 0.25rem);
        padding: 8px 8px;
        font-size: 0.75rem;
        text-align: center;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
        overflow: visible;
    }

    .booking-tabs .tab:last-child {
        flex: 0 1 100%;
    }

    .booking-tabs .tab i {
        font-size: 0.9rem;
        flex-shrink: 0;
        display: inline-block;
        min-width: 14px;
    }

    .pricing-table thead th,
    .service-table thead th,
    table thead th,
    .table thead th {
        padding: 8px 6px;
        font-size: 0.65rem;
    }

    .pricing-table td,
    .service-table td,
    table td,
    .table td {
        padding: 6px 5px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .booking-tabs {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .booking-tabs .tab {
        flex: 0 1 calc(50% - 0.25rem);
        padding: 6px 6px;
        font-size: 0.65rem;
        text-align: center;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        white-space: nowrap;
        overflow: visible;
    }

    .booking-tabs .tab:last-child {
        flex: 0 1 100%;
    }

    .booking-tabs .tab i {
        font-size: 0.75rem;
        flex-shrink: 0;
        display: inline-block;
        min-width: 12px;
    }

    .pricing-table thead th,
    .service-table thead th,
    table thead th,
    .table thead th {
        padding: 6px 4px;
        font-size: 0.6rem;
    }

    .pricing-table td,
    .service-table td,
    table td,
    .table td {
        padding: 4px 3px;
        font-size: 0.6rem;
    }
}

/* Callback Modal Styles */
.callback-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.callback-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.callback-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.callback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.callback-modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.callback-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-close-btn:hover {
    color: #333;
}

.callback-modal-body {
    margin-bottom: 1.5rem;
}

.callback-modal-body p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.callback-form-group {
    margin-bottom: 1rem;
}

.callback-form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.callback-form-group input,
.callback-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.callback-form-group input:focus,
.callback-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.callback-modal-footer {
    display: flex;
    gap: 1rem;
}

.callback-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.callback-btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.callback-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.callback-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.callback-btn-secondary:hover {
    background: #e0e0e0;
}

@media (max-width: 600px) {
    .callback-modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }

    .callback-modal-header h2 {
        font-size: 1.2rem;
    }

    .callback-modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .itinerary-timeline {
        padding: 0.5rem 0;
    }

    .itinerary-item {
        margin-bottom: 1rem;
    }

    .itinerary-item::before {
        left: 19px;
        top: 40px;
    }

    .itinerary-marker {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .itinerary-content {
        margin-left: 1rem;
        padding: 0.8rem;
    }

    .itinerary-content h3 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }

    .itinerary-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Itinerary Info Button */
.itinerary-info-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.itinerary-info-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.itinerary-info-btn:active {
    transform: scale(0.95);
}

/* View Itinerary Button */
.view-itinerary-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    margin: 0 auto;
}

.view-itinerary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.view-itinerary-btn:active {
    transform: translateY(0);
}

/* Itinerary Link */
.itinerary-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.itinerary-link:hover {
    color: #fff;
    background: var(--primary-gradient);
    text-decoration: none;
}

@media (max-width: 600px) {
    .itinerary-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

/* Itinerary Modal */
.itinerary-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.itinerary-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.itinerary-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
    position: relative;
    margin: auto;
}

.itinerary-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.itinerary-modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.itinerary-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.itinerary-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.itinerary-modal-body {
    padding: 2rem 1.5rem;
}

.itinerary-timeline-modal .itinerary-item {
    margin-bottom: 1.5rem;
}

.itinerary-empty-message {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .itinerary-timeline {
        padding: 0;
    }

    .itinerary-item {
        margin-bottom: 0.8rem;
    }

    .itinerary-item::before {
        left: 17px;
        top: 35px;
        height: calc(100% + 10px);
    }

    .itinerary-marker {
        width: 35px;
        height: 35px;
        font-size: 0.7rem;
        min-width: 35px;
    }

    .itinerary-content {
        margin-left: 0.8rem;
        padding: 0.7rem;
        border-left-width: 2px;
    }

    .itinerary-content h3 {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    .itinerary-content p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* Phone Inquiry Modal Styles */
.phone-inquiry-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.phone-inquiry-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-inquiry-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
    position: relative;
}

.phone-inquiry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.phone-inquiry-modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-inquiry-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.phone-inquiry-close-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.phone-inquiry-modal-body {
    margin-bottom: 1.5rem;
}

.phone-inquiry-modal-body p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.phone-input-group {
    margin-bottom: 1.2rem;
}

.phone-input-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.phone-country-select,
.phone-input {
    width: 100%;
    padding: 0.8rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.phone-country-select:focus,
.phone-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-inquiry-modal-footer {
    display: flex;
    gap: 1rem;
}

.phone-inquiry-btn-submit,
.phone-inquiry-btn-cancel {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.phone-inquiry-btn-submit {
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.phone-inquiry-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.phone-inquiry-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.phone-inquiry-btn-cancel {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.phone-inquiry-btn-cancel:hover {
    background: #e0e0e0;
}

@media (max-width: 600px) {
    .phone-inquiry-modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }

    .phone-inquiry-modal-header h2 {
        font-size: 1.1rem;
    }

    .phone-inquiry-modal-footer {
        flex-direction: column;
    }
}

/* Inquiry Message Notifications */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

#inquiryMessage {
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

#inquiryMessage i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    #inquiryMessage {
        right: 10px !important;
        left: 10px !important;
        bottom: 20px !important;
        top: auto !important;
        max-width: none;
    }
}

/* ===== AVAILABLE CITIES SECTION ===== */
.available-cities-section {
    background: white;
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.available-cities-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: clamp(0.6rem, 1.5vw, 1.25rem);
}

.city-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 102, 0, 0.02) 100%);
    border: 1px solid rgba(255, 102, 0, 0.1);
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.city-link:hover {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
    border-color: rgba(255, 102, 0, 0.3);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
}

.city-link i {
    font-size: 0.85rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cities-grid {
        gap: 1rem;
    }

    .available-cities-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .city-link {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr));
        gap: 0.6rem;
    }

    .available-cities-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .city-link {
        padding: 0.6rem 0.35rem;
        font-size: 0.72rem;
        gap: 0.25rem;
    }

    .city-link i {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .available-cities-section {
        padding: 1.5rem 0;
        margin-top: 1rem;
    }

    .available-cities-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .city-link {
        padding: 0.5rem 0.25rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 380px) {
    .city-link {
        min-width: 0;
        padding: 0.5rem 0.15rem;
        font-size: 0.62rem;
    }

    .city-link i {
        font-size: 0.8rem;
    }
}

@media (min-width: 561px) and (max-width: 1024px) {
    #taxiGrid.taxi-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    #taxiGrid .taxi-card.ride-ticket.route-ticket {
        min-width: 0;
        max-width: 100%;
        flex-direction: row;
        align-items: stretch;
        gap: 0 !important;
        padding: 0 !important;
        border: none;
        border-radius: 16px;
        background: #fff;
        text-align: left;
        box-shadow: 0 1px 2px rgba(43, 36, 32, 0.06), 0 12px 24px -14px rgba(43, 36, 32, 0.25);
    }

    #taxiGrid .route-ticket .ride-ticket__route {
        width: calc(100% - 184px);
        flex: 1 1 auto;
        padding: 20px !important;
    }

    #taxiGrid .route-ticket .ride-ticket__stub {
        display: flex !important;
        width: 184px !important;
        max-width: 184px !important;
        min-width: 0 !important;
        flex: 0 0 184px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 16px 12px !important;
        border-top: 0 !important;
        border-left: 1px dashed #e8e1ff !important;
    }

    #taxiGrid .route-ticket .taxi-pricing,
    #taxiGrid .route-ticket .price-option {
        width: 100%;
        min-width: 0;
        align-items: center;
        text-align: center;
    }

    #taxiGrid .route-ticket .stub-label,
    #taxiGrid .route-ticket .stub-note {
        display: block !important;
    }

    #taxiGrid .route-ticket .stub-price {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 1.45rem;
        line-height: 1.05;
        white-space: normal;
    }

    #taxiGrid .route-ticket .stub-price .route-surcharge {
        display: block;
        margin: 0;
        color: #7b8190;
        font-family: 'Inter', sans-serif;
        font-size: 0.66rem;
        font-weight: 400;
        line-height: 1.2;
        white-space: normal;
    }

    #taxiGrid .route-ticket .book-taxi-btn.stub-cta {
        width: 100% !important;
        padding: 10px 8px !important;
        font-size: 0.82rem !important;
        white-space: normal;
    }
}
