/* Main styles for Escape Rooms - Dark Theme */
:root {
    --dark-bg: #1a1a1a; /* Main dark background */
    --dark-card-bg: #2c2c2c; /* Slightly lighter dark for cards */
    --dark-border: #444; /* Border color */
    --light-text: #e9ecef; /* Main light text */
    --medium-text: #adb5bd; /* Secondary text color */
    --accent-orange: #fd7e14; /* Accent color from image */
    --accent-orange-lighter: #ff9a4c; /* Lighter shade for gradient */
    --accent-orange-hover: #e87312;
    --link-color: #6ea8fe; /* Lighter blue for links */
    --price-low-bg: #1a3a2a; 
    --price-low-text: #a0eec0;
    --price-low-border: #2a5a4a;
    --price-medium-bg: #4a4a1a;
    --price-medium-text: #ffe0a1;
    --price-medium-border: #6d5c3a;
    --price-high-bg: #5a2a2a;
    --price-high-text: #ffc1d5;
    --price-high-border: #6d3f4a;
    --booked-bg: #383838;
    --booked-text: #777;
    /* New variables for Tag Legend */
    --tag-legend-text: #ffffff; /* Bright white text */
    --tag-legend-border: var(--accent-orange); /* Bright orange border */
    --tag-legend-bg: #653e0a; /* Dimmer orange background */
    /* Font Families */
    --font-family-sans-serif: 'Outfit', system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-family-headings: 'Space Grotesk', var(--font-family-sans-serif);
}

body {
    background-color: var(--dark-bg); /* Changed from --bs-dark for clarity */
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Abstract noise pattern - Increased opacity */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%232a2a2a' fill-opacity='0.7' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    font-family: var(--font-family-sans-serif); /* Set default font */
}

/* Add some separation for the main content area */
main.container {
    flex: 1; /* Ensure main content fills available space */
    margin-top: 60px; /* Adjust based on navbar height */
    margin-bottom: 30px; /* Add some space before footer */
    background-color: var(--dark-card-bg); /* Unified with card background */
    padding: 30px;
    border-radius: 8px;
    position: relative; /* Needed for potential ::before/::after and box-shadow positioning */
    /* Subtle lift effect */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar-dark {
    background-color: var(--dark-card-bg) !important; /* Ensure dark background */
    box-shadow: 0 2px 4px rgba(0,0,0,.5);
}
.navbar-dark .navbar-brand {
    color: var(--accent-orange);
    font-weight: bold;
}
.navbar-dark .navbar-nav .nav-link {
    color: var(--medium-text);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--light-text);
}

.container-fluid.room-detail-container {
    max-width: 1400px;
}

.section-title {
    border-bottom: 2px solid var(--dark-border);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--light-text);
}

/* Links */
a {
    color: var(--link-color);
}
a:hover {
    color: var(--light-text);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-orange);
    /* background-image: linear-gradient(to bottom, var(--accent-orange-lighter), var(--accent-orange)); */ /* Subtle gradient */
    background-image: linear-gradient(180deg, hsla(28, 98%, 55%, 1) 0%, hsla(28, 98%, 50%, 1) 100%); /* More pronounced gradient */
    border: 1px solid var(--accent-orange-hover); /* Slightly darker border */
    color: #fff; /* White text on orange */
    border-radius: 0.3rem; /* Slightly sharper corners */
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-position 0.1s ease-in-out;
    background-size: 100% 200%; /* For hover effect */
    background-position: 0 0;
}

.btn-primary:hover, 
.btn-primary:focus {
    /* background-color: var(--accent-orange-hover); */ /* Keep gradient base */
    /* background-image: linear-gradient(to bottom, var(--accent-orange), var(--accent-orange-hover)); */
    background-position: 0 100%; /* Shift gradient down on hover */
    border-color: var(--accent-orange-hover); /* Keep border consistent */
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover/focus */
}

/* Success button (Confirm Booking) - style as primary */
.btn-success {
    /* background-color: var(--accent-orange); */ /* Use gradient */
    background-image: linear-gradient(180deg, hsla(28, 98%, 55%, 1) 0%, hsla(28, 98%, 50%, 1) 100%); 
    border: 1px solid var(--accent-orange-hover);
    color: #fff; 
    border-radius: 0.3rem; /* Match primary */
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-position 0.1s ease-in-out;
    background-size: 100% 200%;
    background-position: 0 0;
}
.btn-success:hover, 
.btn-success:focus {
    /* background-color: var(--accent-orange-hover); */
    background-position: 0 100%;
    border-color: var(--accent-orange-hover);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-secondary {
    color: var(--medium-text);
    border-color: var(--dark-border);
}
.btn-outline-secondary:hover {
    color: var(--light-text);
    background-color: var(--dark-border);
    border-color: var(--dark-border);
}

.btn-outline-primary { /* Example if used */
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* Honeypot anti-bot field: visually hidden but present in DOM */
.terms-conditions-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Cards */
.card {
    background-color: var(--dark-card-bg);
    border: 1px solid var(--dark-border);
    color: var(--light-text);
    border-radius: 8px;
}

.card-header {
    background-color: #212529; /* Use Bootstrap dark color for headers */
    color: var(--light-text);
    border-bottom: 1px solid var(--dark-border);
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--dark-border);
}

/* Specific Room List Card Styles & Hover Effects */
.room-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden; /* Prevent image overflow on zoom */
}

.room-card:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
    border-color: #555; /* Optional: slightly lighter border */
}

.room-card .card-img-top {
    transition: transform 0.3s ease-in-out;
    height: 220px; /* Ensure consistent height */
    object-fit: cover;
    position: relative; /* Needed for pseudo-element */
    display: block; /* Ensure it behaves like a block */
}

.room-card .image-wrapper { /* Add a wrapper div around the image in the template if needed */
    position: relative; /* Container for the overlay */
    overflow: hidden; /* Keep image zoom contained */
    height: 220px; /* Match image height */
    border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0; /* Match card top radius */
}

/* Add gradient overlay */
.room-card .image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Adjust height of gradient */
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0) 100%); /* Dark gradient */
    pointer-events: none; /* Allow clicks through */
    z-index: 1; /* Ensure overlay is above image */
    border-radius: 0 0 8px 8px;
}

.room-card:hover .card-img-top {
    transform: scale(1.05); /* Zoom effect */
}

/* Room Detail Styles */

.room-detail-header {
    margin-bottom: 2rem;
}

/* Carousel */
.room-carousel {
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */ /* Less emphasis on shadow */
    background-color: #000; /* Black background for image frame */
}

.room-carousel-image {
    max-height: 550px;
    object-fit: cover;
    width: 100%;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
    filter: invert(1) grayscale(100) brightness(2); /* Make controls white */
}

/* Room Details Card (Right side) */
.room-details-card {
     border-radius: 8px;
     border: 1px solid var(--dark-border);
     box-shadow: 0 4px 12px rgba(0,0,0,0.2);
     background-color: var(--dark-card-bg);
}

.room-details-card .card-body {
    padding: 1.5rem;
}

.room-details-card h1 {
    color: var(--light-text);
}

/* Badges */
.room-tags .badge {
    font-size: 0.8rem;
    padding: 0.4em 0.7em;
}

.badge.bg-secondary {
    background-color: #555 !important;
    color: var(--light-text);
}

.badge.bg-info {
    background-color: #0d6efd !important; /* Keep info blue */
    color: #fff;
}

.difficulty-badge-easy {
    background-color: var(--price-low-bg);
    color: var(--price-low-text);
    border: 1px solid var(--price-low-border);
}

.difficulty-badge-medium {
    background-color: var(--price-medium-bg);
    color: var(--price-medium-text);
    border: 1px solid var(--price-medium-border);
}

.difficulty-badge-hard {
     background-color: var(--price-high-bg);
     color: var(--price-high-text);
     border: 1px solid var(--price-high-border);
}

.room-specs .spec-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.room-specs .spec-item i {
    margin-right: 0.75rem;
    color: var(--accent-orange); /* Use accent for icons */
}

.room-specs .spec-item .small.text-muted {
    color: var(--medium-text) !important;
}

.room-specs .spec-item .fw-bold {
    color: var(--light-text);
}

/* General Info Card Style */
.room-info-card {
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    overflow: hidden;
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.room-info-card .card-header {
    background-color: #212529 !important; /* Use Bootstrap dark color for headers */
    color: var(--light-text) !important;
    border-bottom: 1px solid var(--dark-border);
}

.room-info-card .card-header.bg-dark {
    background-color: #000 !important; /* Ensure header is dark */
    color: var(--light-text);
}

.room-description {
    line-height: 1.7;
    color: var(--medium-text);
}
.room-description strong, .room-description h1, .room-description h2, .room-description h3 {
    color: var(--light-text);
}

/* Booking Section */
.booking-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-navigation h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--light-text);
}

.schedule-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    min-width: 700px;
}

.schedule-table th {
    min-width: 100px;
    text-align: center;
    padding: 10px 5px;
    background-color: #383838; /* Darker header */
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
    color: var(--light-text);
}

.schedule-table th.selected-day {
    background-color: var(--accent-orange);
    color: #fff;
}

.day-name {
    font-weight: bold;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--medium-text);
}
.schedule-table th.selected-day .day-name {
    color: #fff;
}

.day-date {
    font-size: 0.9rem;
    display: block;
    color: var(--light-text);
}
.schedule-table th.selected-day .day-date {
    color: #fff;
}

.schedule-cell {
    padding: 2px;
    vertical-align: middle;
}

.schedule-slot {
    text-align: center;
    padding: 8px 4px;
    margin: 0 auto;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid var(--dark-border); /* Base border */
    background-color: #383838; /* Default dark slot */
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--medium-text);
}

.schedule-slot:hover:not(.booked) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-color: #777;
    background-color: #444;
}

.schedule-slot.booked {
    background-color: var(--booked-bg);
    color: var(--booked-text);
    cursor: not-allowed;
    opacity: 0.7;
    border-color: #444;
}

.slot-time {
    font-weight: bold;
    display: block;
    font-size: 0.95rem;
    color: var(--light-text);
}
.schedule-slot.booked .slot-time {
     color: var(--booked-text);
}

.slot-price {
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
    color: var(--medium-text);
}
.schedule-slot.booked .slot-price {
     color: var(--booked-text);
}

/* Price color coding & Legend */
.price-low {
    background-color: var(--price-low-bg);
    border: 1px solid var(--price-low-border);
    color: var(--price-low-text);
}
.price-low:hover:not(.booked) { border-color: var(--price-low-text); background-color: #204c38; }
.price-low-legend { background-color: var(--price-low-bg); color: var(--price-low-text); border: 1px solid var(--price-low-border); }

.price-medium {
    background-color: var(--price-medium-bg);
    border: 1px solid var(--price-medium-border);
    color: var(--price-medium-text);
}
.price-medium:hover:not(.booked) { border-color: var(--price-medium-text); background-color: #5c4b2a; }
.price-medium-legend { background-color: var(--price-medium-bg); color: var(--price-medium-text); border: 1px solid var(--price-medium-border); }

/* Tag legend style */
.tag-legend {
    background-color: var(--tag-legend-bg, #653e0a); /* Use new variable with fallback */
    color: var(--tag-legend-text, #ffffff); /* Use new variable with fallback */
    border: 1px solid var(--tag-legend-border, #fd7e14); /* Use new variable with fallback */
    /* Додаткові стилі для badge, якщо потрібно */
    padding: 0.35em 0.65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-border-radius-sm); /* Використовуємо змінну Bootstrap для радіусу */
}

.price-high {
    background-color: var(--price-high-bg);
    border: 1px solid var(--price-high-border);
    color: var(--price-high-text);
}
.price-high:hover:not(.booked) { border-color: var(--price-high-text); background-color: #5c2f3a; }
.price-high-legend { background-color: var(--price-high-bg); color: var(--price-high-text); border: 1px solid var(--price-high-border); }

.price-legend {
    padding: 0.3em 0.6em;
    font-size: 0.8rem;
    border-radius: 4px;
}

/* Alerts */
.alert-secondary {
    background-color: #333;
    color: var(--medium-text);
    border-color: var(--dark-border);
}
.alert-secondary .bi {
    color: var(--medium-text);
}

.alert-info {
    background-color: #0a3622; /* Darker info */
    color: #a0eec0;
    border-color: #2a5a4a;
}

/* Location Section */
.location-map {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Reviews Section */
.review-card {
    border: 1px solid var(--dark-border);
    border-left: 4px solid var(--accent-orange);
    margin-bottom: 1.5rem;
    background-color: var(--dark-card-bg);
    border-radius: 6px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.review-card .card-body {
    padding: 1.25rem;
}

.review-rating i {
    font-size: 1.1rem;
    color: #ffc107; /* Keep stars yellow */
}

.review-star-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0;
}

.review-rating-heading {
    margin-bottom: 0.45rem;
}

.review-rating-inline {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 46px;
}

.review-rating-inline .form-text {
    margin: 0;
    white-space: nowrap;
}

.review-star-picker .star-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 193, 7, 0.35);
    font-size: 1.45rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.review-star-picker .star-btn.active {
    color: #ffc107;
}

.review-star-picker .star-btn:hover {
    color: #ffd457;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .review-rating-inline {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .review-rating-inline .form-text {
        white-space: normal;
    }
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--medium-text);
}

.review-author {
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.9rem;
}

.review-card .card-footer {
     padding: 0.75rem 1.25rem;
     border-top: 1px solid var(--dark-border);
}


/* Related Rooms Section */
.related-room-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--dark-card-bg);
}

.related-room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    border-color: #555;
}

.related-room-image {
    height: 180px;
    object-fit: cover;
}

.related-room-card .card-body {
    color: var(--light-text);
}

.related-room-card .card-title {
     color: var(--light-text);
}

.related-room-card .card-text.small.text-muted {
    color: var(--medium-text) !important;
}

.related-room-card .btn-outline-primary {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}
.related-room-card .btn-outline-primary:hover {
    color: #fff;
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* Forms */
.form-control, .form-select {
    background-color: #383838;
    border: 1px solid var(--dark-border);
    color: var(--light-text);
    border-radius: 6px;
}

.form-control::placeholder {
    color: #888;
}

.form-control:focus, .form-select:focus {
    background-color: #444;
    border-color: var(--accent-orange);
    color: var(--light-text);
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
}

.form-check-input {
    background-color: #555;
    border-color: var(--dark-border);
}
.form-check-input:checked {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}
.form-check-label {
    color: var(--medium-text);
}

label.form-label {
    color: var(--light-text);
    font-weight: 500;
}

/* Booking Modal */
.modal-content {
    background-color: var(--dark-card-bg);
    border: 1px solid #555;
    color: var(--light-text);
    border-radius: 8px;
}

.modal-header {
    background-color: #000;
    border-bottom: 1px solid var(--dark-border);
    color: var(--light-text);
}
.modal-header .btn-close {
    filter: invert(1) grayscale(100) brightness(2); /* Make close button white */
}

.modal-body {
    color: var(--medium-text);
}
.modal-body h5 {
    color: var(--light-text);
}
.modal-body strong {
    color: var(--light-text);
}
.modal-body .small.text-muted {
    color: #999 !important;
}

.modal-room-thumbnail {
    max-height: 150px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

#stripe-payment-container {
    background-color: #383838 !important; /* Override inline style if needed */
    border-color: var(--dark-border) !important;
}

.stripe-card-element {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--dark-border);
    border-radius: .25rem;
    background-color: #444;
    display: block;
}
.stripe-card-element.StripeElement--invalid {
    border-color: #dc3545;
}

#card-errors {
    color: #f8d7da; /* Light red for errors */
}

.modal-footer {
    background-color: rgba(0,0,0,0.2);
    border-top: 1px solid var(--dark-border);
}


/* Responsive adjustments */
@media (max-width: 767.98px) {
    .room-detail-header {
        flex-direction: column;
    }
    .room-details-card .card-body {
        padding: 1rem;
    }
    .schedule-table th {
        min-width: 85px;
        font-size: 0.8rem;
    }
    .day-name {
        font-size: 0.7rem;
    }
    .day-date {
        font-size: 0.8rem;
    }
    .schedule-slot {
        min-height: 50px;
    }
    .slot-time {
        font-size: 0.85rem;
    }
    .slot-price {
        font-size: 0.75rem;
    }
    .modal-dialog {
        margin: 0.5rem;
    }
    .modal-body {
        padding: 1rem;
    }
    .booking-navigation h4 {
        font-size: 1.1rem;
    }
    .booking-navigation .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

}

@media (max-width: 575.98px) {
     .room-specs .spec-item {
         margin-bottom: 0.75rem; /* More space on small screens */
     }
     .room-specs .col-6 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .room-specs .col-12 {
        flex-basis: 100%;
        max-width: 100%;
    }
    .modal-room-thumbnail {
        max-height: 120px;
    }
    .payment-options .form-check {
        display: block;
        margin-bottom: 0.5rem;
    }
    .payment-options .form-check-inline {
        margin-right: 0;
    }
    .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .modal-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .modal-footer .btn:last-child {
        margin-bottom: 0;
    }
} 

.form-text{
  color: var(--medium-text);
}
.text-muted{
  color: var(--medium-text) !important;
}

/* Dark theme for List Groups (e.g., Recent Transactions in admin) */
.list-group-item {
    background-color: var(--dark-card-bg); /* Фон як у карток */
    border-color: var(--dark-border);     /* Темна рамка */
    color: var(--medium-text);           /* Основний текст (трохи тьмяніший) */
}

.list-group-item h6 { /* Заголовок транзакції */
    color: var(--light-text);
}

.list-group-item p { /* Опис транзакції */
     color: var(--medium-text);
}

.list-group-item small { /* Додаткова інформація (Room, Partner) */
    color: #888; /* Ще тьмяніший сірий */
}

.list-group-item.transaction-item:hover { /* Ефект при наведенні - використовуємо існуючий клас */
    background-color: #383838; /* Трохи світліший темний */
}

/* Ensure badges inside list items are readable */
.list-group-item .badge {
   /* Bootstrap default dark theme badges usually work well, but can adjust if needed */
}

/* Override default flush styles for dark theme */
.list-group-flush > .list-group-item {
    border-width: 0 0 1px; /* Only bottom border for flush lists */
}

.list-group-flush > .list-group-item:last-child {
    border-bottom-width: 0; /* No border for the last item */
}

/* Category Tile Styles */
.category-card {
    position: relative;
    overflow: hidden; /* Ensure image zoom doesn't overflow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Consistent rounding */
}

.category-image {
    height: 150px; /* Adjust height as needed */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    transition: background-color 0.3s ease;
}

.category-card:hover .category-overlay-bg {
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay on hover */
}

.category-title {
    font-weight: bold;
    z-index: 1; /* Ensure title is above overlay */
    padding: 0 1rem; /* Add padding so text doesn't touch edges */
}

/* Style for the active category */
.category-card.active-category {
    border-color: var(--accent-orange); /* Highlight with accent color border */
    box-shadow: 0 0 15px rgba(253, 126, 20, 0.4); /* Optional glow effect */
}

.category-card.active-category .category-overlay-bg {
    background-color: rgba(0, 0, 0, 0.3); /* Slightly lighter overlay for active */
}

/* Popular Rooms Styles */
.popular-room-card {
    position: relative;
    border-radius: 8px; 
    overflow: hidden;
    height: 300px; /* Adjust height as needed */
}

.popular-room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-room-card:hover .popular-room-image {
    transform: scale(1.05);
}

.popular-overlay-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* Cover bottom part */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); /* Gradient overlay */
    z-index: 0; /* Behind text */
    pointer-events: none; /* Allow clicking through */
}

.popular-title {
    font-weight: bold;
    font-size: 1.25rem;
    /* z-index: 1; Already set by position-relative on parent */
}

.popular-details {
    /* z-index: 1; Already set by position-relative on parent */
}

.review-rating-small i {
    font-size: 0.9rem; /* Slightly smaller stars */
}

.popular-price {
    font-size: 0.95rem;
    font-weight: 500;
}

.popular-room-card .stretched-link {
    z-index: 2; /* Ensure link is clickable over everything */
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 100px 0; /* Adjust vertical padding */
    background: url('../img/hero-background.jpeg') no-repeat center center; /* Placeholder image */
    background-size: cover;
    overflow: hidden; /* Ensure overlay covers correctly */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent overlay */
    z-index: 1;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Add shadow for better readability */
}

.hero-section .lead {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.social-proof-links a {
    transition: opacity 0.2s ease-in-out;
}

.social-proof-links a:hover {
    opacity: 0.8;
}
/* End Hero Section Styles */

/* Headings Font */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 600; /* Adjust weight as needed */
}

/* Ensure specific cards don't override the header bg if they have color classes */
.room-details-card .card-header, 
.room-info-card .card-header,
#add-review-section .card-header {
    background-color: #212529 !important; 
    color: var(--light-text) !important;
}

/* Override for success CTA header */
.card.bg-success.text-white .card-header {
    background-color: var(--bs-success) !important; /* Keep success color */
    color: #fff !important; /* Ensure white text */
    border-bottom: none; /* Remove border if desired */
}

/* Pricing Section Styles */
#pricing-section {
    /* Add styles if needed, e.g., background */
}

.pricing-details-card {
    background-color: var(--dark-bg); /* Make card slightly darker than container */
    border-color: var(--dark-border);
}

.price-item {
    padding: 1rem 0.5rem;
    border-right: 1px solid var(--dark-border);
    margin-bottom: 1rem; /* Space between rows on small screens */
}

.price-item:last-child {
    border-right: none;
}

/* Remove border on last item of each row on small screens */
@media (max-width: 575.98px) {
    .price-item:nth-child(2n) {
        border-right: none;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
     .price-item:nth-child(3n) {
         border-right: none;
     }
}
@media (min-width: 768px) {
     .price-item:nth-child(4n) {
         border-right: none;
     }
}


.payment-icons i {
    color: var(--medium-text);
    transition: color 0.2s ease-in-out;
}

.payment-icons i:hover {
    color: var(--light-text);
} 


.accordion {
    --bs-accordion-color: #fff;
    --bs-accordion-bg: #1a1a1a;
    --bs-accordion-border-color: #2d2d2d;
    --bs-accordion-btn-color: #fff;
    --bs-accordion-btn-bg: #1a1a1a;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon-width: 1.25rem;
    --bs-accordion-btn-icon-transform: rotate(-90deg);
    --bs-accordion-btn-icon-transition: transform .2s ease-in-out;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-focus-border-color: #2d2d2d;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
    --bs-accordion-active-color: #fff;
    --bs-accordion-active-bg: #2d2d2d;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-accordion-active-bg);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button:focus {
    border-color: var(--bs-accordion-btn-focus-border-color);
    box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}

.accordion-button::after {
    background-image: var(--bs-accordion-btn-icon);
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-active-icon);
}

.accordion-body {
    color: #e0e0e0;
    background-color: #1a1a1a;
}

#cookie-consent-banner {
    background-color: #9E9E9E !important
}

/* 2026 UI refresh: unified dark design system */
:root {
    --surface-bg: #081014;
    --surface-1: #102128;
    --surface-2: #122a33;
    --surface-3: #163641;
    --surface-border: rgba(122, 158, 170, 0.3);
    --text-primary: #edf7f8;
    --text-muted: #a6c2c8;
    --text-soft: #87aab2;
    --brand-primary: #1f8798;
    --brand-accent: #2fa8bc;
    --brand-accent-dark: #1f7f90;
    --state-info: #245f6a;
    --shadow-soft: 0 18px 46px rgba(1, 6, 18, 0.45);
    --shadow-hover: 0 24px 56px rgba(0, 0, 0, 0.56);
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.625rem;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --focus-ring: 0 0 0 0.2rem rgba(47, 168, 188, 0.25);
    --font-family-sans-serif: 'Outfit', system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-family-headings: 'Space Grotesk', 'Outfit', sans-serif;
}

body {
    color: var(--text-primary);
    font-family: var(--font-family-sans-serif);
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: var(--surface-bg);
    background-image:
        radial-gradient(circle at 18% -8%, rgba(31, 135, 152, 0.24), transparent 38%),
        radial-gradient(circle at 85% -16%, rgba(244, 164, 84, 0.12), transparent 34%),
        linear-gradient(180deg, #070f13 0%, #081419 56%, #081014 100%);
}

:where(a, button, [role="button"], .btn, .dropdown-item, .flag-btn):focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 16px;
    z-index: 2000;
    background: var(--brand-primary);
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 0.4rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.site-navbar {
    background: linear-gradient(180deg, rgba(11, 26, 32, 0.95), rgba(9, 20, 26, 0.92));
    border-bottom: 1px solid var(--surface-border);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 8px 28px rgba(2, 8, 20, 0.35);
}

.site-navbar.navbar-dark {
    background: linear-gradient(180deg, rgba(15, 33, 40, 0.98) 0%, rgba(10, 22, 28, 0.92) 100%) !important;
}

.site-navbar .container {
    min-height: 66px;
}

.site-navbar .navbar-brand {
    color: #fff;
    font-family: var(--font-family-headings);
    font-weight: 700;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.site-navbar .brand-mark {
    width: 1.05rem;
    height: 1.05rem;
    object-fit: contain;
    filter: invert(1) brightness(1.08);
    opacity: 0.95;
}

.site-navbar .navbar-nav .nav-link {
    color: #d6ecef;
    font-weight: 600;
    padding: 0.55rem 0.75rem;
    position: relative;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active {
    color: #ffffff;
}

.site-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(47, 168, 188, 0), rgba(47, 168, 188, 0.95), rgba(47, 168, 188, 0));
    transform: scaleX(0.25);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-navbar .navbar-nav .nav-link:hover::after,
.site-navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.site-navbar .navbar-toggler {
    border-color: rgba(164, 205, 214, 0.38);
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(47, 168, 188, 0.35);
}

.site-navbar .btn-outline-light {
    border-color: rgba(146, 193, 205, 0.5);
    color: #e8f8fa;
    background: rgba(21, 45, 54, 0.45);
}

.site-navbar .btn-outline-light:hover {
    background: rgba(47, 168, 188, 0.26);
    border-color: rgba(162, 215, 224, 0.72);
}

.site-navbar .btn-outline-light:focus,
.site-navbar .btn-outline-light:focus-visible,
.site-navbar .btn-outline-light:active,
.site-navbar .btn-outline-light.active,
.site-navbar .btn-outline-light.show,
.site-navbar .show > .btn-outline-light.dropdown-toggle {
    color: #fff;
    background: rgba(47, 168, 188, 0.2);
    border-color: rgba(153, 208, 218, 0.75);
    box-shadow: 0 0 0 0.16rem rgba(47, 168, 188, 0.24);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.14rem;
    border-radius: var(--radius-md);
    background: rgba(13, 28, 33, 0.58);
    border: 1px solid rgba(122, 158, 170, 0.28);
}

.language-switcher form {
    margin: 0 !important;
}

.language-switcher .flag-btn {
    width: 31px;
    height: 24px;
    border-radius: var(--radius-sm);
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
    opacity: 0.92;
    line-height: 1;
}

.language-switcher .flag-btn img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    border: 0;
}

.language-switcher .flag-btn:hover {
    transform: translateY(-1px);
    background: rgba(47, 168, 188, 0.18);
    box-shadow: 0 4px 10px rgba(20, 91, 102, 0.16);
    opacity: 1;
}

.site-main.container {
    background: transparent;
    box-shadow: none;
    margin-top: -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.site-footer {
    background: #071218;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(126, 171, 184, 0.22);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer-title {
    font-weight: 700;
    color: #f2f7ff;
}

.footer-links li + li {
    margin-top: 0.3rem;
}

.footer-links a {
    color: #b8e8ee;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-chip-group,
.footer-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    border-radius: 999px;
    border: 1px solid rgba(130, 173, 183, 0.42);
    background: rgba(18, 42, 49, 0.7);
    color: #e8f8f9;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.24rem 0.62rem;
}

.footer-chip-brand {
    background: rgba(25, 58, 68, 0.76);
}

.footer-review-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-review-links a {
    color: #b8e8ee;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-review-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(129, 176, 187, 0), rgba(129, 176, 187, 0.3), rgba(129, 176, 187, 0));
    margin: 1rem 0 0.85rem;
}

.site-footer-bottom {
    color: rgba(224, 236, 255, 0.82);
}

.hero-section {
    border-radius: 28px;
    padding: 120px 0;
    background:
        linear-gradient(130deg, rgba(6, 15, 19, 0.77), rgba(11, 33, 40, 0.83)),
        url('../img/hero-background.jpeg') no-repeat center center;
    background-size: cover;
    box-shadow: var(--shadow-soft);
}

.hero-overlay {
    background:
        radial-gradient(circle at 80% 20%, rgba(31, 135, 152, 0.3), transparent 38%),
        linear-gradient(180deg, rgba(5, 14, 18, 0.52), rgba(5, 14, 18, 0.82));
}

.hero-content {
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(145, 194, 205, 0.45);
    background: rgba(47, 137, 152, 0.22);
    border-radius: 999px;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    color: #daf5f8;
}

.hero-section h1 {
    color: #fff;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-section .lead {
    color: rgba(239, 246, 255, 0.9);
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(158, 186, 245, 0.34);
    background: rgba(80, 111, 178, 0.28);
    color: #fff;
    font-size: 0.88rem;
}

.social-proof-links {
    color: rgba(255, 255, 255, 0.86);
}

.social-proof-links a {
    color: #fff;
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 3;
    width: 40px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(4, 11, 26, 0.35);
}

.hero-scroll-indicator i {
    font-size: 0.86rem;
    color: #dce9ff;
    line-height: 1;
    animation: hero-scroll-chevron 1.4s ease-in-out infinite;
}

.hero-scroll-indicator i:nth-child(2) {
    margin-top: -4px;
    animation-delay: 0.2s;
}

@keyframes hero-scroll-chevron {
    0% {
        opacity: 0.25;
        transform: translateY(-1px);
    }
    50% {
        opacity: 1;
        transform: translateY(3px);
    }
    100% {
        opacity: 0.25;
        transform: translateY(-1px);
    }
}

.social-proof-links a:hover {
    color: #ffd9ab;
}

.filter-shell.card {
    background: linear-gradient(180deg, rgba(18, 40, 47, 0.93), rgba(14, 31, 37, 0.92));
    border-color: var(--surface-border);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
}

.tag-filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-color: rgba(125, 168, 178, 0.28) !important;
}

.tag-filter-strip .tag-filter-btn {
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-weight: 600;
}

.tag-filter-strip .tag-filter-btn .badge {
    background: rgba(80, 122, 132, 0.4) !important;
    color: #e9f7f8;
    border: 1px solid rgba(124, 167, 177, 0.45);
}

.tag-filter-strip .tag-filter-btn.btn-primary .badge {
    background: rgba(32, 89, 99, 0.56) !important;
    border-color: rgba(128, 194, 207, 0.6);
}

.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 1px solid rgba(127, 164, 176, 0.44);
    background: rgba(9, 21, 27, 0.86);
    color: var(--text-primary);
}

.form-control:disabled,
.form-select:disabled {
    background: rgba(13, 29, 35, 0.45);
    color: #87a8af;
}

.form-control::placeholder {
    color: var(--text-soft);
}

.form-select option {
    color: #edf7f8;
    background: #10252d;
}

.form-control:focus,
.form-select:focus,
.btn:focus-visible,
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(47, 168, 188, 0.25);
}

.card,
.room-card,
.popular-room-card,
.category-card,
.room-info-card,
.room-details-card,
.pricing-details-card {
    background: linear-gradient(180deg, rgba(17, 37, 44, 0.92), rgba(13, 29, 35, 0.92));
    border-color: var(--surface-border);
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
}

.card-header {
    background: rgba(14, 32, 38, 0.95);
    border-bottom: 1px solid rgba(121, 164, 176, 0.2);
    color: var(--text-primary);
}

.card-footer {
    background: rgba(10, 22, 27, 0.78);
    border-top: 1px solid rgba(121, 164, 176, 0.2);
}

.room-card,
.popular-room-card,
.category-card {
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.room-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.room-card:hover,
.category-card:hover,
.popular-room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(97, 194, 209, 0.45);
}

.room-card .image-wrapper::after {
    background: linear-gradient(to top, rgba(7, 17, 40, 0.58), rgba(7, 17, 40, 0));
}

.room-vr-ribbon {
    position: absolute;
    top: 12px;
    left: -34px;
    z-index: 3;
    min-width: 140px;
    text-align: center;
    padding: 0.3rem 0.95rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ecfbff;
    text-transform: uppercase;
    background: linear-gradient(180deg, #2fa8bc 0%, #1f7f90 100%);
    border: 1px solid rgba(162, 221, 230, 0.56);
    box-shadow: 0 8px 20px rgba(20, 89, 100, 0.42);
    transform: rotate(-36deg);
    pointer-events: none;
}

.btn-primary,
.btn-success {
    background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    border-color: var(--brand-accent-dark);
    border-radius: var(--radius-md);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
    border-color: #1b7483;
    box-shadow: 0 12px 22px rgba(31, 127, 144, 0.34);
}

.btn-outline-secondary {
    color: #d3edf1;
    border-color: rgba(119, 164, 175, 0.52);
    background: rgba(15, 36, 42, 0.62);
}

.btn-outline-secondary:hover {
    color: #fff;
    border-color: #54b6c8;
    background: #236f7e;
}

.btn-outline-primary {
    color: #dcf4f8;
    border-color: rgba(124, 184, 197, 0.62);
    background: rgba(18, 40, 47, 0.5);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #ffffff;
    border-color: rgba(147, 216, 227, 0.8);
    background: rgba(31, 127, 144, 0.28);
    box-shadow: 0 10px 20px rgba(20, 91, 102, 0.28);
}

.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    border-color: rgba(147, 216, 227, 0.9);
    background: rgba(31, 127, 144, 0.38);
}

.btn.btn-sm.btn-outline-primary {
    border-radius: var(--radius-sm);
    padding: 0.32rem 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge {
    background-color: rgba(40, 94, 106, 0.62);
    border: 1px solid rgba(129, 186, 197, 0.42);
    color: #eef9fb;
}

.badge.bg-info {
    background-color: rgba(38, 99, 112, 0.78) !important;
    border-color: rgba(121, 200, 214, 0.56);
}

.section-title {
    border-bottom-color: rgba(30, 58, 138, 0.16);
    color: var(--text-primary);
}

.text-muted,
.room-specs .spec-item .small.text-muted,
.room-description {
    color: var(--text-muted) !important;
}

.dropdown-menu.dropdown-menu-dark {
    background: #10262e;
    border: 1px solid rgba(123, 166, 178, 0.3);
    z-index: 1300;
}

.dropdown-menu.dropdown-menu-dark .dropdown-item {
    color: #e2f4f6;
}

.dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu.dropdown-menu-dark .dropdown-item:focus {
    background: #1d4d58;
    color: #ffffff;
}

.accordion {
    --bs-accordion-color: var(--text-primary);
    --bs-accordion-bg: var(--surface-2);
    --bs-accordion-border-color: rgba(121, 166, 178, 0.24);
    --bs-accordion-btn-color: var(--text-primary);
    --bs-accordion-btn-bg: var(--surface-2);
    --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
    --bs-accordion-btn-focus-border-color: rgba(47, 168, 188, 0.35);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(47, 168, 188, 0.22);
    --bs-accordion-active-color: var(--text-primary);
    --bs-accordion-active-bg: var(--surface-3);
}

.accordion-body {
    color: var(--text-muted);
    background-color: #112831;
}

.alert-info {
    color: #e3f8fb;
    background-color: rgba(36, 95, 106, 0.72);
    border-color: rgba(97, 166, 179, 0.45);
}

.room-preview-alert {
    color: #ffe9bd;
    background: linear-gradient(
        180deg,
        rgba(139, 94, 30, 0.32),
        rgba(87, 57, 15, 0.34)
    );
    border: 1px solid rgba(245, 177, 78, 0.42);
    border-radius: 0.78rem;
    box-shadow: 0 10px 22px rgba(36, 21, 4, 0.24);
}

.room-preview-alert i {
    color: #ffd37d;
}

.list-group-item {
    background-color: rgba(13, 24, 48, 0.88);
    border-color: rgba(121, 149, 211, 0.2);
    color: var(--text-muted);
}

#cookie-consent-banner.cookie-consent-banner {
    z-index: 1050;
    background: rgba(15, 31, 71, 0.95) !important;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#cookie-consent-banner .cookie-consent-inner {
    gap: 0.9rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(127, 182, 194, 0.26);
    border-radius: var(--radius-lg);
    background: rgba(12, 27, 33, 0.62);
    box-shadow: 0 10px 24px rgba(3, 11, 22, 0.35);
}

#cookie-consent-banner .cookie-consent-inner > p {
    color: #deeff2;
    line-height: 1.42;
    font-size: 0.92rem;
    margin-right: 0.4rem !important;
}

#cookie-consent-banner .cookie-consent-actions .btn {
    min-width: 92px;
}

#cookie-consent-banner a {
    color: #9fe4ee;
}

#cookie-consent-banner a:hover {
    color: #d8f8fb;
}

@media (max-width: 768px) {
    #cookie-consent-banner .cookie-consent-inner {
        padding: 0.6rem 0.7rem;
    }

    #cookie-consent-banner .cookie-consent-inner > p {
        font-size: 0.86rem;
    }

    #cookie-consent-banner .cookie-consent-actions {
        width: 100%;
    }

    #cookie-consent-banner .cookie-consent-actions .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 92px 0;
        border-radius: 22px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 1.85rem;
    }

    .hero-stat {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Unified form controls for /rooms/add/ and similar pages */
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    background: rgba(10, 23, 29, 0.92);
    border-color: rgba(127, 182, 194, 0.72);
    color: var(--text-primary);
    box-shadow: var(--focus-ring);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23a6c2c8' d='M3.2 5.6a.8.8 0 0 1 1.1 0L8 9.3l3.7-3.7a.8.8 0 1 1 1.1 1.1l-4.2 4.2a.8.8 0 0 1-1.1 0L3.2 6.7a.8.8 0 0 1 0-1.1z'/%3E%3C/svg%3E");
    background-color: rgba(9, 21, 27, 0.85);
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem 1rem;
    padding-right: 2.4rem;
}

.form-select option:checked,
.form-select option:hover {
    background: #1c3466;
    color: #eff4ff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(11, 21, 43, 0.95) inset !important;
    box-shadow: 0 0 0 1000px rgba(11, 21, 43, 0.95) inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

.form-check-input {
    background-color: rgba(13, 31, 38, 0.9);
    border-color: rgba(123, 166, 178, 0.62);
}

.form-check-input:focus {
    border-color: rgba(127, 182, 194, 0.72);
    box-shadow: 0 0 0 0.16rem rgba(47, 168, 188, 0.22);
}

.form-check-input:checked {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
}

.nav-tabs {
    border-bottom: 1px solid rgba(123, 151, 210, 0.4);
}

.nav-tabs .nav-link {
    color: #b9c9e9;
    border: 1px solid transparent;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    background: transparent;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    color: #e9f0ff;
    border-color: rgba(123, 151, 210, 0.32);
    background: rgba(17, 31, 58, 0.55);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #f3f7ff;
    background: linear-gradient(180deg, rgba(32, 56, 102, 0.95), rgba(19, 35, 67, 0.95));
    border-color: rgba(123, 151, 210, 0.46);
    border-bottom-color: transparent;
}

input[type="file"].form-control {
    color: var(--text-muted);
}

input[type="file"].form-control::file-selector-button {
    color: #eaf1ff;
    background: linear-gradient(180deg, rgba(46, 81, 152, 0.95), rgba(35, 64, 120, 0.95));
    border: 1px solid rgba(123, 151, 210, 0.45);
    border-radius: 0.5rem;
    margin-right: 0.8rem;
}

/* Room detail unified dark styling */
.room-detail-container {
    max-width: 1360px;
}

.room-detail-page .room-carousel {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(123, 166, 178, 0.25);
    box-shadow: var(--shadow-soft);
}

.room-detail-page .room-carousel-image {
    max-height: 520px;
}

.room-detail-page .admin-toolbar-card .card-body {
    padding: 0.9rem 1.2rem;
}

.room-detail-page .room-details-card,
.room-detail-page .room-info-card,
.room-detail-page .review-card,
.room-detail-page .related-room-card {
    background: linear-gradient(180deg, rgba(17, 37, 44, 0.92), rgba(13, 29, 35, 0.92));
    border: 1px solid rgba(123, 166, 178, 0.26);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.room-detail-page .room-info-card .card-header,
.room-detail-page .room-details-card .card-header,
.room-detail-page #add-review-section .card-header {
    background: linear-gradient(180deg, rgba(21, 45, 52, 0.92), rgba(15, 33, 39, 0.92)) !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid rgba(123, 166, 178, 0.24);
}

.room-detail-page .room-summary-card h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
}

.room-detail-page .rating-value {
    color: var(--text-primary);
    font-weight: 600;
}

.room-detail-page .room-tags .badge {
    border-radius: 0.45rem;
}

.room-detail-page .tag-legend {
    background: rgba(36, 95, 106, 0.45);
    border-color: rgba(121, 200, 214, 0.45);
    color: #edf7f8;
}

.room-detail-page .difficulty-badge-easy {
    background: rgba(22, 92, 69, 0.52);
    color: #b8f2df;
    border-color: rgba(82, 178, 145, 0.45);
}

.room-detail-page .difficulty-badge-medium {
    background: rgba(126, 111, 31, 0.48);
    color: #ffefb1;
    border-color: rgba(201, 174, 54, 0.5);
}

.room-detail-page .difficulty-badge-hard {
    background: rgba(119, 48, 73, 0.44);
    color: #ffd1de;
    border-color: rgba(198, 102, 136, 0.45);
}

.room-detail-page .room-specs .spec-item {
    margin-bottom: 0.75rem;
}

.room-detail-page .room-specs .spec-item i {
    color: #63d8d7;
}

.room-detail-page .room-specs .spec-item .small {
    color: var(--text-soft) !important;
}

.room-detail-page .room-detail-chip-row {
    min-height: 2.1rem;
    gap: 0.55rem;
}

.room-detail-page .room-chip,
.room-detail-page .difficulty-pill {
    font-size: 0.9rem;
    padding: 0.24rem 0.72rem;
}

.room-detail-page .room-chip i,
.room-detail-page .difficulty-pill i {
    font-size: 0.86rem;
}

.room-detail-page .room-chip-language {
    background: rgba(28, 91, 102, 0.5);
    border-color: rgba(124, 196, 208, 0.56);
}

.room-detail-page .room-detail-tag-row {
    gap: 0.5rem;
}

.room-detail-page .room-tag-chip {
    font-size: 0.82rem;
    padding: 0.24rem 0.68rem;
}

.room-detail-page .room-specs .spec-item .fw-bold {
    color: var(--text-primary);
}

.room-detail-page .room-description {
    color: var(--text-muted);
}

.room-detail-page .room-description p {
    margin-bottom: 0.9rem;
}

.room-detail-page .room-breadcrumb-nav {
    border: 1px solid rgba(123, 166, 178, 0.28);
    background: linear-gradient(180deg, rgba(19, 41, 48, 0.8), rgba(12, 28, 34, 0.8));
    border-radius: var(--radius-md);
    padding: 0.55rem 0.8rem;
    box-shadow: inset 0 1px 0 rgba(161, 205, 214, 0.08);
}

.room-detail-page .room-breadcrumb {
    --bs-breadcrumb-divider: "›";
}

.room-detail-page .room-breadcrumb .breadcrumb-item,
.room-detail-page .room-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #8fb0b7;
}

.room-detail-page .room-breadcrumb .breadcrumb-item a {
    color: #bdebf1;
    text-decoration: none;
}

.room-detail-page .room-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.room-detail-page .room-breadcrumb .breadcrumb-item.active {
    color: #edf7f8;
    font-weight: 600;
}

@media (max-width: 576px) {
    .room-detail-page .room-breadcrumb-nav {
        padding: 0.42rem 0.58rem;
        border-radius: 0.6rem;
    }

    .room-detail-page .room-breadcrumb {
        font-size: 0.83rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .room-detail-page .room-breadcrumb .breadcrumb-item {
        max-width: 46vw;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
    }
}

.room-detail-page .booking-navigation h4 {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.room-detail-page .schedule-table {
    border-spacing: 3px;
}

.room-detail-page .schedule-table th {
    background: #2d3538;
    border: 1px solid rgba(143, 153, 175, 0.18);
    border-radius: var(--radius-sm);
    color: #d3e4e8;
}

.room-detail-page .schedule-table th.selected-day {
    background: linear-gradient(180deg, rgba(47, 168, 188, 0.92), rgba(31, 127, 144, 0.92));
    border-color: rgba(147, 216, 227, 0.62);
    color: #fff;
}

.room-detail-page .day-name {
    color: #a4bdc3;
}

.room-detail-page .schedule-table th.selected-day .day-name,
.room-detail-page .schedule-table th.selected-day .day-date {
    color: #fff;
}

.room-detail-page .schedule-slot {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(124, 166, 178, 0.28);
    background: rgba(17, 39, 47, 0.88);
    color: #deeff2;
    min-height: 56px;
}

.room-detail-page .schedule-slot:hover:not(.booked) {
    transform: translateY(-1px);
    border-color: rgba(147, 216, 227, 0.56);
    background: rgba(24, 55, 63, 0.95);
}

.room-detail-page .schedule-slot.booked {
    background: rgba(48, 56, 73, 0.7);
    color: #7b879f;
    border-color: rgba(111, 123, 150, 0.25);
}

.room-detail-page .slot-time {
    color: #edf7f8;
}

.room-detail-page .slot-price {
    color: #b8e8ee;
}

.room-detail-page .price-low {
    background: rgba(20, 95, 78, 0.64);
    border-color: rgba(86, 188, 153, 0.5);
    color: #cbffec;
}

.room-detail-page .price-medium {
    background: rgba(127, 101, 26, 0.62);
    border-color: rgba(214, 174, 61, 0.52);
    color: #fff0c7;
}

.room-detail-page .price-high {
    background: rgba(122, 45, 72, 0.62);
    border-color: rgba(212, 102, 143, 0.52);
    color: #ffd5e5;
}

.room-detail-page .price-legend {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.66rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0.45rem;
    border: 1px solid transparent;
    box-shadow: 0 8px 18px rgba(2, 8, 24, 0.25);
}

.room-detail-page .price-low-legend {
    background: rgba(20, 95, 78, 0.7) !important;
    border-color: rgba(86, 188, 153, 0.58) !important;
    color: #d5fff0 !important;
}

.room-detail-page .price-medium-legend {
    background: rgba(127, 101, 26, 0.72) !important;
    border-color: rgba(214, 174, 61, 0.62) !important;
    color: #fff3cf !important;
}

.room-detail-page .price-high-legend {
    background: rgba(122, 45, 72, 0.72) !important;
    border-color: rgba(212, 102, 143, 0.62) !important;
    color: #ffe0ec !important;
}

.room-detail-page .alert-secondary {
    background: rgba(55, 63, 79, 0.76);
    border-color: rgba(121, 166, 178, 0.3);
    color: #d1e6ea;
}

.room-detail-page .location-map {
    border: 1px solid rgba(123, 166, 178, 0.24);
}

.room-detail-page .room-location-map-wrap {
    position: relative;
    min-height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(9, 20, 24, 0.88);
    box-shadow: inset 0 0 0 1px rgba(123, 166, 178, 0.25);
}

.room-detail-page .room-location-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    filter: saturate(0.75) hue-rotate(145deg) brightness(0.78) contrast(1.05);
}

.room-detail-page .room-location-map-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 80% 12%, rgba(63, 142, 158, 0.18), transparent 45%),
        linear-gradient(180deg, rgba(6, 14, 18, 0.22), rgba(6, 14, 18, 0.35));
}

.room-detail-page .text-primary {
    color: #7bd7e4 !important;
}

.room-detail-page .review-card {
    border-left: 3px solid rgba(93, 199, 214, 0.82);
}

.room-detail-page .review-text {
    color: var(--text-muted);
}

.room-detail-page .review-card .card-footer {
    border-top: 1px solid rgba(123, 166, 178, 0.2);
}

.room-detail-page .related-room-card .btn-outline-primary {
    color: #c8eef3;
    border-color: rgba(124, 184, 197, 0.55);
}

.room-detail-page .related-room-card .btn-outline-primary:hover {
    color: #fff;
    background: #1f7f90;
    border-color: #1f7f90;
}

.room-detail-page #scrollToScheduleBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1030;
    display: none;
    border-radius: 999px !important;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(31, 127, 144, 0.35);
}

@media (max-width: 992px) {
    .room-detail-page .room-summary-card h1 {
        font-size: 2rem;
    }
}

#bookingModal .modal-dialog {
    max-width: 920px;
    margin: 1rem auto;
}

#bookingModal .booking-modal-content {
    background: linear-gradient(180deg, rgba(17, 34, 66, 0.98), rgba(10, 22, 44, 0.98));
    border: 1px solid rgba(112, 146, 214, 0.34);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

#bookingModal .booking-modal-header {
    background: linear-gradient(180deg, rgba(23, 49, 94, 0.9), rgba(15, 32, 68, 0.9));
    border-bottom: 1px solid rgba(112, 146, 214, 0.3);
    color: var(--text-primary);
    padding: 0.72rem 1rem;
}

#bookingModal .booking-modal-header .modal-title {
    font-size: 1.05rem;
    font-weight: 700;
}

#bookingModal .booking-modal-body {
    color: var(--text-muted);
    padding: 0.9rem 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
}

#bookingModal .booking-modal-body h5,
#bookingModal .booking-modal-body strong,
#bookingModal .booking-modal-body .form-label {
    color: var(--text-primary);
}

#bookingModal .modal-room-thumbnail {
    border: 1px solid rgba(112, 146, 214, 0.3);
    max-height: 132px;
    width: 100%;
    object-fit: cover;
}

#bookingModal .payment-options {
    display: inline-flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

#bookingModal .payment-options .form-check {
    margin: 0;
    padding: 0.32rem 0.62rem 0.32rem 1.8rem;
    border: 1px solid rgba(112, 146, 214, 0.36);
    border-radius: var(--radius-md);
    background: rgba(16, 31, 60, 0.62);
}

#bookingModal .booking-stripe-container {
    border-color: rgba(112, 146, 214, 0.3) !important;
    background: rgba(17, 34, 66, 0.65) !important;
}

#bookingModal #card-element,
#bookingModal .stripe-card-element {
    min-height: 44px;
    display: block;
    border-radius: var(--radius-md);
    border: 1px solid rgba(112, 146, 214, 0.4);
    background: rgba(9, 21, 42, 0.9);
    padding: 12px 14px;
    line-height: 1.4;
}

#bookingModal .stripe-card-element iframe {
    min-height: 20px !important;
}

#bookingModal #secure-payment-info {
    color: #d2e5ff;
}

#bookingModal .booking-total-alert {
    border: 1px solid rgba(92, 140, 226, 0.46);
    background: linear-gradient(180deg, rgba(44, 88, 176, 0.5), rgba(32, 69, 141, 0.46));
    color: #edf4ff;
    padding: 0.5rem 0.68rem;
}

#bookingModal .booking-modal-footer {
    border-top: 1px solid rgba(112, 146, 214, 0.26);
    background: rgba(8, 19, 42, 0.35);
    padding: 0.72rem 1rem;
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 3;
    backdrop-filter: blur(6px);
}

#bookingModal .booking-modal-footer .btn {
    min-width: 118px;
    padding-top: 0.43rem;
    padding-bottom: 0.43rem;
}

#bookingModal .booking-terms-note {
    flex: 0 0 auto;
    padding-top: 0.35rem !important;
    padding-bottom: 0.7rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 0.78rem;
}

#bookingModal .booking-modal-footer .btn-danger {
    background: linear-gradient(180deg, #c43c52 0%, #9d2940 100%);
    border-color: #8c2137;
}

#bookingModal .booking-modal-footer .btn-danger:hover {
    background: linear-gradient(180deg, #d24b61 0%, #ad2e46 100%);
}

#bookingModal .form-control,
#bookingModal .form-select {
    background: rgba(10, 21, 42, 0.88);
    border-color: rgba(112, 146, 214, 0.44);
    color: #edf4ff;
    font-size: 0.92rem;
    padding: 0.38rem 0.55rem;
}

#bookingModal .form-control::placeholder {
    color: #8eaedb;
}

#bookingModal textarea.form-control {
    min-height: 64px;
}

#bookingModal .booking-modal-body .row.g-3 {
    --bs-gutter-y: 0.55rem;
    --bs-gutter-x: 0.75rem;
}

#bookingModal .booking-modal-body .row.mb-4 {
    margin-bottom: 0.55rem !important;
}

#bookingModal .booking-modal-body .mb-3 {
    margin-bottom: 0.55rem !important;
}

#bookingModal .booking-modal-body .mb-4 {
    margin-bottom: 0.75rem !important;
}

#bookingModal .booking-modal-body hr.my-4 {
    margin-top: 0.7rem !important;
    margin-bottom: 0.7rem !important;
}

#bookingModal .booking-modal-body p {
    margin-bottom: 0.35rem;
}

#bookingModal .booking-total-alert .fs-5 {
    font-size: 1rem !important;
}

#bookingModal .form-check-input:checked {
    background-color: #4f8cff;
    border-color: #4f8cff;
}

#bookingModal .btn-close {
    opacity: 0.85;
}

#bookingModal .btn-close:hover {
    opacity: 1;
}

.modal-backdrop.show {
    background: rgba(4, 9, 20, 0.74);
    backdrop-filter: blur(3px);
}

@media (max-width: 767.98px) {
    #bookingModal .modal-dialog {
        margin: 0.35rem;
    }

    #bookingModal .booking-modal-content {
        max-height: calc(100vh - 0.7rem);
    }

    #bookingModal .booking-modal-body {
        padding: 0.72rem 0.8rem;
    }

    #bookingModal .booking-modal-body .row.mb-4 {
        margin-bottom: 0.8rem !important;
    }

    #bookingModal .booking-modal-body hr.my-4 {
        margin-top: 0.9rem !important;
        margin-bottom: 0.9rem !important;
    }

    #bookingModal .booking-modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 0.45rem;
        padding: 0.62rem 0.8rem;
    }

    #bookingModal .booking-modal-footer .btn {
        width: 100%;
    }

    #bookingModal .booking-modal-header {
        padding: 0.62rem 0.8rem;
    }

    #bookingModal .booking-terms-note {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
        padding-bottom: 0.55rem !important;
    }
}

/* Unified dark table container */
.table-responsive {
    border: 1px solid rgba(123, 166, 178, 0.28);
    border-radius: 0.75rem;
    background: rgba(11, 27, 33, 0.72);
    box-shadow: var(--shadow-soft);
}

.table-responsive .table {
    margin-bottom: 0;
    color: var(--text-primary);
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: rgba(123, 166, 178, 0.22);
    --bs-table-striped-bg: rgba(24, 52, 59, 0.56);
    --bs-table-hover-bg: rgba(32, 72, 81, 0.48);
}

.table-responsive .table thead th {
    border-bottom-color: rgba(145, 192, 204, 0.34);
    background: rgba(20, 45, 53, 0.82);
    color: #eaf7f9;
    font-weight: 700;
    white-space: nowrap;
}

.table-responsive .table td,
.table-responsive .table th {
    border-color: rgba(123, 166, 178, 0.22);
    vertical-align: middle;
}

/* Playful dark background scene */
:root {
    --bg-blue-glow: rgba(47, 168, 188, 0.3);
    --bg-red-glow: rgba(246, 171, 96, 0.22);
    --bg-violet-glow: rgba(64, 145, 132, 0.2);
}

body {
    background-color: var(--surface-bg);
    background-image:
        radial-gradient(circle at 12% -10%, var(--bg-blue-glow), transparent 34%),
        radial-gradient(circle at 86% -12%, var(--bg-red-glow), transparent 36%),
        radial-gradient(circle at 50% 108%, var(--bg-violet-glow), transparent 45%),
        linear-gradient(180deg, #060f14 0%, #081920 48%, #081a21 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-image: linear-gradient(rgba(172, 207, 216, 0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(172, 207, 216, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 50% 28%, rgba(0, 0, 0, 0.95), transparent 95%);
}

.bg-scene {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bg-orb,
.bg-glyph {
    position: absolute;
    will-change: transform, opacity;
}

.bg-orb {
    border-radius: 999px;
    filter: blur(1px);
    opacity: 0.72;
}

.bg-orb--blue {
    width: min(42vw, 620px);
    height: min(42vw, 620px);
    left: -12vw;
    top: 8vh;
    background: radial-gradient(circle, rgba(47, 168, 188, 0.42) 0%, rgba(47, 168, 188, 0) 68%);
}

.bg-orb--red {
    width: min(38vw, 560px);
    height: min(38vw, 560px);
    right: -10vw;
    top: 22vh;
    background: radial-gradient(circle, rgba(244, 164, 84, 0.3) 0%, rgba(244, 164, 84, 0) 68%);
}

.bg-orb--violet {
    width: min(48vw, 760px);
    height: min(48vw, 760px);
    left: 26vw;
    bottom: -30vw;
    background: radial-gradient(circle, rgba(64, 145, 132, 0.24) 0%, rgba(64, 145, 132, 0) 67%);
}

.bg-glyph {
    display: grid;
    place-items: center;
    width: clamp(3.3rem, 3.4vw, 4.8rem);
    height: clamp(3.3rem, 3.4vw, 4.8rem);
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: rgba(219, 241, 246, 0.4);
    box-shadow: none;
    filter: drop-shadow(0 10px 26px rgba(47, 133, 148, 0.2));
    animation: bgGlyphFloat 10s ease-in-out infinite;
}

.bg-glyph::before {
    content: "";
    position: absolute;
    inset: 9%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(55, 170, 190, 0.18), rgba(55, 170, 190, 0));
    opacity: 0.6;
}

.bg-glyph i {
    position: relative;
    z-index: 1;
    font-size: clamp(1.28rem, 1.45vw, 1.95rem);
}

.bg-glyph--key {
    top: 18vh;
    left: 7vw;
    animation-delay: -1.3s;
}

.bg-glyph--lock {
    top: 32vh;
    right: 9vw;
    animation-delay: -2.7s;
}

.bg-glyph--puzzle {
    top: 58vh;
    left: 12vw;
    animation-delay: -4.1s;
}

.bg-glyph--clock {
    top: 72vh;
    right: 16vw;
    animation-delay: -5.4s;
}

.bg-glyph--door {
    top: 46vh;
    right: 34vw;
    animation-delay: -3.2s;
}

@keyframes bgGlyphFloat {
    0%, 100% {
        transform: translateY(0) rotate(-9deg);
        opacity: 0.34;
    }
    50% {
        transform: translateY(-12px) rotate(-5deg);
        opacity: 0.58;
    }
}

main,
footer,
header {
    position: relative;
    z-index: auto;
}

@media (max-width: 768px) {
    .bg-glyph {
        opacity: 0.3;
    }

    .bg-glyph--door,
    .bg-glyph--clock {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-glyph {
        animation: none !important;
    }
}

/* Room card info system */
.room-card .card-title {
    margin-bottom: 0.5rem;
}

.room-difficulty-wrap {
    display: flex;
    align-items: center;
}

.room-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-height: 1.9rem;
}

.difficulty-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    border-radius: 999px;
    padding: 0.18rem 0.62rem;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.difficulty-pill i {
    font-size: 0.8rem;
}

.difficulty-pill-easy {
    background: rgba(24, 114, 84, 0.42);
    border-color: rgba(84, 184, 151, 0.5);
    color: #baf7e2;
}

.difficulty-pill-medium {
    background: rgba(115, 101, 24, 0.42);
    border-color: rgba(201, 176, 63, 0.52);
    color: #ffeeb3;
}

.difficulty-pill-hard {
    background: rgba(118, 38, 74, 0.42);
    border-color: rgba(203, 93, 136, 0.52);
    color: #ffd2e3;
}

.room-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.18rem 0.58rem;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(132, 163, 229, 0.4);
    background: rgba(33, 59, 109, 0.44);
    color: #e9f1ff;
}

.room-chip i {
    font-size: 0.76rem;
}

.room-chip-vr {
    background: rgba(48, 87, 172, 0.46);
    border-color: rgba(120, 168, 255, 0.5);
}

.room-chip-featured {
    background: rgba(122, 96, 24, 0.42);
    border-color: rgba(205, 172, 68, 0.5);
    color: #ffefbb;
}

.room-meta-list {
    display: grid;
    gap: 0.36rem;
}

.room-meta-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.2;
    color: #dbe7ff;
}

.room-meta-list li i {
    color: #9dbdff;
    font-size: 0.94rem;
    width: 1.05rem;
    text-align: center;
    flex: 0 0 1.05rem;
}

.room-meta-list .room-price-line {
    color: #f2f7ff;
    font-weight: 600;
}

.room-address-line {
    margin-bottom: 0;
    color: var(--text-muted) !important;
    line-height: 1.35;
}

.room-address-line i {
    color: #8fb4ff;
}

.room-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.room-tag-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(129, 162, 228, 0.4);
    background: rgba(16, 34, 70, 0.62);
    color: #dce9ff;
    border-radius: 999px;
    padding: 0.16rem 0.56rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Schedule Generator page */
.schedule-generator-page .schedule-gen-card,
.schedule-generator-page .schedule-existing-card {
    border: 1px solid rgba(123, 151, 210, 0.32);
    background: linear-gradient(180deg, rgba(16, 30, 56, 0.92), rgba(11, 22, 43, 0.9));
    box-shadow: var(--shadow-soft);
}

.schedule-generator-page .card-header {
    background: linear-gradient(180deg, rgba(32, 53, 93, 0.92), rgba(20, 35, 63, 0.92));
    border-bottom: 1px solid rgba(123, 151, 210, 0.3);
}

.schedule-generator-page .card-header h3 i,
.schedule-generator-page .card-header h4 i {
    color: #8db5ff;
}

.schedule-generator-page .schedule-template-wrap {
    border: 1px solid rgba(123, 151, 210, 0.28);
    border-radius: 0.75rem;
    background: rgba(9, 19, 41, 0.72);
    box-shadow: inset 0 1px 0 rgba(159, 185, 235, 0.08);
}

.schedule-generator-page .schedule-bulk-edit {
    border: 1px solid rgba(123, 151, 210, 0.26);
    border-radius: 0.75rem;
    background: linear-gradient(180deg, rgba(15, 28, 53, 0.8), rgba(11, 22, 43, 0.82));
    padding: 0.95rem 1rem;
}

.schedule-generator-page .schedule-bulk-edit h6 i {
    color: #8db5ff;
}

.schedule-generator-page .schedule-template-table,
.schedule-generator-page .schedule-existing-table {
    margin-bottom: 0;
    --bs-table-bg: transparent;
    --bs-table-color: #eaf2ff;
    --bs-table-border-color: rgba(123, 151, 210, 0.22);
    --bs-table-striped-bg: rgba(23, 42, 78, 0.44);
    --bs-table-hover-bg: rgba(35, 62, 113, 0.4);
}

.schedule-generator-page .schedule-template-table thead th,
.schedule-generator-page .schedule-existing-table thead th {
    background: rgba(25, 44, 80, 0.82);
    color: #eaf2ff;
    border-bottom-color: rgba(146, 174, 232, 0.38);
    white-space: nowrap;
}

.schedule-generator-page .schedule-template-table input[type="number"] {
    min-width: 90px;
}

.schedule-generator-page .schedule-template-table .remove-row {
    min-width: 38px;
}

.schedule-generator-page .schedule-template-table .duplicate-row {
    min-width: 38px;
}

.schedule-generator-page .schedule-template-table .slot-time-input:invalid {
    border-color: rgba(248, 113, 113, 0.75);
    box-shadow: 0 0 0 0.12rem rgba(248, 113, 113, 0.2);
}

.schedule-generator-page .schedule-existing-table tbody tr {
    color: #e8f0ff;
}

.schedule-generator-page .schedule-existing-table tbody tr td,
.schedule-generator-page .schedule-existing-table thead th {
    color: #e8f0ff !important;
}

.schedule-generator-page .schedule-existing-table tbody tr td {
    border-color: rgba(123, 151, 210, 0.2);
}

.schedule-generator-page .schedule-status-badge,
.schedule-generator-page .schedule-color-badge {
    border-radius: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    padding: 0.34rem 0.62rem;
}

.schedule-generator-page .schedule-status-booked {
    background: rgba(231, 76, 105, 0.2);
    border-color: rgba(241, 117, 140, 0.45);
    color: #ffdbe2;
}

.schedule-generator-page .schedule-status-available {
    background: rgba(37, 179, 131, 0.2);
    border-color: rgba(91, 210, 168, 0.44);
    color: #d8ffee;
}

.schedule-generator-page .schedule-color-badge {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.schedule-generator-page input[type="date"] {
    color-scheme: dark;
}

.schedule-generator-page input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(90%) sepia(14%) saturate(469%) hue-rotate(180deg) brightness(96%) contrast(93%);
    opacity: 0.9;
    cursor: pointer;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.schedule-generator-page input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.06);
}

.schedule-generator-page input[type="date"]:disabled::-webkit-calendar-picker-indicator {
    opacity: 0.45;
    cursor: not-allowed;
}

.schedule-generator-page .btn-lg {
    min-width: 220px;
}

.schedule-generator-page .btn-lg:disabled {
    opacity: 0.78;
    cursor: not-allowed;
}

.schedule-generator-page .alert {
    border-radius: 0.65rem;
}

@media (max-width: 767.98px) {
    .schedule-generator-page .btn-lg {
        width: 100%;
        min-width: 0;
    }
}

/* Themed Toastr notifications */
#toast-container {
    z-index: 2000;
}

#toast-container.toast-top-right {
    top: 84px;
    right: 14px;
}

#toast-container > div {
    width: min(360px, calc(100vw - 24px));
    padding: 12px 14px 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(123, 151, 210, 0.35);
    background: linear-gradient(180deg, rgba(14, 28, 54, 0.96), rgba(10, 21, 43, 0.95));
    box-shadow: 0 18px 42px rgba(2, 9, 24, 0.48);
    color: #e9f2ff;
    opacity: 1;
    backdrop-filter: blur(6px);
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-size: 0 0 !important;
}

#toast-container > .toast-success {
    border-left: 3px solid #31c48d;
    background-image: none !important;
}

#toast-container > .toast-error {
    border-left: 3px solid #f87171;
    background-image: none !important;
    border-color: rgba(248, 113, 113, 0.55);
    box-shadow: 0 20px 44px rgba(120, 17, 17, 0.36);
}

#toast-container > .toast-warning {
    border-left: 3px solid #fbbf24;
    background-image: none !important;
}

#toast-container > .toast-info {
    border-left: 3px solid #60a5fa;
    background-image: none !important;
}

#toast-container .toast-title {
    font-weight: 700;
    color: #f4f8ff;
    letter-spacing: 0.01em;
}

#toast-container .toast-message {
    color: #d7e6ff;
}

#toast-container > .toast-error .toast-title {
    color: #ffe7e7;
    font-size: 1.02rem;
}

#toast-container > .toast-error .toast-message {
    color: #ffeaea;
    font-size: 0.98rem;
    line-height: 1.45;
}

#toast-container.toast-top-center > div.toast-error {
    width: min(560px, calc(100vw - 24px));
}

#toast-container .toast-close-button {
    color: #c8dcff;
    opacity: 0.8;
    text-shadow: none;
}

#toast-container .toast-close-button:hover {
    color: #ffffff;
    opacity: 1;
}

#toast-container .toast-progress {
    height: 3px;
    opacity: 1;
    background: linear-gradient(90deg, rgba(96, 165, 250, 1), rgba(59, 130, 246, 0.85));
}

@media (max-width: 767.98px) {
    #toast-container.toast-top-right {
        top: 76px;
        right: 8px;
    }

    #toast-container > div {
        padding: 10px 12px 10px 12px;
        border-radius: 10px;
    }
}

/* Contact page */
.contact-info i {
    color: var(--brand-accent);
    width: 20px;
    text-align: center;
}

.contact-map iframe {
    border-radius: var(--radius-md);
    border: 1px solid rgba(123, 166, 178, 0.3);
}

/* Booking form page */
.booking-form-page .payment-options {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid rgba(123, 166, 178, 0.34);
    border-radius: var(--radius-lg);
    background: rgba(14, 31, 37, 0.68);
}

.booking-form-page .payment-method-selection {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.booking-form-page .payment-method-option {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(123, 166, 178, 0.38);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    background: rgba(12, 27, 33, 0.75);
}

.booking-form-page .payment-method-option:hover,
.booking-form-page .payment-method-option.selected {
    border-color: rgba(147, 216, 227, 0.72);
    background: rgba(24, 55, 63, 0.72);
    box-shadow: 0 8px 18px rgba(20, 91, 102, 0.22);
}

.booking-form-page .payment-method-option label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-form-page .stripe-form {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(123, 166, 178, 0.32);
    border-radius: var(--radius-lg);
    background: rgba(10, 23, 29, 0.72);
}

.booking-form-page #card-element {
    padding: 12px;
    border: 1px solid rgba(123, 166, 178, 0.38);
    border-radius: var(--radius-sm);
    background: rgba(9, 21, 27, 0.9);
}

.booking-form-page #card-errors {
    color: #fca5a5;
    font-size: 14px;
    margin-top: 0.5rem;
}

.booking-form-page .stripe-icon,
.booking-form-page .cash-icon {
    width: 40px;
    height: 25px;
}

/* Admin partner balances */
.admin-partner-balances .balance-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.admin-partner-balances .balance-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(147, 216, 227, 0.52);
}

.admin-partner-balances .transaction-item {
    transition: background-color 0.2s ease;
}

.admin-partner-balances .transaction-item:hover {
    background-color: rgba(24, 55, 63, 0.26);
}

.admin-partner-balances .list-group-flush > .list-group-item {
    background: rgba(10, 23, 29, 0.9) !important;
    border-color: rgba(123, 166, 178, 0.24) !important;
    color: #deeff2 !important;
}

.admin-partner-balances .list-group-flush > .list-group-item h6 {
    color: #f1fbfc;
}

.admin-partner-balances .list-group-flush > .list-group-item p {
    color: #b7d4da;
}

.admin-partner-balances .list-group-flush > .list-group-item small {
    color: #8fb2ba !important;
}

.admin-partner-balances .partner-owes {
    color: #ff909f;
}

.admin-partner-balances .platform-owes {
    color: #9cf0cd;
}

/* Partner page */
.partner-page {
    color: var(--text-primary);
}

.partner-page .display-4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.partner-page .lead {
    color: var(--text-muted);
}

.partner-page .card,
.partner-page .bg-dark {
    background: linear-gradient(180deg, rgba(17, 37, 44, 0.92), rgba(13, 29, 35, 0.92)) !important;
    border: 1px solid rgba(123, 166, 178, 0.26);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
}

.partner-page .card-header,
.partner-page .card-header.bg-dark {
    background: linear-gradient(180deg, rgba(21, 45, 52, 0.92), rgba(15, 33, 39, 0.92)) !important;
    border-bottom: 1px solid rgba(123, 166, 178, 0.24);
    color: var(--text-primary) !important;
}

.partner-page .nav-tabs {
    border-bottom-color: rgba(123, 166, 178, 0.35);
}

.partner-page .card-header-tabs .nav-link {
    color: #b8d1d8;
    border: 1px solid transparent;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.partner-page .card-header-tabs .nav-link:hover,
.partner-page .card-header-tabs .nav-link:focus {
    color: #edf7f8;
    border-color: rgba(123, 166, 178, 0.32);
    background: rgba(16, 37, 44, 0.55);
}

.partner-page .card-header-tabs .nav-link.active,
.partner-page .card-header-tabs .nav-item.show .nav-link {
    color: #f3fbfc;
    background: linear-gradient(180deg, rgba(31, 89, 99, 0.95), rgba(24, 67, 75, 0.95));
    border-color: rgba(123, 166, 178, 0.46);
    border-bottom-color: transparent;
}

.partner-page pre.code-example,
.partner-page #api-test-results pre {
    max-height: 360px;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.875em;
    border: 1px solid rgba(123, 166, 178, 0.3);
    background-color: rgba(10, 23, 29, 0.92);
    color: #d8eef2;
}

.partner-page .api-endpoint-card .card-header {
    font-family: var(--bs-font-monospace);
    font-size: 0.9em;
}

.partner-page .alert-warning pre.code-example {
    background-color: rgba(99, 83, 32, 0.55);
    border-color: rgba(208, 176, 75, 0.45);
    color: #fff2c4;
}

.partner-page .form-control-plaintext {
    color: var(--text-primary) !important;
}

.partner-page .integration-field,
.partner-page .edit-integration-field {
    display: none;
}

.partner-page .list-group-radio .list-group-item {
    background: rgba(16, 37, 44, 0.78);
    border: 1px solid rgba(123, 166, 178, 0.34);
    color: var(--text-primary);
    margin-bottom: 0.55rem;
    border-radius: var(--radius-md);
}

.partner-page .list-group-radio .form-check-input:checked ~ strong {
    color: var(--text-primary);
}

.partner-page .text-muted {
    color: var(--text-muted) !important;
}

.partner-page .text-primary {
    color: #7bd7e4 !important;
}

.partner-page hr {
    border-color: rgba(123, 166, 178, 0.26);
    opacity: 1;
}

.partner-page .alert {
    border: 1px solid rgba(123, 166, 178, 0.3);
}

.partner-page .alert-info {
    background: rgba(36, 95, 106, 0.48);
    color: #dff5f8;
}

.partner-page .alert-secondary {
    background: rgba(22, 41, 48, 0.72);
    color: #cfe7eb;
}

.partner-page .alert-warning {
    background: rgba(99, 83, 32, 0.52);
    color: #ffefbf;
}

.partner-page .alert-success {
    background: rgba(22, 84, 66, 0.5);
    color: #c5f6e2;
}

/* Partner dashboard */
.partner-dashboard-page .dashboard-panel {
    border: 1px solid rgba(119, 153, 222, 0.26);
    border-radius: 0.95rem;
    background: linear-gradient(160deg, rgba(18, 35, 69, 0.88), rgba(9, 19, 41, 0.9));
    box-shadow: 0 12px 30px rgba(1, 8, 22, 0.35);
    overflow: hidden;
}

.partner-dashboard-page .dashboard-panel .card-header {
    background: linear-gradient(90deg, rgba(15, 32, 63, 0.96), rgba(14, 45, 97, 0.84)) !important;
    border-bottom: 1px solid rgba(124, 157, 222, 0.26);
    color: #edf4ff !important;
}

.partner-dashboard-page .dashboard-panel .card-body {
    background: transparent !important;
    color: #e4eeff;
}

.partner-dashboard-page .dashboard-stat-card {
    background: linear-gradient(180deg, rgba(29, 52, 96, 0.78), rgba(20, 38, 75, 0.82)) !important;
    border: 1px solid rgba(126, 160, 224, 0.25);
    border-radius: 0.8rem;
    color: #edf4ff;
}

.partner-dashboard-page .dashboard-stat-card h2 {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.partner-dashboard-page .dashboard-balance-card.border-danger {
    border-color: rgba(240, 107, 124, 0.52) !important;
}

.partner-dashboard-page .dashboard-balance-card.border-primary,
.partner-dashboard-page .dashboard-balance-card.border-success {
    border-color: rgba(92, 161, 255, 0.5) !important;
}

.partner-dashboard-page .room-selector .form-select,
.partner-dashboard-page .input-group .form-control,
.partner-dashboard-page .input-group .input-group-text {
    background: rgba(9, 20, 42, 0.88) !important;
    border-color: rgba(123, 151, 210, 0.36) !important;
    color: #eaf1ff !important;
}

.partner-dashboard-page .btn-group .btn-outline-light {
    border-color: rgba(123, 151, 210, 0.42);
    color: #cdddff;
}

.partner-dashboard-page .btn-check:checked + .btn-outline-light,
.partner-dashboard-page .btn-group .btn-outline-light:hover {
    background: linear-gradient(180deg, rgba(56, 118, 232, 0.95), rgba(36, 87, 184, 0.95));
    border-color: rgba(120, 170, 255, 0.75);
    color: #ffffff;
}

.partner-dashboard-page .dashboard-ghost-btn {
    border-color: rgba(128, 163, 229, 0.52);
    color: #e7f0ff;
}

.partner-dashboard-page .dashboard-ghost-btn:hover {
    background: rgba(77, 130, 232, 0.28);
    border-color: rgba(141, 182, 255, 0.75);
    color: #ffffff;
}

.partner-dashboard-page .dashboard-chart-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    padding: 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(122, 154, 218, 0.32);
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(90, 70, 165, 0.18), transparent 60%),
        radial-gradient(80% 120% at 0% 100%, rgba(59, 130, 246, 0.18), transparent 60%),
        rgba(11, 23, 46, 0.85);
}

.partner-dashboard-page .dashboard-table {
    --bs-table-bg: transparent;
    --bs-table-color: #e8f1ff;
    --bs-table-border-color: rgba(123, 151, 210, 0.22);
    --bs-table-hover-bg: rgba(43, 74, 132, 0.34);
}

.partner-dashboard-page .dashboard-table thead th {
    background: rgba(19, 36, 69, 0.82);
    color: #e7f1ff;
}

.partner-dashboard-page .dashboard-table td,
.partner-dashboard-page .dashboard-table th {
    border-color: rgba(123, 151, 210, 0.2);
}

.partner-dashboard-page .badge.bg-warning {
    background: rgba(237, 172, 72, 0.2) !important;
    border: 1px solid rgba(237, 172, 72, 0.55);
    color: #ffdca2 !important;
}

.partner-dashboard-page .badge.bg-success {
    background: rgba(63, 192, 133, 0.18) !important;
    border: 1px solid rgba(63, 192, 133, 0.48);
    color: #a7f3d0 !important;
}

.partner-dashboard-page .badge.bg-danger {
    background: rgba(241, 106, 123, 0.18) !important;
    border: 1px solid rgba(241, 106, 123, 0.5);
    color: #fecdd3 !important;
}

.partner-dashboard-modal .modal-content {
    border: 1px solid rgba(127, 160, 223, 0.35);
    background: linear-gradient(165deg, rgba(18, 33, 63, 0.96), rgba(9, 18, 39, 0.98));
}

/* Partner sidebar menu item states */
.list-group-item.list-group-item-dark.list-group-item-action {
    background: rgba(12, 24, 48, 0.84) !important;
    border-color: rgba(123, 151, 210, 0.24) !important;
    color: #d7e5ff !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.list-group-item.list-group-item-dark.list-group-item-action:hover,
.list-group-item.list-group-item-dark.list-group-item-action:focus {
    background: rgba(27, 50, 95, 0.82) !important;
    border-color: rgba(139, 176, 248, 0.42) !important;
    color: #f1f6ff !important;
}

.list-group-item.list-group-item-dark.list-group-item-action.active,
.list-group-item.list-group-item-dark.list-group-item-action.active:hover,
.list-group-item.list-group-item-dark.list-group-item-action.active:focus {
    background: linear-gradient(90deg, rgba(48, 102, 205, 0.92), rgba(40, 83, 173, 0.92)) !important;
    border-color: rgba(150, 189, 255, 0.7) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(206, 224, 255, 0.12), 0 8px 20px rgba(14, 39, 87, 0.35);
}

.gift-cta-card {
    border: 1px solid rgba(123, 166, 178, 0.35);
    background:
        radial-gradient(120% 120% at 90% 10%, rgba(244, 164, 84, 0.18), transparent 60%),
        radial-gradient(120% 120% at 0% 100%, rgba(47, 168, 188, 0.22), transparent 60%),
        rgba(12, 28, 34, 0.88);
}

.booking-promo-link {
    text-decoration: underline dashed;
    text-underline-offset: 4px;
    color: #9fe4ee;
    font-weight: 500;
}

.booking-promo-link:hover {
    color: #d8f8fb;
}

.gift-certificate-card {
    border: 1px solid rgba(123, 166, 178, 0.35);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(244, 164, 84, 0.14), transparent 60%),
        radial-gradient(120% 120% at 0% 100%, rgba(47, 168, 188, 0.2), transparent 60%),
        rgba(10, 23, 29, 0.9);
}

.gift-certificate-section .form-control,
.gift-certificate-section .form-select,
.gift-certificate-section textarea.form-control {
    background: rgba(10, 23, 29, 0.9);
    border-color: rgba(123, 166, 178, 0.42);
    color: #edf7f8;
}

.gift-certificate-section .form-control::placeholder,
.gift-certificate-section textarea.form-control::placeholder {
    color: #87aab2;
}

.gift-certificate-section .form-control:focus,
.gift-certificate-section .form-select:focus,
.gift-certificate-section textarea.form-control:focus {
    background: rgba(12, 28, 34, 0.95);
    border-color: rgba(147, 216, 227, 0.72);
    box-shadow: 0 0 0 0.2rem rgba(47, 168, 188, 0.18);
    color: #ffffff;
}

.schedule-loading-overlay {
    z-index: 15;
}

.gift-amount-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gift-amount-btn {
    border-radius: 999px;
    border: 1px solid rgba(123, 166, 178, 0.32);
    background: rgba(9, 23, 29, 0.88);
    color: #deeff2;
    min-width: 88px;
    font-weight: 600;
}

.gift-amount-btn:hover {
    border-color: rgba(147, 216, 227, 0.6);
    color: #ffffff;
}

.gift-amount-btn.active {
    border-color: rgba(147, 216, 227, 0.75);
    background: linear-gradient(180deg, rgba(47, 168, 188, 0.95), rgba(31, 127, 144, 0.95));
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(20, 91, 102, 0.35);
}

.delivery-method-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.delivery-chip {
    position: relative;
    margin: 0;
}

.delivery-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-chip span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 166, 178, 0.32);
    background: rgba(9, 23, 29, 0.88);
    color: #deeff2;
    font-weight: 600;
    cursor: pointer;
}

.delivery-chip span:hover {
    border-color: rgba(147, 216, 227, 0.6);
    color: #ffffff;
}

.delivery-chip input:checked + span {
    border-color: rgba(147, 216, 227, 0.75);
    background: linear-gradient(180deg, rgba(47, 168, 188, 0.95), rgba(31, 127, 144, 0.95));
    color: #ffffff;
}

.city-news-page .section-title {
    margin-bottom: 0;
}

.city-news-filter {
    min-width: 280px;
}

.city-news-filter .form-select {
    min-width: 170px;
}

.city-news-card {
    border: 1px solid rgba(123, 166, 178, 0.35);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(244, 164, 84, 0.14), transparent 60%),
        radial-gradient(120% 120% at 0% 100%, rgba(47, 168, 188, 0.2), transparent 60%),
        rgba(10, 23, 29, 0.9);
    overflow: hidden;
}

.city-news-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(123, 166, 178, 0.3);
}

.city-news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #93bbc3;
}

.city-news-card__city {
    color: #deeff2;
    font-weight: 700;
}

.city-news-card__link {
    color: #f2fbfc;
    text-decoration: none;
}

.city-news-card__link:hover {
    color: #9fe4ee;
}

.city-news-empty {
    border: 1px dashed rgba(123, 166, 178, 0.45);
    background: rgba(10, 23, 29, 0.75);
}

.city-news-detail-card {
    border: 1px solid rgba(123, 166, 178, 0.35);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(244, 164, 84, 0.13), transparent 60%),
        radial-gradient(120% 120% at 0% 100%, rgba(47, 168, 188, 0.2), transparent 60%),
        rgba(10, 23, 29, 0.9);
}

.city-news-detail__hero {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-bottom: 1px solid rgba(123, 166, 178, 0.3);
}

.city-news-detail__content {
    line-height: 1.72;
    color: #dceef1;
}

.rooms-map-card {
    border: 1px solid rgba(123, 166, 178, 0.35);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(244, 164, 84, 0.12), transparent 60%),
        radial-gradient(120% 120% at 0% 100%, rgba(47, 168, 188, 0.18), transparent 60%),
        rgba(10, 23, 29, 0.88);
}

.rooms-map-canvas {
    width: 100%;
    height: 430px;
    border-radius: 0.55rem;
    border: 1px solid rgba(123, 166, 178, 0.34);
    overflow: hidden;
}

.rooms-map-count {
    font-size: 0.8rem;
    border: 1px solid rgba(123, 166, 178, 0.3);
    background: rgba(10, 24, 30, 0.85) !important;
}

.rooms-map-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5c8d0;
    font-weight: 600;
    background: rgba(9, 22, 27, 0.88);
}

@media (max-width: 767.98px) {
    .rooms-map-canvas {
        height: 330px;
    }
}
