/* ===== Modals (Generic and Specific) ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    z-index: 10;
    position: relative;
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--gray-50);
    color: var(--gray-500);
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--navy-900);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
}

/* Choice Modal Specifics */
.choice-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.choice-option {
    text-align: center;
}

.choice-option h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.choice-option p {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.choice-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0.5rem 0;
}

.choice-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.choice-divider span {
    background: var(--white);
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--navy-900);
}

.btn-outline:hover {
    border-color: var(--navy-900);
    background: var(--gray-50);
}

.btn-text {
    background: transparent;
    color: var(--gray-500);
    margin-top: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

.btn-text:hover {
    color: var(--navy-900);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}