/* Modal Styles */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 1.5rem;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dark .modal-content {
    background: #1E293B;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #F8FAFC;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1E293B;
}

.dark .modal-close {
    background: #0F172A;
    color: #F8FAFC;
}

.modal-close:hover {
    background: #E2E8F0;
    transform: rotate(90deg);
}

.dark .modal-close:hover {
    background: #334155;
}

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

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.dark .modal-title {
    color: #F8FAFC;
}

.modal-subtitle {
    font-size: 1.125rem;
    color: #64748B;
}

.dark .modal-subtitle {
    color: #94A3B8;
}

.modal-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.modal-option {
    background: #ffffff;
    border: 2px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dark .modal-option {
    background: #1E293B;
    border-color: #334155;
}

.modal-option:hover {
    border-color: #6B63DD;
    box-shadow: 0 20px 40px rgba(107, 99, 221, 0.15);
    transform: translateY(-8px);
}

.modal-option-featured {
    border-color: #6B63DD;
    box-shadow: 0 10px 30px rgba(107, 99, 221, 0.1);
}

.option-icon {
    width: 80px;
    height: 80px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.option-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    text-align: center;
    margin-bottom: 0.75rem;
}

.dark .option-title {
    color: #F8FAFC;
}

.option-description {
    color: #64748B;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.dark .option-description {
    color: #94A3B8;
}

.option-button {
    background: linear-gradient(135deg, #6B63DD 0%, #5a52c9 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.modal-option:hover .option-button {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}
