/* ============================================
   RESERVATION MODAL STYLES
   ============================================ */

.res-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.res-modal.active {
    display: flex;
}

.res-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.res-modal-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.res-modal.active .res-modal-container {
    transform: translateY(0);
    opacity: 1;
}

.res-modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.res-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    transform: rotate(90deg);
}

.res-modal-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

.res-modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.res-modal-form {
    margin-top: var(--spacing-md);
}

.res-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.res-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.res-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-left: 0.2rem;
}

.res-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.res-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.res-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.honeypot {
    display: none !important;
}

.res-modal-footer {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.res-submit-btn {
    width: 100%;
    padding: 1rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.full-width {
    grid-column: span 2;
}

.res-modal-alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.res-alert-success {
    background: rgba(40, 167, 69, 0.15);
    color: #4ade80;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.res-alert-error {
    background: rgba(220, 53, 69, 0.15);
    color: #f87171;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .res-form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .res-modal-container {
        padding: var(--spacing-lg);
    }
    .res-modal-title {
        font-size: 1.5rem;
    }
}
