/**
 * Booking Modal Styles
 * 
 * @package BeachBooking
 */

.bb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bb-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.bb-modal-container {
    position: relative;
    background: var(--bb-card, #FFFDF9);
    border-radius: var(--bb-radius-lg, 16px);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--bb-shadow-lg, 0 20px 60px rgba(0,0,0,.25));
}

.bb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--bb-border, #e2e8f0);
}

.bb-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--bb-text, #2d3748);
}

.bb-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bb-bg, #f7fafc);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--bb-text-muted, #718096);
    transition: all 0.2s;
}

.bb-modal-close:hover {
    background: var(--bb-border, #e2e8f0);
    color: var(--bb-text, #2d3748);
}

.bb-modal-body {
    padding: 24px;
}

@media (max-width: 640px) {
    .bb-modal {
        padding: 0;
    }
    
    .bb-modal-container {
        max-height: 100vh;
        border-radius: 0;
    }
}
