/**
 * Coast to Coast Journeys - Hotel Booking Styles
 * Styles for hotel search results, details, and booking pages
 */

/* ============================================
   Navigation Styles for Hotel Pages
   ============================================ */

.main-nav {
    background: white;
}

.main-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    gap: 40px;
}

.nav-content .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-content .logo img {
    height: 44px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
}

.nav-content .logo .brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-content .nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-content .nav-menu li {
    list-style: none;
}

.nav-content .nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-content .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(14, 100, 166, 0.08);
}

.nav-content .nav-link.active {
    color: var(--primary-blue);
    background: rgba(14, 100, 166, 0.1);
}

/* Nav Actions (Login button) */
.nav-content .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.nav-content .nav-actions .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-content .nav-actions .btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.nav-content .nav-actions .btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.nav-content .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-content .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }

    .nav-content .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 8px;
        padding: 16px 0;
        margin-top: 16px;
        border-top: 1px solid var(--gray-200);
        order: 10;
    }

    .nav-content .nav-menu.active {
        display: flex;
    }

    .nav-content .nav-actions {
        margin-left: auto;
    }

    .nav-content .mobile-menu-toggle {
        display: flex;
    }
}

/* ============================================
   Common Styles
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hotel-results-page,
.hotel-details-page,
.hotel-booking-page {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}


/* ============================================
   Search Summary Bar
   ============================================ */

.search-summary-bar {
    background: linear-gradient(135deg, #0e64a6 0%, #1a365d 100%);
    padding: 1.5rem 0;
    color: white;
}

.search-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.search-info h1 span {
    color: #fbbf24;
}

.search-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.search-info .separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}


.modify-search-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.modify-search-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   Results Section
   ============================================ */

.results-section {
    padding: 2rem 0;
}

.results-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .results-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        display: none;
    }
}

/* ============================================
   Filters Sidebar
   ============================================ */

.filters-sidebar {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.filters-header h3 {
    font-size: 1.1rem;
    color: var(--navy);
}

.clear-filters {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    font-size: 0.85rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

/* Price Range */
.price-range input[type="range"] {
    width: 100%;
    accent-color: var(--primary-blue);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Star Filters */
.star-filters,
.amenities-filters,
.meal-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.star-filter,
.amenity-filter,
.meal-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.star-filter:hover,
.amenity-filter:hover,
.meal-filter:hover {
    background: #f1f5f9;
}

.star-filter input,
.amenity-filter input,
.meal-filter input {
    accent-color: var(--primary-blue);
}

.stars {
    color: var(--accent-gold);
}

.amenity-filter i {
    width: 20px;
    color: var(--primary-blue);
}

/* ============================================
   Results Content
   ============================================ */

.results-content {
    min-height: 500px;
}

/* Sort Bar */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.results-count {
    font-weight: 500;
    color: var(--navy);
}

.results-count span {
    color: var(--primary-blue);
    font-weight: 700;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options label {
    font-size: 0.9rem;
    color: #64748b;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--navy);
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Error & No Results States */
.error-state,
.no-results-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    color: var(--navy);
}

.error-state i,
.no-results-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.error-state h3,
.no-results-state h3 {
    margin-bottom: 0.5rem;
}

.error-state p,
.no-results-state p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* ============================================
   Hotels Grid
   ============================================ */

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Hotel Card */
.hotel-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hotel-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.hotel-card-image .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hotel-card-image .wishlist-btn:hover {
    background: white;
    transform: scale(1.1);
}

.hotel-card-image .discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hotel-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hotel-stars {
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.hotel-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-address {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.hotel-address i {
    color: var(--primary-blue);
    margin-right: 0.25rem;
}

.hotel-amenities {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-score {
    background: linear-gradient(135deg, var(--primary-blue), var(--navy));
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

.rating-text {
    font-weight: 500;
    color: var(--navy);
    font-size: 0.85rem;
}

.review-count {
    color: #64748b;
    font-size: 0.8rem;
}

.hotel-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.price-info .original-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.price-info .current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.price-info .per-night {
    font-size: 0.75rem;
    color: #64748b;
}

.view-deal-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--navy));
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.view-deal-btn:hover {
    transform: translateX(5px);
}

.meal-plan {
    font-size: 0.8rem;
    color: #22c55e;
    margin-top: 0.5rem;
}

.meal-plan i {
    margin-right: 0.25rem;
}

/* Load More */
.load-more {
    text-align: center;
    padding: 2rem 0;
}

/* ============================================
   Hotel Details Page
   ============================================ */

.hotel-details-main {
    padding: 2rem 0;
}

.hotel-details-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .hotel-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Hotel Gallery */
.hotel-gallery {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.gallery-main {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
}

/* Hotel Info Card */
.hotel-info-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.hotel-info-card h1 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.hotel-info-card .stars {
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.hotel-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.hotel-rating-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    width: fit-content;
}

.rating-badge {
    background: linear-gradient(135deg, #0e64a6, #1a365d);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.rating-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

.review-count {
    color: #64748b;
    font-size: 0.9rem;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.amenity-item i {
    color: var(--primary-blue);
    width: 20px;
}

/* Room Rates */
.room-rates-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.room-rates-section h2 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.rate-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.rate-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.rate-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.rate-info {
    flex: 1;
}

.rate-room-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.cancellation-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cancellation-badge.free {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.cancellation-badge.non-refund {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.rate-meal-plan {
    font-size: 0.9rem;
    color: #16a34a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rate-price {
    text-align: right;
    min-width: 140px;
}

.rate-total {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0e64a6;
}

.rate-per-night {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.original-price {
    display: block;
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85rem;
}

.room-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.room-amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e1e8ef;
}

.room-amenity i {
    color: #0e64a6;
}

.rate-price-action {
    background: #fcfdfe;
}

.select-room-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    background: #f1f5f9;
    color: #475569;
    font-weight: 500;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px dashed #cbd5e1;
}

.select-room-prompt i {
    animation: bounceX 1s infinite;
}

@keyframes bounceX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

.rate-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rate-feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #64748b;
}

.rate-feature i {
    color: #22c55e;
}

/* Room Image Gallery (ETG Static Data) */
.room-image-gallery {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.room-main-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.room-main-image .image-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.room-thumbnails {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #f8fafc;
}

.room-thumb {
    flex: 1;
    height: 50px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.room-thumb:hover {
    opacity: 0.8;
}

/* Room Amenities List (ETG Static Data) */
.room-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.room-amenity {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
}

.room-amenity i {
    color: var(--primary-blue);
    font-size: 0.75rem;
}

.more-amenities {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Static Data Badge */
.static-data-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #16a34a;
    background: #f0fdf4;
    padding: 3px 8px;
    border-radius: 12px;
    margin-top: 4px;
}

.static-data-badge i {
    font-size: 0.65rem;
}

/* Rate Badges */
.rate-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.cancellation-deadline {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #166534;
    margin-bottom: 15px;
}

.cancellation-deadline i {
    font-size: 1.1rem;
}

.cancellation-deadline strong {
    color: #15803d;
}

.policy-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0ea5e9;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.policy-toggle:hover {
    background: #f1f5f9;
    border-color: #0ea5e9;
}

/* Non-refundable badge & notice */
.cancellation-badge.non-refund {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.non-refundable-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #991b1b;
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 10px;
}

.policy-timeline {
    display: none;
    margin-top: 15px;
    border-top: 1px dotted #cbd5e1;
    padding-top: 15px;
}

.cancellation-policy-details.expanded .policy-timeline {
    display: block;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-header i {
    color: #0ea5e9;
}

/* Policy Tiers */
.policy-tier {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 6px;
    position: relative;
}

.policy-tier:last-child {
    margin-bottom: 0;
}

/* Tier connector line */
.policy-tier:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 30px;
    width: 2px;
    height: calc(100% - 10px);
    background: #e2e8f0;
}

.tier-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.tier-icon i {
    font-size: 0.85rem;
}

.tier-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.tier-label {
    font-weight: 600;
    font-size: 0.8rem;
}

.tier-date {
    font-size: 0.7rem;
    color: #64748b;
}

.tier-penalty {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
}

/* Free Tier */
.tier-free {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.tier-free .tier-icon {
    background: #dcfce7;
}

.tier-free .tier-icon i {
    color: #16a34a;
}

.tier-free .tier-label {
    color: #166534;
}

/* Partial Penalty Tier */
.tier-partial {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.tier-partial .tier-icon {
    background: #fef3c7;
}

.tier-partial .tier-icon i {
    color: #d97706;
}

.tier-partial .tier-label {
    color: #92400e;
}

.tier-partial .tier-penalty {
    color: #d97706;
}

/* Full Penalty Tier */
.tier-full {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.tier-full .tier-icon {
    background: #fee2e2;
}

.tier-full .tier-icon i {
    color: #dc2626;
}

.tier-full .tier-label {
    color: #991b1b;
}

.tier-full .tier-penalty {
    color: #dc2626;
}

/* Child Meal Warning */
.child-meal-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px dashed #f87171;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-flex;
}

.child-meal-warning i {
    font-size: 0.85rem;
}

/* Rate card content wrapper */
.rate-card-content {
    padding: 1.25rem;
}

.rate-card:has(.room-image-gallery) {
    padding: 0;
}

.rate-card:has(.room-image-gallery) .rate-card-content {
    padding: 1.25rem;
}

/* Non-Included Taxes Section (ETG API: included_by_supplier = false) */
.non-included-taxes-section {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.taxes-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #92400e;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.taxes-header i {
    color: #f59e0b;
}

.taxes-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.tax-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    font-size: 0.85rem;
}

.tax-name {
    color: #78350f;
    font-weight: 500;
}

.tax-amount {
    color: #92400e;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.taxes-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.75rem;
    color: #92400e;
    margin: 0;
    padding-top: 8px;
    border-top: 1px dashed rgba(251, 191, 36, 0.5);
    line-height: 1.4;
}

.taxes-note i {
    color: #f59e0b;
    margin-top: 2px;
    flex-shrink: 0;
}

.book-rate-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--navy));
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.book-rate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 100, 166, 0.3);
}

/* Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.booking-card h3 {
    font-size: 1.25rem;
    color: white;
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0e64a6, #1a365d);
    font-weight: 700;
    text-align: center;
}

.booking-summary-content {
    padding: 1.5rem;
}

.booking-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #cbd5e1;
}

.booking-date-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.date-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.booking-info {
    margin-bottom: 1.5rem;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.booking-summary-item span:first-child {
    color: #64748b;
    font-weight: 500;
}

.booking-summary-item span:last-child {
    color: var(--navy);
    font-weight: 600;
}

.selected-room {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.selected-room h4 {
    font-size: 0.85rem;
    color: #0e64a6;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-room p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.selected-room #selectedMealPlan {
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 500;
    margin-top: 4px;
}

.booking-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.booking-total span:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.booking-total #totalPrice {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0e64a6;
}

.confirm-booking-btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(14, 100, 166, 0.2);
}

.confirm-booking-btn:not(:disabled):hover {
    box-shadow: 0 8px 25px rgba(14, 100, 166, 0.3);
}

/* ============================================
   Booking Page
   ============================================ */

.booking-form-section {
    padding: 2rem 0;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

@media (max-width: 992px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
}

.booking-form-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.booking-form-card h2 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.guest-form {
    margin-bottom: 2rem;
}

.guest-form h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.booking-form label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.terms-checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.terms-checkbox label {
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-checkbox a {
    color: var(--primary-blue);
}

.confirm-booking-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--navy));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(14, 100, 166, 0.3);
}

.confirm-booking-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Booking Summary Sidebar */
.booking-summary-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.booking-hotel-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.booking-hotel-image {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.booking-hotel-details h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.booking-hotel-details .stars {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.booking-hotel-details p {
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================
   Confirmation Page
   ============================================ */

.confirmation-section {
    padding: 4rem 0;
    text-align: center;
}

.confirmation-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.confirmation-icon i {
    font-size: 2.5rem;
    color: white;
}

.confirmation-card h1 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.confirmation-message {
    color: #64748b;
    margin-bottom: 2rem;
}

.confirmation-number {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.confirmation-number span {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.confirmation-number strong {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* ============================================
   Modal Styles
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transition: transform 0.3s;
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
}

.modal h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

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

.modal label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.modal input,
.modal select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Hotel Policies Section (RateHawk Compliance)
   ============================================ */

.policies-loading {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.policies-loading i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.policies-error {
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 8px;
}

.policies-error i {
    margin-right: 0.5rem;
}

.policies-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.policy-section {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.policy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.policy-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-section h3 i {
    color: var(--primary-blue);
    width: 20px;
}

.policy-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
}

.policy-item i {
    color: var(--primary-blue);
    width: 18px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.policy-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.policy-label {
    font-weight: 500;
    color: var(--navy);
}

.policy-value {
    color: #64748b;
    line-height: 1.4;
}

/* Important policy highlights */
.policy-item.warning {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
}

.policy-item.warning .policy-value {
    color: #92400e;
}

.policy-item.important {
    background: #fee2e2;
    border-left: 3px solid #ef4444;
}

.policy-item.important .policy-value {
    color: #991b1b;
}

/* ============================================
   Utility Classes
   ============================================ */

.hidden {
    display: none !important;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   Search Layout Fixes
   ============================================ */


.hotel-search-grid {
    display: grid;
    /* Balanced grid for hotel search fields */
    grid-template-columns: minmax(180px, 2fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(200px, 1.5fr) minmax(160px, 1.2fr) auto;
    gap: 12px;
    align-items: end;
}

.hotel-search-grid .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

/* Ensure destination input has enough space */
.hotel-search-grid .form-field:first-child {
    min-width: 200px;
}

/* Fix Nationality Label wrapping issues */
.hotel-search-grid label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: var(--text-secondary, #64748b);
}

.hotel-search-grid small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Ensure inputs are full width of their grid cell */
.hotel-search-grid .input-wrapper {
    width: 100%;
}

/* Date Picker Display Styling */
.date-picker-wrapper {
    position: relative !important;
    cursor: pointer !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: white !important;
    height: 52px !important;
    width: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.date-display {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1a365d !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Perfect centering */
    white-space: nowrap !important;
    pointer-events: none !important;
    background: transparent !important;
    z-index: 2 !important;
}

.date-picker-wrapper i {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    pointer-events: none !important;
    color: #0e64a6 !important;
    font-size: 1rem !important;
}

.date-picker-wrapper:hover {
    border-color: #0e64a6 !important;
    box-shadow: 0 0 0 4px rgba(14, 100, 166, 0.1) !important;
}

.date-picker-wrapper input[type="date"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 10 !important;
    /* Ensure it's on top of everything */
    display: block !important;
    border: none !important;
}

.guests-display {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a365d !important;
    min-width: 140px;
}

.guests-dropdown.input-wrapper {
    min-height: 52px;
    padding: 12px 14px 12px 14px !important;
}

.hotel-search-grid input[type="text"],
.hotel-search-grid .btn-search {
    min-height: 52px;
    height: 52px;
}

.hotel-search-grid .btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive adjustment for Hotel Search */
@media (max-width: 1200px) {
    .hotel-search-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hotel-search-grid .btn-search {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .hotel-search-grid {
        grid-template-columns: 1fr;
    }

    .hotel-search-grid .btn-search {
        grid-column: span 1;
    }
}

/* ============================================
   Expedia-Style Search Bar
   ============================================ */

.expedia-search-bar {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.search-bar-container {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px;
    gap: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-bar-container:hover,
.search-bar-container:focus-within {
    border-color: #0e64a6;
    box-shadow: 0 4px 20px rgba(14, 100, 166, 0.15);
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    transition: background 0.2s;
}

.search-input-group:hover {
    background: #f8fafc;
}

.search-input-group i {
    color: #64748b;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.search-input-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.input-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.search-btn {
    background: linear-gradient(135deg, #0e64a6, #1a365d);
    color: white;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(14, 100, 166, 0.4);
}

.search-btn i {
    font-size: 1.2rem;
}

/* ============================================
   Tab Navigation
   ============================================ */

.tab-navigation {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
}

.tabs-container {
    display: flex;
    gap: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--navy);
    background: #f8fafc;
}

.tab-btn.active {
    color: #0e64a6;
    border-bottom-color: #0e64a6;
    font-weight: 600;
}

.tab-btn i {
    font-size: 1rem;
}

/* ============================================
   Expedia-Style Filters Sidebar
   ============================================ */

.map-preview-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.map-preview {
    height: 120px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230e64a6' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.map-loading {
    color: #0e64a6;
    font-size: 2rem;
    z-index: 1;
}

.view-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: white;
    border: none;
    color: #0e64a6;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 1px solid #e2e8f0;
}

.view-map-btn:hover {
    background: #f0f9ff;
    color: #0c5a94;
}

/* Compare Toggle Card */
.compare-toggle-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.compare-content {
    flex: 1;
}

.compare-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.compare-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background: #0e64a6;
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(20px);
}

/* Search Property Card */
.search-property-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.search-property-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.property-search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s;
}

.property-search-input:focus-within {
    border-color: #0e64a6;
    background: white;
    box-shadow: 0 0 0 3px rgba(14, 100, 166, 0.1);
}

.property-search-input i {
    color: #94a3b8;
    font-size: 0.9rem;
}

.property-search-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    outline: none;
    color: var(--navy);
}

.property-search-input input::placeholder {
    color: #94a3b8;
}

/* Filters Card */
.filters-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.filters-card .filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.filters-card .filters-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filters-card .filters-header h3 i {
    color: #0e64a6;
}

/* Filter Checkbox */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-checkbox:hover {
    background: #f8fafc;
}

.filter-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checkmark::after {
    content: '✓';
    font-size: 11px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.filter-checkbox input:checked+.checkmark {
    background: #0e64a6;
    border-color: #0e64a6;
}

.filter-checkbox input:checked+.checkmark::after {
    opacity: 1;
}

.filter-label {
    flex: 1;
    font-size: 0.9rem;
    color: var(--navy);
}

.filter-count {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Rating Pills */
.rating-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rating-pill {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: white;
    font-size: 0.8rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.rating-pill:hover {
    border-color: #0e64a6;
    color: #0e64a6;
}

.rating-pill.active {
    background: #0e64a6;
    border-color: #0e64a6;
    color: white;
}

/* Price Histogram */
.price-range-slider {
    padding: 0 4px;
}

.price-histogram {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 40px;
    margin-bottom: 8px;
}

.price-histogram .bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 2px 2px 0 0;
    transition: background 0.2s;
}

.price-histogram .bar.active {
    background: #0e64a6;
}

/* ============================================
   Results Header Bar
   ============================================ */

.results-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.results-info span {
    color: #0e64a6;
}

.how-sort-works {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.how-sort-works:hover {
    color: #0e64a6;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-dropdown label {
    font-size: 0.9rem;
    color: #64748b;
}

.sort-dropdown select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--navy);
    cursor: pointer;
    background: white;
    min-width: 180px;
}

/* ============================================
   Expedia-Style Hotel Cards (Horizontal)
   ============================================ */

.hotels-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hotel-card-horizontal {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 320px 1fr;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.hotel-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #0e64a6;
}

/* Hotel Image Carousel */
.hotel-card-image-section {
    position: relative;
    overflow: hidden;
}

.hotel-image-carousel {
    position: relative;
    height: 100%;
    min-height: 220px;
}

.carousel-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, transform 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hotel-card-horizontal:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    background: white;
}

.carousel-nav.prev {
    left: 12px;
}

.carousel-nav.next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    cursor: pointer;
}

.carousel-dot.active {
    background: white;
    width: 18px;
    border-radius: 3px;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 1rem;
    color: #64748b;
    transition: color 0.3s;
}

.wishlist-btn.active i,
.wishlist-btn:hover i {
    color: #ef4444;
}

/* Hotel Badges */
.hotel-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.hotel-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hotel-badge.vip {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
}

.hotel-badge.deal {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.hotel-badge.limited {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

/* Hotel Card Content */
.hotel-card-content-section {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.hotel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.hotel-card-title {
    flex: 1;
}

.hotel-card-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0e64a6;
    margin-bottom: 4px;
    line-height: 1.3;
    transition: color 0.2s;
}

.hotel-card-horizontal:hover .hotel-card-title h3 {
    color: #0c5a94;
    text-decoration: underline;
}

.hotel-location {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hotel-location i {
    color: #0e64a6;
    font-size: 0.75rem;
}

.hotel-distance {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Hotel Amenities Row */
.hotel-amenities-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0.75rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.amenity-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #475569;
}

.amenity-tag i {
    color: #64748b;
    font-size: 0.9rem;
}

/* Hotel Description */
.hotel-description-text {
    flex: 1;
    margin: 0.75rem 0;
}

.hotel-tagline {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.hotel-desc-short {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hotel Rating & Price Section */
.hotel-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 1rem;
}

.hotel-rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-score-badge {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 6px 10px;
    border-radius: 8px 8px 8px 0;
    font-size: 1rem;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}

.rating-score-badge.excellent {
    background: linear-gradient(135deg, #059669, #10b981);
}

.rating-score-badge.very-good {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.rating-score-badge.good {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.rating-details {
    display: flex;
    flex-direction: column;
}

.rating-text {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.review-count {
    font-size: 0.8rem;
    color: #64748b;
}

/* Pricing Section */
.hotel-pricing-section {
    text-align: right;
}

.limited-availability {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef2f2;
    color: #dc2626;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.price-per-night {
    font-size: 0.85rem;
    color: #64748b;
}

.price-per-night .amount {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.1rem;
}

.price-original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85rem;
}

.price-total {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
}

.price-total .total-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.price-includes {
    font-size: 0.75rem;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Refundable Badge */
.refundable-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #059669;
    font-weight: 500;
    margin-top: 4px;
}

.refundable-badge i {
    font-size: 0.7rem;
}

/* ============================================
   Map Modal
   ============================================ */

.map-modal {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 10000;
    display: none;
    flex-direction: column;
}

.map-modal.active {
    display: flex;
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.map-modal-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-modal-header h2 i {
    color: #0e64a6;
}

.close-map-modal {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-map-modal:hover {
    background: #e2e8f0;
}

.close-map-modal i {
    font-size: 1.2rem;
    color: #64748b;
}

.map-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-filters {
    display: flex;
    gap: 8px;
    padding: 12px 1.5rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}

.map-filter-pill {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.map-filter-pill:hover {
    border-color: #0e64a6;
    color: #0e64a6;
}

.map-filter-pill.active {
    background: #0e64a6;
    border-color: #0e64a6;
    color: white;
}

.map-container {
    flex: 1;
    min-height: 400px;
}

/* Leaflet Map Custom Styles */
.leaflet-container {
    font-family: 'Outfit', sans-serif;
}

.hotel-map-marker {
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    white-space: nowrap;
    border: 2px solid #0e64a6;
    transition: all 0.2s;
}

.hotel-map-marker:hover {
    background: #0e64a6;
    color: white;
    transform: scale(1.1);
}

.hotel-map-popup {
    max-width: 280px;
}

.hotel-map-popup .popup-image {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
    margin: -12px -12px 10px -12px;
}

.hotel-map-popup .popup-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 4px;
}

.hotel-map-popup .popup-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.hotel-map-popup .popup-price {
    font-weight: 700;
    color: #0e64a6;
    font-size: 1.1rem;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 1024px) {
    .hotel-card-horizontal {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 900px) {
    .hotel-card-horizontal {
        grid-template-columns: 1fr;
    }

    .hotel-image-carousel {
        min-height: 200px;
    }

    .search-bar-container {
        flex-wrap: wrap;
    }

    .search-input-group {
        flex: 1 1 auto;
        min-width: 150px;
    }

    .search-divider {
        display: none;
    }

    .search-btn {
        margin-left: auto;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .expedia-search-bar {
        position: static;
    }

    .search-bar-container {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .search-input-group {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 12px;
        border-radius: 0;
    }

    .search-input-group:last-of-type {
        border-bottom: none;
    }

    .search-btn {
        width: 100%;
        border-radius: 12px;
        height: 48px;
        margin: 0;
    }

    .tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }

    .results-header-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .results-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hotel-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .hotel-pricing-section {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* ============================================
   Layout Adjustments (Reduced Spacing)
   ============================================ */

/* Compress hero section spacing */
.page-hero.hotel-hero {
    padding-bottom: 60px !important;
    /* Reduced from 80px */
}

.hotel-hero .hero-content {
    margin-bottom: 24px !important;
    /* Bring search box closer to title */
}

/* Adjust search container positioning and spacing */
.booking-search-container {
    margin-top: -60px !important;
    /* Optimize overlap (default was -60px) */
    margin-bottom: 24px !important;
    /* Reduce space below search box */
    padding: 28px !important;
    /* Slightly more compact internal spacing */
}

/* Ensure results layout sits nicely */
.results-layout {
    margin-top: 0 !important;
}

/* Refine mobile spacing */
@media (max-width: 768px) {
    .page-hero.hotel-hero {
        padding-bottom: 40px !important;
    }

    .booking-search-container {
        margin-top: -40px !important;
        margin-bottom: 20px !important;
        padding: 20px !important;
    }
}

/* ============================================
   Skeleton Loading Cards
   ============================================ */
.skeleton-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.skeleton-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.skeleton-image {
    height: 200px;
    background: #e2e8f0;
}

.skeleton-body {
    padding: 1.25rem;
}

.skeleton-line {
    background: #e2e8f0;
    border-radius: 4px;
}

.skeleton-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

@keyframes skeletonPulse {
    0% {
        background-color: #e2e8f0;
    }

    50% {
        background-color: #cbd5e1;
    }

    100% {
        background-color: #e2e8f0;
    }
}

.skeleton-pulse {
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

/* Override loading-state to not be centered when using skeletons */
.loading-state {
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto;
}