/* NUVRO — by GNetworksTech, v4. 2026. Minimal, motion-forward fintech UI. */
:root{--nv-cyan:#39e2ef;--nv-blue:#3c8bff;--nv-violet:#9258ff;--nv-ease:cubic-bezier(.18,.85,.24,1);}
/* Brand — horizontal artwork supplied by owner */
.nuvro-wordmark{width:min(100%,285px);height:auto;max-height:94px;display:block;object-fit:contain;object-position:left center;filter:drop-shadow(0 9px 18px rgba(18,36,137,.12));}
.auth-v3 .nuvro-auth-brand{display:block;padding:0!important;border:0!important;background:none!important;width:100%;height:auto!important;max-width:370px;}
.auth-v3 .nuvro-auth-brand .nuvro-wordmark{width:100%;max-height:122px;object-fit:contain;object-position:left center;border-radius:5px;}
.sidebar .nuvro-brand{padding:4px 0 15px;display:flex;align-items:center;width:100%;}
.sidebar .nuvro-brand .nuvro-wordmark{width:min(100%,239px);max-height:74px;border-radius:4px;}
.nuvro-brand-mobile{display:flex!important;align-items:center;gap:8px!important;min-width:0;}
.nuvro-brand-mobile>img{width:42px;height:42px;border-radius:13px;object-fit:cover;box-shadow:0 8px 23px rgba(86,103,238,.2);}
.nuvro-brand-caption{display:grid;gap:1px;line-height:1.02;}
.nuvro-brand-caption strong{font-size:18px;letter-spacing:-.7px;font-weight:800;color:#f5f8ff;}
.nuvro-brand-caption small{font-size:8px;letter-spacing:.35px;color:#a9b7d9;font-weight:700;}
.auth-maker-line strong,.auth-signature b{color:#a6dcff!important;}
/* Staged splash: 1. N symbol, 2. name, 3. company sign-off. */
.nexo-splash-v3{background:radial-gradient(ellipse 55% 44% at 31% 26%,rgba(39,100,239,.15),transparent),radial-gradient(ellipse 55% 54% at 89% 82%,rgba(132,50,242,.17),transparent),#050b1e;}
.nexo-splash-v3 .nexo-splash-panel{width:min(440px,92vw);}
.nexo-splash-v3 .nexo-splash-logo{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;width:160px;height:160px;margin:0 auto 17px;animation:nv-mark-appear .8s var(--nv-ease) both!important;overflow:visible;}
.nexo-splash-v3 .nexo-splash-logo:after{content:'';inset:-11px;border:1px solid rgba(87,180,247,.22);border-radius:38px;opacity:0;animation:nv-outline 1s .48s ease-out both;}
.nexo-splash-v3 .nexo-splash-logo img{width:100%;height:100%;border-radius:34px;object-fit:cover;filter:drop-shadow(0 20px 40px rgba(56,69,225,.25));animation:nv-mark-float 2.7s .8s ease-in-out infinite;}
.nexo-splash-v3 .nexo-splash-title{font:800 clamp(48px,8vw,65px)/1 Manrope,system-ui,sans-serif;letter-spacing:-3px;animation:nv-name-appear .64s .64s var(--nv-ease) both;}
.nexo-splash-v3 .nexo-splash-title span{color:var(--nv-cyan);}
.nexo-splash-v3 .nexo-splash-by{font-size:12px!important;letter-spacing:2.8px!important;font-weight:800;color:#a5baff;animation:nv-by-appear .64s 1.24s var(--nv-ease) both;}
.nexo-splash-v3 .nexo-splash-panel p{animation:nv-by-appear .55s 1.5s var(--nv-ease) both;margin:21px 0 26px;}
.nexo-splash-v3 .nexo-splash-progress,.nexo-splash-v3 .nexo-splash-loading{animation:nv-by-appear .4s 1.68s ease both;}
.nexo-splash-v3 .nexo-splash-halo{animation:nv-halo-breathe 4s ease-in-out infinite;}
@keyframes nv-mark-appear{0%{opacity:0;transform:translateY(24px) scale(.62) rotate(-9deg);filter:blur(8px)}70%{opacity:1;filter:blur(0);transform:translateY(-3px) scale(1.035) rotate(2deg)}100%{opacity:1;transform:none;filter:blur(0)}}
@keyframes nv-outline{from{opacity:0;transform:scale(.7)}to{opacity:.7;transform:scale(1)}}
@keyframes nv-mark-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes nv-name-appear{from{opacity:0;transform:translateY(15px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes nv-by-appear{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes nv-halo-breathe{0%,100%{opacity:.45;transform:scale(.94)}50%{opacity:.9;transform:scale(1.06)}}
/* Dashboard ambient motion — GPU transform, not permanent heavy blur/filter */
.page.active{animation:nv-page-enter .46s var(--nv-ease) both;}
@keyframes nv-page-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hero-card{isolation:isolate;}
.hero-card .hero-sphere{animation:nv-sphere 8s ease-in-out infinite alternate;will-change:transform;}
.hero-card .hero-sphere.sphere-two{animation-direction:alternate-reverse;animation-duration:10s;}
@keyframes nv-sphere{from{transform:translate3d(0,0,0) scale(.95)}to{transform:translate3d(12px,-14px,0) scale(1.06)}}
.kpi-card,.panel,.analysis-kpi,.insight-banner,.mini-metric{transition:transform .27s var(--nv-ease),border-color .3s,box-shadow .3s;}
@media(hover:hover){.kpi-card:hover,.panel:hover,.analysis-kpi:hover,.mini-metric:hover{transform:translateY(-3px);border-color:rgba(148,189,255,.2);box-shadow:0 18px 48px rgba(0,0,0,.12)}.bill-row:hover{transform:translateX(3px);}}
.bill-row,.history-row{animation:nv-row-entry .44s var(--nv-ease) both;transition:transform .2s ease,background .2s ease;}
.bill-row:nth-child(2),.history-row:nth-child(2){animation-delay:.04s}.bill-row:nth-child(3),.history-row:nth-child(3){animation-delay:.08s}.bill-row:nth-child(4),.history-row:nth-child(4){animation-delay:.12s}.bill-row:nth-child(5),.history-row:nth-child(5){animation-delay:.16s}
@keyframes nv-row-entry{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
/* Donut and bar charts gain reveal animations, numbers count up with JS */
.donut-ring{animation:nv-donut-enter .85s var(--nv-ease) both;}
@keyframes nv-donut-enter{from{opacity:.16;transform:scale(.88) rotate(-35deg)}to{opacity:1;transform:scale(1) rotate(0)}}
.category-track>div,.progress-fill{transition:width .98s cubic-bezier(.22,.84,.3,1)!important;}
.category-row{animation:nv-row-entry .55s var(--nv-ease) both;}
.kpi-value,.hero-money,.analysis-kpi strong,.projection-number,.mini-metric strong{font-variant-numeric:tabular-nums;}
/* Better tap affordances on the bottom navigation */
.bottom-nav{isolation:isolate;}
.bottom-link{position:relative;transition:transform .28s var(--nv-ease),color .2s;}
.bottom-link::before{content:'';position:absolute;top:4px;left:50%;width:44px;height:40px;transform:translateX(-50%) scale(.65);border-radius:15px;background:linear-gradient(135deg,rgba(104,170,255,.2),rgba(149,87,250,.18));border:1px solid rgba(156,182,255,.12);opacity:0;transition:opacity .25s,transform .38s var(--nv-ease);pointer-events:none;z-index:0;}
.bottom-link.active::before{opacity:1;transform:translateX(-50%) scale(1)}
.bottom-link svg,.bottom-link small{position:relative;z-index:1;}
.bottom-link svg{transition:transform .3s var(--nv-ease);}
.bottom-link.active svg{transform:translateY(-2px) scale(1.1);filter:drop-shadow(0 1px 9px rgba(136,174,255,.4));}
.bottom-link.nv-tap{animation:nv-nav-tap .32s var(--nv-ease);}
@keyframes nv-nav-tap{0%{transform:scale(1)}45%{transform:scale(.85)}100%{transform:scale(1)}}
.bottom-add{transition:transform .35s var(--nv-ease),box-shadow .35s ease;}
.bottom-add:active{transform:scale(.9) rotate(90deg)}
.bottom-add.nv-tap{animation:nv-plus-tap .5s var(--nv-ease)}
@keyframes nv-plus-tap{0%{transform:scale(1)}40%{transform:scale(.88) rotate(20deg)}100%{transform:scale(1) rotate(0)}}
.icon-button.notification-button{position:relative;transition:transform .2s,box-shadow .3s;}
.icon-button.notification-button:active{transform:scale(.87)}
.notification-button .notification-dot{box-shadow:0 0 0 3px #0d1628,0 0 11px rgba(245,116,169,.7);animation:nv-bell-alert 2.2s ease-in-out infinite;}
@keyframes nv-bell-alert{0%,100%{transform:scale(1)}40%{transform:scale(1.3)}}
.toast{animation:nv-toast-pop .36s var(--nv-ease) both!important;}
@keyframes nv-toast-pop{from{opacity:0;transform:translateY(-15px) scale(.95)}to{opacity:1;transform:none}}
/* Security settings */
.nuvro-security-panel{position:relative;overflow:hidden;}
.nuvro-security-panel:before{content:'';position:absolute;width:170px;height:170px;border-radius:100%;right:-110px;top:-115px;background:radial-gradient(circle,rgba(79,176,246,.16),transparent 72%);pointer-events:none;}
.nuvro-security-panel input{width:100%;}
.nuvro-form-separator{position:relative;border-top:1px solid rgba(178,207,255,.09);margin:5px 0 -3px;padding-top:14px;font-size:10px;font-weight:800;letter-spacing:1.1px;color:#92a9c7;}
/* Notification center: backed by app_notifications table, not a fake popover. */
.nuvro-notifications-open{overflow:hidden;}
.nuvro-notification-overlay[hidden]{display:none!important}
.nuvro-notification-overlay{position:fixed;inset:0;z-index:7300;}
.nuvro-notification-backdrop{position:absolute;inset:0;background:rgba(3,9,22,.65);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);animation:nv-fade .25s ease both;}
@keyframes nv-fade{from{opacity:0}to{opacity:1}}
.nuvro-notification-drawer{position:absolute;right:18px;top:calc(18px + env(safe-area-inset-top,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));width:min(450px,calc(100% - 36px));display:flex;flex-direction:column;overflow:hidden;color:#f5f7ff;background:linear-gradient(154deg,rgba(26,39,64,.975),rgba(9,17,31,.99));border:1px solid rgba(170,199,255,.2);border-radius:28px;box-shadow:0 28px 100px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.05);animation:nv-drawer-in .4s var(--nv-ease) both;}
@keyframes nv-drawer-in{from{opacity:0;transform:translateX(34px) scale(.97)}to{opacity:1;transform:none}}
.nuvro-notification-header{display:flex;align-items:center;gap:13px;padding:24px 22px 20px;border-bottom:1px solid rgba(166,191,241,.12);}
.nuvro-notification-symbol{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#2d71c4,#6042ba);box-shadow:0 7px 23px rgba(51,88,194,.28);}
.nuvro-notification-symbol svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#e6f7ff;}
.nuvro-notification-headline{min-width:0;flex:1;}
.nuvro-notification-headline>span{font-size:9px;font-weight:800;letter-spacing:2px;color:#8daaea;}
.nuvro-notification-headline h2{margin:4px 0 0;display:flex;align-items:center;gap:9px;font-size:21px;letter-spacing:-.5px;}
.nuvro-notification-headline h2 small{border-radius:99px;padding:3px 7px;font-size:10px;background:rgba(99,144,240,.18);color:#b9ccff;}
.nuvro-close-button{border:1px solid rgba(196,210,251,.15);background:rgba(255,255,255,.04);color:#d2def2;border-radius:12px;width:33px;height:33px;font-size:24px;flex:none;cursor:pointer;}
.nuvro-notification-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:13px 22px;border-bottom:1px solid rgba(166,191,241,.1);}
.nuvro-notification-toolbar>span{font-size:11px;color:#a8b8d0;}
.nuvro-notification-toolbar button{border:0;background:transparent;color:#9ebaff;font-size:11px;font-weight:750;cursor:pointer;text-align:right;}
.nuvro-notification-toolbar button:disabled{color:#687c99;cursor:default;}
.nuvro-notification-items{flex:1;overflow:auto;overscroll-behavior:contain;padding:10px 12px 18px;}
.nuvro-notification-item{width:100%;text-align:left;display:flex;align-items:flex-start;gap:13px;border:1px solid transparent;background:transparent;border-radius:17px;padding:14px 12px;cursor:pointer;color:#e6ecf9;transition:background .2s,border-color .2s,transform .2s;animation:nv-row-entry .38s var(--nv-ease) both;}
.nuvro-notification-item.unread{background:rgba(92,128,212,.085);border-color:rgba(136,172,244,.11);}
.nuvro-notification-item:hover{background:rgba(148,174,240,.095);transform:translateY(-1px);}
.nuvro-notification-item-icon{width:39px;height:39px;border-radius:13px;display:grid;place-items:center;flex:none;background:rgba(91,145,243,.14);color:#aabfff;}
.nuvro-notification-item-icon.payment{background:rgba(70,197,158,.12);color:#8ce8cd;}
.nuvro-notification-item-icon.reminder,.nuvro-notification-item-icon.due{background:rgba(230,141,104,.12);color:#f7bd9e;}
.nuvro-notification-item-icon.security{background:rgba(156,127,248,.13);color:#c8b4ff;}
.nuvro-notification-item-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.nuvro-notification-item-text{min-width:0;flex:1;display:grid;gap:5px;}
.nuvro-notification-item-text strong{font-size:12px;line-height:1.35;color:#f3f6ff;}
.nuvro-notification-item-text>span{font-size:11px;line-height:1.55;color:#aabbd3;overflow-wrap:anywhere;}
.nuvro-notification-item-text small{font-size:9px;color:#788ca9;}
.nuvro-item-unread-dot{width:7px;height:7px;flex:none;margin-top:5px;background:#93b8ff;border-radius:50%;box-shadow:0 0 11px #7595f8;}
.nuvro-notification-loading,.nuvro-notification-error{padding:48px 16px;color:#a2b4d2;text-align:center;font-size:13px;line-height:1.6;}
.nuvro-notification-error svg{width:28px;height:28px;stroke:#f6aab5;fill:none;}
.nuvro-notification-error small{display:block;margin:9px 0 18px;font-size:11px;}
.nuvro-notification-footer{text-align:center;padding:14px;border-top:1px solid rgba(158,188,234,.1);font-size:10px;font-weight:800;letter-spacing:.3px;color:#8da8eb;}
.nuvro-notification-footer span{font-size:9px;font-weight:600;color:#8fa0bd;}
.nuvro-notification-drawer .empty{margin-top:40px;}
@media(max-width:690px){
 .auth-v3 .nuvro-auth-brand .nuvro-wordmark{width:min(100%,305px)}
 .nuvro-notification-drawer{top:auto;right:0;bottom:0;width:100%;height:min(89dvh,780px);border-radius:25px 25px 0 0;padding-bottom:env(safe-area-inset-bottom,0px);animation:nv-drawer-up .38s var(--nv-ease) both;}
 @keyframes nv-drawer-up{from{opacity:.5;transform:translateY(60px)}to{opacity:1;transform:none}}
 .nexo-splash-v3 .nexo-splash-logo{width:143px;height:143px;margin-bottom:14px;}
 .nexo-splash-v3 .nexo-splash-title{font-size:52px;}
 .sidebar .nuvro-brand{padding:5px}
}
@media(prefers-reduced-motion:reduce){
 .nexo-splash-v3 .nexo-splash-logo,.nexo-splash-v3 .nexo-splash-logo img,.nexo-splash-v3 .nexo-splash-title,.nexo-splash-v3 .nexo-splash-by,.nexo-splash-v3 .nexo-splash-panel p,.nexo-splash-v3 .nexo-splash-progress,.nexo-splash-v3 .nexo-splash-loading,.nexo-splash-v3 .nexo-splash-halo,.page.active,.bill-row,.history-row,.category-row,.donut-ring,.nuvro-notification-drawer,.nuvro-notification-backdrop,.nuvro-notification-item,.notification-button .notification-dot{animation:none!important;}
 .category-track>div,.progress-fill,.bottom-link,.bottom-add{transition:none!important;}
}
