/* 8K Bank Candy Cane Christmas: visual-only skin of real Enterprise Pro markup.
 * All application and administrative actions in this build are dummy UI simulations. */
:root{
  --navy:#9b0f20;--navy2:#b91527;--navy3:#d12e32;
  --blue:#b71329;--blue2:#8e1122;--blue-light:#fff3f1;
  --page:#f9fafb;--paper:#fff;--ink:#253648;--muted:#8191a4;
  --border:#e7e5e3;--good:#146c3a;--goodbg:#eaf6e8;
  --warn:#a56c22;--warnbg:#fff7e8;
}
body{font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;background:#f5f7f9;color:#283447}
[hidden]{display:none!important}
a,button{transition:filter .12s ease,background-color .15s ease,box-shadow .15s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e9ba58!important;outline-offset:2px}
/* Sidebar: same genuine navigation elements/order, only restyled for Christmas. */
.sidebar{background:#af1222 url('decor/sidebar-snowman.webp') no-repeat left bottom / 100% auto;color:#fff1e8;border-right:2px solid #df9e6b;padding-bottom:195px;scrollbar-color:#e1b2aa #ab1421}
.sidebar::before{content:'';position:sticky;top:0;flex:0 0 24px;margin:0 -16px 5px;background:url('decor/header-pine.webp') center top / cover no-repeat;pointer-events:none;z-index:0}
.sidebar-brand{padding:5px 6px 23px;border-bottom:1px solid #ffffff42!important;position:relative}
.sidebar-brand::before{content:'🎅';position:absolute;left:24px;top:-13px;font-size:24px;transform:rotate(-23deg);filter:drop-shadow(0 1px 2px #44000077)}
.brand-icon{background:linear-gradient(150deg,#fff7d7,#f2c66a)!important;color:#9e1426!important;border:1px solid #ffeba8;box-shadow:0 3px 0 #8e2424,0 0 16px #f1c2697a!important}
.brand-words{color:#fff5da!important}.brand-words small{color:#ffdd9f!important}
.sidebar-nav .nav-item,.nav-item{color:#fff5ec!important;border-radius:10px}
.sidebar-nav .nav-item:hover,.nav-item:hover{background:#ffffff21!important}
.sidebar-nav .nav-item.active,.nav-item.active{color:#11572f!important;background:linear-gradient(#fffcef,#ffe5b5)!important;border:2px solid #dfb052!important;box-shadow:0 0 0 3px #fff6ec30,0 4px 12px #58000a33;font-weight:800}
.nav-section-title,.system-label{color:#f2c9b4!important}
.sidebar-bottom{background:#940d1cdd;border:1px solid #e5a17e44;border-radius:12px;margin-bottom:0}
.sidebar-system,.sidebar-profile{color:#fff8f2!important}
.sidebar-system .online-dot{background:#80d39f}
.sidebar-profile small,.sidebar-profile .profile-arrow{color:#ffdfcc!important}
.sidebar .profile-avatar{background:#fbdfaa;color:#9a1e29}
/* App title bar and Christmas decorations. */
.main-area{background:linear-gradient(180deg,#fffcf9 0,#f5f7fa 200px)}
.topbar{background:linear-gradient(95deg,#fff 65%,#fff9f1);border-bottom:1px solid #eadada;position:relative}
.topbar::after{content:'';position:absolute;right:22px;bottom:-45px;width:230px;height:90px;pointer-events:none;background:url('decor/right-christmas.webp') right top/contain no-repeat;z-index:1}
.topbar-right{position:relative;z-index:2}
.mode-chip{background:#fff4d8!important;color:#8f5812!important;border-color:#edcf8a!important}
.topbar-secure{color:#186b3e!important}
.content{position:relative;z-index:1}
.page-heading{position:relative;min-height:81px}
.page-heading::before{content:'';position:absolute;inset:-22px -12px auto auto;height:56px;width:220px;pointer-events:none;background:url('decor/right-christmas.webp') right top /contain no-repeat;opacity:.65;z-index:-1}
.page-heading h1{color:#a11124!important;font-weight:850;letter-spacing:-.55px}
.page-heading .eyebrow{color:#ba4250!important}
.panel,.metric{border-color:#e5e2df;box-shadow:0 4px 18px #6f3c3512,0 1px 2px #6f3c3508;border-radius:15px}
.metric{background:linear-gradient(140deg,#fff,#fffefa)}
.metric strong{color:#145b32!important}
.metric span{color:#4a5465}
.panel-title{background:linear-gradient(90deg,#b61125,#d61b2e)!important;border-color:#c41d2d!important;position:relative;border-radius:14px 14px 0 0;color:#fff!important}
.panel-title h2,.panel-title .small-muted,.panel-title .icon,.panel-title .link-button{color:#fff!important}
.panel-title::before{content:'';position:absolute;left:0;right:0;top:0;height:6px;border-radius:14px 14px 0 0;background:radial-gradient(circle at 15px 0px,#fff 13px,transparent 14px) 0 0/58px 14px repeat-x;pointer-events:none;opacity:.92}
.panel-title::after{content:'';position:absolute;right:13px;top:0;width:52px;height:34px;background:repeating-linear-gradient(-45deg,#fff 0px,#fff 9px,#f04850 9px,#f04850 17px);opacity:.55;clip-path:polygon(0 0,100% 0,100% 100%,0 100%);pointer-events:none}
/* Reduced visual noise on dense settings/history screens, while keeping original layout. */
.settings-grid .panel-title::after,.history-panel .panel-title::after,.admin-activity-panel .panel-title::after{opacity:.18}
.work-grid .form-panel::before{content:'';position:absolute;top:-25px;right:38px;width:124px;height:66px;background:url('decor/form-bow.webp') center/contain no-repeat;pointer-events:none;z-index:4}
.form-panel{position:relative;overflow:visible}
.result-panel{overflow:hidden}
.panel-title h2{font-size:15px!important}
.button.primary{background:linear-gradient(100deg,#bd1223,#a70d22 78%);border-color:#ac1228!important;color:#fff!important;box-shadow:0 3px 0 #890b1a2d}
#lookup-submit{background:repeating-linear-gradient(-48deg,#d82331 0,#d82331 12px,#fff 12px,#fff 18px,#d82331 18px,#d82331 36px) border-box!important;padding:3px!important;border:2px solid #e5ad53!important;overflow:hidden}
#lookup-submit>span{display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#ae1024,#df2734,#ae1024);min-height:42px;border-radius:7px;flex:1}
#lookup-submit>.icon{position:relative;z-index:2;margin:0 10px}
.button.secondary{background:#fff;color:#843247;border-color:#e8d8d6}
.button.secondary:hover{background:#fff6ee}
.bank-selected,.text-input{background:#fff;border-color:#dcdfe5}
.badge.success,.badge.good{color:#126a38!important;background:#e3f5e7!important}
.notice.info{background:#eaf5ec!important;border-color:#d4e6d8!important;color:#245539!important}
.history-table thead,.bank-directory-table thead{background:#ecf5ea}
.history-table th,.bank-directory-table th{color:#65706f}
.history-table tbody tr:hover{background:#fff8f3}
.footer{border-top:3px solid #e5b44f;color:#8c6b70;background:#fffafa}
.footer::before{content:'❄ CANDY CANE · CHRISTMAS EDITION';color:#b42b32;font-weight:800;font-size:10px;letter-spacing:.4px}
/* The actual source login columns, restyled without changing the field structure. */
.login-layout{background:#fffdfa}
.login-aside{background:linear-gradient(165deg,#9f0c20cc,#8f091be9),url('decor/brand-top.webp') center top / cover no-repeat;position:relative;overflow:hidden}
.login-aside::after{content:'';position:absolute;left:0;bottom:0;width:310px;height:260px;background:url('decor/sidebar-snowman.webp') left bottom/contain no-repeat;pointer-events:none}
.login-aside .brand{position:relative;z-index:1}
.login-aside-content{z-index:1}.login-aside-content h1{color:#fff6e7;text-shadow:0 2px 10px #5c0c1a77}
.login-aside-footer{color:#ffe6c5!important;z-index:1}
.login-main{background:linear-gradient(155deg,#fff9f0,#fff 65%,#fff5f5)}
.login-card{border:1px solid #f3dcd0;box-shadow:0 12px 40px #ab273015}
.login-card h2{color:#aa1329}
.login-badge{background:#fff0dc;color:#b4132c}
.login-topright .online-dot{background:#269863}
.login-card .button.primary{background:linear-gradient(110deg,#af1128,#d42836)}
/* Offline demo controls and snowfall. */
#demo-ribbon{position:fixed;right:14px;bottom:14px;z-index:190;background:#791020ed;border:1px solid #f3c57e;border-radius:13px;box-shadow:0 10px 30px #22081244;display:flex;align-items:center;gap:9px;max-width:calc(100vw - 28px);padding:9px 12px;color:#fff;flex-wrap:wrap;font-size:11px}
#demo-ribbon b{color:#fff3c3}#demo-ribbon span{opacity:.8}
#demo-ribbon button,#demo-ribbon a{color:#fff;white-space:nowrap;padding:6px 9px;background:#ffffff20;border:1px solid #ffffff50;border-radius:8px;text-decoration:none;cursor:pointer;font-size:11px}
#demo-ribbon button:hover,#demo-ribbon a:hover{background:#ffffff42}
#demo-snow{position:fixed;inset:0;z-index:90;pointer-events:none;width:100%;height:100%}
.demo-note{font-size:11px;color:#a13e36;background:#fff7e3;border:1px solid #efdfba;padding:10px 12px;border-radius:10px;margin-bottom:14px}
.demo-quick-entry{display:grid;gap:9px;margin-top:17px;border-top:1px solid #f1e4df;padding-top:17px}
.demo-quick-entry .demo-roles{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.demo-roles a{background:#fff7eb;color:#8e1f2e;text-decoration:none;padding:12px 10px;border-radius:10px;border:1px solid #ecccb1;text-align:center;font-size:12px;font-weight:800}
.demo-roles a:hover{box-shadow:0 2px 12px #8c1f2b25;background:#fff0d1}
.demo-scenario-control{padding:11px 16px;background:#fff7eb;border:1px dashed #efbf83;border-radius:10px;margin:12px 22px 10px;color:#91561e;font-size:11px}
.demo-scenario-control label{display:block;font-weight:750;margin-bottom:6px}
.demo-scenario-control select{width:100%;padding:8px;border:1px solid #e5cba9;border-radius:7px;background:#fff;color:#5b4651}
.demo-statusline{display:inline-block;padding:7px 13px;background:#fff2dc;border:1px solid #edc987;color:#8c6119;font-size:11px;font-weight:700;border-radius:18px;margin-bottom:13px}
.demo-maintenance-preview{background:#fff9ee;border:1px solid #f0dba4;padding:20px;border-radius:12px;display:grid;gap:12px;margin-bottom:16px}
.demo-maintenance-preview label{font-size:12px;font-weight:750;color:#62516a}
.demo-maintenance-preview textarea{width:100%;min-height:76px;border-radius:9px;border:1px solid #e4d8d2;padding:12px;font:inherit;background:#fff}
.demo-maintenance-preview button{width:max-content}
.demo-maintenance-view{min-height:100vh;display:grid;place-items:center;background:linear-gradient(#fff9f2ef,#f5f0efed),url('decor/original-concept.webp') center / cover; padding:30px}
.demo-maintenance-card{width:min(680px,100%);background:#fff;box-shadow:0 20px 65px #671a3033;border-radius:22px;padding:40px 38px;text-align:center;border:2px solid #efcf93}
.demo-maintenance-card h1{font-size:33px;color:#b31328;margin-bottom:10px}.demo-maintenance-card p{color:#667485;line-height:1.7}
.demo-maintenance-card .button{display:inline-flex;margin-top:16px}.demo-maintenance-card .snowflake{font-size:54px}
@media(max-width:950px){.sidebar{background-size:100% auto}.topbar::after{display:none}.page-heading::before{opacity:.25}}
@media(max-width:680px){#demo-ribbon{right:8px;bottom:8px;padding:6px 8px;gap:5px;font-size:10px}#demo-ribbon span{display:none}#demo-ribbon button,#demo-ribbon a{padding:5px 7px;font-size:10px}.login-aside::after{opacity:.25}.sidebar::before{margin:0 -16px}.form-panel::before{display:none}.work-grid .form-panel::before{display:none}.page-heading::before{display:none}.footer::before{display:none}.demo-quick-entry .demo-roles{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#demo-snow{display:none}}
