
.custom-reserve-button{
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Modal overlay */
#reserva-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
}

/* Modal content */
#reserva-modal > div {
    background: #fff;
    width: 90%;
    max-width: 960px;
    margin: 4% auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Modal header */
#reserva-modal h2 {
    margin-top: 0;
    font-size: 26px;
    color: #222;
}

/* Room Tabs */
#room-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    overflow-x: auto;
    margin-top: 1rem;
}

.room-tab {
    background: #f3f3f3;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: background 0.3s;
}

.room-tab:hover {
    background: #e0e0e0;
}

.room-tab.active,
.room-tab[style*="background: rgb(204, 204, 204)"] {
    background: #0073aa !important;
    color: white;
}

/* Room content box */
#room-content {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

/* Person block */
.person-block {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.person-block h5 {
    margin-top: 0;
    font-size: 18px;
    color: #444;
}

/* Form fields */
.person-block input[type="text"],
.person-block input[type="number"],
.room-type {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.person-block label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Buttons */
#reserva-modal .button {
    background: #eee;
    border: none;
    color: #333;
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

#reserva-modal .button:hover {
    background: #ddd;
}

#reserva-modal .button-primary {
    background: #0073aa;
    color: white;
}

#reserva-modal .button-primary:hover {
    background: #005e8a;
}

/* Seat Selection Modal */
.seat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.seat-modal {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    max-width: 240px;
    width: 90%;
    z-index: 1000;
    text-align: center;
}

.seat-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

/* Seat styling */
.seatCharts-container {
    margin: 20px 0;
}

.seatCharts-seat {
    width: 50px;
    height: 50px;
    line-height: 30px;
    background-color: #3498db;
    color: #fff;
    text-align: center;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
}

.seatCharts-seat.selected {
    background-color: #2ecc71 !important;
}

.seatCharts-seat.unavailable {
    background-color: #bdc3c7 !important;
    cursor: not-allowed;
}


.swal2-popup{
    z-index: 9999 !important;
}


#reserva-modal, #seatSelectorModal {    
    overflow-y: auto; /* Habilitar desplazamiento vertical */
}

.seatCharts-cell{
    height: 28px !important;
    width: 28px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-legend {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 2px;
}

.legend-color.disponible {
    background-color: green; /* green */
}

.legend-color.ocupado {
    background-color: #bdc3c7 ; /* gray */
}

#confirm-seat-btn{
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 20px;
    border-radius: 6px;
}

.seatCharts-row{
    height: 30px !important;
}

.custom-room-meta {
    background: #f9f9f9;
    border-left: 4px solid #007cba;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.custom-room-meta strong {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 15px;
}

.person-meta {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 2px solid #ccc;
    border-left: 2px solid #ccc;
    display: flex;
}

.person-meta .person-name {
    font-weight: 500;
    display: block;
    color: #333;
}

.person-meta div {
    color: #555;
    font-size: 13px;
    margin-left: 10px;
}

.person-meta .person-age {
    color: #999;
}

.img-icon{
    width: 12px;
}

.seat-field .person_seat:empty{
    background: #bdc3c7;
}

.seat-field .person_seat{
    width: 60px !important;
    text-align: center;
    background: green;
    color: white !important;
    font-weight: 800;
}

.select-seat-btn{
    background: #1c74b4;
    color: white;
    border: none;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
}

.passport-expiration{
    border: 1px solid lightgray;
    padding: 8px 20px;
    border-radius: 6px;
}

@media (min-width: 500px) {
    .passport-field > div {
        width: 48%;
        display: inline-block;
    }
}

.swal2-container{
    z-index: 11003 !important;
}
.person-count-action{
    cursor: pointer;
}
.add-kids-container{
    display: flex;
    justify-content: end;
}
.styled-btn {
    background: #0074d9;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    margin-bottom: 10px;
}
.styled-btn:hover {
    background: #005fa3;
}

.styled-remove-btn {
    background: #fff;
    border: 1px solid #d90429;
    color: #d90429;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.1em;
    cursor: pointer;    
    margin-left: 8px;
    margin-top: 2px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.styled-remove-btn:hover {
    background: #d90429;
    color: #fff;
}