/* ═══════════════════════════════════════════
   PRICING MODAL STYLES
═══════════════════════════════════════════ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--r-2xl);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-modal);
    width: 100%;
    max-width: 600px;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-surface);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
    z-index: 1;
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-card-hover);
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem 2rem 1rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-default);
    border-radius: var(--r-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-elevated);
    transition: all var(--t-fast);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    background: var(--bg-card);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-faint);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* Payment Options */
.payment-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-default);
    border-radius: var(--r-md);
    background: var(--bg-elevated);
    transition: all var(--t-fast);
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    border-color: var(--blue-500);
    background: rgba(59,130,246,0.1);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.payment-option:hover .payment-option-content {
    border-color: var(--border-accent);
}

.payment-option-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.payment-option-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.payment-option-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Button Styles */
.btn-block {
    width: 100%;
}

/* Responsive */
@media (max-width: 640px) {
    .modal-content {
        max-width: 100%;
        border-radius: var(--r-xl);
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
}