/* ============================================
   HOTELS PAGE STYLES
   ============================================ */

/* Ensure box-sizing for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Custom scrollbar for entire page (WebKit browsers - Chrome, Safari, Edge) */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-primary, #0a0a0a);
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb {
    background: var(--gold-dark, #b8962e);
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--gold, #d4af37);
}

/* Custom scrollbar for Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark, #b8962e) var(--bg-primary, #0a0a0a);
}

/* Filter Form */
.filter-section {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-input,
.filter-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.filter-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.filter-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2rem;
    color: var(--bg-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

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

/* Hotel Card - Enhanced with hover border effect */
.hotel-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hotel-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* Selected state for hotel card */
.hotel-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.hotel-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

/* Hotel Image - Fixed to prevent stretching */
.hotel-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

/* Hotel Badge */
.hotel-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.hotel-badge.gold {
    background: linear-gradient(135deg, #d4af37 0%, #f5d77a 50%, #d4af37 100%);
    color: var(--bg-primary);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.hotel-badge.silver {
    background: linear-gradient(135deg, #8a8a8a 0%, #c0c0c0 50%, #8a8a8a 100%);
    color: var(--bg-primary);
    box-shadow: 0 2px 10px rgba(192, 192, 192, 0.4);
}

.hotel-badge.bronze {
    background: linear-gradient(135deg, #b87333 0%, #d4956a 50%, #b87333 100%);
    color: var(--bg-primary);
    box-shadow: 0 2px 10px rgba(184, 115, 51, 0.4);
}

/* Hotel Content */
.hotel-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotel-card:hover .hotel-name {
    color: var(--gold);
}

/* Hotel Meta Info */
.hotel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hotel-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hotel-meta-item i {
    color: var(--gold);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

/* Hotel Location */
.hotel-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.hotel-location i {
    color: var(--gold);
}

/* Hotel Distance */
.hotel-distance {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hotel-distance i {
    color: var(--gold);
}

/* Hotel Price */
.hotel-price-section {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hotel-price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hotel-price {
    text-align: right;
}

.hotel-price-thb {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
}

.hotel-price-usd {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   HOTEL DETAILS PAGE
   ============================================ */

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

/* Ensure left column doesn't overflow */
.hotel-details-container > .hotel-info-section {
    min-width: 0; /* Prevent grid blowout */
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Hotel Info Section */
.hotel-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hotel Gallery - Fixed to prevent image stretching */
.hotel-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 250px;
    max-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    flex-shrink: 0;
}

.hotel-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Fallback when image fails to load */
.hotel-gallery-image[src=""],
.hotel-gallery-image:not([src]) {
    visibility: hidden;
}

.gallery-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.hotel-title {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hotel-address {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.hotel-address i {
    color: var(--gold);
    margin-top: 0.2rem;
}

/* Hotel description - improved readability with lighter text color */
.hotel-description {
    font-size: 0.95rem;
    color: #e0e0e0; /* Lighter color for better readability on dark background */
    line-height: 1.8;
}

.hotel-description p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* Facilities Section */
.facilities-section {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.facilities-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.facility-item i {
    color: var(--gold);
    width: 18px;
}

.view-more-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Rooms Section */
.rooms-section {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.rooms-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.room-list {
    padding: 0;
}

/* Room Card */
.room-card {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.room-card:last-child {
    border-bottom: none;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.room-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.room-capacity {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.quantity-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover:not(:disabled) {
    background: var(--gold);
    color: var(--bg-primary);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}

/* Room Details */
.room-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.room-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.room-detail-item i {
    color: var(--gold);
    width: 18px;
}

/* Room Amenities */
.room-amenities {
    margin-bottom: 1rem;
}

.room-amenities-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.room-amenities-list {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.room-amenities-link {
    color: var(--gold);
    cursor: pointer;
    margin-left: 0.5rem;
}

.room-amenities-link:hover {
    text-decoration: underline;
}

/* Room Price */
.room-price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.room-price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.room-price {
    text-align: right;
}

.room-price-thb {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.room-price-usd {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.room-price-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   FIXED NAVIGATION BUTTONS - FIXED PROPERLY
   ============================================ */
.nav-buttons-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.nav-buttons-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn {
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important; /* Remove underline */
}

.nav-btn.back {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none !important; /* Explicitly remove underline */
}

.nav-btn.back:hover {
    border-color: var(--gold);
    color: var(--gold);
    text-decoration: none !important;
}

.nav-btn.back:visited,
.nav-btn.back:active,
.nav-btn.back:focus {
    text-decoration: none !important;
    outline: none;
}

.nav-btn.next {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    color: var(--bg-primary);
}

.nav-btn.next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.nav-btn.next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Page Title */
.page-title-section {
    margin-bottom: 1.5rem;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

.empty-state h3 {
    font-family: 'Cinzel', serif;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Date Selection Prompt */
.date-selection-prompt {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.date-selection-prompt i {
    color: var(--gold);
}

.date-selection-prompt h3 {
    color: var(--gold);
}

/* Error State */
.error-state {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--error);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .hotel-details-container {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .hotel-gallery {
        height: 250px;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .room-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quantity-selector {
        align-items: flex-start;
    }
    
    /* Fixed navigation responsive */
    .nav-buttons-fixed {
        padding: 1rem;
    }
    
    .nav-buttons-container {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    .nav-right-section {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-total-display {
        text-align: center;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Progress indicator responsive */
    .progress-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .progress-line {
        width: 15px;
    }
    
    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Mobile form fixes - prevent overflow */
    .filter-section {
        padding: 1rem 0.75rem;
        margin: 0 0 1.5rem 0;
        border-radius: 12px;
    }
    
    .filter-form {
        gap: 1rem;
    }
    
    .filter-group {
        min-width: 0;
        width: 100%;
    }
    
    .filter-input,
    .filter-select {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .date-input-wrapper .filter-input {
        padding-right: 36px;
    }
    
    .date-input-wrapper .calendar-icon {
        right: 10px;
        font-size: 0.9rem;
    }
    
    .filter-label {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    /* Extra small screens */
    .filter-section {
        padding: 0.875rem 0.625rem;
        margin: 0 0 1.25rem 0;
    }
    
    .filter-form {
        gap: 0.875rem;
    }
    
    .filter-input,
    .filter-select {
        padding: 0.625rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .date-input-wrapper .filter-input {
        padding-right: 32px;
    }
    
    .date-input-wrapper .calendar-icon {
        right: 8px;
        font-size: 0.85rem;
    }
    
    .filter-label {
        font-size: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   INFINITE SCROLL STYLES
   ============================================ */

/* Loading Indicator - Centered */
.infinite-scroll-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    margin: 2rem auto;
    width: 100%;
    text-align: center;
}

.scroll-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: scrollSpin 1s linear infinite;
}

@keyframes scrollSpin {
    to {
        transform: rotate(360deg);
    }
}

.scroll-loading-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* All Hotels Loaded Message - Centered */
.all-hotels-loaded {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    margin: 2rem auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 100%;
}

.all-hotels-loaded.show {
    display: flex;
}

.all-hotels-loaded i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.all-hotels-loaded span {
    color: var(--text-muted);
}



/* ============================================
   IMAGE GALLERY MODAL STYLES
   ============================================ */

/* Gallery Button on Hotel Image */
.gallery-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.75);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.02);
}

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

/* Gallery Modal Overlay */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.show {
    display: flex;
    opacity: 1;
}

/* Gallery Close Button */
.gallery-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10001;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Gallery Main Content */
.gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    box-sizing: border-box;
}

/* Gallery Main Image Container */
.gallery-main-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-height: calc(100vh - 200px);
}

/* Gallery Main Image */
.gallery-main-image {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10001;
}

.gallery-nav:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 0;
    overflow-x: auto;
    max-width: 90%;
    justify-content: center;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(255, 255, 255, 0.1);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.gallery-thumbnail {
    width: 100px;
    height: 70px;
    min-width: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnail:hover {
    opacity: 0.8;
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Gallery Image Counter */
.gallery-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10001;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-content {
        padding: 60px 20px;
    }
    
    .gallery-nav {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .gallery-nav.prev {
        left: 0.5rem;
    }
    
    .gallery-nav.next {
        right: 0.5rem;
    }
    
    .gallery-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .gallery-thumbnails {
        max-width: 100%;
        padding: 1rem;
    }
    
    .gallery-thumbnail {
        width: 70px;
        height: 50px;
        min-width: 70px;
    }
    
    .gallery-main-image {
        max-width: 95%;
        max-height: 60vh;
    }
}

:root {
	--bg-primary: #1a1a2e;
	--bg-secondary: #16213e;
	--bg-card: #0f0f23;
	--gold: #d4af37;
	--gold-light: #e8c547;
	--gold-dark: #b8962e;
	--text-primary: #ffffff;
	--text-secondary: #b0b0b0;
	--border-color: rgba(212, 175, 55, 0.3);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	min-height: 100vh;
}

.payment-return-page {
	min-height: 100vh;
	padding: 2rem;
	background: var(--bg-primary);
}
.return-container {
	max-width: 800px;
	margin: 0 auto;
}
.return-header {
	text-align: center;
	margin-bottom: 2rem;
}
.return-header img {
	height: 60px;
	margin-bottom: 1rem;
}
.status-card {
	background: var(--bg-card);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	margin-bottom: 2rem;
}
.status-icon {
	font-size: 4rem;
	margin-bottom: 1rem;
}
.status-icon.success { color: #4CAF50; }
.status-icon.pending { color: #FFA726; }
.status-icon.failed { color: #EF5350; }
.status-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}
.status-subtitle {
	color: var(--text-secondary);
}
.booking-details {
	background: var(--bg-card);
	border-radius: 16px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}
.detail-section {
	margin-bottom: 1.5rem;
}
.detail-section:last-child {
	margin-bottom: 0;
}
.detail-title {
	font-weight: 600;
	color: var(--gold);
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.detail-row {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.detail-row:last-child {
	border-bottom: none;
}
.detail-label {
	color: var(--text-secondary);
}
.detail-value {
	font-weight: 500;
}
.guest-item {
	background: rgba(255,255,255,0.05);
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 0.5rem;
}
.guest-name {
	font-weight: 600;
}
.guest-pass {
	font-size: 0.9rem;
	color: var(--text-secondary);
}
.total-row {
	font-size: 1.25rem;
	padding-top: 1rem;
	border-top: 2px solid var(--gold);
	margin-top: 1rem;
}
.total-amount {
	color: var(--gold);
	font-weight: 700;
}
.action-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}
.btn-action {
	padding: 0.75rem 2rem;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
}
.btn-primary {
	background: linear-gradient(135deg, var(--gold), var(--gold-dark));
	color: #000;
}
.btn-secondary {
	background: rgba(255,255,255,0.1);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.2);
}
.btn-action:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.pending-note {
	background: rgba(255, 167, 38, 0.1);
	border: 1px solid rgba(255, 167, 38, 0.3);
	border-radius: 8px;
	padding: 1rem;
	margin-top: 1rem;
	text-align: center;
}
.pending-note i {
	color: #FFA726;
	margin-right: 0.5rem;
}
.site-header {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 0;
	margin-bottom: 30px;
}
.site-header img {
	height: 64px;
	margin-right: 15px;
}
.site-header h1 {
	font-family: 'Cinzel', serif;
	font-size: 32px;
	font-weight: 800;
	color: #d4af37;
	margin: 0;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.loading-animation {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0 10px 0;
}
.booking-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.booking-status.status-pending { color: #FFA726; }
.booking-status.status-confirmed { color: #4CAF50; }
.booking-status.status-failed { color: #EF5350; }
@media (max-width: 768px) {
	.site-header h1 {
		font-size: 20px !important;
		letter-spacing: 1px;
	}
	.site-header img {
		height: 48px !important;
		margin-right: 10px;
	}
}
.guest-item .guest-name {
    padding-bottom: 0.5em;
}