*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#f5f7fb;color:#18212f}.nav{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;background:#fff;border-bottom:1px solid #e8edf3}.nav nav{display:flex;gap:22px;align-items:center}.nav a{color:#18212f;text-decoration:none}.brand{font-weight:900;letter-spacing:.12em}.btn{display:inline-block;border:0;border-radius:12px;padding:13px 20px;background:#111827;color:#fff!important;text-decoration:none;font-weight:700;cursor:pointer}.btn.small{padding:9px 14px}.btn.ghost{background:#fff;color:#111827!important;border:1px solid #dce3ec}.hero{max-width:1000px;margin:90px auto 50px;padding:0 24px;text-align:center}.hero h1{font-size:clamp(44px,7vw,78px);line-height:1.02;margin:16px 0}.hero h1 span{opacity:.55}.hero p{font-size:19px;max-width:680px;margin:0 auto 28px;color:#667085}.actions{display:flex;justify-content:center;gap:12px}.badge{font-size:12px;letter-spacing:.16em;font-weight:800;color:#667085}.cards{max-width:1000px;margin:0 auto 80px;padding:0 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards article,.panel{background:#fff;border:1px solid #e7ecf2;border-radius:18px;padding:24px;box-shadow:0 8px 30px rgba(16,24,40,.04)}.cards b{font-size:24px}.container{max-width:1100px;margin:45px auto;padding:0 24px}.top{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.top h1{margin:8px 0}.balance{font-size:28px;font-weight:800}.panel{margin-bottom:24px}.panel h2{margin-top:0}form{display:grid;gap:9px;max-width:650px}label{font-weight:700;font-size:14px;margin-top:8px}input,select{width:100%;padding:13px 14px;border:1px solid #d8dee8;border-radius:10px;background:#fff;font-size:16px}button{margin-top:10px}.auth{min-height:100vh;display:grid;place-items:center;padding:24px}.auth .panel{width:min(460px,100%)}.auth h1{margin:24px 0}.auth p{color:#667085}.auth a{color:#111827;font-weight:700}.error,.notice{padding:12px 14px;border-radius:10px;margin:14px 0;background:#fff0f0;color:#9b1c1c}.notice{background:#f1f5f9;color:#334155}.result{margin-top:18px;background:#0b1220;color:#e5e7eb;padding:18px;border-radius:12px}.result pre{white-space:pre-wrap;overflow:auto}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf0f4;white-space:nowrap}.status{font-size:12px;font-weight:800;padding:4px 8px;border-radius:999px}.status.success{background:#e8f7ee;color:#137333}.status.failed{background:#ffecec;color:#a61b1b}.status.pending{background:#fff6d9;color:#8a5a00}@media(max-width:700px){.cards{grid-template-columns:1fr}.nav{padding:0 4%;}.nav nav{gap:10px;font-size:14px}.hero{margin-top:55px}.actions{flex-direction:column}.top{align-items:flex-start;gap:12px;flex-direction:column}}
/* ======================================================
   RC CHECK - DASHBOARD V2
====================================================== */

:root{
    --rc-bg:#f4f7fb;
    --rc-card:#ffffff;
    --rc-text:#01040a;
    --rc-muted:#667085;
    --rc-border:#e6ebf2;
    --rc-primary:#111827;
    --rc-accent:#5e02ff;
    --rc-blue:#1677ff;
    --rc-success:#137333;
    --rc-success-bg:#e8f7ee;
    --rc-danger:#b42318;
    --rc-danger-bg:#feeceb;
    --rc-shadow:0 14px 40px rgba(15,23,42,.06);
}


/* NAV */

.dashboard-nav{
    min-height:72px;
    padding-left:clamp(24px,6vw,96px);
    padding-right:clamp(24px,6vw,96px);
}

.dashboard-brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}

.brand-mark{
    width:36px;
    height:36px;
    border-radius:11px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#111827;
    color:#fff;
    font-size:12px;
    font-weight:800;
    letter-spacing:.04em;
}

.dashboard-nav-actions{
    display:flex;
    align-items:center;
    gap:18px;
}

.nav-balance{
    display:flex;
    align-items:center;
    gap:6px;
    padding:8px 12px;
    border:1px solid var(--rc-border);
    border-radius:10px;
    background:#fff;
}

.nav-balance span{
    color:var(--rc-muted);
    font-size:13px;
}

.nav-balance strong{
    color:var(--rc-text);
}

.nav-link{
    text-decoration:none;
    font-weight:600;
    color:#111827 !important;
}

.nav-link:visited{
    color:#111827 !important;
}

.nav-link:hover{
    color:#000000 !important;
}


/* CONTENEDOR */

.dashboard-container{
    max-width:1180px;
    padding-top:48px;
    padding-bottom:80px;
}


/* HERO */

.dashboard-hero{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:30px;
    margin-bottom:28px;
}

.dashboard-eyebrow,
.panel-kicker{
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    color:var(--rc-accent);
    margin-bottom:8px;
}

.dashboard-hero h1{
    margin:0;
    font-size:clamp(32px,4vw,44px);
    line-height:1.1;
    color:var(--rc-text);
}

.dashboard-hero p{
    margin:12px 0 0;
    max-width:600px;
    color:var(--rc-muted);
    font-size:16px;
    line-height:1.6;
}

.hero-balance-card{
    min-width:230px;
    background:
        linear-gradient(
            135deg,
            #111827,
            #1e293b
        );
    border-radius:20px;
    padding:22px 24px;
    color:#fff;
    box-shadow:0 18px 40px rgba(17,24,39,.16);
}
/* =========================================
   RC CHECK PRO - EFECTO PLUS DEL SALDO
========================================= */

.hero-balance-card{
    position:relative;
    overflow:hidden;
    isolation:isolate;
}
.hero-balance-card > *{
    position:relative;
    z-index:3;
}

.hero-balance-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:20px;
    pointer-events:none;
    z-index:2;

    border:2px solid transparent;

    background:
        linear-gradient(#111827,#1e293b) padding-box,
        linear-gradient(
            110deg,
            transparent 20%,
            #7c3aed 38%,
            #a855f7 46%,
            #ffffff 50%,
            #60a5fa 54%,
            #7c3aed 62%,
            transparent 80%
        ) border-box;

    background-size:100% 100%, 300% 100%;

    animation:rcBalanceBorderRun 3.5s linear infinite;
    
}

@keyframes rcBalanceBorderRun{
    from{
        background-position:0 0, 100% 0;
    }

    to{
        background-position:0 0, -100% 0;
    }
}
.hero-balance-card::after{
    content:"";
    position:absolute;
    top:-70%;
    left:-65%;
    width:38%;
    height:240%;

    background:linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,.08) 30%,
        rgba(255,255,255,.75) 50%,
        rgba(255,255,255,.08) 70%,
        transparent 100%
    );

    transform:rotate(28deg);
    filter:blur(2px);
    opacity:0;

    pointer-events:none;
    z-index:4;

    animation:rcBalanceShine 5s ease-in-out infinite;
}


@keyframes rcBalanceShine{
    0%, 68%{
        left:-65%;
        opacity:0;
    }

    72%{
        opacity:.85;
    }

    88%{
        opacity:.85;
    }

    94%, 100%{
        left:135%;
        opacity:0;
    }
}

  
.hero-balance-card span{
    display:block;
    font-size:13px;
    opacity:.75;
}

.hero-balance-card strong{
    display:block;
    margin:7px 0;
    font-size:32px;
}

.hero-balance-card small{
    opacity:.65;
}


/* MÉTRICAS */

.dashboard-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-bottom:26px;
}

.dashboard-stat{
    display:flex;
    align-items:center;
    gap:14px;
    padding:18px;
    background:var(--rc-card);
    border:1px solid var(--rc-border);
    border-radius:16px;
    box-shadow:0 8px 30px rgba(15,23,42,.035);
}

.stat-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    border-radius:12px;
    background:#f1f5f9;
    color:#111827;
    font-weight:900;
}

.dashboard-stat span{
    display:block;
    margin-bottom:3px;
    color:var(--rc-muted);
    font-size:12px;
}

.dashboard-stat strong{
    font-size:21px;
    color:var(--rc-text);
}


/* PANELES */

.dashboard-check-panel,
.dashboard-history{
    border:1px solid var(--rc-border);
    box-shadow:var(--rc-shadow);
}

.dashboard-check-panel{
    padding:28px;
    margin-bottom:26px;
}

.panel-heading{
    display:flex;
    justify-content:space-between;
    align-items:start;
    margin-bottom:24px;
}

.panel-heading h2,
.history-heading h2{
    margin:0;
    font-size:24px;
}

.panel-heading p{
    margin:8px 0 0;
    color:var(--rc-muted);
}


/* FORMULARIO */

.dashboard-check-form{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:18px;
}

.dashboard-field label{
    display:block;
    margin-bottom:8px;
    font-size:13px;
    font-weight:700;
}

.dashboard-field input,
.dashboard-field select{
    width:100%;
    height:52px;
    box-sizing:border-box;
    padding:0 15px;
    border:1px solid #d6deea;
    border-radius:12px;
    background:#fff;
    font:inherit;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.dashboard-field input:focus,
.dashboard-field select:focus{
    outline:none;
    border-color:var(--rc-accent);
    box-shadow:0 0 0 4px rgba(94,2,255,.08);
}

.dashboard-submit-row{
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-top:3px;
}

.secure-note{
    color:var(--rc-muted);
    font-size:13px;
}

.dashboard-primary-btn{
    min-width:210px;
    min-height:48px;
    margin:0;
    border-radius:12px;
    transition:
        transform .15s ease,
        opacity .15s ease;
}

.dashboard-primary-btn:hover{
    transform:translateY(-1px);
}

.dashboard-primary-btn:disabled{
    cursor:not-allowed;
    opacity:.65;
}


/* RESULTADOS */

.dashboard-processing,
.dashboard-result-success{
    margin-top:20px;
    padding:16px 18px;
    display:flex;
    align-items:center;
    gap:13px;
    border-radius:13px;
}

.dashboard-processing{
    background:#f4f7fb;
    border:1px solid #e2e8f0;
}

.dashboard-result-success{
    background:var(--rc-success-bg);
    border:1px solid #ccebd8;
    color:var(--rc-success);
}

.dashboard-processing strong,
.dashboard-result-success strong{
    display:block;
}

.dashboard-processing span,
.dashboard-result-success span{
    display:block;
    margin-top:2px;
    font-size:13px;
    opacity:.78;
}

.processing-dot{
    width:13px;
    height:13px;
    border-radius:50%;
    background:var(--rc-accent);
    animation:rcPulse 1s infinite;
}

.result-success-icon{
    width:34px;
    height:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#d9f2e2;
    font-weight:900;
}

@keyframes rcPulse{
    0%{
        transform:scale(.8);
        opacity:.5;
    }

    50%{
        transform:scale(1.15);
        opacity:1;
    }

    100%{
        transform:scale(.8);
        opacity:.5;
    }
}


/* HISTORIAL */

.dashboard-history{
    padding:26px;
}

.history-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
}

.history-count{
    padding:7px 11px;
    border-radius:999px;
    background:#f1f5f9;
    color:var(--rc-muted);
    font-size:12px;
    font-weight:700;
}

.dashboard-table{
    width:100%;
}

.dashboard-table th{
    color:var(--rc-muted);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.dashboard-table th,
.dashboard-table td{
    padding:15px 12px;
}

.check-id{
    color:var(--rc-muted);
    font-weight:700;
}

.service-name{
    color:var(--rc-text);
}

.query-value{
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size:13px;
}

.check-date{
    color:var(--rc-muted);
    font-size:13px;
}


/* ESTADOS */

.dashboard-table .status{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    font-weight:800;
}

.dashboard-table .status.success{
    background:var(--rc-success-bg);
    color:var(--rc-success);
}

.dashboard-table .status.failed{
    background:var(--rc-danger-bg);
    color:var(--rc-danger);
}


/* VACÍO */

.dashboard-empty{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:50px 20px;
    text-align:center;
    border:1px dashed #d6deea;
    border-radius:16px;
}

.dashboard-empty strong{
    margin-bottom:6px;
}

.dashboard-empty span{
    color:var(--rc-muted);
}


/* RESPONSIVE */

@media(max-width:900px){

    .dashboard-stats{
        grid-template-columns:1fr 1fr;
    }

    .dashboard-check-form{
        grid-template-columns:1fr;
    }

    .dashboard-submit-row{
        grid-column:auto;
    }

}


@media(max-width:700px){

    .dashboard-nav{
        padding-left:18px;
        padding-right:18px;
    }

    .dashboard-nav-actions{
        gap:10px;
    }

    .nav-balance span{
        display:none;
    }

    .dashboard-hero{
        grid-template-columns:1fr;
    }

    .hero-balance-card{
        min-width:0;
    }

    .dashboard-stats{
        grid-template-columns:1fr;
    }

    .dashboard-submit-row{
        flex-direction:column;
        align-items:stretch;
    }

    .dashboard-primary-btn{
        width:100%;
    }

}


@media(max-width:520px){

    .dashboard-nav .nav-link{
        font-size:13px;
    }

    .dashboard-brand span:last-child{
        display:none;
    }

    .dashboard-container{
        padding-top:30px;
    }

    .dashboard-check-panel,
    .dashboard-history{
        padding:20px;
    }

}
/* =========================================
   RC CHECK - CONSULTA MEJORADA
========================================= */

.dashboard-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    width:100%;
}

.dashboard-field{
    min-width:0;
}

.dashboard-field label{
    display:block;
    margin-bottom:9px;
    font-weight:700;
    color:#111827;
}

.dashboard-field input,
.dashboard-field select{
    width:100%;
    height:56px;
    box-sizing:border-box;
}

.service-selected-info{
    margin-top:18px;
    padding:16px 18px;
    border:1px solid #e4eaf2;
    border-radius:14px;
    background:#f8fafc;

    display:flex;
    align-items:center;
    gap:14px;
}

.service-selected-info > span{
    color:#667085;
    font-size:13px;
}

.service-selected-info > strong{
    color:#111827;
}

.service-selected-price{
    margin-left:auto;
    color:#667085;
    font-size:13px;
}

.service-selected-price b{
    margin-left:7px;
    color:#111827;
    font-size:17px;
}

.dashboard-form-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-top:18px;
}

.dashboard-form-footer > span{
    color:#667085;
    font-size:13px;
}

.dashboard-submit{
    width:280px;
    margin:0;
}

@media(max-width:800px){

    .dashboard-form-grid{
        grid-template-columns:1fr;
    }

    .service-selected-info{
        align-items:flex-start;
        flex-direction:column;
    }

    .service-selected-price{
        margin-left:0;
    }

    .dashboard-form-footer{
        flex-direction:column;
        align-items:stretch;
    }

    .dashboard-submit{
        width:100%;
    }
}
/* =====================================================
   RC CHECK - CONSULTA PREMIUM
===================================================== */

.dashboard-check-form{
    display:block;
    max-width:none;
}

.check-layout{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);
    gap:28px;
    align-items:stretch;
    margin-top:26px;
}

.check-main{
    display:flex;
    flex-direction:column;
    gap:18px;
    min-width:0;
}

.check-main .dashboard-field{
    width:100%;
}

.check-main .dashboard-field input,
.check-main .dashboard-field select{
    width:100%;
    height:58px;
    padding:0 16px;
    border-radius:12px;
}

.check-main .dashboard-submit{
    width:100%;
    height:54px;
    margin:4px 0 0;
    font-size:15px;
}

.check-security{
    text-align:center;
    color:#667085;
    font-size:12px;
}

.check-summary{
    padding:24px;
    border:1px solid #e3e9f2;
    border-radius:18px;
    background:#f8fafc;
    display:flex;
    flex-direction:column;
}

.summary-kicker{
    color:#5e02ff;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
}

.check-summary h3{
    margin:12px 0 26px;
    font-size:21px;
    line-height:1.3;
    color:#111827;
}

.summary-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:12px 0;
}

.summary-line span{
    color:#667085;
    font-size:13px;
}

.summary-line strong{
    white-space:nowrap;
    color:#111827;
    font-size:16px;
}

.summary-divider{
    height:1px;
    background:#e2e8f0;
    margin:5px 0;
}

.summary-remaining{
    margin-top:auto;
}

.summary-remaining strong{
    font-size:20px;
}

@media(max-width:850px){
    .check-layout{
        grid-template-columns:1fr;
    }

    .check-summary{
        min-height:auto;
    }

    .summary-remaining{
        margin-top:0;
    }
}
/* =========================================
   SALUDO ANIMADO RC CHECK
========================================= */

.dashboard-greeting{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.wave-hand{
    display:inline-block;
    font-size:.9em;
    transform-origin:70% 70%;
    animation:rcWave 2.4s ease-in-out infinite;
}

@keyframes rcWave{

    0%{
        transform:rotate(0deg);
    }

    10%{
        transform:rotate(18deg);
    }

    20%{
        transform:rotate(-8deg);
    }

    30%{
        transform:rotate(18deg);
    }

    40%{
        transform:rotate(-4deg);
    }

    50%{
        transform:rotate(12deg);
    }

    60%,
    100%{
        transform:rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce){
    .wave-hand{
        animation:none;
    }
}
/* =====================================================
   RC CHECK - RESULT MODAL
===================================================== */

.rc-result-overlay{
    position:fixed;
    inset:0;
    z-index:99999;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:24px;

    background:rgba(15,23,42,.68);
    backdrop-filter:blur(7px);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.rc-result-overlay.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.rc-result-modal{
    width:min(760px,100%);
    max-height:88vh;
    overflow-y:auto;

    background:#fff;
    border:1px solid rgba(226,232,240,.9);
    border-radius:24px;

    box-shadow:
        0 30px 90px rgba(15,23,42,.28);

    transform:translateY(18px) scale(.98);

    transition:transform .25s ease;
}

.rc-result-overlay.active .rc-result-modal{
    transform:translateY(0) scale(1);
}


/* CABECERA */

.rc-result-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;

    padding:28px 30px 24px;

    border-bottom:1px solid #edf1f6;
}

.rc-result-brand{
    display:block;

    margin-bottom:8px;

    color:#5e02ff;

    font-size:11px;
    font-weight:900;
    letter-spacing:.14em;
}

.rc-result-header h2{
    margin:0;

    color:#111827;

    font-size:25px;
    line-height:1.2;
}

.rc-result-header p{
    margin:7px 0 0;

    color:#667085;
    font-size:13px;
}

.rc-result-close{
    width:40px;
    height:40px;

    flex-shrink:0;

    border:0;
    border-radius:12px;

    background:#f1f5f9;
    color:#111827;

    font-size:25px;
    line-height:1;

    cursor:pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}

.rc-result-close:hover{
    background:#e5eaf1;
    transform:scale(1.04);
}


/* ESTADO PRINCIPAL */

.rc-result-status{
    display:flex;
    align-items:center;
    gap:14px;

    margin:24px 30px 0;
    padding:16px 18px;

    background:#ecf9f0;
    border:1px solid #d5f0de;
    border-radius:16px;
}

.rc-result-status-icon{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    border-radius:13px;

    background:#d8f3e1;
    color:#137333;

    font-size:20px;
    font-weight:900;
}

.rc-result-status span{
    display:block;

    margin-bottom:3px;

    color:#667085;

    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
}

.rc-result-status strong{
    color:#137333;
    font-size:16px;
}


/* IMEI / SERIAL */

.rc-result-device{
    margin:18px 30px 0;
    padding:16px 18px;

    background:#f8fafc;
    border:1px solid #e7ecf2;
    border-radius:14px;
}

.rc-result-device span{
    display:block;

    margin-bottom:5px;

    color:#667085;

    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
}

.rc-result-device strong{
    color:#111827;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size:16px;
}


/* CONTENIDO DEL RESULTADO */

.rc-result-content{
    padding:22px 30px 28px;
}

.rc-result-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.rc-result-item{
    padding:15px 16px;

    background:#fff;
    border:1px solid #e7ecf2;
    border-radius:14px;
}

.rc-result-item span{
    display:block;

    margin-bottom:6px;

    color:#667085;

    font-size:11px;
    font-weight:700;
}

.rc-result-item strong{
    display:block;

    color:#111827;

    font-size:14px;
    line-height:1.45;

    word-break:break-word;
}


/* COLORES DE ESTADOS */

.rc-result-item.result-good{
    background:#f0faf3;
    border-color:#d4eedc;
}

.rc-result-item.result-good strong{
    color:#137333;
}

.rc-result-item.result-danger{
    background:#fff1f0;
    border-color:#f5d4d1;
}

.rc-result-item.result-danger strong{
    color:#b42318;
}

.rc-result-item.result-warning{
    background:#fff8e7;
    border-color:#f4e2ac;
}

.rc-result-item.result-warning strong{
    color:#9a6700;
}

.rc-result-item.result-info{
    background:#f5f2ff;
    border-color:#e4dcff;
}

.rc-result-item.result-info strong{
    color:#5e02ff;
}


/* FOOTER */

.rc-result-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    padding:20px 30px;

    border-top:1px solid #edf1f6;
    background:#fafbfc;
}

.rc-result-saved{
    color:#667085;
    font-size:12px;
}

.rc-result-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.rc-result-copy,
.rc-result-done{
    min-height:42px;

    padding:0 16px;

    border-radius:11px;

    font:inherit;
    font-size:13px;
    font-weight:800;

    cursor:pointer;
}

.rc-result-copy{
    background:#fff;
    border:1px solid #d9e0e9;
    color:#111827;
}

.rc-result-done{
    border:1px solid #111827;
    background:#111827;
    color:#fff;
}


/* MOVIL */

@media(max-width:650px){

    .rc-result-overlay{
        padding:12px;
        align-items:flex-end;
    }

    .rc-result-modal{
        max-height:92vh;
        border-radius:22px 22px 14px 14px;
    }

    .rc-result-header,
    .rc-result-content,
    .rc-result-footer{
        padding-left:20px;
        padding-right:20px;
    }

    .rc-result-status,
    .rc-result-device{
        margin-left:20px;
        margin-right:20px;
    }

    .rc-result-grid{
        grid-template-columns:1fr;
    }

    .rc-result-footer{
        flex-direction:column;
        align-items:stretch;
    }

    .rc-result-actions{
        width:100%;
    }

    .rc-result-copy,
    .rc-result-done{
        flex:1;
    }
}
/* =========================================
   BOTÓN VER RESULTADO
========================================= */

.history-result-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;

    border: none;
    border-radius: 999px;

    background: #e8f1ff;
    color: #1264d8;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.history-result-btn:hover {
    background: #d9e9ff;
    color: #0b55bd;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(18, 100, 216, 0.12);
}

.history-result-btn:active {
    transform: translateY(0);
}
/* =====================================================
   RC CHECK - RESULT REPORT PREMIUM
===================================================== */

.rc-result-content{
    padding:22px 32px 28px;
}


/* NOMBRE PRINCIPAL DEL DISPOSITIVO */

.rc-report-hero{
    text-align:center;
    padding:8px 20px 24px;
}

.rc-report-hero span{
    display:block;

    margin-bottom:8px;

    color:#5e02ff;

    font-size:10px;
    font-weight:900;
    letter-spacing:.13em;
}

.rc-report-hero h3{
    margin:0;

    color:#111827;

    font-size:25px;
    font-weight:800;
    line-height:1.25;
}


/* CONTENIDO */

.rc-report-details{
    border-top:1px solid #edf1f6;
    border-bottom:1px solid #edf1f6;
}

.rc-report-row{
    display:grid;

    grid-template-columns:
        minmax(150px,.8fr)
        minmax(0,1.2fr);

    align-items:center;
    gap:24px;

    padding:13px 6px;

    border-bottom:1px solid #f0f3f7;
}

.rc-report-row:last-child{
    border-bottom:0;
}

.rc-report-label{
    color:#667085;

    font-size:13px;
    font-weight:600;
}

.rc-report-value{
    display:flex;
    justify-content:flex-end;
    align-items:center;

    min-width:0;

    text-align:right;
}

.rc-report-value strong{
    color:#111827;

    font-size:14px;
    font-weight:700;

    word-break:break-word;
}


/* PILLS */

.rc-report-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    max-width:100%;

    padding:5px 10px;

    border-radius:999px;

    font-size:12px;
    font-weight:800;

    line-height:1.2;

    text-align:center;
}

.rc-pill-good{
    background:#e7f8ed;
    color:#16803b;
}

.rc-pill-danger{
    background:#feeceb;
    color:#c43226;
}

.rc-pill-warning{
    background:#fff3d6;
    color:#996300;
}

.rc-pill-info{
    background:#e8f1ff;
    color:#1264d8;
}


/* VERIFICACIÓN RC CHECK */

.rc-report-verification{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    margin-top:22px;
    padding-top:4px;

    text-align:left;
}

.rc-report-check{
    width:34px;
    height:34px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    border-radius:50%;

    background:#e7f8ed;
    color:#16803b;

    font-weight:900;
}

.rc-report-verification div{
    display:flex;
    flex-direction:column;
}

.rc-report-verification strong{
    color:#111827;

    font-size:12px;
}

.rc-report-verification div span{
    margin-top:2px;

    color:#98a2b3;

    font-size:10px;
}


/* RESPUESTA SIN ESTRUCTURA */

.rc-report-empty{
    padding:20px;

    background:#f8fafc;
    border-radius:14px;

    color:#475467;

    white-space:pre-wrap;
    word-break:break-word;
}


/* MÓVIL */

@media(max-width:600px){

    .rc-report-row{
        grid-template-columns:1fr;

        gap:6px;

        padding:14px 4px;
    }

    .rc-report-value{
        justify-content:flex-start;
        text-align:left;
    }

    .rc-report-hero h3{
        font-size:21px;
    }
}
/* =====================================================
   RC CHECK RESULT - DISEÑO FINAL LIMPIO
===================================================== */

/* MODAL MÁS COMPACTO */
.rc-result-modal{
    width:min(590px, calc(100vw - 28px));
    max-height:92vh;

    background:#fff;
    border:0;
    border-radius:22px;

    box-shadow:
        0 35px 100px rgba(15,23,42,.30);

    overflow-y:auto;
}


/* CABECERA MÁS DISCRETA */
.rc-result-header{
    position:relative;

    display:block;

    padding:25px 28px 18px;

    text-align:center;

    border-bottom:0;
}

.rc-result-brand{
    margin-bottom:7px;

    color:#5e02ff;

    font-size:10px;
    font-weight:900;
    letter-spacing:.16em;
}

.rc-result-header h2{
    margin:0;

    font-size:17px;
    font-weight:800;
    color:#111827;
}

.rc-result-header p{
    margin:5px 0 0;

    font-size:11px;
    color:#98a2b3;
}


/* X SUPERIOR */
.rc-result-close{
    position:absolute;

    top:18px;
    right:18px;

    width:34px;
    height:34px;

    border-radius:50%;
    border:0;

    background:#f3f5f8;
    color:#667085;

    font-size:20px;
}


/* QUITAMOS LA GRAN CAJA VERDE */
.rc-result-status{
    display:none;
}


/* IMEI COMO INFORMACIÓN CENTRAL */
.rc-result-device{
    margin:0 28px;
    padding:15px 10px 18px;

    text-align:center;

    background:transparent;
    border:0;
    border-bottom:1px solid #edf1f5;
    border-radius:0;
}

.rc-result-device span{
    margin-bottom:5px;

    font-size:10px;
    font-weight:800;
    letter-spacing:.11em;

    color:#98a2b3;
}

.rc-result-device strong{
    font-size:16px;
    font-weight:800;

    color:#111827;
}


/* CONTENIDO */
.rc-result-content{
    padding:20px 30px 22px;
}


/* NOMBRE DEL DISPOSITIVO */
.rc-report-hero{
    padding:4px 10px 22px;

    text-align:center;
}

.rc-report-hero span{
    margin-bottom:7px;

    color:#5e02ff;

    font-size:9px;
    font-weight:900;
    letter-spacing:.15em;
}

.rc-report-hero h3{
    margin:0;

    color:#111827;

    font-size:25px;
    font-weight:850;
    line-height:1.2;
}


/* FILAS LIMPIAS */
.rc-report-details{
    border-top:1px solid #edf1f5;
    border-bottom:1px solid #edf1f5;
}

.rc-report-row{
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:20px;

    min-height:48px;
    padding:9px 4px;

    border-bottom:1px solid #f0f2f5;
}

.rc-report-row:last-child{
    border-bottom:0;
}

.rc-report-label{
    flex:0 0 42%;

    color:#667085;

    font-size:13px;
    font-weight:500;
}

.rc-report-value{
    flex:1;

    display:flex;
    justify-content:flex-end;

    text-align:right;
}

.rc-report-value strong{
    color:#111827;

    font-size:13px;
    font-weight:700;

    line-height:1.35;
}


/* CHIPS */
.rc-report-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:4px 10px;

    border-radius:999px;

    font-size:11px;
    font-weight:800;

    line-height:1.2;
}

.rc-pill-good{
    background:#ddf7e5;
    color:#16803b;
}

.rc-pill-danger{
    background:#fee5e3;
    color:#c43226;
}

.rc-pill-warning{
    background:#fff0ca;
    color:#9a6700;
}

.rc-pill-info{
    background:#e5efff;
    color:#1264d8;
}


/* SELLO RC CHECK */
.rc-report-verification{
    display:flex;
    justify-content:center;
    align-items:center;

    gap:9px;

    margin-top:22px;

    text-align:left;
}

.rc-report-check{
    width:30px;
    height:30px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#e7f8ed;
    color:#16803b;

    font-size:14px;
    font-weight:900;
}

.rc-report-verification strong{
    font-size:11px;
    font-weight:800;
}

.rc-report-verification div span{
    color:#98a2b3;
    font-size:9px;
}


/* FOOTER MÁS FINO */
.rc-result-footer{
    padding:16px 28px 22px;

    background:#fff;
    border-top:1px solid #edf1f5;
}

.rc-result-saved{
    color:#98a2b3;

    font-size:10px;
}

.rc-result-actions{
    gap:8px;
}

.rc-result-copy,
.rc-result-done{
    min-height:39px;

    padding:0 15px;

    border-radius:10px;

    font-size:11px;
    font-weight:800;
}

.rc-result-copy{
    border:1px solid #dce2ea;

    background:#fff;
    color:#111827;
}

.rc-result-done{
    border:0;

    background:#111827;
    color:#fff;
}


/* SCROLL MÁS DISCRETO */
.rc-result-modal::-webkit-scrollbar{
    width:6px;
}

.rc-result-modal::-webkit-scrollbar-track{
    background:transparent;
}

.rc-result-modal::-webkit-scrollbar-thumb{
    background:#d6dbe3;
    border-radius:999px;
}


/* MÓVIL */
@media(max-width:600px){

    .rc-result-modal{
        width:100%;
        border-radius:20px 20px 12px 12px;
    }

    .rc-result-content{
        padding-left:20px;
        padding-right:20px;
    }

    .rc-result-device{
        margin-left:20px;
        margin-right:20px;
    }

    .rc-report-row{
        align-items:flex-start;
    }

    .rc-result-footer{
        flex-direction:column;
        align-items:stretch;
    }

    .rc-result-actions{
        width:100%;
    }

    .rc-result-copy,
    .rc-result-done{
        flex:1;
    }
}
/* =====================================================
   RC CHECK - MODAL RESULTADO
===================================================== */

.rc-result-overlay{
    position:fixed;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:24px;

    background:rgba(15,23,42,.68);
    backdrop-filter:blur(6px);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    z-index:999999;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.rc-result-overlay.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}


.rc-result-modal{
    position:relative;

    width:min(590px, calc(100vw - 32px));
    max-height:90vh;

    overflow-y:auto;

    background:#fff;

    border-radius:22px;

    box-shadow:
        0 35px 100px rgba(15,23,42,.32);

    transform:translateY(12px) scale(.98);

    transition:transform .2s ease;
}

.rc-result-overlay.active .rc-result-modal{
    transform:translateY(0) scale(1);
}


/* CABECERA */

.rc-result-header{
    position:relative;

    padding:26px 60px 18px;

    text-align:center;

    border-bottom:0;
}

.rc-result-brand{
    display:block;

    margin-bottom:7px;

    color:#5e02ff;

    font-size:10px;
    font-weight:900;

    letter-spacing:.16em;
}

.rc-result-header h2{
    margin:0;

    color:#111827;

    font-size:18px;
    font-weight:800;
}

.rc-result-header p{
    margin:5px 0 0;

    color:#98a2b3;

    font-size:11px;
}


/* CERRAR */

.rc-result-close{
    position:absolute;

    top:18px;
    right:18px;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border:0;
    border-radius:50%;

    background:#f2f4f7;

    color:#667085;

    font-size:22px;
    line-height:1;

    cursor:pointer;
}


/* IMEI */

.rc-result-device{
    margin:0 30px;

    padding:16px 10px 20px;

    text-align:center;

    border-bottom:1px solid #edf1f5;
}

.rc-result-device span{
    display:block;

    margin-bottom:7px;

    color:#98a2b3;

    font-size:10px;
    font-weight:800;

    letter-spacing:.10em;
}

.rc-result-device strong{
    color:#111827;

    font-size:16px;
    font-weight:800;
}


/* RESULTADO */

.rc-result-content{
    padding:22px 32px;
}

.rc-report-hero{
    padding:2px 10px 22px;

    text-align:center;
}

.rc-report-hero span{
    display:block;

    margin-bottom:8px;

    color:#5e02ff;

    font-size:9px;
    font-weight:900;

    letter-spacing:.15em;
}

.rc-report-hero h3{
    margin:0;

    color:#111827;

    font-size:25px;
    font-weight:850;
}


.rc-report-details{
    border-top:1px solid #edf1f5;
    border-bottom:1px solid #edf1f5;
}

.rc-report-row{
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:20px;

    min-height:48px;

    padding:8px 4px;

    border-bottom:1px solid #f0f2f5;
}

.rc-report-row:last-child{
    border-bottom:0;
}

.rc-report-label{
    color:#667085;

    font-size:13px;
    font-weight:500;
}

.rc-report-value{
    text-align:right;
}

.rc-report-value strong{
    color:#111827;

    font-size:13px;
    font-weight:700;
}


/* ESTADOS */

.rc-report-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:5px 10px;

    border-radius:999px;

    font-size:11px;
    font-weight:800;
}

.rc-pill-good{
    background:#ddf7e5;
    color:#16803b;
}

.rc-pill-danger{
    background:#fee5e3;
    color:#c43226;
}

.rc-pill-warning{
    background:#fff0ca;
    color:#9a6700;
}


/* VERIFICACIÓN */

.rc-report-verification{
    display:flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    margin-top:22px;
}

.rc-report-check{
    width:32px;
    height:32px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#e7f8ed;
    color:#16803b;

    font-weight:900;
}

.rc-report-verification div{
    display:flex;
    flex-direction:column;
}

.rc-report-verification strong{
    color:#111827;

    font-size:11px;
}

.rc-report-verification div span{
    margin-top:2px;

    color:#98a2b3;

    font-size:9px;
}


/* FOOTER */

.rc-result-footer{
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:16px;

    padding:17px 30px 22px;

    border-top:1px solid #edf1f5;
}

.rc-result-saved{
    color:#98a2b3;

    font-size:10px;
}

.rc-result-actions{
    display:flex;
    gap:8px;
}

.rc-result-copy,
.rc-result-done{
    min-height:40px;

    padding:0 16px;

    border-radius:11px;

    font-size:11px;
    font-weight:800;

    cursor:pointer;
}

.rc-result-copy{
    border:1px solid #dce2ea;

    background:#fff;
    color:#111827;
}

.rc-result-done{
    border:0;

    background:#111827;
    color:#fff;
}


/* SCROLL */

.rc-result-modal::-webkit-scrollbar{
    width:6px;
}

.rc-result-modal::-webkit-scrollbar-thumb{
    background:#d2d7df;
    border-radius:999px;
}


/* MÓVIL */

@media(max-width:600px){

    .rc-result-overlay{
        padding:12px;
    }

    .rc-result-modal{
        width:100%;
        max-height:94vh;
    }

    .rc-result-content{
        padding-left:20px;
        padding-right:20px;
    }

    .rc-result-device{
        margin-left:20px;
        margin-right:20px;
    }

    .rc-result-footer{
        flex-direction:column;
        align-items:stretch;
    }

    .rc-result-actions{
        width:100%;
    }

    .rc-result-copy,
    .rc-result-done{
        flex:1;
    }
}
.history-result-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 14px;

    border: none;
    border-radius: 999px;

    background: #e8f1ff;
    color: #2563eb;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}

.history-result-btn:hover {
    background: #dbeafe;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.history-result-btn:active {
    transform: translateY(0);
}
.service-select-hidden{
    position:absolute !important;
    opacity:0 !important;
    pointer-events:none !important;
    width:1px !important;
    height:1px !important;
}

.service-search-wrap{
    position:relative;
}

.service-search-results{
    display:none;
    margin-top:8px;
    background:#fff;
    border:1px solid #dfe5ee;
    border-radius:14px;
    box-shadow:0 14px 35px rgba(15,23,42,.10);
    overflow:hidden;
    max-height:320px;
    overflow-y:auto;
    position:relative;
    z-index:20;
}

.service-search-results.active{
    display:block;
}

.service-search-result{
    width:100%;
    border:0;
    border-bottom:1px solid #edf1f5;
    background:#fff;
    padding:13px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    text-align:left;
    cursor:pointer;
}

.service-search-result:last-child{
    border-bottom:0;
}

.service-search-result:hover{
    background:#f8fafc;
}

.service-result-main{
    font-weight:600;
    color:#111827;
}

.service-result-category{
    font-size:12px;
    color:#667085;
    white-space:nowrap;
}

.service-search-empty{
    padding:16px;
    color:#667085;
    text-align:center;
}
/* =====================================================
   RC CHECK - BUSCADOR PROFESIONAL DE SERVICIOS
===================================================== */

.service-search-wrap{
    position:relative;
    width:100%;
    z-index:30;
}

.service-search{
    width:100%;
    height:58px;
    padding:0 16px;
    border:1px solid #d8e0eb;
    border-radius:14px;
    background:#fff;
    color:#111827;
    font-size:16px;
    outline:none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.service-search:focus{
    border-color:#6d28ff;
    box-shadow:0 0 0 3px rgba(109,40,255,.10);
}

/* LUPA */



/* CONTENEDOR DE RESULTADOS */

.service-search-results{
    position:relative;
z-index:5;
pointer-events:auto;
    display:none;
    position:absolute;
    top:calc(100% + 7px);
    left:0;
    right:0;

    max-height:340px;
    overflow-y:auto;

    background:#fff;
    border:1px solid #e1e7ef;
    border-radius:14px;

    box-shadow:
        0 18px 45px rgba(15,23,42,.14);

    z-index:100;
}

.service-search-results.active{
    display:block;
}


/* CADA SERVICIO */

.service-search-result{
    width:100%;
    min-height:70px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;

    padding:12px 16px;

    border:0;
    border-bottom:1px solid #edf1f6;

    background:#fff;
    text-align:left;
    cursor:pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}

.service-search-result:last-child{
    border-bottom:0;
}
.service-search-result:hover{
    background:#f7f3ff;
}


/* INFORMACIÓN DEL SERVICIO */

.service-result-info{
    position:relative;
    min-width:0;

    display:flex;
    flex-direction:column;

    padding-left:42px;
}

.service-result-info::before{
    content:'▱';

    position:absolute;
    left:4px;
    top:50%;

    width:28px;
    height:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    transform:translateY(-50%);

    border-radius:9px;
    background:#f5f1ff;

    color:#6d28ff;
    font-size:18px;
    font-weight:700;
}

.service-result-info strong{
    display:block;

    color:#111827;
    font-size:15px;
    font-weight:700;
    line-height:1.35;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.service-result-info span{
    margin-top:4px;

    color:#667085;
    font-size:13px;
    font-weight:500;
}


/* BOTÓN SELECCIONAR */

.service-result-select{
    flex-shrink:0;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:112px;
    height:38px;

    padding:0 15px;

    border-radius:11px;

    background:#f1ebff;
    color:#5b21e8;

    font-size:13px;
    font-weight:700;

    transition:
        background .15s ease,
        transform .15s ease;
}

.service-result-select::after{
    content:'›';
    margin-left:9px;
    font-size:20px;
    line-height:1;
}

.service-search-result:hover .service-result-select{
    background:#e9ddff;
    transform:translateX(2px);
}


/* SIN RESULTADOS */

.service-search-empty{
    padding:22px 18px;

    color:#667085;
    font-size:14px;
    text-align:center;
}


/* SCROLL DEL DESPLEGABLE */

.service-search-results::-webkit-scrollbar{
    width:7px;
}

.service-search-results::-webkit-scrollbar-track{
    background:transparent;
}

.service-search-results::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:20px;
}

.service-search-results::-webkit-scrollbar-thumb:hover{
    background:#94a3b8;
}


/* MÓVIL */

@media (max-width:600px){

    .service-search-result{
        min-height:66px;
        padding:11px 12px;
        gap:10px;
    }

    .service-result-info{
        padding-left:34px;
    }

    .service-result-info::before{
        left:0;
        width:26px;
        height:26px;
    }

    .service-result-select{
        min-width:auto;
        height:34px;
        padding:0 11px;
        font-size:12px;
    }
}
/* =========================================
   PAGINACIÓN - HISTORIAL DE CONSULTAS
========================================= */

.history-pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;

    margin-top:18px;
    padding-top:18px;

    border-top:1px solid #edf1f6;

    flex-wrap:wrap;
}

.history-pagination-info{
    color:#667085;
    font-size:13px;
}

.history-pagination-info strong{
    color:#18212f;
    font-weight:700;
}

.history-pagination-size{
    display:flex;
    align-items:center;
    gap:6px;

    color:#667085;
    font-size:13px;
}

.history-pagination-size a{
    min-width:34px;
    height:34px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 9px;

    border:1px solid #e2e8f0;
    border-radius:9px;

    background:#fff;
    color:#475569;

    font-size:13px;
    font-weight:700;

    text-decoration:none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.history-pagination-size a:hover{
    background:#f8fafc;
    border-color:#cbd5e1;
}

.history-pagination-size a.active{
    background:#111827;
    border-color:#111827;
    color:#fff;
}

.history-pagination-nav{
    display:flex;
    align-items:center;
    gap:10px;
}

.history-page-btn{
    min-height:36px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 13px;

    border:1px solid #e2e8f0;
    border-radius:10px;

    background:#fff;
    color:#18212f;

    font-size:13px;
    font-weight:700;

    text-decoration:none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .15s ease;
}

a.history-page-btn:hover{
    background:#f8fafc;
    border-color:#cbd5e1;
    transform:translateY(-1px);
}

.history-page-btn.disabled{
    color:#98a2b3;
    background:#f8fafc;
    cursor:not-allowed;
}

.history-page-current{
    color:#667085;
    font-size:13px;
    white-space:nowrap;
}

.history-page-current strong{
    color:#18212f;
}

@media (max-width:760px){

    .history-pagination{
        flex-direction:column;
        align-items:flex-start;
    }

    .history-pagination-nav{
        width:100%;
        justify-content:space-between;
    }
}
/* =========================================================
   RC CHECK - LOGIN OFICIAL
========================================================= */

.rc-login-page{
    margin:0;
    min-height:100vh;
    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(109,40,255,.08),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #f3f6fb 50%,
            #f8fafc 100%
        );
    color:#111827;
    overflow-x:hidden;
}


/* CONTENEDOR GENERAL */

.rc-login-shell{
    position:relative;

    min-height:100vh;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    padding:46px 20px 36px;

    box-sizing:border-box;

    overflow:hidden;
}


/* HALO DETRÁS DE LA TARJETA */

.rc-login-halo{
    position:absolute;

    width:760px;
    height:760px;

    left:50%;
    top:48%;

    transform:
        translate(-50%,-50%);

    border:1px solid rgba(109,40,255,.10);
    border-radius:50%;

    pointer-events:none;

    animation:
        rcHaloFloat 8s ease-in-out infinite;
}

.rc-login-halo::before{
    content:'';

    position:absolute;
    inset:80px;

    border-radius:50%;

    border:1px solid rgba(37,99,235,.10);
}


/* ONDAS DE PUNTOS */

.rc-login-wave{
    position:absolute;

    width:620px;
    height:230px;

    bottom:60px;

    opacity:.34;

    pointer-events:none;

    background-image:
        radial-gradient(
            circle,
            currentColor 1.15px,
            transparent 1.35px
        );

    background-size:12px 12px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            #000 20%,
            #000 80%,
            transparent
        );

    animation:
        rcWaveMove 9s ease-in-out infinite;
}

.rc-login-wave-left{
    left:-165px;
    color:#2583ff;

    transform:
        rotate(-7deg)
        skewY(-5deg);
}

.rc-login-wave-right{
    right:-165px;
    color:#8b3dff;

    transform:
        rotate(7deg)
        skewY(5deg);

    animation-delay:-4.5s;
}


/* TARJETA */

.rc-login-card{
    position:relative;
    z-index:5;

    width:100%;
    max-width:520px;

    padding:42px 38px 34px;

    box-sizing:border-box;

    background:
        rgba(255,255,255,.94);

    border:
        1px solid rgba(109,40,255,.18);

    border-radius:26px;

    box-shadow:
        0 30px 80px rgba(15,23,42,.10),
        0 8px 25px rgba(109,40,255,.06);

    backdrop-filter:blur(18px);

    animation:
        rcLoginCardIn .75s
        cubic-bezier(.2,.8,.2,1)
        both;
}


/* LOGO */

.rc-login-brand{
    display:flex;
    flex-direction:column;
    align-items:center;

    margin-bottom:30px;

    text-align:center;
}

.rc-login-logo{
    width:100%;

    display:flex;
    align-items:center;
    justify-content:center;

    line-height:.88;

    animation:
        rcLogoIn .8s
        cubic-bezier(.2,.8,.2,1)
        both;
}

.rc-login-logo span{
    display:block;

    font-size:92px;
    font-weight:900;

    letter-spacing:-8px;

    background:
        linear-gradient(
            120deg,
            #1687ff 5%,
            #4361ee 48%,
            #8b2cff 95%
        );

    -webkit-background-clip:text;
    background-clip:text;

    color:transparent;

    filter:
        drop-shadow(
            0 10px 20px
            rgba(67,97,238,.18)
        );
}.rc-login-check::before,
.rc-login-check::after{
    content:'';

    position:absolute;

    top:50%;

    width:38px;
    height:2px;

    transform:translateY(-50%);

    border-radius:999px;
}

.rc-login-check::before{
    right:calc(100% + 14px);
    background:#2583ff;
}

.rc-login-check::after{
    left:calc(100% + 14px);
    background:#8b2cff;
}.rc-login-check{
    position:relative;

    display:inline-block;

    margin-top:8px;

    color:#111827;

    font-size:24px;
    font-weight:800;

    letter-spacing:11px;

    padding-left:11px;

    animation:
        rcCheckIn .7s .16s
        ease both;
}

.rc-login-check::before,
.rc-login-check::after{
    content:'';

    position:absolute;

    top:50%;

    width:38px;
    height:2px;

    transform:translateY(-50%);

    border-radius:999px;
}

.rc-login-check::before{
    right:calc(100% + 14px);
    background:#2583ff;
}

.rc-login-check::after{
    left:calc(100% + 14px);
    background:#8b2cff;
}
/* ENCABEZADO */

.rc-login-heading{
    text-align:center;

    margin-bottom:26px;

    animation:
        rcContentIn .65s .22s
        ease both;
}

.rc-login-heading h1{
    margin:0;

    color:#111827;

    font-size:32px;
    line-height:1.15;

    font-weight:800;
}

.rc-login-heading p{
    margin:9px 0 0;

    color:#718096;

    font-size:15px;
}


/* ERROR */

.rc-login-error{
    margin-bottom:18px;

    padding:12px 14px;

    border:
        1px solid #fecaca;

    border-radius:12px;

    background:#fef2f2;

    color:#b42318;

    font-size:13px;
    font-weight:600;
}


/* FORMULARIO */

.rc-login-form{
    display:flex;
    flex-direction:column;
    gap:14px;

    animation:
        rcContentIn .65s .3s
        ease both;
}


/* CAMPOS */

.rc-login-field{
    position:relative;

    display:flex;
    align-items:center;

    min-height:58px;

    border:
        1px solid #dbe3ef;

    border-radius:14px;

    background:#fff;

    overflow:hidden;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.rc-login-field:focus-within{
    border-color:#6d28ff;

    box-shadow:
        0 0 0 4px
        rgba(109,40,255,.08);

    transform:
        translateY(-1px);
}

.rc-login-field-icon{
    width:58px;
    min-width:58px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#f8fafc;

    border-right:
        1px solid #edf1f6;

    color:#64748b;

    font-size:20px;

    user-select:none;
}

.rc-login-field input{
    width:100%;

    height:58px;

    padding:
        0 15px;

    border:0;

    outline:none;

    background:transparent;

    color:#111827;

    font-size:15px;

    box-sizing:border-box;
}

.rc-login-field input::placeholder{
    color:#94a3b8;
}


/* MOSTRAR CONTRASEÑA */

.rc-login-password-toggle{
    width:50px;
    min-width:50px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:0;

    background:transparent;

    color:#64748b;

    cursor:pointer;

    font-size:18px;

    transition:
        color .2s ease,
        background .2s ease;
}

.rc-login-password-toggle:hover{
    background:#f8fafc;
    color:#6d28ff;
}


/* OPCIONES */

.rc-login-options{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:16px;

    margin:
        2px 2px 4px;
}

.rc-login-remember{
    display:flex;
    align-items:center;
    gap:8px;

    color:#64748b;

    font-size:13px;

    cursor:pointer;
}

.rc-login-remember input{
    width:17px;
    height:17px;

    accent-color:#6d28ff;
}

.rc-login-forgot{
    color:#2563eb;

    font-size:13px;
    font-weight:600;

    text-decoration:none;
}

.rc-login-forgot:hover{
    text-decoration:underline;
}


/* BOTÓN */

.rc-login-submit{
    position:relative;

    width:100%;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-top:4px;

    border:0;

    border-radius:14px;

    background:
        linear-gradient(
            100deg,
            #1687ff 0%,
            #4361ee 50%,
            #8b2cff 100%
        );

    color:#fff;

    font-size:16px;
    font-weight:800;

    cursor:pointer;

    box-shadow:
        0 14px 28px
        rgba(67,97,238,.22);

    overflow:hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.rc-login-submit::before{
    content:'';

    position:absolute;

    top:0;
    left:-120%;

    width:75%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.24),
            transparent
        );

    transform:skewX(-20deg);

    transition:left .65s ease;
}

.rc-login-submit:hover{
    transform:
        translateY(-2px);

    box-shadow:
        0 18px 34px
        rgba(67,97,238,.28);

    filter:brightness(1.03);
}

.rc-login-submit:hover::before{
    left:140%;
}

.rc-login-arrow{
    position:absolute;

    right:20px;

    font-size:22px;
}


/* CREAR CUENTA */

.rc-login-register{
    margin-top:25px;

    text-align:center;

    color:#64748b;

    font-size:13px;

    animation:
        rcContentIn .65s .38s
        ease both;
}

.rc-login-register a{
    margin-left:4px;

    color:#7c3aed;

    font-weight:700;

    text-decoration:none;
}

.rc-login-register a:hover{
    text-decoration:underline;
}


/* SEGURIDAD / RAPIDEZ / CONFIANZA */

.rc-login-trust{
    position:relative;
    z-index:5;

    display:flex;
    align-items:stretch;
    justify-content:center;

    margin-top:26px;

    animation:
        rcContentIn .7s .48s
        ease both;
}

.rc-login-trust-item{
    min-width:150px;

    padding:
        0 22px;

    display:flex;
    flex-direction:column;
    align-items:center;

    text-align:center;

    border-right:
        1px solid #dbe3ef;
}

.rc-login-trust-item:last-child{
    border-right:0;
}

.rc-login-trust-item strong{
    color:#111827;

    font-size:14px;
    font-weight:800;
}

.rc-login-trust-item span{
    margin-top:4px;

    color:#718096;

    font-size:12px;
}


/* ANIMACIONES */

@keyframes rcLoginCardIn{
    from{
        opacity:0;

        transform:
            translateY(24px)
            scale(.98);
    }

    to{
        opacity:1;

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes rcLogoIn{
    from{
        opacity:0;

        transform:
            translateY(-18px)
            scale(.92);
    }

    to{
        opacity:1;

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes rcCheckIn{
    from{
        opacity:0;
        letter-spacing:18px;
    }

    to{
        opacity:1;
        letter-spacing:11px;
    }
}

@keyframes rcContentIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes rcHaloFloat{
    0%,
    100%{
        transform:
            translate(-50%,-50%)
            scale(1);
    }

    50%{
        transform:
            translate(-50%,-51%)
            scale(1.025);
    }
}

@keyframes rcWaveMove{
    0%,
    100%{
        margin-bottom:0;
    }

    50%{
        margin-bottom:18px;
    }
}


/* RESPONSIVE */

@media (max-width:700px){

    .rc-login-shell{
        padding:
            24px 16px;
    }

    .rc-login-card{
        padding:
            34px 22px 28px;

        border-radius:22px;
    }

    .rc-login-logo span{
        font-size:72px;
    }

    .rc-login-check{
        font-size:19px;
        letter-spacing:8px;
        padding-left:8px;
    }

    .rc-login-check::before,
    .rc-login-check::after{
        width:24px;
    }

    .rc-login-heading h1{
        font-size:28px;
    }

    .rc-login-options{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .rc-login-trust{
        width:100%;
        gap:0;
    }

    .rc-login-trust-item{
        flex:1;
        min-width:0;

        padding:
            0 10px;
    }

    .rc-login-wave{
        opacity:.20;
    }
}


@media (max-width:460px){

    .rc-login-trust-item span{
        display:none;
    }

    .rc-login-trust-item{
        padding:
            0 7px;
    }

    .rc-login-field-icon{
        width:50px;
        min-width:50px;
    }
}


/* ACCESIBILIDAD:
   reducir movimiento si el usuario lo solicita */

@media (prefers-reduced-motion:reduce){

    .rc-login-card,
    .rc-login-logo,
    .rc-login-check,
    .rc-login-heading,
    .rc-login-form,
    .rc-login-register,
    .rc-login-trust,
    .rc-login-halo,
    .rc-login-wave{
        animation:none !important;
    }
    }
    /* ICONOS LOGIN */

.rc-login-field-icon svg{
    width:20px;
    height:20px;
    display:block;
}

.rc-login-field-icon{
    color:#718096;
}
.rc-login-password-toggle{
    color:#718096;
}

.rc-login-password-toggle .rc-eye-icon{
    width:19px;
    height:19px;
    display:block;
}

.rc-login-password-toggle:hover{
    color:#4361ee;
}
/* =====================================================
   RC CHECK PRO - LOGO HEADER FINAL
===================================================== */

.rc-pro-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none !important;
    white-space:nowrap;
}

.rc-brand-name{
    display:inline-block;
    color:#111827;
    font-size:17px;
    font-weight:900;
    letter-spacing:.14em;
    line-height:1;
}

/* CAJA PRO */
.rc-brand-pro{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:58px;
    height:34px;
    padding:0 12px;

    overflow:hidden;

    border-radius:10px;

    background:
        linear-gradient(
            145deg,
            #080b12 0%,
            #111827 55%,
            #080b12 100%
        );

    border:1px solid #d6a824;

    box-shadow:
        0 0 0 1px rgba(255,215,80,.20),
        0 4px 12px rgba(17,24,39,.16),
        0 0 10px rgba(255,190,30,.18);

    isolation:isolate;
}

/* BORDE DORADO EN MOVIMIENTO */
.rc-brand-pro::before{
    content:"";
    position:absolute;

    width:140%;
    height:260%;

    background:
        conic-gradient(
            from 0deg,
            transparent 0deg,
            transparent 235deg,
            #b77900 270deg,
            #ffd84d 300deg,
            #fff4ad 318deg,
            #ffbd16 335deg,
            transparent 360deg
        );

    animation:rcProGoldSpin 2.3s linear infinite;

    z-index:-2;
}

/* INTERIOR NEGRO */
.rc-brand-pro::after{
    content:"";
    position:absolute;
    inset:2px;

    border-radius:8px;

    background:
        linear-gradient(
            145deg,
            #090d15,
            #151b27 55%,
            #080b11
        );

    z-index:-1;
}

/* TEXTO PRO */
.rc-brand-pro-text{
    position:relative;
    z-index:2;

    color:#ffd43b;

    font-size:13px;
    font-weight:900;
    letter-spacing:.13em;

    text-shadow:
        0 0 5px rgba(255,210,50,.45);
}

/* DESTELLO QUE RECORRE PRO */
.rc-brand-pro-text::after{
    content:"";
    position:absolute;

    top:-10px;
    bottom:-10px;

    width:8px;
    left:-18px;

    transform:skewX(-20deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.95),
            transparent
        );

    filter:blur(1px);

    animation:rcProShine 2.3s ease-in-out infinite;
}

@keyframes rcProGoldSpin{
    to{
        transform:rotate(360deg);
    }
}

@keyframes rcProShine{
    0%,25%{
        left:-18px;
        opacity:0;
    }

    35%{
        opacity:1;
    }

    65%{
        left:68px;
        opacity:1;
    }

    75%,100%{
        left:68px;
        opacity:0;
    }
}
/* =====================================================
   RC CHECK - HEADER FIX DEFINITIVO
   ===================================================== */

header.nav.dashboard-nav,
.dashboard-topbar {
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 0 clamp(24px, 6vw, 96px);

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px;

    background: #fff;
    border-bottom: 1px solid #e8edf3;
}

header.nav.dashboard-nav .dashboard-brand,
header.nav.dashboard-nav .rc-pro-brand,
.dashboard-topbar .dashboard-brand,
.dashboard-topbar .rc-pro-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 10px;
    margin: 0;
    flex-shrink: 0;
    text-decoration: none !important;
    white-space: nowrap;
}

header.nav.dashboard-nav .dashboard-nav-actions,
.dashboard-topbar .dashboard-nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    gap: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

header.nav.dashboard-nav .dashboard-nav-actions > *,
.dashboard-topbar .dashboard-nav-actions > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

header.nav.dashboard-nav .nav-balance,
.dashboard-topbar .nav-balance {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
}

header.nav.dashboard-nav .nav-link,
.dashboard-topbar .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap;
}

@media (max-width: 700px) {
    header.nav.dashboard-nav,
    .dashboard-topbar {
        padding-left: 18px;
        padding-right: 18px;
        gap: 12px;
    }

    header.nav.dashboard-nav .dashboard-nav-actions,
    .dashboard-topbar .dashboard-nav-actions {
        gap: 10px;
    }
}

/* =========================================================
   RC CHECK PRO - RECARGA DE SALDO
   ========================================================= */

.recharge-panel{
    margin-top:28px;
    margin-bottom:60px;
}

.recharge-card{
    max-width:920px;
    margin:0 auto;
    padding:32px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.recharge-card-header{
    margin-bottom:26px;
}

.recharge-card-header h2{
    margin:7px 0 6px;
    font-size:26px;
    line-height:1.2;
    color:#0f172a;
}

.recharge-card-header p{
    margin:0;
    color:#64748b;
    font-size:14px;
}

.recharge-amounts{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
    margin-bottom:26px;
}

.recharge-amount{
    min-height:92px;
    padding:15px 10px;
    border:1px solid #dbe3ef;
    border-radius:16px;
    background:#ffffff;
    color:#0f172a;
    cursor:pointer;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.recharge-amount:hover{
    transform:translateY(-2px);
    border-color:#7c3aed;
    box-shadow:0 10px 24px rgba(124,58,237,.10);
}

.recharge-amount span{
    display:block;
    font-size:22px;
    font-weight:800;
}

.recharge-amount small{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
}

.recharge-amount.is-selected{
    border-color:#7c3aed;
    background:#f5f3ff;
    box-shadow:
        0 0 0 2px rgba(124,58,237,.10),
        0 10px 24px rgba(124,58,237,.10);
}

.recharge-custom{
    margin-bottom:24px;
}

.recharge-custom label{
    display:block;
    margin-bottom:8px;
    color:#334155;
    font-size:13px;
    font-weight:700;
}

.recharge-input-wrap{
    display:flex;
    align-items:center;
    min-height:58px;
    padding:0 16px;
    border:1px solid #dbe3ef;
    border-radius:15px;
    background:#ffffff;
    transition:border-color .18s ease, box-shadow .18s ease;
}

.recharge-input-wrap:focus-within{
    border-color:#7c3aed;
    box-shadow:0 0 0 3px rgba(124,58,237,.10);
}

.recharge-input-wrap > span{
    margin-right:8px;
    color:#0f172a;
    font-size:20px;
    font-weight:800;
}

.recharge-input-wrap input{
    flex:1;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:#0f172a;
    font:inherit;
    font-size:18px;
    font-weight:700;
}

.recharge-input-wrap input::placeholder{
    color:#94a3b8;
}

.recharge-input-wrap strong{
    color:#64748b;
    font-size:12px;
    letter-spacing:.06em;
}

.recharge-security{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:22px;
    padding:16px;
    border:1px solid #dcfce7;
    border-radius:15px;
    background:#f0fdf4;
}

.recharge-security > span{
    font-size:20px;
    line-height:1;
}

.recharge-security strong{
    display:block;
    margin-bottom:3px;
    color:#166534;
    font-size:13px;
}

.recharge-security p{
    margin:0;
    color:#4b5563;
    font-size:12px;
    line-height:1.5;
}

.recharge-continue{
    width:100%;
    min-height:56px;
    border:0;
    border-radius:15px;
    background:#111827;
    color:#ffffff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
    transition:
        transform .18s ease,
        opacity .18s ease,
        box-shadow .18s ease;
}

.recharge-continue:not(:disabled):hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(15,23,42,.18);
}

.recharge-continue:disabled{
    opacity:.42;
    cursor:not-allowed;
    box-shadow:none;
}

@media (max-width:900px){
    .recharge-amounts{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:600px){
    .recharge-panel{
        margin-top:20px;
    }

    .recharge-card{
        padding:20px;
        border-radius:18px;
    }

    .recharge-amounts{
        grid-template-columns:repeat(2,1fr);
    }

    .recharge-card-header h2{
        font-size:22px;
    }
}
/* =========================================================
   RC CHECK PRO - BOTÓN AGREGAR SALDO / BALANCE CARD
   ========================================================= */

.hero-balance-recharge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: 100%;
    margin-top: 14px;
    padding: 10px 13px;

    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    border: 1px solid rgba(139, 92, 246, 0.85);
    border-radius: 10px;

    background: rgba(124, 58, 237, 0.08);

    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.08),
        0 0 12px rgba(124, 58, 237, 0.10);

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.hero-balance-recharge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;

    transition: transform 0.22s ease;
}

.hero-balance-recharge-arrow {
    margin-left: auto;

    font-size: 17px;
    line-height: 1;

    transition: transform 0.22s ease;
}

/* HOVER */
.hero-balance-recharge:hover {
    color: #ffffff;

    border-color: rgba(167, 139, 250, 1);

    background: linear-gradient(
        135deg,
        rgba(109, 40, 217, 0.95),
        rgba(124, 58, 237, 0.95)
    );

    box-shadow:
        0 0 0 1px rgba(167, 139, 250, 0.30),
        0 0 18px rgba(124, 58, 237, 0.55),
        0 8px 24px rgba(76, 29, 149, 0.28);

    transform: translateY(-1px);
}

.hero-balance-recharge:hover .hero-balance-recharge-icon {
    transform: scale(1.10);
}

.hero-balance-recharge:hover .hero-balance-recharge-arrow {
    transform: translateX(4px);
}

/* Teclado / accesibilidad */
.hero-balance-recharge:focus-visible {
    outline: 2px solid #a78bfa;
    outline-offset: 3px;
}
/* =========================================================
   RC CHECK PRO - AVISO FLOTANTE DE RECARGA
   ========================================================= */

/* La tarjeta será la referencia para posicionar el aviso */
.hero-balance-card {
    position: relative;
}

/* Aviso oculto por defecto */
.dashboard-hero {
    position: relative;
    overflow: visible;
}
.hero-recharge-popover {
    position: absolute;

   top: calc(100% + 6px);
right: 0;
left: auto;

    width: 290px;
    padding: 15px 17px;
border-radius: 14px;
  background: linear-gradient(
    135deg,
    #17132f 0%,
    #3b1675 55%,
    #5b21b6 100%
);

border: 1px solid rgba(124, 58, 237, 0.55);

box-shadow:
    0 16px 38px rgba(76, 29, 149, 0.24),
    0 8px 24px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(-7px)
        scale(0.96);

    transform-origin: top center;

    pointer-events: none;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;

    z-index: 50;
}

/* Triángulo superior */
.hero-recharge-popover::before {
    content: "";

    position: absolute;
    top: -7px;
    left: 50%;

    width: 14px;
    height: 14px;

    background: #32156a;

    border-left: 1px solid rgba(167, 139, 250, 0.65);
    border-top: 1px solid rgba(167, 139, 250, 0.65);

    transform:
        translateX(-50%)
        rotate(45deg);
}

/* Título */
.hero-recharge-popover-title {
    position: relative;

    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 6px;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

/* Rayo */
.hero-recharge-bolt {
    flex: 0 0 auto;
    font-size: 17px;
}

/* Texto secundario */
.hero-recharge-popover p {
    position: relative;

    margin: 0;

    color: #f5be2d;

    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   MOSTRAR AL PASAR EL MOUSE POR AGREGAR SALDO
   ========================================================= */

.hero-balance-card:has(.hero-balance-recharge:hover)
+ .hero-recharge-popover,

.hero-balance-card:has(.hero-balance-recharge:focus-visible)
+ .hero-recharge-popover {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);
}
/* Texto del aviso flotante de recarga */
.hero-recharge-popover {
    color: #ffffff;
}

.hero-recharge-popover-content strong {
    display: block;
    color: #ffffff;
    font-weight: 700;
}

.hero-recharge-popover-content span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
}
/* =========================================================
   RC CHECK PRO - INTERACCION PREMIUM MENU SUPERIOR
   ========================================================= */

.dashboard-nav-actions .nav-link,
.dashboard-nav-actions .nav-balance {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    border-radius: 14px;

    transition:
        transform .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

/* Fondo premium */
.dashboard-nav-actions .nav-link::before,
.dashboard-nav-actions .nav-balance::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;

    background: linear-gradient(
        135deg,
        rgba(96, 165, 250, 0.12),
        rgba(124, 58, 237, 0.16)
    );

    border: 1px solid rgba(124, 58, 237, 0.18);

    opacity: 0;

    transform: scale(.88);

    transition:
        opacity .25s ease,
        transform .28s cubic-bezier(.2,.8,.2,1);

    z-index: -1;
    pointer-events: none;
}
/* =========================================================
   RC CHECK PRO - HOVER LIMPIO MENU SUPERIOR
   ========================================================= */

.dashboard-nav-actions .nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 15px;

    border: 2px solid transparent;
    border-radius: 12px;

    line-height: 1;
    white-space: nowrap;

    transition:
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease,
        transform .22s ease,
        color .22s ease;
}

.dashboard-nav-actions .nav-balance {
    position: relative;
    border-radius: 14px;

    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        transform .22s ease;
}

/* Administración / Agregar saldo / Salir */

.dashboard-nav-actions .nav-link:hover {
    border-color: #7c3aed;

    background: rgba(124, 58, 237, 0.055);

    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.07),
        0 7px 18px rgba(76, 29, 149, 0.10);

    transform: translateY(-2px);

    color: #111827 !important;
}

/* Saldo */
.dashboard-nav-actions .nav-balance:hover {
    border-color: #7c3aed;

    box-shadow:
        0 4px 14px rgba(124, 58, 237, 0.08);

    transform: translateY(-1px);
}
/* =========================================================
   RC CHECK PRO - PAYPAL CANCELLED NOTICE
   ========================================================= */

.paypal-cancelled-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.paypal-cancelled-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.30);
    color: #d97706;
    font-size: 20px;
    font-weight: 900;
}

.paypal-cancelled-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #92400e;
    font-size: 14px;
    font-weight: 800;
}

.paypal-cancelled-notice p {
    margin: 0;
    color: #78716c;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 640px) {
    .paypal-cancelled-notice {
        align-items: flex-start;
        padding: 14px 15px;
    }

    .paypal-cancelled-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}