*{box-sizing:border-box}
html{background:#f7f7f9}
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#202124;background:#f7f7f9}
.app-shell{width:min(1180px,calc(100% - 32px));margin:38px auto 60px}
.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;color:#785CFF;margin-bottom:6px}
.topbar h1{font-size:30px;line-height:1.1;margin:0 0 7px}
.subhead{margin:0;color:#707078;font-size:14px}
.dot{margin:0 6px}
.connection{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #e7e7ec;border-radius:999px;padding:9px 13px;font-size:13px;font-weight:700}
.status-dot{width:8px;height:8px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 3px rgba(34,160,107,.12)}
.flash{border-radius:10px;padding:12px 14px;margin-bottom:18px;font-size:14px;font-weight:650}
.flash-success{background:#eaf8f1;color:#176b49;border:1px solid #c9eadb}
.flash-error{background:#fff0f0;color:#a13131;border:1px solid #f3caca}
.mode-card,.panel,.stat-card{background:#fff;border:1px solid #e7e7ec;box-shadow:0 1px 2px rgba(0,0,0,.02)}
.mode-card{border-radius:14px;padding:22px;display:grid;grid-template-columns:1fr 1.45fr;gap:28px;align-items:center;margin-bottom:18px}
.mode-copy h2,.panel h2{font-size:18px;margin:0 0 6px}
.mode-copy p,.panel-heading p{margin:0;color:#71717a;font-size:14px;line-height:1.55}
.mode-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px}
.mode-option{border:1px solid #dedee5;border-radius:10px;padding:12px;display:flex;gap:10px;align-items:flex-start;cursor:pointer;transition:.15s;background:#fff}
.mode-option:hover{border-color:#bdb5ff}
.mode-option.selected{border-color:#785CFF;box-shadow:0 0 0 2px rgba(120,92,255,.08);background:#fbfaff}
.mode-option input{margin-top:3px;accent-color:#785CFF}
.mode-option strong{display:block;font-size:14px;margin-bottom:3px}
.mode-option small{display:block;color:#767680;font-size:12px;line-height:1.35}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.stat-card{border-radius:14px;padding:17px 18px;min-height:118px;display:flex;flex-direction:column;justify-content:center;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.stat-card:hover{transform:translateY(-2px);border-color:#dcd7ff;box-shadow:0 7px 22px rgba(36,27,85,.06)}
.stat-top{display:flex;align-items:center;gap:12px}
.stat-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:grid;place-items:center}
.stat-card-pending .stat-icon{background:#fff5d8;color:#9a7112}
.stat-card-ready .stat-icon{background:#eeebff;color:#674ee8}
.stat-card-sent .stat-icon{background:#e9f4ff;color:#276cc5}
.stat-card-active .stat-icon{background:#e8f8f1;color:#20835b}
.stat-number{font-size:30px;font-weight:800;line-height:1;letter-spacing:-.025em}
.stat-label{font-size:13px;color:#4f4f58;margin-top:12px;font-weight:750}
.stat-help{font-size:11px;color:#92929a;margin-top:4px}
.panel{border-radius:14px;overflow:hidden}
.panel-heading{padding:20px 22px;border-bottom:1px solid #ececf0;display:flex;align-items:center;justify-content:space-between}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;min-width:900px}
th,td{text-align:left;padding:15px 16px;border-bottom:1px solid #efeff2;font-size:13px;vertical-align:middle}
th{background:#fafafd;color:#73737c;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
tbody tr:hover{background:#fcfcff}
.product-cell{min-width:280px}
.product-info{display:flex;align-items:center;gap:11px;min-width:0}
.product-thumb{position:relative;width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;overflow:hidden;border:1px solid #e7e4f7;border-radius:11px;background:#f5f2ff;color:#785CFF}
.product-thumb-placeholder{display:grid;place-items:center;width:100%;height:100%}
.product-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff}
.product-copy{display:block;min-width:0}
.product-copy strong{display:block;max-width:310px;line-height:1.35}
.product-copy small,.block{display:block;color:#82828b;margin-top:4px}
.dashboard-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:6px;border-radius:13px;background:rgba(255,255,255,.14)}
.dashboard-tab{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:2px solid #fff;border-radius:10px;background:#fff;color:#352a7e;font-size:14px;font-weight:800;text-decoration:none;box-shadow:0 3px 10px rgba(12,9,61,.16)}
.dashboard-tab:hover,.dashboard-tab:focus-visible{background:#eeeaff;color:#352a7e}
.dashboard-tab.is-active{border-color:#c8baff;background:#785cff;color:#fff;box-shadow:0 4px 14px rgba(21,11,90,.35)}
.demand-panel .product-copy strong{max-width:440px}
.analytics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px}
.analytics-card{border:1px solid #e8e3ff;background:#f8f6ff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:8px}
.analytics-card strong{font-size:27px;color:#4535aa}
.analytics-card span{color:#5e596e;font-size:13px;font-weight:700}
.analytics-note{margin:0;padding:0 20px 22px;color:#66616f;font-size:13px;line-height:1.5}
@media(max-width:700px){.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.analytics-grid{grid-template-columns:1fr}}
.badge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap;border:1px solid transparent}
.badge-icon{display:grid;place-items:center;line-height:0}
.badge-pending{background:#fff7df;color:#8a6514;border-color:#f5e8b8}
.badge-ready{background:#eeeaff;color:#5d46c9;border-color:#dcd4ff}
.badge-notified{background:#e8f7ee;color:#1a724d;border-color:#caead8}
.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.actions form{margin:0}
.btn{appearance:none;border:0;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap;transition:transform .15s ease,background .15s ease,box-shadow .15s ease,filter .15s ease;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1}
.btn-icon{display:block;flex:0 0 auto}
.btn-primary{background:#785CFF;color:#fff;box-shadow:0 3px 10px rgba(120,92,255,.18)}
.btn-primary:hover{filter:brightness(.97);transform:translateY(-1px);box-shadow:0 5px 14px rgba(120,92,255,.24)}
.btn-secondary{background:#f0eefc;color:#4f3bb5;border:1px solid #e4dfff}
.btn-secondary:hover{background:#e8e4ff;transform:translateY(-1px)}
.btn-danger-link{background:#fff5f5;color:#b63a3a;border:1px solid #ffe0e0}
.btn-danger-link:hover{background:#ffe8e8;transform:translateY(-1px)}
.btn-sm{padding:8px 10px;font-size:12px}
.empty-state{padding:40px 22px;text-align:center;color:#686870}
.empty-state strong,.empty-state span{display:block}
.empty-state span{font-size:13px;margin-top:6px}
.footer{display:flex;justify-content:space-between;gap:18px;margin-top:18px;padding:0 4px;color:#92929a;font-size:12px}
@media(max-width:900px){.mode-card{grid-template-columns:1fr}.mode-form{grid-template-columns:1fr 1fr}.mode-form .btn{grid-column:1/-1}.stats-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.app-shell{width:min(100% - 20px,1180px);margin-top:20px}.topbar{flex-direction:column}.mode-form,.stats-grid{grid-template-columns:1fr}.footer{flex-direction:column}}

/* =========================================================
   ALERT STOCK - LANGUAGE SWITCHER
   ========================================================= */

.alertstock-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    margin-right: 10px;
    padding: 5px 9px;
    border: 1px solid #e6e3f5;
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
}

.alertstock-lang {
    color: #777783;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    opacity: .68;
}

.alertstock-lang:hover {
    color: #6549f5;
    opacity: 1;
}

.alertstock-lang.lang-active {
    color: #6549f5;
    opacity: 1;
}

.alertstock-lang-separator {
    color: #d0cedb;
    font-size: 10px;
}

@media (max-width: 760px) {
    .alertstock-language-switcher {
        margin: 8px 0;
    }
}


/* =========================================================
   ALERT STOCK - MODE SELECTOR V2
   ========================================================= */

.mode-card-v2{
    grid-template-columns:.85fr 1.7fr;
    padding:24px;
    gap:30px;
    overflow:visible;
}

.mode-kicker{
    display:inline-block;
    margin-bottom:7px;
    color:#785CFF;
    font-size:10px;
    font-weight:850;
    letter-spacing:.12em;
}

.mode-card-v2 .mode-copy h2{
    font-size:20px;
    margin-bottom:7px;
}

.mode-current{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:13px;
    padding:7px 10px;
    border-radius:999px;
    background:#f7f5ff;
    color:#696573;
    font-size:11px;
}

.mode-current strong{
    color:#4e3bb5;
}

.mode-current-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#785CFF;
    box-shadow:0 0 0 3px rgba(120,92,255,.12);
}

.mode-form-v2{
    grid-template-columns:1fr 1fr auto;
    gap:10px;
    align-items:stretch;
}

.mode-option-v2{
    position:relative;
    min-height:92px;
    padding:14px;
    gap:12px;
    align-items:center;
    border-radius:13px;
}

.mode-option-v2 input{
    position:absolute;
    opacity:0;
    width:1px;
    height:1px;
    pointer-events:none;
}

.mode-option-v2:has(input:checked){
    border-color:#785CFF;
    background:linear-gradient(
        135deg,
        #fbfaff 0%,
        #f5f2ff 100%
    );
    box-shadow:
        0 0 0 2px rgba(120,92,255,.08),
        0 7px 18px rgba(72,54,150,.06);
}

.mode-option-v2:has(input:focus-visible){
    outline:3px solid rgba(120,92,255,.18);
    outline-offset:2px;
}

.mode-option-icon{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    border-radius:12px;
}

.mode-option-icon-auto{
    color:#7658f4;
    background:#eeeaff;
}

.mode-option-icon-manual{
    color:#256dcc;
    background:#e9f4ff;
}

.mode-option-copy{
    min-width:0;
    flex:1;
}

.mode-option-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:5px;
}

.mode-option-title strong{
    margin:0;
    font-size:14px;
}

.mode-option-v2 small{
    font-size:11.5px;
    line-height:1.4;
}

.mode-check{
    width:20px;
    height:20px;
    flex:0 0 20px;
    display:none;
    place-items:center;
    border-radius:50%;
    background:#785CFF;
    color:#fff;
}

.mode-option-v2:has(input:checked) .mode-check{
    display:grid;
}

.mode-save{
    min-width:118px;
    padding-inline:15px;
    border-radius:11px;
}


/* =========================================================
   ALERT STOCK - WHATSAPP SUPPORT
   ========================================================= */

.whatsapp-support{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    font-family:inherit;
}

.whatsapp-support-icon{
    width:58px;
    height:58px;
    flex:0 0 58px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    box-shadow:
        0 8px 24px rgba(0,0,0,.17),
        0 0 0 5px rgba(37,211,102,.10);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.whatsapp-support-label{
    padding:10px 13px;
    border:1px solid #e6e6eb;
    border-radius:10px;
    background:#fff;
    color:#33333a;
    font-size:12px;
    font-weight:750;
    box-shadow:0 6px 20px rgba(0,0,0,.09);
    opacity:0;
    transform:translateX(8px);
    pointer-events:none;
    transition:
        opacity .18s ease,
        transform .18s ease;
}

.whatsapp-support:hover .whatsapp-support-icon{
    transform:translateY(-2px) scale(1.04);
    box-shadow:
        0 10px 28px rgba(0,0,0,.20),
        0 0 0 6px rgba(37,211,102,.12);
}

.whatsapp-support:hover .whatsapp-support-label,
.whatsapp-support:focus-visible .whatsapp-support-label{
    opacity:1;
    transform:translateX(0);
}

.whatsapp-support:focus-visible{
    outline:none;
}

.whatsapp-support:focus-visible .whatsapp-support-icon{
    outline:3px solid rgba(37,211,102,.28);
    outline-offset:3px;
}


@media(max-width:900px){

    .mode-card-v2{
        grid-template-columns:1fr;
    }

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

    .mode-save{
        grid-column:1/-1;
        min-height:44px;
    }

}


@media(max-width:600px){

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

    .mode-save{
        grid-column:auto;
    }

    .whatsapp-support{
        right:16px;
        bottom:16px;
    }

    .whatsapp-support-icon{
        width:54px;
        height:54px;
        flex-basis:54px;
    }

    .whatsapp-support-label{
        display:none;
    }

}


/* =========================================================
   ALERT STOCK - BLUE OUTER SHELL V1
   ========================================================= */

html{
    min-height:100%;
    background:#101a5b;
}

body{
    position:relative;
    min-height:100vh;
    overflow-x:hidden;
    color:#202124;

    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(102,78,255,.55) 0,
            rgba(102,78,255,.18) 20%,
            transparent 42%
        ),
        radial-gradient(
            circle at 90% 18%,
            rgba(31,115,255,.38) 0,
            rgba(31,115,255,.12) 23%,
            transparent 46%
        ),
        radial-gradient(
            circle at 82% 88%,
            rgba(128,56,255,.30) 0,
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #101957 0%,
            #16256f 32%,
            #2337a5 68%,
            #512bb5 100%
        );

    background-attachment:fixed;
}


/* Resplandores decorativos */

body::before,
body::after{
    content:"";
    position:fixed;
    pointer-events:none;
    border-radius:50%;
    filter:blur(2px);
    z-index:0;
}

body::before{
    width:620px;
    height:620px;
    left:-270px;
    bottom:-300px;

    background:
        radial-gradient(
            circle,
            rgba(89,110,255,.24) 0%,
            rgba(89,110,255,.08) 42%,
            transparent 70%
        );
}

body::after{
    width:540px;
    height:540px;
    right:-250px;
    top:120px;

    background:
        radial-gradient(
            circle,
            rgba(159,72,255,.20) 0%,
            rgba(91,74,255,.07) 45%,
            transparent 72%
        );
}


/* Contenedor principal */

.app-shell{
    position:relative;
    z-index:1;

    width:min(
        1180px,
        calc(100% - 40px)
    );

    margin:30px auto 64px;
}


/* Cabecera sobre fondo azul */

.topbar{
    padding:4px 3px 0;
    margin-bottom:22px;
}

.topbar h1{
    color:#fff;

    text-shadow:
        0 2px 10px
        rgba(5,10,45,.20);
}

.eyebrow{
    color:#c9bcff;
}

.subhead{
    color:#d9defc;
}

.subhead .dot{
    color:#8fa1ef;
}


/* Pills del encabezado */

.connection{
    background:
        rgba(255,255,255,.96);

    border-color:
        rgba(255,255,255,.50);

    box-shadow:
        0 7px 20px
        rgba(6,12,50,.15);
}


/* Paneles blancos flotando sobre el azul */

.mode-card,
.panel,
.stat-card{
    border-color:
        rgba(232,232,244,.95);

    box-shadow:
        0 12px 34px
        rgba(5,10,50,.13);
}

.mode-card{
    box-shadow:
        0 14px 40px
        rgba(5,10,50,.15);
}

.panel{
    box-shadow:
        0 14px 42px
        rgba(5,10,50,.14);
}


/* Cards métricas */

.stat-card{
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease;
}

.stat-card:hover{
    transform:translateY(-2px);

    box-shadow:
        0 15px 34px
        rgba(5,10,50,.17);
}


/* Footer */

.footer{
    color:#cbd3fa;
    padding:3px 5px;
}

.footer span{
    text-shadow:
        0 1px 8px
        rgba(8,12,50,.22);
}


/* Flash messages con más contraste */

.flash-success{
    box-shadow:
        0 9px 22px
        rgba(5,10,50,.10);
}

.flash-error{
    box-shadow:
        0 9px 22px
        rgba(5,10,50,.10);
}


/* Scrollbar sutil */

html{
    scrollbar-color:
        #6956dd
        #101957;
}


/* Responsive */

@media(max-width:600px){

    .app-shell{
        width:min(
            100% - 20px,
            1180px
        );

        margin-top:18px;
        margin-bottom:75px;
    }

    body{
        background:
            radial-gradient(
                circle at 10% 5%,
                rgba(102,78,255,.45),
                transparent 34%
            ),
            linear-gradient(
                160deg,
                #101957 0%,
                #1e3293 65%,
                #4826a5 100%
            );
    }

}


/* =========================================================
   ALERT STOCK - BRAND LOCKUPS V1
   ========================================================= */

.brand-stack{
    display:block;
    min-width:0;
}

.app-brand{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
}

.app-brand-mark{
    width:72px;
    height:72px;
    flex:0 0 72px;
    display:block;
    border-radius:18px;
    box-shadow:
        0 12px 26px rgba(8,14,60,.18);
}

.app-brand-copy{
    min-width:0;
}

.app-brand-copy h1{
    margin-bottom:6px;
}



/* Footer branding */

.footer-branded{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}

.footer-brand-lockup{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-app-signature,
.footer-lab-signature{
    display:flex;
    align-items:center;
    gap:10px;
}

.footer-app-signature-mark{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:block;
    border-radius:10px;
}

.footer-lab-signature-mark{
    width:32px;
    height:32px;
    flex:0 0 32px;
    display:block;
    border-radius:50%;
}

.footer-app-signature-copy,
.footer-lab-signature-copy{
    display:flex;
    flex-direction:column;
}

.footer-app-signature-copy strong,
.footer-lab-signature-copy strong{
    color:#fff;
    font-size:13px;
    line-height:1.1;
}

.footer-app-signature-copy small,
.footer-lab-signature-copy small{
    color:#d0d7ff;
    font-size:11px;
    line-height:1.2;
}

.footer-tech{
    align-self:flex-end;
    color:#d0d7ff;
}

@media(max-width:780px){

    .app-brand{
        align-items:flex-start;
    }

    .app-brand-mark{
        width:62px;
        height:62px;
        flex-basis:62px;
    }

    .lab-badge{
        width:100%;
        border-radius:16px;
    }

    .footer-branded{
        align-items:flex-start;
    }

    .footer-tech{
        align-self:auto;
    }

}

@media(max-width:560px){

    .app-brand{
        gap:12px;
    }

    .app-brand-mark{
        width:56px;
        height:56px;
        flex-basis:56px;
    }

    .lab-badge{
        padding:9px 11px 9px 9px;
    }

    .footer-brand-lockup{
        width:100%;
    }

}


/* =========================================================
   ALERT STOCK - CUSTOMER EMAIL ICON V1
   ========================================================= */

.customer-cell{
    min-width:220px;
}

.customer-email{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}

.customer-email-icon{
    width:30px;
    height:30px;
    flex:0 0 30px;
    display:grid;
    place-items:center;

    border-radius:9px;

    background:#f0edff;
    color:#6e55ef;

    border:1px solid #e2dcff;
}

.customer-email strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}


/* =========================================================
   ALERT STOCK - CUSTOMER AVATAR INITIALS V1
   ========================================================= */

.customer-cell{
    min-width:230px;
}

.customer-profile{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.customer-avatar{
    width:34px;
    height:34px;
    flex:0 0 34px;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:
        linear-gradient(
            135deg,
            #ece9ff 0%,
            #dfe8ff 100%
        );

    border:1px solid #d9d4ff;

    color:#5d4bd6;

    font-size:11px;
    font-weight:850;
    letter-spacing:.02em;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.9);
}

.customer-data{
    min-width:0;
}

.customer-data strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.customer-email-icon{
    display:none !important;
}


/* =========================================================
   ALERT STOCK - PREMIUM BACKGROUND + TOPBAR V1
   ========================================================= */

body{

    background-color:#11195b;

    background-image:
        url("data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20%20%20width%3D%221800%22%0A%20%20%20%20%20height%3D%221000%22%0A%20%20%20%20%20viewBox%3D%220%200%201800%201000%22%3E%0A%0A%20%20%20%20%3Cdefs%3E%0A%0A%20%20%20%20%20%20%20%20%3ClinearGradient%0A%20%20%20%20%20%20%20%20%20%20%20%20id%3D%22wave1%22%0A%20%20%20%20%20%20%20%20%20%20%20%20x1%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20y1%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20x2%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20y2%3D%221%22%0A%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%239b57ff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.62%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%22.45%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%236b64ff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.42%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%2327a4ff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.10%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%0A%20%20%20%20%20%20%20%20%3ClinearGradient%0A%20%20%20%20%20%20%20%20%20%20%20%20id%3D%22wave2%22%0A%20%20%20%20%20%20%20%20%20%20%20%20x1%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20y1%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20x2%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20y2%3D%221%22%0A%20%20%20%20%20%20%20%20%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%2331a7ff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.35%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%22.52%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%23735aff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.28%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%23b552ff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.06%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FlinearGradient%3E%0A%0A%20%20%20%20%20%20%20%20%3CradialGradient%20id%3D%22pointGlow%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%23ffffff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.95%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%22.25%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%23a95cff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%22.85%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cstop%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20offset%3D%221%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-color%3D%22%237c52ff%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stop-opacity%3D%220%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FradialGradient%3E%0A%0A%20%20%20%20%3C%2Fdefs%3E%0A%0A%0A%20%20%20%20%3Cpath%0A%20%20%20%20%20%20%20%20d%3D%22M-170%20760%0A%20%20%20%20%20%20%20%20%20%20%20C%20170%20380%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20430%20840%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20790%20590%0A%20%20%20%20%20%20%20%20%20%20%20S%201280%20230%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%201920%20430%22%0A%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20stroke%3D%22url%28%23wave1%29%22%0A%20%20%20%20%20%20%20%20stroke-width%3D%222.2%22%0A%20%20%20%20%2F%3E%0A%0A%20%20%20%20%3Cpath%0A%20%20%20%20%20%20%20%20d%3D%22M-210%20810%0A%20%20%20%20%20%20%20%20%20%20%20C%20170%20430%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20445%20890%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20830%20630%0A%20%20%20%20%20%20%20%20%20%20%20S%201320%20300%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%201940%20490%22%0A%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20stroke%3D%22%23795cff%22%0A%20%20%20%20%20%20%20%20stroke-opacity%3D%22.18%22%0A%20%20%20%20%20%20%20%20stroke-width%3D%221.3%22%0A%20%20%20%20%2F%3E%0A%0A%0A%20%20%20%20%3Cpath%0A%20%20%20%20%20%20%20%20d%3D%22M90%20145%0A%20%20%20%20%20%20%20%20%20%20%20C%20390%2020%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20660%2085%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20875%20300%0A%20%20%20%20%20%20%20%20%20%20%20S%201330%20700%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%201880%20470%22%0A%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20stroke%3D%22url%28%23wave2%29%22%0A%20%20%20%20%20%20%20%20stroke-width%3D%221.6%22%0A%20%20%20%20%2F%3E%0A%0A%0A%20%20%20%20%3Cpath%0A%20%20%20%20%20%20%20%20d%3D%22M-50%20920%0A%20%20%20%20%20%20%20%20%20%20%20C%20410%20690%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20720%20890%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%201030%20720%0A%20%20%20%20%20%20%20%20%20%20%20S%201510%20520%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%201900%20670%22%0A%20%20%20%20%20%20%20%20fill%3D%22none%22%0A%20%20%20%20%20%20%20%20stroke%3D%22%239b50ff%22%0A%20%20%20%20%20%20%20%20stroke-opacity%3D%22.18%22%0A%20%20%20%20%20%20%20%20stroke-width%3D%221.4%22%0A%20%20%20%20%2F%3E%0A%0A%0A%20%20%20%20%3Ccircle%0A%20%20%20%20%20%20%20%20cx%3D%22300%22%0A%20%20%20%20%20%20%20%20cy%3D%22400%22%0A%20%20%20%20%20%20%20%20r%3D%2222%22%0A%20%20%20%20%20%20%20%20fill%3D%22url%28%23pointGlow%29%22%0A%20%20%20%20%2F%3E%0A%0A%20%20%20%20%3Ccircle%0A%20%20%20%20%20%20%20%20cx%3D%221450%22%0A%20%20%20%20%20%20%20%20cy%3D%22740%22%0A%20%20%20%20%20%20%20%20r%3D%2218%22%0A%20%20%20%20%20%20%20%20fill%3D%22url%28%23pointGlow%29%22%0A%20%20%20%20%20%20%20%20opacity%3D%22.75%22%0A%20%20%20%20%2F%3E%0A%0A%0A%20%20%20%20%3Cg%0A%20%20%20%20%20%20%20%20fill%3D%22%238064ff%22%0A%20%20%20%20%20%20%20%20fill-opacity%3D%22.38%22%0A%20%20%20%20%3E%0A%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22110%22%20cy%3D%22360%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22145%22%20cy%3D%22360%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22180%22%20cy%3D%22360%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22215%22%20cy%3D%22360%22%20r%3D%223%22%2F%3E%0A%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22110%22%20cy%3D%22395%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22145%22%20cy%3D%22395%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22180%22%20cy%3D%22395%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22215%22%20cy%3D%22395%22%20r%3D%223%22%2F%3E%0A%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22110%22%20cy%3D%22430%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22145%22%20cy%3D%22430%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22180%22%20cy%3D%22430%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%22215%22%20cy%3D%22430%22%20r%3D%223%22%2F%3E%0A%0A%20%20%20%20%3C%2Fg%3E%0A%0A%0A%20%20%20%20%3Cg%0A%20%20%20%20%20%20%20%20fill%3D%22%234f8dff%22%0A%20%20%20%20%20%20%20%20fill-opacity%3D%22.30%22%0A%20%20%20%20%3E%0A%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221570%22%20cy%3D%22565%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221605%22%20cy%3D%22565%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221640%22%20cy%3D%22565%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221675%22%20cy%3D%22565%22%20r%3D%223%22%2F%3E%0A%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221570%22%20cy%3D%22600%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221605%22%20cy%3D%22600%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221640%22%20cy%3D%22600%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221675%22%20cy%3D%22600%22%20r%3D%223%22%2F%3E%0A%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221570%22%20cy%3D%22635%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221605%22%20cy%3D%22635%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221640%22%20cy%3D%22635%22%20r%3D%223%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%221675%22%20cy%3D%22635%22%20r%3D%223%22%2F%3E%0A%0A%20%20%20%20%3C%2Fg%3E%0A%0A%3C%2Fsvg%3E%0A"),
        radial-gradient(
            circle at 8% 18%,
            rgba(112,72,255,.36),
            transparent 34%
        ),
        radial-gradient(
            circle at 92% 24%,
            rgba(32,117,255,.24),
            transparent 34%
        ),
        radial-gradient(
            circle at 72% 88%,
            rgba(134,65,255,.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #101755 0%,
            #192775 34%,
            #2539a8 70%,
            #502bb3 100%
        );

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat,
        no-repeat;

    background-position:
        center center,
        left top,
        right top,
        right bottom,
        center center;

    background-size:
        cover,
        auto,
        auto,
        auto,
        cover;

    background-attachment:
        fixed,
        fixed,
        fixed,
        fixed,
        fixed;
}


/* ---------------------------------------------------------
   TOP BAR
   --------------------------------------------------------- */

.topbar{
    align-items:center;
    gap:14px;
}

.billing-pill,
.connection-v2{
    min-height:54px;

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:8px 11px;

    border:
        1px solid
        rgba(255,255,255,.68);

    border-radius:15px;

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

    box-shadow:
        0 8px 22px
        rgba(7,11,52,.15);

    backdrop-filter:
        blur(10px);
}

.billing-pill{
    margin-left:auto;

    color:#262633;
    text-decoration:none;

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

.billing-pill:hover{
    transform:translateY(-2px);

    border-color:#dcd5ff;

    box-shadow:
        0 11px 28px
        rgba(7,11,52,.20);
}

.connection-v2{
    position:relative;
    color:#262633;
}

.top-pill-icon{
    width:36px;
    height:36px;

    flex:0 0 36px;

    display:grid;
    place-items:center;

    border-radius:11px;
}

.billing-pill-icon{
    color:#674be8;

    background:
        linear-gradient(
            135deg,
            #f0edff,
            #e5eaff
        );
}

.connection-pill-icon{
    color:#18774f;

    background:
        linear-gradient(
            135deg,
            #e9f8ef,
            #e0f5eb
        );
}

.top-pill-copy{
    display:flex;
    flex-direction:column;

    min-width:0;
}

.top-pill-copy strong{
    color:#292936;

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

    line-height:1.15;
}

.top-pill-copy small{
    margin-top:3px;

    color:#85858e;

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

    line-height:1.1;
}

.top-pill-chevron{
    margin-left:3px;

    color:#8b82bd;

    transition:
        transform .15s ease;
}

.billing-pill:hover
.top-pill-chevron{
    transform:translateX(2px);
}

.connection-live-dot{
    width:8px;
    height:8px;

    margin-left:2px;

    flex:0 0 8px;

    border-radius:50%;

    background:#25aa70;

    box-shadow:
        0 0 0 4px
        rgba(37,170,112,.12);
}


/* El antiguo punto ya no hace falta */

.connection-v2
.status-dot{
    display:none;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:820px){

    .topbar{
        flex-wrap:wrap;
    }

    .billing-pill{
        margin-left:0;
    }

}


@media(max-width:600px){

    .billing-pill,
    .connection-v2{
        flex:1 1 auto;
    }

    .top-pill-copy small{
        display:none;
    }

}




/* =========================================================
   ALERT STOCK - FIX WAVES AND TOPBAR V2
   ========================================================= */


/* ---------------------------------------------------------
   FONDO
   --------------------------------------------------------- */

html{
    min-height:100%;
    background:#101755;
}


body{
    position:relative;
    min-height:100vh;

    background:
        radial-gradient(
            circle at 8% 14%,
            rgba(124,76,255,.38),
            transparent 34%
        ),
        radial-gradient(
            circle at 93% 20%,
            rgba(39,116,255,.25),
            transparent 35%
        ),
        radial-gradient(
            circle at 77% 92%,
            rgba(137,62,255,.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #101755 0%,
            #18246d 31%,
            #263ba9 69%,
            #502bb5 100%
        ) !important;

    background-attachment:fixed !important;
}


/*
 * Archivo SVG real.
 * Evitamos data-uri para máxima compatibilidad.
 */

body::before{
    content:"";

    position:fixed;

    inset:0;

    z-index:0;

    pointer-events:none;

    background-image:
        url("/assets/alert-stock-bg-waves.svg") !important;

    background-repeat:
        no-repeat !important;

    background-position:
        center center !important;

    background-size:
        cover !important;

    opacity:1;

    filter:
        drop-shadow(
            0 0 6px
            rgba(111,91,255,.18)
        );
}


/*
 * Glow suave adicional.
 */

body::after{
    content:"";

    position:fixed;

    width:620px;
    height:620px;

    right:-260px;
    bottom:-290px;

    z-index:0;

    pointer-events:none;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(105,63,255,.24),
            transparent 67%
        );
}


.app-shell{
    position:relative;

    z-index:1;

    isolation:auto !important;
}


/* ---------------------------------------------------------
   TOPBAR
   --------------------------------------------------------- */

.topbar{
    display:grid !important;

    grid-template-columns:
        minmax(300px,1fr)
        auto
        auto;

    align-items:center !important;

    gap:14px !important;
}


/* ---------------------------------------------------------
   PLAN Y FACTURACIÓN
   --------------------------------------------------------- */

.billing-pill{
    display:inline-flex !important;

    align-items:center !important;

    gap:10px !important;

    min-height:54px !important;

    margin:0 !important;

    padding:8px 12px !important;

    border:
        1px solid
        rgba(255,255,255,.78) !important;

    border-radius:15px !important;

    background:
        rgba(255,255,255,.97) !important;

    color:#292936 !important;

    text-decoration:none !important;

    box-shadow:
        0 9px 25px
        rgba(4,8,42,.18) !important;

    backdrop-filter:
        blur(10px);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease !important;
}


.billing-pill:hover{
    transform:
        translateY(-2px);

    border-color:
        #d8d0ff !important;

    box-shadow:
        0 12px 30px
        rgba(4,8,42,.23) !important;
}


/* ---------------------------------------------------------
   CONECTADA
   --------------------------------------------------------- */

.connection.connection-v2{
    display:inline-flex !important;

    align-items:center !important;

    gap:10px !important;

    min-height:54px !important;

    padding:8px 12px !important;

    border:
        1px solid
        rgba(255,255,255,.78) !important;

    border-radius:15px !important;

    background:
        rgba(255,255,255,.97) !important;

    color:#292936 !important;

    box-shadow:
        0 9px 25px
        rgba(4,8,42,.18) !important;

    backdrop-filter:
        blur(10px);
}


/* ---------------------------------------------------------
   ICONOS TOPBAR
   --------------------------------------------------------- */

.top-pill-icon{
    width:36px !important;

    height:36px !important;

    flex:
        0 0 36px !important;

    display:grid !important;

    place-items:center !important;

    border-radius:11px !important;
}


.billing-pill-icon{
    color:#674BE8 !important;

    background:
        linear-gradient(
            135deg,
            #F1EEFF,
            #E6EAFF
        ) !important;
}


.connection-pill-icon{
    color:#168052 !important;

    background:
        linear-gradient(
            135deg,
            #EAF8F0,
            #DFF5EA
        ) !important;
}


/* ---------------------------------------------------------
   TEXTOS TOPBAR
   --------------------------------------------------------- */

.top-pill-copy{
    display:flex !important;

    flex-direction:column !important;

    min-width:0 !important;
}


.top-pill-copy strong{
    display:block !important;

    color:#292936 !important;

    font-size:12px !important;

    font-weight:800 !important;

    line-height:1.15 !important;
}


.top-pill-copy small{
    display:block !important;

    margin-top:3px !important;

    color:#85858E !important;

    font-size:9.5px !important;

    font-weight:600 !important;

    line-height:1.1 !important;
}


.top-pill-chevron{
    margin-left:3px !important;

    color:#877CB9 !important;
}


.connection-live-dot{
    display:block !important;

    width:8px !important;

    height:8px !important;

    flex:
        0 0 8px !important;

    border-radius:50% !important;

    background:#25AA70 !important;

    box-shadow:
        0 0 0 4px
        rgba(37,170,112,.13) !important;
}


.connection-v2
.status-dot{
    display:none !important;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:850px){

    .topbar{
        grid-template-columns:
            1fr auto !important;

        align-items:center !important;
    }


    .brand-stack{
        grid-column:
            1 / -1;
    }

}


@media(max-width:600px){

    body::before{
        background-size:
            auto 100% !important;

        opacity:.82;
    }


    .topbar{
        grid-template-columns:
            1fr !important;
    }


    .billing-pill,
    .connection.connection-v2{
        width:100% !important;

        justify-content:flex-start;
    }

}



/* =========================================================
   ALERT STOCK - EXTRA GLOW V1
   ========================================================= */

body::after{
    content:"";
    position:fixed;
    inset:auto;
    left:-180px;
    bottom:-140px;
    width:520px;
    height:520px;
    border-radius:50%;
    pointer-events:none;
    z-index:0;
    background:
        radial-gradient(
            circle,
            rgba(115,72,255,.22) 0%,
            rgba(115,72,255,.10) 35%,
            transparent 70%
        );
}


/* =========================================================
   ALERT STOCK - WAVES BOOST V1
   ========================================================= */

body::before{
    opacity: 1 !important;
    background-size: cover !important;
    background-position: center center !important;
    filter:
        drop-shadow(0 0 10px rgba(132,98,255,.20))
        drop-shadow(0 0 18px rgba(73,153,255,.10));
}

@media(max-width:600px){
    body::before{
        opacity:.92 !important;
        background-size: auto 100% !important;
    }
}


/* =========================================================
   ALERT STOCK - HOME BACKGROUND ISOLATED V1
   Solo afecta public/index.php
   ========================================================= */

body::before{
    content:"" !important;

    position:fixed !important;

    inset:0 !important;

    z-index:0 !important;

    pointer-events:none !important;

    background-image:
        url("/assets/alert-stock-home-waves.svg") !important;

    background-repeat:
        no-repeat !important;

    background-position:
        center center !important;

    background-size:
        cover !important;

    opacity:1 !important;

    filter:
        drop-shadow(
            0 0 8px
            rgba(132,95,255,.24)
        )
        drop-shadow(
            0 0 14px
            rgba(67,154,255,.12)
        ) !important;
}


.app-shell{
    position:relative !important;
    z-index:1 !important;
}



/* =========================================================
   ALERT STOCK - TABLET FRAME V1
   Solo Home
   ========================================================= */

.dashboard-device{
    position:relative;

    margin-top:10px;
    padding:
        30px 17px
        17px;

    border:
        2px solid
        rgba(110,105,255,.72);

    border-radius:25px;

    background:
        linear-gradient(
            145deg,
            rgba(40,52,166,.98) 0%,
            rgba(44,47,153,.96) 35%,
            rgba(69,45,183,.96) 72%,
            rgba(36,87,217,.95) 100%
        );

    box-shadow:
        inset 0 0 0 1px
            rgba(255,255,255,.09),

        inset 0 0 28px
            rgba(111,102,255,.16),

        0 0 0 1px
            rgba(102,88,255,.16),

        0 18px 45px
            rgba(6,12,70,.26),

        0 0 34px
            rgba(87,83,255,.20),

        0 0 65px
            rgba(117,67,255,.10);

    overflow:visible;
}


/* línea luminosa interna */

.dashboard-device::before{
    content:"";

    position:absolute;

    inset:7px;

    pointer-events:none;

    border-radius:19px;

    border:
        1px solid
        rgba(95,142,255,.28);

    box-shadow:
        inset 0 0 18px
        rgba(87,106,255,.13);
}


/* brillo inferior como la pieza gráfica */

.dashboard-device::after{
    content:"";

    position:absolute;

    left:8%;
    right:8%;
    bottom:-7px;

    height:12px;

    pointer-events:none;

    border-radius:50%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(62,136,255,.20),
            rgba(130,74,255,.65),
            rgba(53,145,255,.36),
            transparent
        );

    filter:blur(8px);

    opacity:.9;
}


/* Tres indicadores superiores */

.dashboard-device-dots{
    position:absolute;

    left:22px;
    top:13px;

    display:flex;
    gap:6px;

    z-index:3;
}

.dashboard-device-dots span{
    width:7px;
    height:7px;

    border-radius:50%;

    background:
        rgba(181,189,255,.58);

    box-shadow:
        0 0 7px
        rgba(124,117,255,.28);
}

.dashboard-device-dots span:nth-child(2){
    background:
        rgba(137,112,255,.75);
}

.dashboard-device-dots span:nth-child(3){
    background:
        rgba(68,166,255,.72);
}


/* Separación interna */

.dashboard-device > .mode-card{
    margin-top:0;
}

.dashboard-device > .stats-grid{
    margin-top:15px;
}

.dashboard-device > .panel{
    margin-bottom:0;
}


/* Cards con una sombra ligeramente más profunda
   dentro del marco */

.dashboard-device .mode-card,
.dashboard-device .stat-card,
.dashboard-device .panel{
    box-shadow:
        0 11px 27px
        rgba(8,13,75,.18);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:700px){

    .dashboard-device{
        padding:
            28px 10px
            10px;

        border-radius:19px;
    }

    .dashboard-device::before{
        inset:5px;
        border-radius:15px;
    }

    .dashboard-device-dots{
        left:18px;
        top:11px;
    }

}



/* =========================================================
   ALERT STOCK - HOME WAVES V2 - 20260923_134505
   ========================================================= */

body::before{
    content:"" !important;
    position:fixed !important;
    inset:0 !important;
    z-index:0 !important;
    pointer-events:none !important;

    background-image:
        url("/assets/alert-stock-home-waves-v2.svg?v=20260923_134505") !important;

    background-repeat:no-repeat !important;
    background-position:center center !important;
    background-size:cover !important;

    opacity:1 !important;

    filter:
        drop-shadow(0 0 8px rgba(151,91,255,.30))
        drop-shadow(0 0 16px rgba(63,161,255,.17))
        !important;
}

.app-shell{
    position:relative !important;
    z-index:1 !important;
}



/* =========================================================
   ALERT STOCK - HOME WAVES V3 STRONG - 20260923_135433
   ========================================================= */

body::before{
    content:"" !important;

    position:fixed !important;
    inset:0 !important;

    z-index:0 !important;

    pointer-events:none !important;

    background-image:
        url("/assets/alert-stock-home-waves-v3.svg?v=20260923_135433")
        !important;

    background-repeat:
        no-repeat !important;

    background-position:
        center center !important;

    background-size:
        cover !important;

    opacity:1 !important;

    filter:
        drop-shadow(
            0 0 9px
            rgba(180,92,255,.38)
        )
        drop-shadow(
            0 0 18px
            rgba(71,176,255,.23)
        )
        !important;
}



/* =========================================================
   ALERT STOCK - HOME = BILLING BACKGROUND FINAL
   20260923_140455

   A partir de acá, el Home usa exactamente la misma
   lógica visual exterior que Plan y facturación.
   ========================================================= */


/* ---------------------------------------------------------
   DESACTIVAR CAPAS VIEJAS DEL HOME
   --------------------------------------------------------- */

.app-shell::before,
.app-shell::after{
    content:none !important;
    display:none !important;
}


/*
 * Eliminamos el glow circular anterior para que
 * no interfiera con el SVG completo.
 */

body::after{
    content:none !important;
    display:none !important;
}


/* ---------------------------------------------------------
   MISMO FONDO BASE DE BILLING
   --------------------------------------------------------- */

html{
    min-height:100% !important;
    background:#101755 !important;
}


body{
    position:relative !important;

    min-height:100vh !important;

    margin:0 !important;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(128,75,255,.34),
            transparent 34%
        ),
        radial-gradient(
            circle at 92% 24%,
            rgba(38,118,255,.22),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #101755 0%,
            #19266f 34%,
            #273ca9 70%,
            #502bb5 100%
        ) !important;

    background-attachment:
        fixed !important;

    overflow-x:hidden !important;
}


/* ---------------------------------------------------------
   MISMAS ONDAS COMPLETAS DE BILLING
   --------------------------------------------------------- */

body::before{
    content:"" !important;

    position:fixed !important;

    inset:0 !important;

    width:100vw !important;
    height:100vh !important;

    z-index:0 !important;

    pointer-events:none !important;

    background-image:
        url("/assets/alert-stock-home-waves-v3.svg?v=20260923_140455")
        !important;

    background-repeat:
        no-repeat !important;

    background-position:
        center center !important;

    background-size:
        cover !important;

    opacity:1 !important;

    filter:
        drop-shadow(
            0 0 9px
            rgba(180,92,255,.38)
        )
        drop-shadow(
            0 0 18px
            rgba(71,176,255,.23)
        )
        !important;
}


/* ---------------------------------------------------------
   CONTENIDO SIEMPRE ENCIMA
   --------------------------------------------------------- */

.app-shell{
    position:relative !important;

    z-index:2 !important;

    isolation:auto !important;
}


/* ---------------------------------------------------------
   TABLET
   Conservamos exactamente la tablet actual.
   Solo aumentamos levemente su separación del fondo.
   --------------------------------------------------------- */

.dashboard-device{
    position:relative !important;

    z-index:3 !important;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.footer{
    position:relative !important;

    z-index:3 !important;
}


/* ---------------------------------------------------------
   WHATSAPP E IDIOMA
   --------------------------------------------------------- */

.whatsapp-support{
    z-index:9999 !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media(max-width:700px){

    body::before{
        background-position:
            center center !important;

        background-size:
            auto 100% !important;

        opacity:.92 !important;
    }

}



/* =========================================================
   ALERT STOCK - BANNER CROSS APP
   ========================================================= */

.cross-app-banner{
    position:relative;
    z-index:3;

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

    margin:12px 0 16px;
    padding:18px 20px;

    border:1px solid rgba(138,127,255,.42);
    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            rgba(113,98,255,.96) 0%,
            rgba(103,81,245,.97) 40%,
            rgba(87,80,235,.98) 70%,
            rgba(71,108,255,.96) 100%
        );

    box-shadow:
        0 14px 34px rgba(15,18,74,.22),
        inset 0 1px 0 rgba(255,255,255,.12);
}

.cross-app-banner::before{
    content:"";

    position:absolute;
    inset:0;

    border-radius:18px;
    pointer-events:none;

    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(255,255,255,.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 70%,
            rgba(86,190,255,.14),
            transparent 26%
        );
}

.cross-app-banner__icon{
    position:relative;
    z-index:1;

    width:48px;
    height:48px;
    flex:0 0 48px;

    display:grid;
    place-items:center;

    border-radius:14px;

    font-size:22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.26),
            rgba(255,255,255,.10)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.24);
}

.cross-app-banner__content{
    position:relative;
    z-index:1;
    flex:1 1 auto;
}

.cross-app-banner__eyebrow{
    margin-bottom:4px;

    color:#ddd8ff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.14em;
}

.cross-app-banner__title{
    margin:0 0 4px;
    color:#fff;
    font-size:15px;
    font-weight:800;
    line-height:1.2;
}

.cross-app-banner__text{
    margin:0;
    color:#ecebff;
    font-size:12px;
    line-height:1.45;
}

.cross-app-banner__cta{
    position:relative;
    z-index:1;

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

    min-height:42px;
    padding:0 16px;

    border-radius:12px;
    border:1px solid rgba(255,255,255,.86);

    background:#ffffff;
    color:#5a48d6 !important;

    text-decoration:none !important;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;

    box-shadow:
        0 8px 20px rgba(19,22,80,.18);

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

.cross-app-banner__cta:hover{
    transform:translateY(-1px);
    box-shadow:
        0 10px 24px rgba(19,22,80,.24);
}


/* Mantener mismo ancho visual que la tablet */
.cross-app-banner,
.dashboard-device,
.footer{
    width:100%;
    box-sizing:border-box;
}


/* Responsive */
@media(max-width:900px){
    .cross-app-banner{
        align-items:flex-start;
        flex-direction:column;
    }

    .cross-app-banner__cta{
        width:100%;
    }
}

@media(max-width:700px){
    .cross-app-banner{
        padding:16px;
        border-radius:16px;
    }

    .cross-app-banner__title{
        font-size:14px;
    }

    .cross-app-banner__text{
        font-size:11px;
    }
}



/* =========================================================
   ALERT STOCK - ROADMAP V1
   ========================================================= */

.alert-roadmap{
    position:relative;
    z-index:3;

    margin-top:15px;

    padding:20px;

    border:
        1px solid
        rgba(226,226,244,.96);

    border-radius:16px;

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

    box-shadow:
        0 11px 27px
        rgba(8,13,75,.18);
}


/* =========================================================
   CABECERA
   ========================================================= */

.alert-roadmap__head{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    padding-bottom:17px;

    border-bottom:
        1px solid
        #eeeef5;
}


.alert-roadmap__eyebrow{
    margin-bottom:5px;

    color:#765bff;

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

    letter-spacing:.16em;
}


.alert-roadmap__head h2{
    margin:0;

    color:#22222b;

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


.alert-roadmap__head p{
    margin:
        5px 0 0;

    color:#777783;

    font-size:10.5px;

    line-height:1.45;
}


.alert-roadmap__badge{
    width:42px;
    height:42px;

    flex:0 0 42px;

    display:grid;
    place-items:center;

    border-radius:13px;

    background:
        linear-gradient(
            135deg,
            #eeeaff,
            #e5eeff
        );

    font-size:19px;
}


/* =========================================================
   GRID
   ========================================================= */

.alert-roadmap__grid{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:14px;

    margin-top:16px;
}


/* =========================================================
   COLUMNAS
   ========================================================= */

.alert-roadmap__column{
    padding:15px;

    border-radius:14px;

    border:
        1px solid
        #ebeaf3;
}


.alert-roadmap__column--ready{
    background:
        linear-gradient(
            145deg,
            #fbfffc,
            #f6fbf8
        );
}


.alert-roadmap__column--future{
    background:
        linear-gradient(
            145deg,
            #fbfaff,
            #f7f6ff
        );
}


.alert-roadmap__column-head{
    display:flex;
    align-items:center;

    gap:10px;

    margin-bottom:13px;
}


.alert-roadmap__column-icon{
    width:31px;
    height:31px;

    flex:0 0 31px;

    display:grid;
    place-items:center;

    border-radius:10px;

    font-size:13px;

    font-weight:900;
}


.alert-roadmap__column--ready
.alert-roadmap__column-icon{
    color:#23805b;

    background:#e5f6ed;
}


.alert-roadmap__column--future
.alert-roadmap__column-icon{
    color:#6550db;

    background:#ebe7ff;
}


.alert-roadmap__column-head strong{
    display:block;

    color:#292932;

    font-size:11.5px;
}


.alert-roadmap__column-head small{
    display:block;

    margin-top:2px;

    color:#8b8b95;

    font-size:8.5px;
}


/* =========================================================
   ITEMS
   ========================================================= */

.alert-roadmap__items{
    display:grid;

    gap:7px;
}


.roadmap-item{
    display:flex;
    align-items:flex-start;

    gap:8px;

    min-height:31px;

    padding:
        7px 8px;

    border-radius:9px;

    background:
        rgba(255,255,255,.76);
}


.roadmap-item > span{
    width:18px;
    height:18px;

    flex:
        0 0 18px;

    display:grid;
    place-items:center;

    margin-top:1px;

    border-radius:50%;

    color:#20815a;

    background:#e5f6ed;

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


.roadmap-item--future > span{
    color:#6550db;

    background:#ebe7ff;
}


.roadmap-item p{
    margin:0;

    color:#5f606a;

    font-size:9.5px;

    line-height:1.42;
}


/* =========================================================
   PIE
   ========================================================= */

.alert-roadmap__foot{
    display:flex;
    align-items:center;

    gap:9px;

    margin-top:15px;

    padding:
        11px 12px;

    border-radius:11px;

    color:#61616c;

    background:
        linear-gradient(
            90deg,
            #f4f2ff,
            #f2f7ff
        );
}


.alert-roadmap__foot p{
    margin:0;

    font-size:9px;

    line-height:1.45;
}


.alert-roadmap__foot strong{
    color:#4c3bbb;
}


.alert-roadmap__pulse{
    width:8px;
    height:8px;

    flex:0 0 8px;

    border-radius:50%;

    background:#6d55ef;

    box-shadow:
        0 0 0 5px
        rgba(109,85,239,.11);
}


/* =========================================================
   HOVER
   ========================================================= */

.roadmap-item{
    transition:
        transform .14s ease,
        box-shadow .14s ease;
}


.roadmap-item:hover{
    transform:
        translateX(2px);

    box-shadow:
        0 4px 12px
        rgba(41,38,94,.06);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:760px){

    .alert-roadmap__grid{
        grid-template-columns:
            1fr;
    }

}


@media(max-width:520px){

    .alert-roadmap{
        padding:14px;
    }


    .alert-roadmap__head{
        align-items:flex-start;
    }


    .alert-roadmap__badge{
        width:36px;
        height:36px;

        flex-basis:36px;
    }


    .alert-roadmap__column{
        padding:12px;
    }

}
