/* Payment Modal Styles - Matching Onboarding Theme */

.payment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.payment-modal-overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(126, 248, 236, 0.4);
    max-width: 950px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(126, 248, 236, 0.3);
    animation: slideUp 0.3s ease;
}

.payment-modal-content {
    padding: 50px 40px;
    text-align: center;
}

/* Icon - Removed per request */

/* Headers */
.payment-modal h2 {
    color: #2a2a2a;
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.payment-modal h3 {
    color: #5fd4ca;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Text */
.payment-modal p {
    font-size: 20px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.payment-modal .highlight {
    background: linear-gradient(135deg, rgba(126, 248, 236, 0.1) 0%, rgba(95, 212, 202, 0.1) 100%);
    padding: 20px;
    border-radius: 12px;
    color: #333;
    font-weight: 500;
    border-left: 4px solid #7ef8ec;
    margin: 25px 0;
}

/* Pricing Cards */
.pricing-options {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin: 30px 0;
    justify-content: center;
    align-items: stretch;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(126, 248, 236, 0.3);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-card:hover {
    border-color: #7ef8ec;
    background: rgba(126, 248, 236, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(126, 248, 236, 0.3);
}

.pricing-card.recommended {
    border-color: #7ef8ec;
    background: linear-gradient(135deg, rgba(126, 248, 236, 0.1) 0%, rgba(95, 212, 202, 0.1) 100%);
    position: relative;
}

.pricing-card.recommended::before {
    content: '¡MEJOR VALOR!';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7ef8ec 0%, #5fd4ca 100%);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: #7ef8ec;
    margin-bottom: 5px;
}

.plan-price .currency {
    font-size: 20px;
    vertical-align: super;
}

.plan-period {
    font-size: 16px;
    color: #999;
    margin-bottom: 15px;
}

.plan-savings {
    background: #ffe4b5;
    color: #ff6b35;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    color: #666;
    font-size: 16px;
}

.plan-features li::before {
    content: '✓';
    color: #7ef8ec;
    font-weight: bold;
    margin-right: 10px;
}

/* Buttons */
.btn-select-plan {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #7ef8ec 0%, #5fd4ca 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-select-plan:hover {
    background: linear-gradient(135deg, #5fd4ca 0%, #4bc2b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(126, 248, 236, 0.4);
}

.btn-select-plan:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alternative Actions */
.alternative-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(126, 248, 236, 0.2);
}

.btn-maybe-later {
    background: transparent;
    color: #999;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.btn-maybe-later:hover {
    color: #666;
}

/* Loading State */
.payment-modal.loading .payment-modal-content {
    opacity: 0.6;
    pointer-events: none;
}

.payment-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.payment-loading.show {
    display: block;
}

.payment-spinner {
    border: 3px solid rgba(126, 248, 236, 0.2);
    border-top: 3px solid #7ef8ec;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success State */
.payment-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.payment-success.show {
    display: block;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.success-icon::before {
    content: '✅';
}

/* Error State */
.payment-error {
    background: rgba(255, 100, 100, 0.1);
    color: #ff3333;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
}

.payment-error.show {
    display: block;
}

/* Responsive */
@media (max-width: 850px) {
    .pricing-options {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
        width: 100%;
    }

    .payment-modal {
        width: 95%;
        max-width: 600px;
        margin: 10px;
    }
    
    .payment-modal-content {
        padding: 30px 20px;
    }
    
    .payment-modal h2 {
        font-size: 32px;
    }
    
    .plan-price {
        font-size: 28px;
    }
}