@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* FONT CHANGES */

.booking-totalprice {
    font-family: "Arsenal", Helvetica;
}


/* CANCELLATION MODAL */
.form-navigation.cancel-modal-footer {
    border-top: none !important;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    background: transparent;
}

.form-navigation.mybooking-form-navigation, .form-navigation.cancel-modal-footer {
    width: 100%
}

.form-navigation.mybooking-form-navigation button, .form-navigation.cancel-modal-footer button {
    width: 100%;
}

/* STEPS PROGRESS */

.steps-progress-mobile {
    display: none;
}

/* MEDIA QUERIES */
@media (min-width: 992px) {

    button.rates-collapsed-btn {
        margin-bottom: 3px;
    }
}

@media (min-width: 769px) {


    .rate-breakdown-price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        min-width: 150px;
        max-width: 18rem;
        width: 100%;
    }

    .form-navigation.mybooking-form-navigation, .form-navigation.cancel-modal-footer {
        width: 80%;
        max-width: 43rem;
    }

    .form-navigation.mybooking-form-navigation button, .form-navigation.cancel-modal-footer button {
        width: 100%;
    }


    .otp-box {
        width: 70px !important;
        height: 50px !important;
        border-radius: 50px;
    }

    .otp-container {
        max-width: 50%;
    }


    .step {
        gap: 1rem;
    }

}

@media (max-width: 768px) {

    .form-navigation.cancel-modal-footer {
        padding: 1rem;
        gap: 0;
    }

    .step:not(.active) {
        display: none;
    }

    .step-number-mobile, .steps-progress-mobile {
        display: block;
    }

    .steps-progress-desktop {
        display: none !important;
    }

    .steps-progress-mobile .step.active {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .steps-progress-mobile h3 {
        background: transparent;
        box-shadow: unset;
        font-family: 'Arsenal';
    }

    .step-label-mobile {
        color: #2B2723F2;
    }

    .step-number-mobile {
        color: #976F33;
    }

    .booking-mobile-progress.progress {
        margin: 0 1rem;
    }

    .booking-mobile-progress.progress, .progress-bar {
        border-radius: 20px;
    }

    .booking-modal-overlay .booking-modal-body {
        border: none;
    }


    .rates-per-room .card-details {
        gap: 0 !important;
    }

    section.room-details.container {
        padding-bottom: 2rem;
    }

    section.room-details-content.bg-light {
        padding-top: 2rem;
    }

    .card-details:not(:last-of-type) {
        margin-top: 1rem !important;
        padding-bottom: 2rem !important;
    }


}

/* ANIMATION */
@keyframes shimmer {
    0%, 100% {
        background-position: 200% 0;
    }
    50% {
        background-position: -200% 0;
    }
}


/* FORM VALIDATION STYLES */
.required {
    color: #D92D20;
    font-weight: 600;
}

.field-error label {
    color: #D92D20;
}

.input-error {
    border-color: #D92D20 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1),
    0 4px 12px rgba(239, 68, 68, 0.15) !important;
}

.input-error:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2),
    0 4px 12px rgba(220, 38, 38, 0.25) !important;
}

.error-message {
    color: #D92D20 !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    height: 1.2rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0 !important;
}


/* Add placeholder for fields without errors to maintain alignment */
.search-field:not(.field-error)::after {
    content: '';
    display: block;
    height: 1.2rem;
    margin-top: 0.5rem;
}

.search-field .clear-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.search-field .clear-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.search-field .clear-btn:hover::before {
    left: 100%;
}

.search-field .clear-btn:hover {
    border-color: #cbd5e0;
    box-shadow: 0 0 0 4px rgba(203, 213, 224, 0.1),
    0 4px 12px rgba(203, 213, 224, 0.2);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.search-btn-field {
    grid-row: 2;
    grid-column: 1 / 5;
}

.clear-btn-field {
    grid-row: 2;
    grid-column: 5 / 6;
}

.search-btn {
    background: #5b431f;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(91, 67, 31, 0.3),
    0 4px 12px rgba(91, 67, 31, 0.2);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover:not(:disabled) {
    background: #4a3619;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(91, 67, 31, 0.4),
    0 6px 20px rgba(91, 67, 31, 0.3);
}

.search-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(91, 67, 31, 0.3),
    0 2px 8px rgba(91, 67, 31, 0.2);
}

.search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(91, 67, 31, 0.2);
}

.clear-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.5);
    background: #5a6268;
}

.search-btn:disabled,
.clear-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.rooms {
    margin: 2rem auto;
    max-width: 1280px;
    /*padding: 2rem;*/
}

.rooms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-manage-bookings {
    background: linear-gradient(135deg, #5b431f, #976F33);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-manage-bookings:hover {
    background: linear-gradient(135deg, #4a3619, #6d4f0f);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 67, 31, 0.3);
    color: white;
    text-decoration: none;
}

/* My Bookings Page Styles */

.form-group.mybooking-form-group {
    max-width: 50%;
}

.form-step.mybookings-form-steps {
    align-items: center;
    gap: 1rem;
}

.mybooking-form-navigation {
    border-top: none !important;
    gap: 2rem;
    margin-bottom: 1rem;
}

.booking-mobile-progress.progress:not(.active,.complete-booking-modal-progress) {
    display: none;
}


.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1rem;
}

.btn-back {
    background: rgba(255, 255, 255, 0.2);
    color: #5b431f;
    border: 2px solid rgba(91, 67, 31, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    position: absolute;
    left: 0;
}

.btn-back:hover {
    background: rgba(91, 67, 31, 0.1);
    border-color: rgba(91, 67, 31, 0.5);
    transform: translateY(-1px);
}

.my-booking-text {
    margin: 2rem auto;
    max-width: 1280px;
    padding-right: 0 !important;
    padding-left: 0 !important;
}


.my-bookings-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #5b431f 0%, #976F33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.my-bookings-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5b431f, #976F33);
    border-radius: 2px;
}

.user-email {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    color: #4a5568;
    font-weight: 500;
}

.btn-refresh {
    background: #5b431f;
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(91, 67, 31, 0.3);
    font-size: 0.95rem;
}

.btn-refresh:hover:not(:disabled) {
    background: #4a3619;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 67, 31, 0.4);
}

.btn-refresh:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.my-bookings-content {
    min-height: 400px;
}

.loading-state, .error-state, .no-bookings {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5b431f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error-icon, .no-bookings-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bookings-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.bookings-header {
    background: linear-gradient(135deg, #5b431f 0%, #976F33 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bookings-header h3 {
    margin: 0;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.bookings-grid {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.booking-card {
    border-radius: 12px;
    padding: 2rem;
    background: #F5F5F5;
}


.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.booking-id {
    color: #976f33;
    font-family: "Arsenal", Helvetica;
    margin: 0;
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    text-transform: uppercase;
}

.status-booked {
    background: #D1FADF;
    color: #039855;
}


.status-cancelled {
    background: #FEE4E2;
    color: #D92D20;
}

.status-unknown {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.booking-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.booking-dates {
    display: flex;
    gap: 1rem;
}

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

.mybooking-total-price {
    border-top: 1px solid #ACACAC3B;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.booking-card-total-price-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.booking-details-table.mybooking-total-price {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: space-between;
    align-items: center;
}

.booking-details-table {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.customer-name {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    font-size: 0.75rem;
}

.customer-email {
    color: #5b431f;
    margin: 0;
    font-size: 0.625rem;
    font-weight: 500;
}

.booking-rooms {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}


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

.booking-card-total-price {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5b431f 0%, #976F33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.booking-actions {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}


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

.btn-confirm:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-cancel {
    background: #D92D20 !important;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    border: 1px solid #D92D20 !important;
}

.btn-cancel:hover {
    background: transparent !important;
    border: 1px solid #D92D20 !important;
    color: #D92D20 !important;
}

.btn-view {
    background: linear-gradient(135deg, #5b431f, #976F33);
    color: white;
}

.btn-view:hover {
    background: linear-gradient(135deg, #4a3619, #6d4f0f);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 67, 31, 0.3);
}

/* My Bookings Responsive Design */
@media (max-width: 768px) {

    .booking-card-total-price-wrapper {
        flex-direction: row;
    }

    .booking-details-table.mybooking-total-price {
        flex-direction: column;
        align-content: stretch;
        justify-content: space-between;
        align-items: stretch;
    }

    .booking-details-table {
        flex-direction: row;
        justify-content: space-between;
    }

    .booking-details {
        display: block;
    }

    .form-group.mybooking-form-group {
        max-width: 100%;
    }

    .my-bookings-container {
        padding: 1rem;
    }

    .my-bookings-title {
        font-size: 2rem;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-back {
        position: static;
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .bookings-grid {
        padding: 1rem;
        gap: 0.75rem;
    }

    .booking-card {
        padding: 0.75rem;
    }

    .booking-details {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .booking-dates {
        flex-direction: row;
        gap: 1rem;
    }

    .booking-customer {
        margin: 0;
    }

    .booking-rooms {
        margin-right: 0;
    }

    .booking-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-confirm, .btn-cancel, .btn-view {
        width: 100%;
        text-align: center;
        padding: 0.5rem 1rem;
    }
}

/* Cancel Confirmation Modal Styles */
.cancel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.cancel-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.cancel-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}


.cancel-modal-body {
    padding: 1.5rem;
    text-align: center;
}

.cancel-warning-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cancel-warning-text {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin: 0 0 1rem 0;
}


.booking-summary h5 {
    color: #976F33;
}

.booking-summary-compact {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.summary-row:last-child {
    border-bottom: none;
}


.summary-label {
    font-size: 0.875rem;
    color: #5b431f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-value {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 700;
}

.cancel-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 1rem 0 0 0;
    line-height: 1.4;
}

.cancel-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
}

.btn-cancel-modal, .btn-confirm-cancel {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cancel-modal {
    background: rgba(255, 255, 255, 0.8);
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-cancel-modal:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-confirm-cancel {
    background: linear-gradient(135deg, #D92D20, #dc2626);
    color: white;
}

.btn-confirm-cancel:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.btn-confirm-cancel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-confirm-cancel:disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-cancel-modal:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel-modal:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(91, 67, 31, 0.1);
}

.cancel-modal-footer .loading-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: cancelSpinner 1s linear infinite;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

@keyframes cancelSpinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Cancel Modal Responsive Design */
@media (max-width: 768px) {
    .cancel-modal-overlay {
        padding: 10px;
    }

    .cancel-modal-content {
        max-width: 100%;
    }

    .cancel-modal-header,
    .cancel-modal-body,
    .cancel-modal-footer {
        padding: 0.75rem;
    }

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

    .btn-cancel-modal, .btn-confirm-cancel {
        width: 100%;
    }
}

.rooms-title {
    font-size: 1.09375rem;
    color: #976F33;
}

.date-range-text {
    color: #888888F2;
}

.filter-clear-btn {
    border-radius: 4px;
    padding: 3px 13px;
    font-family: Arsenal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    vertical-align: middle;
    background: #8888880D;
    color: #888888;
    display: flex;
    align-items: center;
}

.filter-clear-btn i.bi.bi-x {
    line-height: 1px !important;
}

.filter-clear-btn i.bi.bi-x:before {
    font-size: 20px;
}


.results-count {
    color: #718096;
    font-size: 0.9rem;
}

.loading {
    text-align: center;
    padding: 4rem;
    font-size: 1.1rem;
    color: #976F33;
}

.loading::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    border-top: 3px solid #976F33;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

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

.error {
    background: rgba(254, 178, 178, 0.9);
    color: #c53030;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    border-left: 4px solid #c53030;
}

.room-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .room-card-section .room-card {
        padding: 0 1rem !important;
    }

    .room-content.col {
        padding-bottom: 0;
    }
}

.row.rates-collapsable {
    margin: 0;
}

.room-content.col {
    padding-bottom: 1rem;
}

.room-card {
    transition: all 0.3s ease;
    gap: 20px;
    opacity: 1;
    border: none;
    padding: 0 1rem 20px 1rem;
    align-items: center;
    background: transparent;
}


.room-card-section .room-card {
    height: auto;
}

.room-card-section {
    background: #fff;
    border: 2px solid #F5F5F5;
}

.rates-per-room {
    border-top: 1px solid #dbdbdb;
    margin: 0;
}

.card-body {
    border-top: 1px solid #dbdbdb;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

.rates-per-room .card.card-body {
    border: none;
    padding: 0;
}

.rates-per-room ul li, .modal-description ul li, ul li {
    font-weight: 400;
    color: #888888;
    font-size: 18px;
    line-height: 20px;
}

.bi-info-circle::before {
    color: #888888;
}

.book-btn {
    background-color: #976F33;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 24px;
    margin-top: 0.5rem;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.rate-breakdown-price small {
    font-size: 16px;
    color: #888888;
    font-weight: 400;
}

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


.room-content {
    padding: 0 0.5rem;
}



.room-capacity.card-text.small svg {
    color: #976F33;
}

.room-capacity.card-text.small {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.room-description-link {

    line-height: 1.6;
    margin-bottom: 1rem;
}

.description-content {
    transition: all 0.3s ease;
}

.read-more-btn {
    background: none;
    border: none;
    color: #976F33;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: rgb(121, 89, 41);
    text-decoration: underline;
}

.room-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1rem;
}

.rates-collapsed-btn {
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    text-transform: capitalize;
    color: #976F33;
    cursor: pointer;
    background: transparent;
    border: none;
}

.room-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.price-label {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 400;
}

.start-from {
    display: block;
    color: #888888;
    margin-bottom: 0.25rem;
    font-weight: 400;
    font-size: 20px;
    text-transform: capitalize;
}

.start-form-price {
    font-weight: 700;
    font-size: 24px;
    text-transform: capitalize;
    color: #976F33;
}

.rates-count {
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 500;
    margin-top: 0.25rem;
}

.reserve-btn {
    background: #5b431f;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.reserve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Welcome Message Section */
.welcome-message {
    margin: 2rem auto;
    max-width: 1280px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.welcome-container {
    text-align: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.welcome-icon {
    margin-bottom: 1.5rem;
    color: #5b431f;
    opacity: 0.8;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: #5b431f;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5b431f 0%, #976F33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.no-rooms {
    margin: 2rem auto;
    max-width: 1280px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.no-rooms-container {
    text-align: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.no-rooms-icon {
    margin-bottom: 2rem;
    color: #5b431f;
    opacity: 0.8;
}

.no-rooms-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.no-rooms-description {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-rooms-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-rooms-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.no-rooms-btn.primary {
    background: #5b431f;
    color: white;
    box-shadow: 0 4px 15px rgba(91, 67, 31, 0.4);
}

.no-rooms-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 67, 31, 0.5);
    background: #4a3619;
}

.no-rooms-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #976F33;
    border: 2px solid #976F33;
    box-shadow: 0 4px 15px rgba(91, 67, 31, 0.2);
}

.no-rooms-btn.secondary:hover {
    transform: translateY(-2px);
    background: #5b431f;
    color: white;
    box-shadow: 0 8px 25px rgba(91, 67, 31, 0.4);
}

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 65rem;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e5e5;
    background: #976F33;
    color: white;
    position: relative;
}

.modal-header h3 {
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    max-width: 2.5rem;
    max-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s ease;
}

.modal-description small {
    color: #888888;
}

.modal-close:hover {
    color: #4a3619;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-description {
    line-height: 1.6;
    color: #333;
}

.modal-description strong {
    color: #5b431f;
    font-weight: 600;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.modal-description strong:first-child {
    margin-top: 0;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@media (max-width: 372px) {
    .room-actions {
        flex-direction: column;
        justify-self: left;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Tablet and smaller screens */
@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .search-btn-field {
        grid-row: 4;
        grid-column: 1 / 2;
    }

    .clear-btn-field {
        grid-row: 4;
        grid-column: 2 / 3;
    }
}

@media (max-width: 991px) {

    button.rates-collapsed-btn {
        margin-bottom: 6px;
    }
}

@media (max-width: 768px) {

    .header-content {
        padding: 0 1rem;
    }

    .header-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .header-right {
        width: 100%;
    }

    .btn-manage-bookings {
        width: 100%;
        justify-content: center;
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .search-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .welcome-message {
        margin: 1rem;
    }

    .welcome-container {
        padding: 2rem 1.5rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-description {
        font-size: 1rem;
    }

    .no-rooms {
        margin: 1rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .search-field {
        min-height: 100px; /* Reduce height on mobile */
    }

    .search-btn-field {
        grid-row: 6;
        grid-column: 1 / 2;
    }

    .clear-btn-field {
        grid-row: 7;
        grid-column: 1 / 2;
    }

    .search-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }


    /* Room Details Page Mobile Styles */
    .room-details-header {
        padding: 1.5rem 0;
    }

    .main-image {
        height: 200px;
    }

    .room-details-content {
        padding: 1rem;
    }

    .rate-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .rate-price {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .book-rate-btn {
        width: 100%;
    }

    .room-details-content .content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .room-details-content .right-column {
        position: static !important;
        order: 2;
    }

    .room-details-content .left-column {
        order: 1;
    }

    .rate-card {
        margin-bottom: 1rem;
    }

    .rate-cancellation {
        font-size: 0.85rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .image-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .nav-arrow-left {
        left: 10px;
    }

    .nav-arrow-right {
        right: 10px;
    }

    /* Mobile Image Modal Styles */
    .image-modal-content {
        width: 95%;
        height: 95%;
    }


    .close-btn {
        top: 1vh;
        right: 0.5vw;
        font-size: 1rem;
    }

    .modal-close {
        top: 1vh;
        right: 0.5vw;
    }

    .confirmation-subtitle {
        padding: 0 2rem;
    }

    .modal-image-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        top: 15px;
        left: 15px;
    }

    .modal-nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .modal-nav-arrow-left {
        left: 20px;
    }

    .modal-nav-arrow-right {
        right: 20px;
    }

    .expand-indicator {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        bottom: 15px;
    }

    .expand-text {
        display: none; /* Hide text on mobile, show only icon */
    }


    /* Error Page Mobile Styles */
    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .back-btn {
        width: 100%;
        max-width: 300px;
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .search-container {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 16px;
    }

    .search-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .search-field {
        min-height: 90px;
    }

    .search-field label {
        font-size: 0.9rem;
    }

    .search-field input,
    .search-field select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .clear-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Room Details Small Mobile Styles */
    .room-details-content .content-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .room-details-content .right-column {
        position: static !important;
        order: 2;
    }

    .room-details-content .left-column {
        order: 1;
    }

    .room-details-content {
        padding: 0.75rem;
    }

    .rate-card {
        padding: 1rem;
    }

    .book-rate-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rooms-header {

        gap: 1rem;
        text-align: center;
    }


    .no-rooms-container {
        padding: 1.5rem;
        width: 100%;
    }

    .no-rooms-title {
        font-size: 1.5rem;
    }

    .no-rooms-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .no-rooms-btn {
        min-width: auto;
        width: 100%;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-header h3, .booking-modal-title {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1.5rem;
        max-height: 70vh;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/* Room Details Modal Styles */

.room-details-content {
    padding-bottom: 4rem;
}


.room-details-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.room-details-body {
    padding: 2rem;
}

.room-images {
    margin-bottom: 2rem;
}

.room-image {
    height: 100%;
    padding: 0;
}

.main-image-container {
    position: relative;
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.main-image {
    cursor: pointer;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.expand-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image:hover .expand-indicator {
    opacity: 1;
}

.expand-icon {
    font-size: 1rem;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.nav-arrow:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

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

.nav-arrow-left {
    left: 20px;
}

.nav-arrow-right {
    right: 20px;
}

/* Full Screen Image Modal */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.image-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-image-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.modal-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.modal-nav-arrow:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

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

.modal-nav-arrow-left {
    left: 30px;
}

.modal-nav-arrow-right {
    right: 30px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.gallery-thumb.active {
    border: 3px solid #5b431f;
    transform: scale(1.05);
}

.image-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}


.room-info {
    margin-bottom: 2rem;
}

.room-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.description-content {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    line-height: 1.6;
    color: #4b5563;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #4b5563;
}

.amenity-icon {
    font-size: 1.2rem;
}

.rates-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.rates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rate-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.rate-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rate-card.unavailable {
    opacity: 0.6;
    background: #f9fafb;
}

.rate-header {
    margin-bottom: 0.75rem;
}

.rate-name {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.rate-availability-row {
    margin-bottom: 0.75rem;
}

.rate-availability {
    background: #f3f0e8;
    color: #5b431f;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

.rate-unavailable {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

.rate-details {
    margin-bottom: 1rem;
}

.card-details:not(:last-of-type) {
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 1rem;

}

.card-details {
    margin-bottom: 0.5rem;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.card-details ul, .card-details p {
    margin-bottom: 0.2rem;
}

.rate-board,
.rate-cancellation {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.cancellation-text {
    flex: 1;
    line-height: 1.5;
}

.cancellation-text br {
    margin-bottom: 0.25rem;
}

.board-icon,
.cancellation-icon {
    font-size: 1rem;
}

.rate-discounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.discount-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.rate-price {
    margin-bottom: 0.75rem;
}

.rate-action-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5b431f;
}

.price-period {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6b7280;
}

.book-rate-btn {
    background: #5b431f;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 100%;
    font-size: 1rem;
}

.book-rate-btn:hover:not(:disabled) {
    background: #976F33;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 67, 31, 0.3);
}

.book-rate-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Room Details Page Styles */

div#room-details-app .room-hero img {
    height: auto;
    max-height: 37rem;
    object-fit: cover;
}

/* Image Gallery Carousel Styles */
.room-gallery-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.carousel-container {
    margin-top: 2rem;
}

.carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    touch-action: pan-y; /* Allow vertical scrolling but handle horizontal touch */
    cursor: grab;
    user-select: none; /* Prevent text selection during drag */
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 33.333%; /* Show 3 images at once */
    position: relative;
    cursor: pointer;
    padding: 0 5px;
}

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

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.carousel-slide:hover .carousel-overlay {
    opacity: 1;
}

.carousel-zoom-icon {
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 50%;
}

.carousel-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}


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

.carousel-nav-arrow-left, .modal-nav-arrow-left {
    left: -4rem;
}

.carousel-nav-arrow-right, .modal-nav-arrow-right {
    right: -4rem;
}

.carousel-indicators {
    display: flex;
    justify-content: left;
    gap: 8px;
    margin-top: 20px;
    position: static !important; /* Override Bootstrap's absolute positioning */
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

.carousel-dot {
    border: 1px solid #976f33;
    background: transparent;
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    margin: 0.2rem;
    border-radius: 50%;
}

.carousel-dot.active {
    background: #976f33;
}

button.carousel-nav-arrow.carousel-nav-arrow-right, button.carousel-nav-arrow.carousel-nav-arrow-left, .modal-nav-arrow-right, .modal-nav-arrow-left {
    background: transparent;
    font-size: 2rem;
    position: absolute;
    border: none;
    color: #976f33;
    background-color: transparent;
}

/* Mobile Responsive Styles for Carousel */
@media (max-width: 768px) {
    .room-gallery-section {
        padding: 2rem 0;
    }

    .carousel-slide {
        flex: 0 0 50%; /* Show 2 images on mobile */
    }

    .carousel-image {
        height: 200px;
    }

    .carousel-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-nav-arrow-left {
        left: 10px;
    }

    .carousel-nav-arrow-right {
        right: 10px;
    }

    .carousel-zoom-icon {
        font-size: 20px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        flex: 0 0 100%; /* Show 1 image on very small screens */
    }

    .carousel-image {
        height: 250px;
    }
}


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

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #5b431f;
    border: 2px solid rgba(91, 67, 31, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    text-decoration: none;
    align-self: flex-start;
}

.back-btn:hover {
    background: rgba(91, 67, 31, 0.1);
    border-color: rgba(91, 67, 31, 0.5);
    transform: translateY(-1px);
    text-decoration: none;
    color: #5b431f;
}


.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.right-column {
    position: sticky;
    top: 2rem;
}

.room-images {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.room-description,
.room-amenities {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


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

.rates-per-room .card-details {
    gap: 4rem;
}

/* Error State Styles */
.error-container {
    max-width: 600px;
    margin: 4rem auto;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.error-container h2 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.error-container p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-search-btn {
    background: #5b431f;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-search-btn:hover {
    background: #976F33;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 67, 31, 0.3);
}

/* Booking Modal Styles */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.booking-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
}

.booking-modal-content .btn {
    min-width: 15rem !important;
}

.booking-modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    background: #976F33;
}

.booking-modal-title {
    color: #fff;
    text-align: center;
}

/* Hide native checkbox but keep it accessible */
.booking-modal-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.booking-modal-checkbox {
    display: block;
    position: relative;
    margin-bottom: 2.5rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 0;
}

.booking-modal-checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 0;
}

.booking-modal-checkbox .checkmark {
    position: absolute;
    top: 2.5px;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border: 1px solid #976F33;
    border-radius: 6px;
}

.booking-modal-checkbox .checkmark:hover {
    background-color: #976f3359;
}

.booking-modal-checkbox input:checked ~ .checkmark {
    background-color: #976F33;
}

.booking-modal-checkbox .checkmark:after {
    content: "✓";
    position: absolute;
    display: none;
    color: #fff;
    font-size: 1rem;
}

.booking-modal-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.booking-modal-checkbox .checkmark:after {
    left: 6px;
}

.booking-modal-checkbox .checkbox-modal-label {
    margin-left: 2rem;
}


/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.step {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.step.active .step-number {
    background: #976F33;
    color: white;
    box-shadow: 0px 0px 0px 7px #976F331A;
}

.step.completed .step-number {
    background: #976F33;
    color: white;
}

.step.completed .step-number::after {
    content: "✓";
    width: 10px;
    height: 10px;
    font-size: 0.9rem;
    position: absolute;
    top: 0.34rem;
}

.step-label {
    color: #2B272366;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step.active .step-label {
    color: #976F33;
    font-weight: 600;
}

.step.completed .step-label {
    color: #976F33;
}

.booking-modal-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ACACAC3B;
}

.form-section h5 {
    color: #976F33;
    margin-bottom: 1rem;
}

/* Form Steps */
.form-step {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#my-bookings-app .form-step {
    align-items: center;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.step-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.step-header p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-top: 2rem;*/
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.nav-spacer {
    flex: 1;
}

/* Review Sections */
.review-section {
    margin-bottom: 1.5rem;
}

.review-section h5 {
    color: #976F33;
}

.summary-item {
    padding: 0.5rem 0;
}

.summary-item.total {
    font-weight: 600;
    color: #976F33;
}

.booking-summary h3 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
}


.summary-details > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #059669;
    border-top: 1px solid #d1d5db;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

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

.form-section h3 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

/* Two fields per row grid layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    align-items: stretch !important;
    overflow: visible !important; /* Allow dropdown to show */
}

/* Error messages now use reserved space */

/* Ensure booking modal form groups have consistent height */
.booking-modal .form-group {
    min-height: 4.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    align-items: stretch !important;
}

/* Error messages use the reserved space with text wrapping control */
.booking-modal .error-message {
    color: #dc2626 !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    height: 1.2rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.form-group label {
    margin-bottom: 0.5rem;
}

.form-group input:not([type='checkbox'], .otp-box),
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 50rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #976F33;
    box-shadow: 0 0 0 3px rgba(91, 67, 31, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #dc2626 !important;
    margin: 0 !important;
    background: rgba(254, 178, 178, 0.1) !important;
}

.error-message {
    color: #dc2626 !important;
    font-size: 0.8rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0 !important;
    height: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin-top: 0 !important;
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto;
}

.form-agreements a {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.btn-primary {
    background: #976F33;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50rem;
    font-weight: 500;
    cursor: pointer;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
    background: #805e2b;
    color: #ffffff;
}

.btn-primary:disabled {
    background: #D0D0D0;
    cursor: not-allowed;
    transform: none;
    color: #888;
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Processing State */
.processing-state {
    text-align: center;
    padding: 3rem 2rem;
}

.processing-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #976F33;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Error State */
.error-state {
    text-align: center;
    padding: 3rem 2rem;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Booking Confirmation Styles - Modern Design */
.booking-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

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

.booking-confirmation-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    width: 90%;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s ease-out;
}

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

.confirmation-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    background: #976F33;
    color: white;
    overflow: hidden;
}

.confirmation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.confirmation-header .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.confirmation-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}


.confirmation-title {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #000;
    font-family: 'Arsenal', 'Helvetica', 'Arial', sans-serif;
    margin-top: 2rem;
}

.confirmation-subtitle {
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
    color: #6C6C6C;
}

.confirmation-actions button.btn.btn-primary {
    width: 16rem;
    text-transform: capitalize;
}

.confirmation-body {
    padding: 2rem;
}

.loading-state {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #976F33;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Summary Card */
.summary-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(91, 67, 31, 0.1);
    margin-bottom: 2rem;
}

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

.reservation-id {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.id-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.id-value {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #976F33;
    font-size: 1.125rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.detail-icon {
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 67, 31, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(91, 67, 31, 0.2);
}

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

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.confirmation-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #976F33;
    border-radius: 12px;
    color: white;
    margin-top: 1rem;
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
}

.total-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.confirmation-actions .btn-primary,
.confirmation-actions .btn-secondary {
    transition: all 0.3s ease;
    justify-content: center;
}

.confirmation-actions .btn-primary {
    background: #976F33;
    color: white;
}

.confirmation-actions .btn-secondary {
    background: white;
    color: #976F33;
    border: 2px solid #976F33;
}

.confirmation-actions .btn-secondary:hover {
    background: #5b431f;
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1rem;
}

/* Modal Styles for Price Breakdown and Rate Details */
.price-breakdown-modal,
.rate-details-modal {
    width: 90%;
}

.breakdown-container,
.rate-details-container {
    padding: 1rem 0;
}

.rate-info {
    padding: 0 1rem 1.5rem 1rem;
    border-bottom: 1px solid #ACACAC3B;
}

.rate-name {
    color: #976F33;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stay-dates {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #888888;
    font-weight: 400;
}

.price-breakdown {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.price-breakdown:not(:last-of-type), .summary-item:not(:last-of-type) {
    border-bottom: 1px solid #e5e5e5;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.subtotal {
    font-weight: 600;
    background: #f8f9fa;
    margin: 0.5rem -1rem;
    padding: 0.5rem 1rem;
}

.breakdown-item.total {
    color: #976F33;
    margin: 0.5rem -1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 0 0 8px 8px;
}

.breakdown-footer {
    text-align: center;
}

.tax-note {
    color: #666;
    font-size: 12px;
    margin: 0;
}

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

.rate-header h4 {
    margin: 0;
    color: #2b2723;
}

.rate-price {
    text-align: right;
    color: #976F33;
    font-weight: 600;
    font-size: 1.2rem;
}

.rate-price small {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.rate-description,
.rate-features,
.rate-restrictions {
    margin-bottom: 1.5rem;
}

.rate-description h5,
.rate-features h5,
.rate-restrictions h5 {
    color: #2b2723;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    color: #666;
}

.feature-list li i {
    color: #976F33;
    margin-right: 0.5rem;
    font-size: 14px;
}

.rate-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.book-rate-btn {
    background: #976F33;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.book-rate-btn:hover:not(:disabled) {
    background: #764ba2;
}

.book-rate-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Cancellation Policy Styles */
.cancellation-policy {
    margin-bottom: 1rem;
}

.cancellation-policy span {
    color: #6C6C6C;
}

.cancellation-penalties {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ACACAC3B;
}

.cancellation-penalties h6 {
    margin: 0 0 0.5rem 0;
    font-size: 14px;
    font-weight: 600;
}

.penalty-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.penalty-item {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.penalty-item i {
    margin-right: 0.5rem;
}

.no-rates-message {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-rates-message p {
    margin: 0;
    font-style: italic;
}

/* Mobile Responsive for Booking Components */
@media (max-width: 768px) {

    .booking-info {
        flex-direction: column;
    }

    .card-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .rate-breakdown-price {
        width: 100%;
    }

    button.book-btn {
        width: 100%;
    }

    .rate-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .rate-price {
        text-align: left;
    }

    .rate-actions {
        flex-direction: column;
    }

    .btn-secondary,
    .book-rate-btn {
        width: 100%;
    }

    .booking-modal-overlay {
        padding: 0.5rem;
    }

    .booking-modal-content {
        border-radius: 16px;
        max-height: 95vh;
        max-width: 100%;
    }

    .booking-modal-header {
        padding: 1rem 1.5rem;
    }

    .booking-modal-body {
        padding: 1.5rem 1rem;
    }

    /* Progress Steps Mobile */
    .progress-steps {
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .step:not(:last-child)::after {
        width: 1rem;
        left: 30px;
    }

    .step-label {
        font-size: 0.7rem;
    }

    /* Booking Confirmation Mobile */
    .booking-confirmation-content {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
        border-radius: 20px;
    }

    .confirmation-header,
    .confirmation-body {
        padding: 2rem 2rem 1.5rem !important;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .btn-primary,
    .confirmation-actions .btn-secondary {
        width: 100%;
    }

    .summary-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    /* Booking Modal Billing Address Styles */
    .booking-modal .billing-address-section {
        background: #f8fafc;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border: 1px solid #e2e8f0;
    }

    .booking-modal .billing-address-section h4 {
        margin: 0 0 1rem 0;
        color: #1f2937;
        font-size: 1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .booking-modal .billing-address-section h4::before {
        content: '🏠';
        font-size: 1.2rem;
    }

    .booking-modal .billing-address-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .booking-modal .billing-address-row.full-width {
        grid-template-columns: 1fr;
    }

    .booking-modal .billing-address-field {
        display: flex;
        flex-direction: column;
    }

    .booking-modal .billing-address-field label {
        font-size: 0.875rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .booking-modal .billing-address-field label.required::after {
        content: '*';
        color: #D92D20;
        font-weight: 700;
    }

    .booking-modal .billing-address-field input,
    .booking-modal .billing-address-field select {
        padding: 0.75rem;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 0.95rem;
        transition: all 0.2s ease;
        background: white;
    }

    .booking-modal .billing-address-field input:focus,
    .booking-modal .billing-address-field select:focus {
        outline: none;
        border-color: #976F33;
        box-shadow: 0 0 0 3px rgba(91, 67, 31, 0.1);
    }

    .booking-modal .billing-address-field input.error,
    .booking-modal .billing-address-field select.error {
        border-color: #dc2626 !important;
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
        margin: 0 !important;
        background: rgba(254, 178, 178, 0.1) !important;
    }

    .booking-modal .billing-address-field .error-message {
        color: #dc2626 !important;
        font-size: 0.8rem !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0 !important;
        height: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        margin-top: 0 !important;
    }

    .booking-modal .billing-address-field .error-message::before {
        content: '⚠️';
        font-size: 0.75rem;
    }

    /* Form Steps Mobile */
    .step-header {
        margin-bottom: 1.5rem;
    }

    .step-header h3 {
        font-size: 1.2rem;
    }

    /* Mobile responsive form grid */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
        /*margin-top: 1.5rem;*/
    }

    .nav-spacer {
        display: none;
    }

    .price-breakdown {
        padding: 1rem 0;
    }

    .rate-info {
        padding: 1rem 0;
    }
}

/* Stripe-style Payment Form */
.stripe-payment-form {
    max-width: 100%;
    margin: 0;
}

.stripe-payment-form .dropdown-arrow {
    color: #6b7280;
    font-size: 12px;
    position: absolute;
    transition: transform 0.2s ease;
    top: 5.3vh;
    right: 1rem;
}

.stripe-payment-form select#card_type {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.stripe-field {
    margin-bottom: 1.5rem;
    position: relative;
}

.stripe-payment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
}

.stripe-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.stripe-label {
    text-transform: capitalize;
}


.stripe-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.stripe-input:focus {
    outline: none;
    border-color: #5b431f;
    box-shadow: 0 0 0 3px rgba(91, 67, 31, 0.1);
}

.stripe-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.stripe-input-error {
    border-color: #e53e3e !important;
    background-color: #fef2f2 !important;
}

.stripe-input-error:focus {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

.stripe-error {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Stripe Row Layout */
.stripe-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Stripe Date Input - Single field for MM/YY */
.stripe-date-inputs {
    display: block;
}

.stripe-date-inputs .stripe-input {
    width: 100%;
    text-align: left;
}

/* Stripe Card Icons */
.stripe-card-icons {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-icon {
    font-size: 18px;
    opacity: 0.7;
}

.stripe-cvc-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #6b7280;
    opacity: 0.7;
}

/* Stripe Input Container with Icons */
.stripe-input-container .stripe-input {
    padding-right: 40px;
}

/* Mobile Responsive Stripe Fields */
@media (max-width: 768px) {

    .summary-item {
        gap: 1rem;
    }

    .stripe-payment-form {
        grid-template-columns: 1fr;
    }

    .stripe-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stripe-date-inputs {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .stripe-input {
        height: 48px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .stripe-field {
        margin-bottom: 1.25rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        order: 2;
    }
}

/* Modern Searchable Country Dropdown */
.country-dropdown-container {
    position: relative;
    width: 100%;
}

.country-dropdown-trigger,
.billing-country-dropdown-trigger {
    transition: all 0.15s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.country-dropdown-trigger:hover,
.billing-country-dropdown-trigger:hover {
    border-color: #9ca3af;
}

.country-dropdown-trigger:focus,
.billing-country-dropdown-trigger:focus {
    outline: none;
    border-color: #976F33;
    box-shadow: 0 0 0 3px rgba(91, 67, 31, 0.1);
}

.country-dropdown-trigger.error,
.billing-country-dropdown-trigger.error {
    border-color: #e53e3e !important;
    background-color: #fef2f2 !important;
}

.country-dropdown-trigger .placeholder,
.billing-country-dropdown-trigger .placeholder {
    color: #9ca3af;
}

.dropdown-arrow {
    color: #6b7280;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.country-dropdown-trigger.open .dropdown-arrow,
.billing-country-dropdown-trigger.open .dropdown-arrow {
    transform: rotate(180deg);
}

.country-dropdown,
.billing-country-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10002 !important;
    max-height: 300px;
    overflow: hidden;
    margin-top: 2px;
}

.country-search {
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.country-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease;
}

.country-search-input:focus {
    border-color: #976F33;
    box-shadow: 0 0 0 2px rgba(91, 67, 31, 0.1);
}

.country-list {
    max-height: 240px;
    overflow-y: auto;
}

.country-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.country-option:hover {
    background-color: #f3f4f6;
}

.country-option:last-child {
    border-bottom: none;
}

.no-results {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

/* Mobile Responsive Country Dropdown */
@media (max-width: 768px) {
    .country-dropdown {
        max-height: 250px;
    }

    .country-list {
        max-height: 190px;
    }

    .country-option {
        padding: 14px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .country-search-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Form Navigation Styles */
.form-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0 0 0;
    border-top: 1px solid #e5e7eb;
}

.nav-spacer {
    flex: 1;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 50rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-width: 120px;
    font-family: "Playfair Display", Helvetica;
    text-transform: capitalize;
    font-weight: 400;
    margin-top: 0.5rem;
}

.btn-primary {
    background: #976F33;
    color: white;
}

.btn-secondary {
    background: white;
    color: #976F33;
    border: 1px solid #976F33;
}

.btn-secondary:hover {
    background: #976F33;
    color: white;
}

/* Mobile Responsive Form Navigation */
@media (max-width: 768px) {
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0 0 0;
    }

    .nav-spacer {
        display: none;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: auto;
    }
}

.room-card .room-details {
    display: flex;
    gap: 2rem;
}

.room-details-page .card.card-body {
    padding: 0 1rem;
}

/* Review Sections Mobile */
.review-section {
    margin-bottom: 1rem;
}

.review-details .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-confirmation-overlay {
    padding: 0.5rem;
}

.booking-confirmation-content {
    border-radius: 16px;
    max-height: 95vh;
    max-width: 65rem;
}

.confirmation-header,
.confirmation-body {
    padding: 2.5rem;
}

.confirmation-actions {
    flex-direction: column;
}

/* Booking Modal Billing Address Mobile */
.booking-modal .billing-address-section {
    padding: 1rem;
    margin-bottom: 1rem;
}

.booking-modal .billing-address-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.booking-modal .billing-address-field input,
.booking-modal .billing-address-field select {
    padding: 0.6rem;
    font-size: 0.9rem;
}

/* Booking Management Styles */
.booking-management-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.booking-management-content {
    background: white;
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.booking-management-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.booking-management-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.user-email {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.booking-management-body {
    padding: 24px;
}

.loading-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #976F33;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.error-state {
    text-align: center;
    padding: 40px 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-bookings {
    text-align: center;
    padding: 40px 20px;
}

.no-bookings-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bookings-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
}

.bookings-grid {
    display: grid;
    gap: 20px;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 1rem
}


.booking-dates {
    grid-column: 1 / -1;
}

.date-item {
    display: flex;
    justify-content: space-between;
}

.data-label {
    color: #6C6C6C;
    margin-bottom: 0;
}


.customer-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.customer-email {
    color: #6b7280;
    font-size: 14px;
}

.booking-rooms {
    grid-column: 1 / -1;
}


.booking-price {
    grid-column: 1 / -1;
    text-align: right;
}

.management-total-price {
    font-size: 18px;
    font-weight: 600;
    color: #059669;
}

.booking-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-confirm {
    background: #059669;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-confirm:hover {
    background: #047857;
}


.btn-view {
    background: #976F33;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-view:hover {
    background: linear-gradient(135deg, #4a3619, #6d4f0f);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 67, 31, 0.3);
}


/* Responsive Design for Booking Management */
@media (max-width: 768px) {
    .booking-management-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .booking-details {
        grid-template-columns: 1fr;
    }

    .booking-actions {
        flex-direction: column;
    }

    .booking-actions button,
    .booking-actions a {
        width: 100%;
        text-align: center;
    }

}

/* ========================================
   MODERN OTP AUTHENTICATION MODAL STYLES
   ======================================== */

.modern-otp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modern-otp-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.modern-otp-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #976F33;
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border-radius: 24px 24px 0 0;
}

/* Header Section */
.modern-header {
    text-align: center;
    padding: 30px 40px 20px;
    border-bottom: 1px solid rgba(241, 245, 249, 0.5);
}

.modern-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px;
    line-height: 1.2;
}

.modern-subtitle {
    font-size: 16px;
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

/* Progress Indicator */
.modern-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 40px;
    gap: 16px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.progress-step.active {
    color: #5b431f;
}

.progress-step.completed {
    color: #976F33;
}

.step-number {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2B272366;
    color: #2B272366;
    box-shadow: 0px 0px 0px 7px #2B27231A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 24px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #5b431f;
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-number {
    background: #976F33;
    color: white;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.progress-line.active {
    background: linear-gradient(90deg, #5b431f 0%, #976F33 100%);
}

/* Form Section */
.modern-form {
    padding: 0 30px 30px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
}

.modern-form::-webkit-scrollbar {
    width: 6px;
}

.modern-form::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.5);
    border-radius: 3px;
}

.modern-form::-webkit-scrollbar-thumb {
    background: #976F33;
    border-radius: 3px;
}

.modern-form::-webkit-scrollbar-thumb:hover {
    background: #976F33;
}

.form-step {
    animation: slideIn 0.4s ease-out;
}

.modern-input-group {
    margin-bottom: 24px;
}

.modern-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    z-index: 2;
    transition: color 0.2s ease;
}

.modern-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    outline: none;
    color: #2d3748;
}

.modern-input:focus {
    border-color: #5b431f;
    box-shadow: 0 0 0 3px rgba(91, 67, 31, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.modern-input:focus + .input-icon,
.modern-input:focus ~ .input-icon {
    color: #5b431f;
}

.modern-input.error {
    border-color: #D92D20;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.modern-input:disabled {
    background: rgba(248, 250, 252, 0.6);
    color: #94a3b8;
    cursor: not-allowed;
}

.otp-input {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
}

.modern-error {
    display: block;
    color: #D92D20;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* Buttons */
.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 56px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.modern-btn.primary {
    background: linear-gradient(135deg, #5b431f 0%, #976F33 100%);
    color: white;
    box-shadow: 0 4px 15px -3px rgba(91, 67, 31, 0.4);
}

.modern-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(91, 67, 31, 0.5);
    background: linear-gradient(135deg, #4a3819 0%, #7a5f12 100%);
}

.modern-btn.secondary {
    background: rgba(248, 250, 252, 0.8);
    color: #4a5568;
    border: 2px solid #e2e8f0;
    backdrop-filter: blur(10px);
}

.modern-btn.secondary:hover:not(:disabled) {
    background: rgba(241, 245, 249, 0.9);
    border-color: #cbd5e1;
    color: #2d3748;
}

.modern-btn.link {
    background: none;
    color: #5b431f;
    padding: 8px 16px;
    min-height: auto;
    width: auto;
    font-size: 14px;
    text-decoration: underline;
}

.modern-btn.link:hover:not(:disabled) {
    color: #976F33;
    text-decoration: none;
}

.modern-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    animation: spin 1s linear infinite;
}

/* OTP Success Section */

.otp-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
}

.otp-container-group {
    align-items: center !important;
}

.otp-box-wrapper {
    display: flex;
    gap: 0.5rem;
}

button.resend-code-p {
    border: none;
    background: transparent;
    color: #976F33;
}

button.resend-code-p span {
    text-decoration: underline;
}

.booking-confirmation-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.otp-box {
    width: 50%;
    height: 70%;
    max-width: 70px;
    min-height: 50px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 1rem;
}

.otp-box:focus {
    border-color: #007bff;
    outline: none;
}


.otp-success {
    text-align: center;
    padding: 8px 0;
    margin-bottom: 8px;
}

.success-icon {
    display: none;
}

.otp-success h3 {
    font-family: "Arsenal", Helvetica;
}

.email-display {
    color: #976F33;
    font-weight: 700;
}

/* Resend Section */
.resend-section {
    text-align: center;
    margin: 8px 0 12px;
}

/* OTP Actions */
.otp-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.otp-actions .modern-btn {
    flex: 1;
}

/* Footer */
.modern-footer {
    padding: 20px 40px;
    border-top: 1px solid rgba(241, 245, 249, 0.5);
    text-align: center;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

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

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

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

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .modern-otp-container {
        margin: 10px;
        border-radius: 20px;
    }

    .modern-header {
        padding: 30px 20px 15px;
    }

    .modern-form {
        padding: 0 20px 30px;
    }

    .modern-progress {
        padding: 20px;
    }

    .modern-footer {
        padding: 15px 20px;
    }

    .modern-title {
        font-size: 24px;
    }

    .modern-icon {
        width: 64px;
        height: 64px;
    }

    .otp-actions {
        flex-direction: column;
    }
}

/* Status Filter Styles */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

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

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.status-filter {
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #333;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-filter:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.status-filter:hover {
    border-color: #bdc3c7;
}

.status-filter option {
    padding: 8px;
    background: white;
    color: #333;
}

.btn-refresh {
    padding: 8px 16px;
    background: #5b431f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-refresh:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9, #1f4e79);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-refresh:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 357px) {
    .rooms-title {
        max-width: 8rem;
        text-align: left;
    }
}

/* Responsive adjustments for filter */
@media (max-width: 768px) {
    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin: 0;
    }

    .filter-section {
        justify-content: space-between;
    }

    .status-filter {
        min-width: auto;
        flex: 1;
    }

    .btn-refresh {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .filter-label {
        text-align: center;
    }
}

/* My Bookings - Enhanced Styles */

.my-booking-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-booking-back-btn {
    padding: 2rem 0;
}

.my-bookings-details {
    padding: 2rem 0;
}

.booking-info {
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
}

.my-booking-back-btn .link {
    border: none;
    background: transparent;
    color: #2B2723;
    text-text-replace: underline;
}

.booking-info h3 {
    color: #976F33;
}

.booking-info .reservation-id {
    font-size: 0.9rem;
    color: #666;
    margin: 0.25rem 0;
    font-weight: 500;
}

.btn-switch-reservation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-top: 1rem;
    display: inline-block;
}

.btn-switch-reservation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-switch-reservation:active {
    transform: translateY(0);
}

/* Info icon styling */
.rate-breakdown-price .bi-info-circle {
    color: #976F33;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-left: 4px;
}

.rate-breakdown-price .bi-info-circle:hover {
    color: #6d4f0f;
    transform: scale(1.1);
}

/* No breakdown message styling */
.no-breakdown-message {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-breakdown-message p {
    margin: 0;
    font-style: italic;
}


/* Gallery Navigation Controls - Mobile Support */
.tns-controls {
    display: block !important;
    font-family: "bootstrap-icons";
}

.tns-controls > button {
    background: transparent;
    font-size: 2rem;
    position: absolute;
    border: none;
    color: #976f33;
    background-color: transparent;
    z-index: 10;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tns-controls > button:first-child {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.tns-controls > button:last-child {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* Mobile-specific adjustments for gallery controls */
@media (max-width: 767px) {
    .tns-controls > button {
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    /* Keep arrows in original position - don't move them to edges */
    .tns-controls > button:first-child {
        left: 0;
    }

    .tns-controls > button:last-child {
        right: 0;
    }
}

