/* Payment Page Specific Styles */

:root {
    --payment-bg: #f8fafc;
    --payment-success: #10b981;
    --payment-success-bg: #ecfdf5;
}

body {
    background-color: #f8fafc;
}

.payment-

.secure-badge {
    background: var(--payment-success-bg);
    color: var(--payment-success);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

/* Main Content */
.payment-main {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.payment-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.payment-intro h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

.payment-intro p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Card */
.payment-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.plan-summary-

.summary-label {
    display: block;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
}

.price-period {
    color: #6b7280;
    font-weight: 500;
}

/* Methods List */
.payment-methods-list {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-method-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 1.5rem;
}

.payment-method-item:hover {
    border-color: #2563eb;
    background: #f8faff;
    transform: translateY(-2px);
}

.method-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.method-icon-container.paypal {
    background: #f0f7ff;
    color: #003087;
}

.method-icon-container.mercadopago {
    background: #e6fffb;
    color: #00bfa5;
}

.method-icon-container.card {
    background: #f9fafb;
    color: #374151;
}

.method-details {
    flex: 1;
}

.method-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.method-details p {
    color: #6b7280;
    font-size: 0.9rem;
}

.card-icons {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    font-size: 1.2rem;
    color: #9ca3af;
}

.arrow {
    color: #9ca3af;
    font-size: 0.9rem;
}

.payment-card-footer {
    background: #f9fafb;
    padding: 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-top: 1px solid #f3f4f6;
}

.payment-card-footer i {
    margin-right: 8px;
}

/* Back Link */
.back-link-container {
    margin-top: 2.5rem;
    text-align: center;
}

.back-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #111827;
}

@media (max-width: 600px) {
    .plan-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #1d4ed8;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: #111827;
}
html, body { overflow-y: scroll !important; scrollbar-gutter: stable !important; }
