.modal-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 15;
    top: 0;
    padding: 20px;
}

.active-modal {
    display: flex;
}

.modal {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid transparent;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
    background:
        /* This is the inner color of your box (matches your previous dark theme) */
        linear-gradient(#000000, #000000) padding-box,
        /* This is the border gradient */
        linear-gradient(to bottom, #b67c09 0%, #c7a26b 20%, #f0b653 50%, #BD9457 80%, #6E4E10 100%) border-box;
}

toggleModal
.modal-header {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.modal-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    /* Use 100% height to fill the parent modal */
    height: 100%;
    background-image: url('/attachments/modal_background.png');
    background-size: cover;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
}

.modal-body::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.445);
    z-index: 1;
}

.modal-step {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.second-step {
    margin-top: 80px;
}

.step-subtitle>span {
    color: #FFFFFFB2;
    font-size: 14px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
}

.step-body {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    height: 100%;
    padding: 0 30px;
}

.room-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    text-align: center;
    width: 50%;
    height: 100%;
}


.price-section {
    display: flex;
    justify-content: center;
    text-align: center;
}

.price-section>span {
    color: #FFFFFFB2;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Satoshi', sans-serif;
}

.room-type>.section-title {
    margin-left: 0px;
}

.vertical-line {
    width: 1px;
    height: 550px;
    background: linear-gradient(to bottom,
            #BD9457 0%,
            #b99052 25%,
            rgb(185, 147, 90) 70%,
            #6E4E10 100%);

    /* Optional: adds a slight glow consistent with your previous code */
    box-shadow: 0 0 4px rgba(122, 77, 33, 0.4);
}

.active-step {
    display: flex;
}

.room-type>.room-description {
    display: flex;
    width: 80%;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: left;
    margin-top: 15px;
    color: #FFFFFFB2;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Satoshi', sans-serif;
    line-height: 20px;
    max-height: 100px;
    height: 100px;
}

.room-description>span {
    max-height: 100px;
    overflow-y: auto;
}

.choose-button>span {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Satoshi', sans-serif;
    line-height: 21px;
    letter-spacing: -0.2;
}


.choose-button {
    width: 154px;
}

.choose-button:hover {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 220, 150, 0.4)) drop-shadow(0 0 10px rgba(231, 183, 110, 0.35)) drop-shadow(0 0 10px rgba(219, 172, 102, 0.2)) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
}

.choose-gradient-border {
    position: relative;
    border-radius: 10px;
    padding: 1.5px;
    background: linear-gradient(90deg,
            #6f7c80cc,
            #c1c4c4b3,
            #9aa3a2cc,
            #6f7c80cc,
            #6f7c80cc,
            #8f9798b3,
            #6f7c80cc);
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 220, 150, 0.4)) drop-shadow(0 0 10px rgba(231, 183, 110, 0.35)) drop-shadow(0 0 10px rgba(219, 172, 102, 0.2)) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));

}

.footer-image {
    margin-top: 30px;
}

.date-and-time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.date-time-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Container Layout */

.reserve-input {
    background-color: transparent;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #666666;
    padding: 10px 12px;
    /* Make room for the icons */
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.date-and-time {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    background-color: transparent;
    font-family: 'Satoshi', sans-serif;
    align-items: flex-start;
}

.date-time-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Fix for the label color and size */
label {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Satoshi', sans-serif;
}

/* Input Wrapper - Essential for positioning icons */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Global Input Styling */
.date-and-time input {
    padding-right: 40px !important;
}

/* Hide native browser icons entirely but keep them clickable */
.date-time-input::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    /* Hidden so our custom icons show instead */
    z-index: 5;
}

/* Custom Icons Base Styling */
.date-icon::after,
.time-icon::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Calendar Icon for Date - Fixed SVG Path */
.date-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
}

/* Clock Icon for Time */
.time-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E");
}

/* Light up icons on focus */
.input-wrapper:focus-within::after {
    opacity: 1;
}

/* Sizing */
.date-input {
    width: 300px;
    height: 40px;
    flex-shrink: 0;
}

.time-input {
    width: 140px;
    height: 40px;
    flex-shrink: 0;
}

.number-of-guests {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}


.total-guests-count {
    width: 300px;
    height: 40px;
}

.guests-gender-count-input {
    width: 140px;
    height: 40px;
}


.guests-count-disclaimer {
    margin-top: 5px;
    display: inline-block;
    font-size: 12px;
    line-height: 15px;
    font-family: 'Satoshi', sans-serif;
    color: #FFFFFF66;
}

/* Hide the default browser checkbox */
.additional-service {
    margin-top: 30px;
}


.checkbox-container {
    margin-top: 10px;
    display: flex;
    /* 20px is the vertical gap (top/bottom) 
       40px is the horizontal gap (left/right) */
    gap: 15px 40px;
    flex-wrap: wrap;
    max-height: 100px;
    overflow-y: auto;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    overflow-y: hidden;
}

.custom-checkbox input {
    display: none;
}

.service {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* The Box - Default State (Unchecked with Gradient Border) */
.checkmark-box {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;

    /* Transparent center */
    background: transparent;

    /* Magic Trick: Use a thick inset shadow or a border-image */
    /* This creates a 1px solid look using your gold color */
    border: 1px solid #c5a059;

    /* Optional: If your browser supports it, this makes the border a real gradient */
    border-image: linear-gradient(135deg, #c5a059 0%, #8f6b29 50%, #c5a059 100%) 1;

    transition: all 0.3s ease;
}

/* The Box - Checked State (Filled with Gradient) */
.custom-checkbox input:checked+.checkmark-box {
    background: linear-gradient(135deg, #c5a059 0%, #8f6b29 50%, #c5a059 100%);
    border: 1px solid transparent;
    /* Glow effect matching your Humble Neon style */
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

/* The White Checkmark inside the box */
.checkmark-box::after {
    content: "";
    position: absolute;
    display: none;

    /* Perfect centering for 16px */
    left: 4.5px;
    top: 1.5px;
    width: 4px;
    height: 8px;

    /* Creating the check shape */
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Show the checkmark when checked */
.custom-checkbox input:checked+.checkmark-box::after {
    display: block;
}

/* Hover effect */
.custom-checkbox:hover .checkmark-box {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.reserve-payment {
    margin-top: 30px;
    display: flex;
    justify-content: start;
    align-items: start;
}

.total-price {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
}

.price-per-hour {
    color: #FFFFFF99;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.total-order-price {
    font-size: 37px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;

}

.price-and-breakdown {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
}

.price-breakdown {
    color: #FFFFFF80;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.breakdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.modal-navigation-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 50px;
}

.modal-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.modal-nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    font-weight: 500;
    background-color: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-range {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
}

.time-range-container {
    display: flex;
    justify-content: end;
    width: 100%;
    gap: 15px;
}

.validation-message {
    margin-top: 10px;
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    padding: 0 10px;
    color: red;
}

input:focus,
input:active {
    border: 1px solid #ccc;
}

select {
    /* Removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Optional: Adds custom padding so text isn't cramped */
    padding: 10px 15px;

    /* Optional: Adds custom styling to indicate it's a dropdown */
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

select:disabled {
    cursor: not-allowed;
    background-color: #f5f5f5;
    /* Light gray to indicate disabled */
    opacity: 0.7;
}

/* Tooltip container */
.input-wrapper {
    position: relative;
}

/* Tooltip text - hidden by default */
.tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position above the input */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

/* Show tooltip when hovering over the disabled input wrapper */
.input-wrapper:has(select:disabled):hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

select:disabled {
    cursor: not-allowed;
    background-color: #f5f5f521;
    /* Light gray to indicate disabled */
    opacity: 0.7;
}

/* Tooltip container */
.input-wrapper {
    position: relative;
}

/* Tooltip text - hidden by default */
.tooltip-text {
    visibility: hidden;
    width: 120px;
    line-height: 15px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position above the input */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

/* Show tooltip when hovering over the disabled input wrapper */
.input-wrapper:has(select:disabled):hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}