/* Plans Page Specific Styles */

.payment-option {
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.payment-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.dark .payment-option.disabled {
    opacity: 0.4;
}

.payment-option.selected {
    border-color: #2563eb !important;
    background-color: rgba(37, 99, 235, 0.05);
}

body.dark .payment-option.selected {
    background-color: rgba(37, 99, 235, 0.15);
}

.architecture-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

body.dark .modal-content {
    background-color: #1a1a1a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-method-btn {
    transition: all 0.2s ease;
}

.contact-method-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Fade transitions for modal sections */
.modal-section {
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.modal-section.hidden {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.modal-section.show {
    display: block;
    opacity: 1;
    max-height: 1000px;
}