/* Nexana Pay UI 2.7.0 — Desktop Experience, Navigation & Locale Reliability */

/* --------------------------------------------------------------------------
   Public header: larger language control and more deliberate menu rhythm
   -------------------------------------------------------------------------- */
.site-header:not(.admin-header) .header-row{min-height:72px}
.site-header:not(.admin-header) .nav{gap:4px;align-items:center}
.site-header:not(.admin-header) .nav>a{position:relative;display:inline-flex;align-items:center;min-height:42px;padding:10px 13px;border-radius:10px;font-size:14px;font-weight:750;color:#314a69;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.site-header:not(.admin-header) .nav>a:hover,.site-header:not(.admin-header) .nav>a:focus-visible{background:#f2f6fc;color:#0f3264;outline:none;box-shadow:inset 0 0 0 1px #e2eaf4}
.site-header:not(.admin-header) .nav>a.active{background:#edf4ff;color:#1463f3;box-shadow:inset 0 0 0 1px #d9e7fb}
.site-header:not(.admin-header) .header-actions{gap:9px}
.site-header:not(.admin-header) .language-select{min-width:158px;height:46px;padding:0 42px 0 16px;border-radius:10px;border-color:#d5e0ec;background-color:#fff;font-size:14px;font-weight:700;color:#294767;box-shadow:0 4px 14px rgba(20,50,90,.035)}
.site-header:not(.admin-header) .header-login,.site-header:not(.admin-header) .header-actions>.btn,.site-header:not(.admin-header) .header-actions>form .btn{min-height:44px;border-radius:10px;padding-inline:16px}

/* Portal language selectors were previously visually too compact. */
.portal-header-actions-v3 .compact-language{min-width:146px;height:44px;padding:0 40px 0 14px;border-radius:10px;font-size:14px;font-weight:750;background-color:#fff}
.admin-header .language-select{min-width:152px;height:44px;padding:0 40px 0 14px;border-radius:10px;font-size:14px;font-weight:750}

/* --------------------------------------------------------------------------
   Homepage desktop all-in-one experience
   -------------------------------------------------------------------------- */
.route-home .nh-desktop-card{padding:17px 12px 13px;align-content:center}
.route-home .nh-desktop-card:before{width:310px;height:240px;opacity:.72}
.route-home .nh-desktop-stage{position:relative;width:min(100%,448px);height:348px;margin:0 auto;padding-bottom:56px;filter:drop-shadow(0 20px 25px rgba(17,40,76,.12))}
.route-home .nh-desktop-bezel{position:relative;width:100%;height:286px;border-radius:16px 16px 12px 12px;background:linear-gradient(150deg,#12151b 0%,#07090d 65%,#1d2128 100%);box-shadow:0 0 0 1px rgba(20,31,47,.28),inset 0 0 0 1px rgba(255,255,255,.08);overflow:hidden}
.route-home .nh-desktop-camera{position:absolute;z-index:6;top:5px;left:50%;width:4px;height:4px;border-radius:50%;transform:translateX(-50%);background:#2d3542;box-shadow:0 0 0 1px rgba(255,255,255,.06)}
.route-home .nh-desktop-screen{position:absolute;z-index:2;left:2.2%;right:2.2%;top:3.5%;height:82.5%;overflow:hidden;border-radius:10px 10px 3px 3px;background:#fff;box-shadow:inset 0 0 0 1px #dfe8f2}
.route-home .nh-desktop-ui-scale{width:142.86%;height:142.86%;transform:scale(.70);transform-origin:top left;background:#fff}
.route-home .nh-desktop-ui-scale>.nh-tablet-app{width:100%;height:100%}
.route-home .nh-desktop-chin{position:absolute;z-index:3;left:0;right:0;bottom:0;height:11%;display:grid;place-items:center;background:linear-gradient(180deg,#f6f7f8 0%,#dfe2e5 100%);border-top:1px solid rgba(255,255,255,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.route-home .nh-desktop-chin span{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:linear-gradient(145deg,#1a67ff,#3150e7);color:#fff;font-size:10px;font-weight:950;box-shadow:0 4px 9px rgba(30,91,235,.18)}
.route-home .nh-desktop-neck{position:absolute;z-index:-1;left:50%;bottom:18px;width:76px;height:58px;transform:translateX(-50%);clip-path:polygon(29% 0,71% 0,88% 100%,12% 100%);background:linear-gradient(90deg,#c6cbd0,#f7f8f9 47%,#c7ccd1);box-shadow:0 7px 12px rgba(18,38,67,.08)}
.route-home .nh-desktop-foot{position:absolute;z-index:-1;left:50%;bottom:2px;width:150px;height:16px;transform:translateX(-50%);border-radius:50% 50% 18px 18px;background:linear-gradient(180deg,#e8ebed,#bfc5ca);box-shadow:0 7px 10px rgba(20,40,68,.09)}

/* The inner application is intentionally smaller than the old tablet UI. */
.route-home .nh-desktop-ui-scale .nh-tablet-nav{padding:3.8% 5%;gap:2px}
.route-home .nh-desktop-ui-scale .nh-tablet-brand{font-size:6.3px}
.route-home .nh-desktop-ui-scale .nh-tablet-nav>span,.route-home .nh-desktop-ui-scale .nh-tablet-nav>span b{font-size:5.8px}
.route-home .nh-desktop-ui-scale .nh-tablet-main{padding:3.2% 4%}
.route-home .nh-desktop-ui-scale .nh-tablet-titlebar>div:first-child h4{font-size:9.4px}
.route-home .nh-desktop-ui-scale .nh-tablet-titlebar>div:first-child small{font-size:5px}
.route-home .nh-desktop-ui-scale .nh-tablet-balance strong{font-size:8px}
.route-home .nh-desktop-ui-scale .nh-tablet-assets img{width:16px;height:16px}
.route-home .nh-desktop-ui-scale .nh-tablet-assets b{font-size:6.1px}
.route-home .nh-desktop-ui-scale .nh-tablet-assets small{font-size:4.8px}
.route-home .nh-desktop-ui-scale .nh-summary-field strong{font-size:9.7px}
.route-home .nh-desktop-ui-scale .nh-tablet-demo-cta{font-size:5.9px;padding:5.5px 7px}

/* --------------------------------------------------------------------------
   Rich public information pages used by header/footer navigation
   -------------------------------------------------------------------------- */
.public-detail-hero{padding:72px 0 40px;background:linear-gradient(180deg,#f6f9ff 0,#fff 100%);border-bottom:1px solid #edf2f8}
.public-detail-hero .detail-kicker{display:inline-flex;padding:7px 11px;border:1px solid #dce7f5;border-radius:999px;background:#fff;color:#1463f3;font-size:11px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}
.public-detail-hero h1{max-width:830px;margin:17px 0 14px;font-size:clamp(40px,5vw,62px);color:#0c2851}
.public-detail-hero .lead{max-width:780px;font-size:17px;line-height:1.7}
.public-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.public-detail-section{padding:54px 0}
.public-detail-section.alt{background:#f8fbff;border-block:1px solid #edf2f8}
.public-detail-head{max-width:760px;margin-bottom:25px}.public-detail-head h2{font-size:30px}.public-detail-head p{font-size:15px}
.public-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.public-detail-grid article{min-height:180px;padding:22px;border:1px solid #dfe8f3;border-radius:18px;background:#fff;box-shadow:0 9px 26px rgba(23,56,100,.045)}
.public-detail-grid article>span{display:grid;place-items:center;width:38px;height:38px;margin-bottom:18px;border-radius:11px;background:#edf4ff;color:#1463f3}.public-detail-grid .ui-icon{width:19px;height:19px}
.public-detail-grid h3{font-size:18px;margin-bottom:8px}.public-detail-grid p{font-size:13px;line-height:1.65;margin:0}
.public-detail-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.public-detail-steps article{padding:18px;border:1px solid #e0e8f2;border-radius:16px;background:#fff}.public-detail-steps b{display:grid;place-items:center;width:28px;height:28px;margin-bottom:11px;border-radius:9px;background:#1463f3;color:#fff;font-size:12px}.public-detail-steps h3{font-size:15px}.public-detail-steps p{font-size:12px;margin:0}
.public-contact-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.public-contact-card{padding:24px;border:1px solid #dfe8f3;border-radius:18px;background:#fff}.public-contact-card h2{font-size:24px}.public-contact-card p{font-size:13px}.public-contact-lines{display:grid;gap:10px;margin-top:18px}.public-contact-lines a,.public-contact-lines span{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e2eaf3;border-radius:12px;background:#fbfdff;font-size:13px}.public-contact-lines .ui-icon{width:17px;height:17px;color:#1463f3}

/* Footer links are now real destinations; improve hit target and focus state. */
.site-footer .footer-links a{display:inline-flex;align-items:center;min-height:24px;border-radius:5px;transition:color .15s ease,transform .15s ease}
.site-footer .footer-links a:hover,.site-footer .footer-links a:focus-visible{color:#fff;transform:translateX(2px);outline:none}

@media(max-width:1080px){
  .site-header:not(.admin-header) .nav>a{padding-inline:9px;font-size:12.5px}
  .site-header:not(.admin-header) .language-select{min-width:136px}
  .route-home .nh-desktop-stage{width:min(100%,440px);height:342px}
  .public-detail-grid{grid-template-columns:1fr 1fr}.public-detail-steps{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  .site-header:not(.admin-header) .header-actions>.language-select{display:none}
  .mobile-menu .language-select{display:block!important;width:100%;height:44px;font-size:14px}
  .portal-header-actions-v3 .compact-language{min-width:110px}
  .public-contact-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .route-home .nh-desktop-card{padding-inline:9px}
  .route-home .nh-desktop-stage{width:min(100%,420px);height:326px}
  .route-home .nh-desktop-bezel{height:266px}
  .public-detail-hero{padding:52px 0 30px}.public-detail-section{padding:40px 0}.public-detail-grid,.public-detail-steps{grid-template-columns:1fr}
}
@media(max-width:520px){
  .route-home .nh-desktop-stage{height:292px}.route-home .nh-desktop-bezel{height:232px}.route-home .nh-desktop-neck{height:44px}.route-home .nh-desktop-foot{width:122px}
  .public-detail-hero h1{font-size:38px}
}
