<?php
$titulo_pagina = "Pagos y Aranceles | CQFP";
require_once 'header.php';
?>

<!-- Estilos exclusivos para esta página (no afectan al resto del sitio) -->
<style>
    /* ===== ESTILOS PÁGINA DE PAGOS ===== */
    .payment-special {
        background: #f4f7fc;
        border-radius: 32px;
        overflow: hidden;
        border: 1px solid rgba(0,163,231,0.1);
        margin-top: 0;
    }
    .payment-header {
        background: linear-gradient(135deg, #003366 0%, #002244 100%);
        padding: 24px 32px;
        color: #fff;
        border-bottom: 4px solid #f2aa21;
    }
    .payment-header h1 {
        font-weight: 600;
        font-size: 1.9rem;
        letter-spacing: -0.02em;
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 6px;
    }
    .payment-header h1 i { color: #f2aa21; font-size: 2rem; }
    .payment-header .subtitle {
        font-weight: 400;
        opacity: 0.9;
        font-size: 1rem;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 8px;
    }
    .payment-header .ruc {
        background: rgba(255,255,255,0.1);
        padding: 4px 14px;
        border-radius: 40px;
        font-size: 0.9rem;
        border-left: 3px solid #00a5e7;
    }
    .banks-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 32px;
    }
    .bank-card {
        background: #fff;
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.02);
        border: 1px solid #e9edf4;
        transition: all 0.2s;
    }
    .bank-card:hover {
        border-color: #00a5e7;
        box-shadow: 0 10px 25px -5px rgba(0,163,231,0.08);
    }
    .bank-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 20px;
        border-bottom: 1px dashed #dce3ec;
        padding-bottom: 16px;
    }
    .bank-icon {
        width: 48px;
        height: 48px;
        background: #f0f7fe;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #003366;
        font-size: 28px;
    }
    .bank-title {
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #003366;
    }
    .detail-row {
        display: flex;
        align-items: baseline;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }
    .detail-label {
        width: 65px;
        font-weight: 500;
        color: #64748b;
        font-size: 0.9rem;
        text-transform: uppercase;
    }
    .detail-value {
        font-weight: 600;
        font-size: 1.2rem;
        color: #0f172a;
        background: #f8fafc;
        padding: 6px 14px;
        border-radius: 40px;
        border: 1px solid #e2e8f0;
        font-family: monospace;
    }
    .cci-value { font-size: 1rem; color: #334155; }
    .beneficiary-section {
        background: #f8fafc;
        margin: 0 32px 20px;
        padding: 18px 24px;
        border-radius: 18px;
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px 30px;
    }
    .beneficiary-label {
        font-weight: 500;
        color: #003366;
        background: #e6f0fa;
        padding: 6px 16px;
        border-radius: 30px;
        font-size: 0.9rem;
    }
    .beneficiary-name {
        font-weight: 700;
        font-size: 1.15rem;
        color: #003366;
    }
    .ruc-badge {
        background: #f2aa21;
        color: #003366;
        padding: 6px 16px;
        border-radius: 30px;
        font-weight: 600;
        font-size: 0.9rem;
        margin-left: auto;
    }
    .instructions { padding: 0 32px 24px; }
    .email-box {
        background: #eef6ff;
        border-radius: 20px;
        padding: 22px 28px;
        border-left: 6px solid #00a5e7;
        margin-bottom: 28px;
    }
    .email-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 600;
        color: #003366;
        margin-bottom: 16px;
        font-size: 1.1rem;
    }
    .email-option {
        background: #fff;
        padding: 12px 20px;
        border-radius: 16px;
        border: 2px solid #00a5e7;
        margin-bottom: 12px;
        display: inline-block;
        width: auto;
        box-shadow: 0 4px 8px rgba(0,163,231,0.1);
    }
    .email-option i { color: #f2aa21; margin-right: 10px; }
    .email-note {
        background: rgba(242,170,33,0.1);
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 0.9rem;
        color: #003366;
        border: 1px dashed #f2aa21;
    }
    .required-info {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
        background: linear-gradient(145deg, #fff9eb, #fff3d6);
        padding: 24px;
        border-radius: 20px;
        border: 2px solid #f2aa21;
    }
    .info-line {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        color: #1e293b;
        font-weight: 500;
    }
    .info-line i { width: 28px; color: #f2aa21; font-size: 1.4rem; margin-top: 2px; }
    .highlight-data {
        background: #003366;
        color: #fff;
        padding: 4px 12px;
        border-radius: 40px;
        font-size: 0.9rem;
        display: inline-block;
        margin-left: 8px;
    }
    .deadline-badge {
        background: #003366;
        color: #fff;
        padding: 14px 24px;
        border-radius: 60px;
        font-weight: 600;
        display: inline-block;
        font-size: 1rem;
        border: 1px solid #f2aa21;
    }
    .deadline-badge i { margin-right: 10px; color: #f2aa21; }
    .footer-note {
        margin-top: 24px;
        text-align: right;
        font-size: 0.85rem;
        color: #5e7180;
        border-top: 1px solid #dce5ec;
        padding-top: 20px;
    }
    @media (max-width: 700px) {
        .banks-grid { grid-template-columns: 1fr; padding: 20px; }
        .beneficiary-section { margin: 0 20px 20px; flex-direction: column; align-items: flex-start; }
        .ruc-badge { margin-left: 0; }
        .instructions { padding: 0 20px 24px; }
        .payment-header { padding: 20px; }
        .payment-header h1 { font-size: 1.6rem; }
    }
</style>

<div class="payment-special">
    <div class="payment-header">
        <h1><i class="fas fa-university"></i> Portal de Pagos</h1>
        <div class="subtitle">
            <span>Colegio Químico Farmacéutico Departamental de Lima</span>
            <span class="ruc"><i class="far fa-file-alt" style="margin-right:6px;"></i>RUC: 20467561694</span>
        </div>
    </div>

    <div class="banks-grid">
        <div class="bank-card">
            <div class="bank-header"><div class="bank-icon"><i class="fas fa-building-columns"></i></div><div class="bank-title">BBVA</div></div>
            <div class="detail-row"><span class="detail-label">Soles</span><span class="detail-value">0011-0156-0100080035</span></div>
            <div class="detail-row"><span class="detail-label">CCI</span><span class="detail-value cci-value">011-156-000100080035-77</span></div>
            <div style="font-size:0.85rem;color:#5f7d9c;margin-top:6px;"><i class="far fa-check-circle" style="color:#00a5e7;"></i> Cuenta Corriente Soles</div>
        </div>
        <div class="bank-card">
            <div class="bank-header"><div class="bank-icon"><i class="fas fa-address-card"></i></div><div class="bank-title">Interbank</div></div>
            <div class="detail-row"><span class="detail-label">Soles</span><span class="detail-value">107-300446436-9</span></div>
            <div class="detail-row"><span class="detail-label">CCI</span><span class="detail-value cci-value">003-107-003004464369-07</span></div>
            <div style="font-size:0.85rem;color:#5f7d9c;margin-top:6px;"><i class="far fa-check-circle" style="color:#00a5e7;"></i> Cuenta Corriente Soles</div>
        </div>
    </div>

    <div class="beneficiary-section">
        <span class="beneficiary-label"><i class="far fa-user-circle"></i> A nombre de</span>
        <span class="beneficiary-name">Colegio Químico Farmacéutico Departamental de Lima</span>
        <span class="ruc-badge">RUC 20467561694</span>
    </div>

    <div class="instructions">
        <div class="email-box">
            <div class="email-title"><i class="fas fa-paper-plane" style="color:#00a5e7;"></i> Enviar voucher a UNO de estos correos:</div>
            <div class="email-option"><i class="fas fa-envelope"></i> creditosycobranzas@cqfdlima.org</div>
            <div class="email-option"><i class="fas fa-envelope"></i> creditosycobranzas1@cqfdlima.org</div>
            <div class="email-note"><i class="fas fa-info-circle" style="color:#f2aa21;margin-right:8px;"></i> <strong>Importante:</strong> Indicar nombre del titular de la cuenta desde la cual se realizó el depósito o transferencia.</div>
        </div>

        <div class="required-info">
            <div class="info-line">
                <i class="fas fa-clipboard-list"></i>
                <span><strong style="font-size:1.2rem;color:#003366;">DATOS QUE DEBES INCLUIR EN EL CORREO:</strong></span>
            </div>
            <div class="info-line">
                <i class="fas fa-user"></i>
                <span><strong>Nombre completo del titular de la cuenta</strong> <span class="highlight-data">obligatorio</span></span>
            </div>
            <div class="info-line">
                <i class="fas fa-id-card"></i>
                <span><strong>Número de colegiatura CQFP</strong> <span class="highlight-data">obligatorio</span></span>
            </div>
            <div class="info-line">
                <i class="fas fa-file-invoice"></i>
                <span><strong>Tipo de comprobante:</strong> Boleta o Factura <span class="highlight-data">obligatorio</span></span>
            </div>
            <div class="info-line" style="border-top:1px dashed #f2aa21;padding-top:16px;margin-top:8px;">
                <i class="fas fa-reply-all"></i>
                <span>Recibirás tu <strong>boleta electrónica de pago</strong> en un plazo <strong>no mayor a 48 horas hábiles</strong>.</span>
            </div>
        </div>

        <div class="deadline-badge">
            <i class="far fa-clock"></i> RESPUESTA MÁXIMO 48 HORAS HÁBILES
        </div>

        <div class="footer-note">
            <i class="fas fa-shield-alt" style="color:#00a5e7;margin-right:6px;"></i>
            Todas las cuentas a nombre del Colegio Químico Farmacéutico Departamental de Lima.
        </div>
    </div>
</div>

<?php require_once 'footer.php'; ?>