

/* Calendar Modal */
.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.calendar-modal.show {
    display: flex;
}

.calendar-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    min-width: 360px;
}

.calendar-close {
    right: 20px;
    top: 30px;
    background: white;
    border: 1px solid #666;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.calendar-close:hover {
    background-color: #f8f9fa;
    color: #333;
}



.clear-dates {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.clear-dates:hover {
    background-color: #f0f0f0;
    color: #333;
}

.calendar-actions {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}


/* Guest Modal */
.guests-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.guests-modal.show {
    opacity: 1;
}

.guests-modal-content {
    position: relative;
    background-color: white;
    margin: 5vh auto;
    padding: 1.5rem;
    border-radius: 5px;
    overflow-y: auto;
}

/* Guest Controls */
.guest-type-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.guest-type-info {
    flex: 1;
}

.guest-type-title {
    font-size: 1rem;
    font-weight: 500;
}

.guest-type-subtitle {
    font-size: 0.875rem;
    color: #666;
}

.guest-type-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-control-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guest-control-btn:not(:disabled):hover {
    border-color: #E61F4E;
    color: #E61F4E;
}

.guests-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.clear-guests, 
.apply-guests {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.clear-guests {
    color: #666;
}

.apply-guests {
    background-color: #E61F4E;
    color: white;
}

.guests-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.popup_header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

/* Responsive Styles for Modal */
@media (max-width: 480px) {
    .calendar-modal-content,
    .guests-modal-content {
        width: 95%;
        padding: 0.75rem;
    }
    
    .guest-type-title {
        font-size: 0.9rem;
    }
    
    .guest-type-subtitle {
        font-size: 0.8rem;
    }
}
