/* ---------------------------------------------------------------------------------------------- */
/*                                   Hotel Listings Page Styles                                   */
/* ---------------------------------------------------------------------------------------------- */

.hotel-archive-main-wrapper {
    padding: 60px 0;
    background: #f8f9fa;
}

.hotel-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.hotel-archive-header .green-text {
    color: #28a745;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.hotel-archive-header h1 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: #333;
}

.hotel-archive-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Sidebar Styles */
.hotel-filters-sidebar {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
    max-height: 85vh;
    overflow-y: auto;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
}

.filters-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.4rem;
}

.clear-filters-btn {
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: #dc3545;
    color: white;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.filter-group h4 i {
    margin-right: 8px;
    color: #28a745;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #28a745;
}

.date-inputs .input-group {
    margin-bottom: 15px;
}

.date-inputs label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 13px;
    width: 100%;
}

/* Guests Selector */
.guests-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guest-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-input label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: #28a745;
    color: white;
}

.quantity-controls input {
    border: none;
    width: 40px;
    text-align: center;
    font-weight: 500;
    background: white;
}

/* Star Rating Filters */
.star-rating-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: #f8f9fa;
    border-radius: 5px;
    padding-left: 5px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input[type="radio"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: #28a745;
    border-color: #28a745;
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: -2px;
    left: 2px;
}

.checkbox-label input[type="radio"]:checked+.checkmark {
    background: #28a745;
    border-color: #28a745;
}

.checkbox-label input[type="radio"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: -2px;
    left: 2px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
}

/* Price Range Slider */
.price-range-slider {
    position: relative;
}

.range-slider {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    margin: 10px 0;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
    border: none;
}

.price-display {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #333;
}

/* Apply Filters Button */
.apply-filters-btn {
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.apply-filters-btn i {
    margin-right: 8px;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.results-info {
    font-weight: 500;
    color: #555;
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    color: #333;
    cursor: pointer;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hotel Results Grid */
.hotel-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.hotel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hotel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.hotel-info {
    padding: 20px;
}

.hotel-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.hotel-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.hotel-location i {
    margin-right: 5px;
    color: #28a745;
}

.hotel-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #ffc107;
    margin-right: 10px;
}

.rating-text {
    font-size: 13px;
    color: #666;
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background: #f8f9fa;
    color: #555;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    border: 1px solid #e9ecef;
}

.hotel-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #28a745;
}

.price-period {
    font-size: 12px;
    color: #666;
}

.book-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* No Results */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.no-results-content i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-content h3 {
    color: #333;
    margin-bottom: 10px;
}

.no-results-content p {
    color: #666;
    margin-bottom: 20px;
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-nav .pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.pagination .page-item .page-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #28a745;
    text-decoration: none;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.pagination .page-item .page-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: white;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination-info {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    padding: 15px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 8px 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* Gallery Grid Cursor */
.gallery-image {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------------------------------------------------------------------------------------------- */
/*                             Additional CSS For Hotel Details Modal                             */
/* ---------------------------------------------------------------------------------------------- */

.hotel-detail-container {
    max-height: 70vh;
    overflow-y: auto;
}

.hotel-detail-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.hotel-detail-image {
    flex: 0 0 200px;
}

.hotel-detail-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.hotel-detail-info h2 {
    margin: 0 0 10px 0;
    color: #333;
}

.hotel-detail-info .hotel-rating {
    margin-bottom: 10px;
}

.hotel-detail-info .hotel-location {
    color: #666;
    margin-bottom: 8px;
}

.hotel-address {
    color: #555;
    font-size: 14px;
}

.hotel-description,
.hotel-facilities,
.hotel-gallery,
.hotel-map {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.hotel-description h4,
.hotel-facilities h4,
.hotel-gallery h4,
.hotel-map h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.facilities-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.facilities-list li {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.facilities-list li i {
    color: #28a745;
    margin-right: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.gallery-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* ---------------------------------------------------------------------------------------------- */
/*                                     Booking Related Styles                                     */
/* ---------------------------------------------------------------------------------------------- */

/* Booking Modal Styles */
.modal-xl {
    max-width: 1000px;
}

.booking-form-container {
    padding: 20px 0;
}

.booking-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hotel-info-summary h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.booking-dates {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.booking-dates span {
    font-size: 14px;
    color: #666;
}

.price-summary {
    text-align: right;
}

.base-price {
    color: #666;
    font-size: 14px;
}

.total-price {
    font-size: 24px;
    font-weight: bold;
    color: #27ae60;
    margin-top: 5px;
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h5 {
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-option {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
}

.room-option.selected {
    border-color: #27ae60;
    background: #f8fff8;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.room-price {
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
}

.boarding-options,
.view-options {
    margin-top: 15px;
}

.boarding-options h6,
.view-options h6 {
    margin-bottom: 10px;
    color: #555;
}

.radio-option,
.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.radio-option:hover,
.checkbox-label:hover {
    background: #f5f5f5;
}

.radio-option input[type="radio"],
.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.option-price {
    color: #27ae60;
    font-weight: 500;
    margin-left: auto;
}

.guests-forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.guest-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.guest-form h6 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 120px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.1);
}

.form-group input.error {
    border-color: #e74c3c;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-options .radio-option {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

.payment-options .radio-option:hover {
    background: #f0f0f0;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.btn-secondary,
.btn-primary,
.btn-success {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #219a52;
}

.booking-loading {
    text-align: center;
    padding: 40px 20px;
}

.booking-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #27ae60;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.booking-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.booking-confirmation {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.booking-confirmation h3 {
    color: #27ae60;
    margin-bottom: 20px;
}

.next-steps {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.next-steps ul {
    margin: 10px 0 0 20px;
}

.next-steps li {
    margin-bottom: 8px;
}

.view-details-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.view-details-btn:hover {
    background: #218838;
}

.hotel-detail-actions {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.book-now-detail-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-now-detail-btn:hover {
    background: #0056b3;
}

/* Room and Boarding Selection Styles */
.room-boarding-options {
    margin-bottom: 20px;
}

.boarding-option-group {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.boarding-title {
    background: #f8f9fa;
    padding: 12px 15px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #333;
}

.pax-option {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.pax-option:last-child {
    border-bottom: none;
}

.pax-info {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-option {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.room-option:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.room-option.unavailable {
    opacity: 0.6;
    background: #f8f9fa;
}

.room-radio {
    width: 100%;
    margin: 0;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.room-radio input[type="radio"] {
    margin-right: 12px;
    margin-top: 2px;
}

.room-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.room-info {
    flex: 1;
}

.room-info strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.room-description {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
}

.room-availability {
    margin: 8px 0;
}

.available-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.unavailable-badge {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.cancellation-info {
    margin-top: 5px;
}

.cancellation-info small {
    color: #6c757d;
    font-size: 12px;
}

.room-price {
    text-align: right;
    min-width: 120px;
    margin-left: 15px;
}

.room-price .price-amount {
    font-size: 18px;
    font-weight: 600;
    color: #007bff;
}

.room-price .base-price {
    color: #6c757d;
    text-decoration: line-through;
}

/* Selected room styling */
.room-radio input[type="radio"]:checked+.room-details {
    background: rgba(0, 123, 255, 0.05);
    border-radius: 4px;
    margin: -5px;
    padding: 5px;
}

/* Booking Success Styles */
.booking-success {
    background: #f8f9fa;
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.success-header {
    text-align: center;
    margin-bottom: 20px;
}

.success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 10px;
}

.booking-details {
    margin-bottom: 20px;
}

.booking-summary-confirmed {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.total-row {
    border-top: 2px solid #007bff;
    margin-top: 10px;
    padding-top: 12px;
    font-size: 16px;
}

.total-price {
    color: #007bff;
    font-size: 18px;
}

.cancellation-policy-preview,
.booking-remarks {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.policy-list li {
    padding: 5px 0;
    font-size: 14px;
    color: #666;
}

.remark {
    font-size: 14px;
    color: #856404;
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
    margin: 8px 0;
}

.confirmation-text {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 15px 0;
}

/* Booking Confirmation Styles */
.booking-confirmation {
    text-align: center;
    padding: 20px;
}

.confirmation-header {
    margin-bottom: 30px;
}

.success-icon-large {
    font-size: 72px;
    color: #28a745;
    margin-bottom: 15px;
}

.confirmation-subtitle {
    color: #6c757d;
    font-size: 16px;
}

.booking-reference {
    margin-bottom: 30px;
}

.reference-box {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 20px;
    display: inline-block;
}

.reference-number {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    color: #1976d2;
    margin: 10px 0;
    letter-spacing: 2px;
}

.booking-details-confirmed {
    text-align: left;
    margin-bottom: 30px;
}

.detail-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.detail-section h5 {
    color: #495057;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

/* Guest Account Section Styles */
.guest-account-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.guest-login-notice {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.guest-login-notice p {
    margin: 0;
    color: #1565c0;
    font-size: 14px;
}

.guest-login-notice i {
    margin-right: 8px;
}

.logged-in-user {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    padding: 15px;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 500;
}

.logged-in-user i {
    margin-right: 10px;
    font-size: 18px;
}

.form-group-full {
    width: 100%;
}

.form-help {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.email-status {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
}

.email-status .status-success {
    color: #2e7d32;
    background: #e8f5e9;
    display: block;
    padding: 10px;
    border-radius: 4px;
}

.email-status .status-info {
    color: #1565c0;
    background: #e3f2fd;
    display: block;
    padding: 10px;
    border-radius: 4px;
}

.email-status .status-error {
    color: #c62828;
    background: #ffebee;
    display: block;
    padding: 10px;
    border-radius: 4px;
}

.required {
    color: #c62828;
}

#customer_email.error {
    border-color: #c62828;
    background-color: #fff5f5;
}

.detail-item span {
    color: #333;
    font-size: 15px;
}

.payment-summary {
    background: white;
    border-radius: 6px;
    padding: 15px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.payment-row:last-child {
    border-bottom: none;
}

.cancellation-details {
    background: white;
    border-radius: 6px;
    padding: 15px;
}

.policy-item {
    margin-bottom: 10px;
    padding: 10px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.policy-item strong {
    display: block;
    margin-bottom: 5px;
    color: #856404;
}

.remarks-list {
    background: white;
    border-radius: 6px;
    padding: 15px;
}

.remark-item {
    padding: 12px;
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    border-radius: 4px;
    margin-bottom: 10px;
    color: #0c5460;
}

.remark-item:last-child {
    margin-bottom: 0;
}

.next-steps {
    background: #e8f5e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.next-steps h4 {
    color: #155724;
    margin-bottom: 15px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #155724;
}

.step-item i {
    font-size: 20px;
    margin-top: 2px;
    color: #28a745;
    min-width: 20px;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Print styles */
@media print {
    .confirmation-actions {
        display: none;
    }

    .booking-confirmation {
        color: black !important;
        background: white !important;
    }

    .detail-section {
        background: #f9f9f9 !important;
    }
}

/* Button Loader Styles */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: btn-spinner 0.6s linear infinite;
}

@keyframes btn-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Specific styles for different button types */
.book-btn.btn-loading::after,
.book-now-detail-btn.btn-loading::after {
    border-color: #ffffff;
    border-top-color: transparent;
}

.btn-primary.btn-loading::after {
    border-color: #ffffff;
    border-top-color: transparent;
}

.btn-success.btn-loading::after {
    border-color: #ffffff;
    border-top-color: transparent;
}

/* ---------------------------------------------------------------------------------------------- */
/*                                         Responsiveness                                         */
/* ---------------------------------------------------------------------------------------------- */

/* Modal responsive adjustments */
@media (max-width: 768px) {
    .hotel-detail-header {
        flex-direction: column;
    }

    .hotel-detail-image {
        flex: none;
    }

    .facilities-list {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pagination-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-nav .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hotel-archive-header h1 {
        font-size: 2rem;
    }

    .results-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hotel-results-grid {
        grid-template-columns: 1fr;
    }

    .hotel-filters-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 20px;
    }

    .guests-selector {
        flex-direction: column;
    }

    .guest-input {
        justify-content: space-between;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .lightbox-nav {
        font-size: 24px;
        padding: 8px 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .modal-xl {
        max-width: 95%;
        margin: 10px auto;
    }

    .booking-summary {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .booking-dates {
        justify-content: center;
    }

    .guests-forms {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .room-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .room-details {
        flex-direction: column;
        gap: 10px;
    }

    .room-price {
        text-align: left;
        margin-left: 0;
        min-width: auto;
    }

    .boarding-title {
        font-size: 14px;
        padding: 10px 12px;
    }

    .room-radio {
        padding: 12px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .confirmation-actions {
        flex-direction: column;
        align-items: center;
    }

    .confirmation-actions button {
        width: 100%;
        max-width: 250px;
    }

    .reference-number {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .payment-row,
    .summary-row {
        flex-direction: column;
        gap: 5px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hotel-archive-main-wrapper {
        padding: 30px 0;
    }

    .hotel-filters-sidebar {
        padding: 20px 15px;
    }

    .hotel-card {
        margin-bottom: 20px;
    }

    .hotel-info {
        padding: 15px;
    }
}

/* ---------------------------------------------------------------------------------------------- */
/*                                Ended Hotel Listings Page Styles                                */
/* ---------------------------------------------------------------------------------------------- */