/*
 * Warung Mainan — Premium UI refresh
 * Overrides presentation only; application logic and database schema are unchanged.
 */
:root {
  --ink: #172c23;
  --muted: #738279;
  --line: #e4ebe6;
  --bg: #f4f7f5;
  --panel: #ffffff;
  --green: #168158;
  --green-dark: #0e6241;
  --green-soft: #e9f7ef;
  --gold: #ad741c;
  --blue: #356fc0;
  --lilac: #7559ae;
  --shadow: 0 14px 38px rgba(19, 48, 34, .055);
  --radius: 18px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(28, 143, 93, .26); outline-offset: 2px; }

/* Main application shell */
.app-shell { background: linear-gradient(135deg, #f6f8f6 0%, #f2f6f3 100%); }
.sidebar {
  width: 264px;
  padding: 24px 16px 17px;
  background: radial-gradient(circle at 0% 0%, rgba(36, 130, 89, .22), transparent 33%), linear-gradient(160deg, #122c21 0%, #0d2119 68%, #0c1d16 100%);
  box-shadow: 10px 0 40px rgba(14, 39, 27, .055);
  border-right: 1px solid rgba(255,255,255,.055);
}
.sidebar-brand { padding: 0 8px 24px; gap: 12px; border-bottom-color: rgba(255,255,255,.1); }
.sidebar-brand .brand-mark { width: 43px; height: 43px; border-radius: 14px; background: linear-gradient(145deg, #36b47b, #16744c); box-shadow: 0 8px 18px rgba(22, 129, 88, .28); }
.sidebar-brand strong { font-size: 13px; letter-spacing: -.25px; }
.sidebar-brand small { font-size: 10px; letter-spacing: .25px; }
.user-mini { margin: 21px 3px 24px; padding: 12px 11px; border-radius: 14px; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.09); }
.user-mini .avatar { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(145deg, #e0f7e9, #bce5cb); color: #14583b; }
.user-mini-copy strong { font-size: 11px; }
.user-mini-copy span { margin-top: 3px; font-size: 10px; }
.nav-label { color: #7fa38e; font-size: 9px; letter-spacing: 1.55px; padding-left: 12px; }
.nav-label-spaced { margin-top: 25px; }
.main-nav { gap: 5px; }
.nav-link { min-height: 42px; padding: 11px 12px; gap: 12px; border: 1px solid transparent; border-radius: 11px; color: #b5c9bc; font-size: 12px; }
.nav-link > span { width: 19px; font-size: 17px; opacity: .92; }
.nav-link:hover { background: rgba(255,255,255,.075); color: #fff; }
.nav-link.active { color: #fff; background: linear-gradient(100deg, rgba(34, 139, 91, .94), rgba(24, 107, 71, .9)); border-color: rgba(127, 220, 170, .18); box-shadow: 0 7px 17px rgba(3, 18, 10, .16), inset 3px 0 #9de7b9; }
.sidebar-bottom { padding-top: 15px; }
.sync-card { padding: 13px 11px; border-radius: 13px; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.08); }
.sync-icon { width: 30px; height: 30px; border-radius: 9px; color: #a9f0c6; background: rgba(45, 150, 99, .25); }
.sync-card strong { font-size: 10px; }
.sync-card small { font-size: 9px; }
.logout-form { border-top-color: rgba(255,255,255,.1); }
.logout-link { margin-top: 5px; }
.main-area { margin-left: 264px; }
.topbar {
  height: 76px;
  padding: 0 34px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #e6ece8;
  box-shadow: 0 4px 20px rgba(21, 53, 36, .025);
  backdrop-filter: blur(16px);
}
.topbar-title { gap: 12px; }
.topbar-kicker { color: #9ba9a0; font-size: 9px; letter-spacing: 1.25px; }
.topbar-title strong { color: #21392c; font-size: 13px; }
.topbar-right { gap: 17px; }
.server-pill { padding: 8px 12px; color: #28704b; background: #edf8f0; border: 1px solid #dcefe2; border-radius: 30px; font-size: 10px; }
.server-pill .online-dot { background: #2eb779; box-shadow: 0 0 0 3px rgba(46,183,121,.14); }
.topbar-date { font-size: 11px; color: #8a9890; }
.avatar-small { background: #e0f2e7; color: #1b6845; border: 1px solid #d5eade; }
.content-wrap { max-width: 1740px; padding: 32px 34px 40px; }
.app-footer { padding: 18px 34px; background: rgba(255,255,255,.76); border-top-color: #e6ece8; color: #839188; }

/* Page introductions, actions and buttons */
h1 { color: #172f23; }
.eyebrow { color: #35845e; letter-spacing: 1.7px; font-size: 9px; }
.welcome-row, .page-heading { margin-bottom: 27px; }
.welcome-row .muted, .page-heading .muted { color: #77877d; font-size: 12px; line-height: 1.75; }
.btn { min-height: 40px; padding: 10px 15px; border-radius: 11px; font-size: 11px; font-weight: 800; letter-spacing: .05px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #19875b 0%, #126c47 100%); box-shadow: 0 7px 17px rgba(21, 126, 82, .16); }
.btn-primary:hover { background: linear-gradient(135deg, #14784f 0%, #0d593a 100%); box-shadow: 0 9px 21px rgba(21, 126, 82, .22); }
.btn-secondary { background: #fff; color: #415a4b; border-color: #dce7df; box-shadow: 0 2px 6px rgba(24, 52, 37, .025); }
.btn-secondary:hover { color: #185f40; border-color: #b9d9c4; background: #f8fcf9; }
.text-link { color: #168158; font-size: 11px; font-weight: 800; }
.text-link:hover { color: #0c5c3b; }

/* Cards and metrics */
.stat-grid { gap: 17px; margin-bottom: 22px; }
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 21px;
  background: linear-gradient(145deg, #fff 0%, #fcfefc 100%);
  border: 1px solid #e5ede7;
  border-radius: 18px;
  box-shadow: 0 7px 24px rgba(19, 48, 34, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.stat-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -48px; top: -51px; background: rgba(50, 160, 103, .045); pointer-events: none; }
.stat-card:hover { transform: translateY(-3px); border-color: #d1e6d8; box-shadow: 0 13px 30px rgba(19, 48, 34, .065); }
.stat-icon { width: 39px; height: 39px; border-radius: 13px; margin-bottom: 13px; font-size: 17px; }
.icon-mint { background: #e7f7ed; color: #188152; }
.icon-blue { background: #eaf2ff; color: #316bbb; }
.icon-gold { background: #fff4de; color: #a76d13; }
.icon-lilac { background: #f1ebff; color: #7756b2; }
.stat-card p { margin-bottom: 6px; color: #748379; font-size: 11px; font-weight: 600; }
.stat-card > strong { display: block; color: #193a2a; font-size: 30px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.22; }
.stat-card .stat-money { font-size: 21px; letter-spacing: -.65px; }
.stat-card small { display: block; margin-top: 8px; color: #90a096; font-size: 10px; line-height: 1.5; }

/* Panels, data tables and empty states */
.panel { background: #fff; border: 1px solid #e4ebe6; border-radius: 18px; box-shadow: 0 8px 27px rgba(19, 48, 34, .035); overflow: hidden; }
.panel + .panel { margin-top: 19px; }
.panel-head { padding: 21px 22px 16px; border-bottom: 1px solid #f0f4f1; }
.panel-head h2 { color: #20392b; font-size: 14px; letter-spacing: -.3px; }
.panel-head p { color: #88968e; font-size: 10px; line-height: 1.6; }
.table-wrap { overflow-x: auto; }
table { border-collapse: separate; border-spacing: 0; width: 100%; }
thead th { background: #f8faf8; color: #8a988f; font-size: 9px; font-weight: 800; letter-spacing: .65px; text-transform: uppercase; border-bottom: 1px solid #e9efeb; }
th { padding: 13px 17px; }
td { padding: 15px 17px; color: #526459; border-bottom: 1px solid #f0f3f1; font-size: 11px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s ease; }
tbody tr:hover td { background: #fbfdfb; }
td strong { color: #2c4335; font-weight: 800; }
.cell-sub { display: block; margin-top: 4px; color: #9aa59e; font-size: 9px; }
.amount-cell { color: #1c6c47; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty-state { padding: 42px 20px; text-align: center; }
.empty-state strong { color: #385142; font-size: 12px; }
.empty-state p { margin-top: 7px; color: #8b9990; font-size: 11px; }
.empty-illustration { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 13px; color: #35845c; background: #eaf7ee; border-radius: 16px; font-size: 23px; }
.quick-action { gap: 12px; padding: 14px 20px; border-top-color: #eff3f0; transition: background .16s ease, padding .16s ease; }
.quick-action:hover { background: #f8fcf9; padding-left: 23px; }
.quick-action strong { color: #2d4636; font-size: 11px; }
.quick-action small { color: #8a998f; font-size: 9px; }
.quick-icon { width: 37px; height: 37px; border-radius: 12px; }
.hint-row { background: #edf6ef; border: 1px solid #dfefe3; border-radius: 13px; }
.hint-row p { color: #61796a; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 9px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-good { color: #1c784d; background: #e8f7ed; border: 1px solid #d8efdf; }
.status-warn { color: #a26713; background: #fff4df; border: 1px solid #f4e7c8; }
.status-neutral { color: #68786f; background: #f0f3f1; border: 1px solid #e6ebe7; }
.status-admin { color: #6246a5; background: #f1edff; border: 1px solid #e4dcff; }

/* Forms and filters */
.form-panel { padding-bottom: 22px; }
.form-panel > .panel-head { padding: 22px 23px 17px; }
.form-grid { gap: 17px; padding: 0 23px; }
.form-grid label, .form-stack label, .filter-inline label { color: #41564a; font-size: 11px; font-weight: 800; }
.form-grid input, .form-grid textarea, .form-grid select, .form-stack input, .filter-inline select, .search-form input, .items-table input, .items-table select {
  color: #263d30;
  border-color: #dce7df;
  border-radius: 11px;
  background-color: #fcfdfc;
  box-shadow: inset 0 1px 1px rgba(24, 50, 35, .018);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-grid input:hover, .form-grid textarea:hover, .form-grid select:hover, .form-stack input:hover, .search-form input:hover { border-color: #c8d9ce; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus, .form-stack input:focus, .filter-inline select:focus, .search-form input:focus, .items-table input:focus, .items-table select:focus { outline: none; border-color: #47a87b; background: #fff; box-shadow: 0 0 0 4px rgba(38, 149, 94, .10); }
.form-grid input, .form-grid select { min-height: 42px; }
.form-grid textarea { min-height: 95px; resize: vertical; }
.form-stack { gap: 15px; }
.form-stack input { height: 46px; }
.form-footer { padding: 18px 23px 0; border-top: 1px solid #eef3ef; margin-top: 22px; }
.list-toolbar { padding: 15px 20px; background: #fcfdfc; border-bottom: 1px solid #edf2ee; }
.search-form input { min-height: 40px; }
.result-count { color: #8a988f; font-size: 10px; }
.gps-actions { gap: 10px; }
.gps-chip { border: 1px solid #d5eddd; }

/* Maps and details */
.map-filter-panel { padding: 19px 22px; margin-bottom: 18px; }
.map-layout { gap: 18px; }
.map-panel-head { padding: 20px 21px; }
.map-count-badge { padding: 6px 10px; border: 1px solid #d8eddf; font-size: 10px; }
.location-list-item { padding: 15px 17px; border-top-color: #eef3ef; }
.location-list-item:hover { background: #f7fbf8; }
.location-pin { width: 34px; height: 34px; border-radius: 11px; }
.location-list-copy strong { color: #2b4334; font-size: 11px; }
.location-list-copy small { font-size: 10px; }
.all-stores-map { background: #edf3ef; }
.detail-main { padding: 22px; }
.detail-identity h2 { color: #213c2c; }
.store-avatar { border-radius: 15px; }
.detail-divider { border-color: #eaf0ec; }
.info-label { color: #84948a; letter-spacing: .5px; }
.info-grid strong { color: #2e4637; }
.detail-actions { gap: 9px; }
.history-panel .panel-head { padding-bottom: 17px; }

/* Password reset expander */
.password-reset summary { background: #eef8f1; border-color: #d7ecde; color: #176a44; border-radius: 10px; padding: 10px 12px; font-size: 10px; }
.password-reset summary:hover { background: #e4f4e9; }
.password-reset-form { background: #fbfdfb; border-color: #e2ece5; border-radius: 13px; padding: 13px; box-shadow: 0 8px 20px rgba(24, 60, 40, .035); }
.password-reset-form input { background: #fff; border-color: #dbe7de; border-radius: 9px; }

/* New login page */
.premium-login-body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(16px, 4vw, 48px);
  overflow-x: hidden;
  background: radial-gradient(ellipse at 8% 12%, rgba(198, 232, 209, .58), transparent 33%), radial-gradient(ellipse at 90% 90%, rgba(217, 237, 223, .58), transparent 30%), #f3f7f4;
}
.premium-login-body::before, .premium-login-body::after { content: ""; position: fixed; z-index: -1; border-radius: 50%; pointer-events: none; }
.premium-login-body::before { width: 340px; height: 340px; border: 1px solid rgba(24, 129, 82, .08); left: -190px; bottom: -190px; box-shadow: 0 0 0 30px rgba(24,129,82,.025), 0 0 0 65px rgba(24,129,82,.02); }
.premium-login-body::after { width: 260px; height: 260px; border: 1px solid rgba(24, 129, 82, .08); right: -140px; top: -150px; box-shadow: 0 0 0 32px rgba(24,129,82,.025); }
.premium-login-shell {
  position: relative;
  width: min(100%, 1120px);
  min-height: 650px;
  grid-template-columns: 1.04fr .96fr;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(220, 232, 224, .92);
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(24, 62, 40, .13), 0 2px 10px rgba(24,62,40,.025);
}
.premium-login-promo {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 38px 44px 29px;
  background: radial-gradient(ellipse at 82% 25%, rgba(42, 142, 95, .27), transparent 32%), linear-gradient(145deg, #163b2a 0%, #102c20 55%, #0c2118 100%);
  overflow: hidden;
}
.premium-login-promo::before { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; right: -225px; top: 110px; border-radius: 50%; border: 1px solid rgba(210,255,225,.08); box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.018); }
.premium-login-promo::after { content: none; }
.login-brand-lockup { display: flex; align-items: center; gap: 12px; }
.login-brand-lockup .brand-mark-lg { width: 47px; height: 47px; margin: 0; border-radius: 15px; background: linear-gradient(145deg, #3fc38a, #198057); box-shadow: 0 8px 22px rgba(25, 158, 98, .2); }
.login-brand-copy strong, .login-brand-copy span { display: block; }
.login-brand-copy strong { color: #fff; font-family: 'Manrope', sans-serif; font-size: 13px; letter-spacing: -.2px; }
.login-brand-copy span { margin-top: 4px; color: #96b9a4; font-size: 10px; letter-spacing: .25px; }
.premium-promo-content { position: relative; z-index: 1; margin-top: 42px; }
.premium-promo-content .eyebrow { margin-bottom: 13px; color: #a3dfb9; }
.premium-promo-content h1 { max-width: 500px; margin: 0 0 17px; color: #fff; font-size: clamp(31px, 3.4vw, 43px); font-weight: 800; line-height: 1.13; letter-spacing: -1.8px; }
.premium-promo-content h1 span { color: #8de0b2; }
.premium-promo-content > p:last-child { max-width: 390px; color: #c1d9ca; font-size: 12px; line-height: 1.9; }
.premium-promo-features { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.premium-promo-feature { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px 11px; border: 1px solid rgba(236,255,242,.105); background: rgba(255,255,255,.055); border-radius: 13px; }
.feature-symbol { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 10px; color: #b7f0cb; background: rgba(66, 168, 110, .19); font-size: 17px; }
.premium-promo-feature strong, .premium-promo-feature small { display: block; }
.premium-promo-feature strong { color: #f0fff4; font-size: 10px; }
.premium-promo-feature small { margin-top: 3px; color: #9cbaa8; font-size: 9px; line-height: 1.45; }
.premium-map-card { align-self: stretch; width: 100%; min-width: 0; box-sizing: border-box; position: relative; z-index: 1; margin-top: 22px; padding: 8px; border: 1px solid rgba(226,255,236,.13); border-radius: 17px; background: rgba(255,255,255,.065); box-shadow: 0 16px 28px rgba(0,0,0,.09); }
.premium-map-canvas { position: relative; height: 135px; overflow: hidden; border-radius: 11px; background: #dcebdc; background-image: linear-gradient(23deg, transparent 48%, rgba(255,255,255,.85) 49%, rgba(255,255,255,.85) 52%, transparent 53%), linear-gradient(112deg, transparent 39%, rgba(255,255,255,.86) 40%, rgba(255,255,255,.86) 44%, transparent 45%), linear-gradient(70deg, transparent 62%, rgba(255,255,255,.8) 63%, rgba(255,255,255,.8) 66%, transparent 67%), linear-gradient(0deg, rgba(113,164,118,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(113,164,118,.08) 1px, transparent 1px); background-size: auto, auto, auto, 28px 28px, 28px 28px; }
.map-road { position: absolute; display: block; height: 10px; background: rgba(255,255,255,.91); border: 1px solid rgba(173,197,171,.33); border-radius: 10px; }
.road-one { width: 125%; top: 28%; left: -9%; transform: rotate(-16deg); }
.road-two { width: 110%; top: 69%; left: -5%; transform: rotate(12deg); height: 8px; }
.road-three { width: 72%; top: 42%; left: 35%; transform: rotate(65deg); height: 8px; }
.map-block { position: absolute; display: block; background: rgba(144,190,143,.30); border: 1px solid rgba(121,174,126,.21); border-radius: 7px; }
.block-one { width: 58px; height: 29px; top: 12px; left: 19%; transform: rotate(-13deg); }
.block-two { width: 67px; height: 26px; right: 15%; top: 48px; transform: rotate(12deg); }
.block-three { width: 42px; height: 29px; left: 41%; bottom: 8px; transform: rotate(-8deg); }
.map-point { position: absolute; z-index: 2; display: grid; place-items: center; width: 23px; height: 23px; background: #178557; border: 3px solid rgba(255,255,255,.97); border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); box-shadow: 0 4px 11px rgba(21,92,55,.25); }
.map-point i { width: 5px; height: 5px; background: #fff; border-radius: 50%; }
.point-one { top: 22px; left: 46%; }
.point-two { top: 58px; left: 20%; transform: rotate(-45deg) scale(.78); }
.point-three { top: 30px; right: 16%; transform: rotate(-45deg) scale(.78); }
.map-location-card { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 11px; display: flex; align-items: center; gap: 9px; padding: 10px 11px; border: 1px solid rgba(230,239,230,.9); border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 5px 16px rgba(40,80,47,.12); }
.map-location-icon { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; color: #168158; background: #e8f7ed; border-radius: 9px; font-size: 18px; }
.map-location-card strong, .map-location-card small { display: block; }
.map-location-card strong { color: #274231; font-size: 9px; }
.map-location-card small { color: #84938a; margin-top: 3px; font-size: 8px; }
.map-location-check { margin-left: auto; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #1b8354; background: #e2f5e8; font-size: 11px; font-weight: 800; }
.premium-login-promo .promo-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 21px; color: #9dbca8; font-size: 10px; }
.premium-login-promo .dot { width: 7px; height: 7px; background: #54d995; box-shadow: 0 0 0 4px rgba(84,217,149,.12); }
.premium-login-panel { display: flex; flex-direction: column; justify-content: center; align-self: stretch; min-width: 0; padding: 58px clamp(31px, 4.2vw, 58px) 31px; }
.premium-login-heading { margin-bottom: 25px; }
.premium-access-label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; margin-bottom: 25px; border: 1px solid #e2eee5; border-radius: 999px; color: #578068; background: #f5faf6; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.access-indicator { width: 6px; height: 6px; border-radius: 50%; background: #26a568; box-shadow: 0 0 0 3px rgba(38,165,104,.11); }
.premium-login-heading .eyebrow { margin-bottom: 8px; color: #31825a; font-size: 9px; }
.premium-login-heading h2 { margin: 0 0 10px; color: #183526; font-size: clamp(25px, 2.4vw, 30px); font-weight: 800; letter-spacing: -1.15px; }
.premium-login-heading > .muted { max-width: 340px; margin: 0; color: #7f8f85; font-size: 11px; line-height: 1.8; }
.premium-form-stack { gap: 17px; }
.premium-field { gap: 8px !important; color: #334c3d !important; font-size: 10px !important; font-weight: 800 !important; }
.premium-input-wrap { display: flex; align-items: center; gap: 10px; width: 100%; height: 49px; padding: 0 13px; border: 1px solid #dfe9e2; border-radius: 12px; background: #fbfdfb; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.premium-input-wrap:focus-within { border-color: #3a9a6d; background: #fff; box-shadow: 0 0 0 4px rgba(38,149,94,.10); }
.premium-input-icon { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; color: #5f8c70; background: #edf7ef; border-radius: 7px; font-size: 12px; font-weight: 800; }
.premium-input-wrap input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0 !important; outline: none !important; box-shadow: none !important; background: transparent !important; color: #263d30; font-size: 11px; }
.premium-input-wrap input::placeholder { color: #a3afa7; }
.premium-input-wrap input:focus { border: 0; box-shadow: none; }
.premium-login-button { display: flex; justify-content: space-between; min-height: 49px; margin-top: 5px; padding: 0 16px 0 18px; border-radius: 12px; font-size: 11px; }
.premium-button-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.19); border-radius: 9px; background: rgba(255,255,255,.10); font-size: 17px; transition: transform .18s ease; }
.premium-login-button:hover .premium-button-arrow { transform: translateX(3px); }
.premium-login-divider { display: flex; align-items: center; gap: 11px; margin: 23px 0 19px; }
.premium-login-divider span { flex: 1; height: 1px; background: #edf1ee; }
.premium-login-divider small { color: #9aa79f; font-size: 7px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.premium-security-note { display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border: 1px solid #e4efe7; border-radius: 12px; background: #f7fbf8; }
.security-symbol { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 8px; background: #e4f5e9; color: #228251; font-size: 12px; font-weight: 800; }
.premium-security-note p { min-width: 0; }
.premium-security-note strong, .premium-security-note small { display: block; }
.premium-security-note strong { color: #3e5b49; font-size: 9px; }
.premium-security-note small { margin-top: 4px; color: #8b9a90; font-size: 9px; line-height: 1.6; }
.premium-login-note { margin-top: 23px; color: #9aa79f; font-size: 9px; line-height: 1.6; }
.premium-mobile-brand { display: none; }

/* Responsive refinements */
@media (max-width: 1250px) {
  .sidebar { width: 250px; }
  .main-area { margin-left: 250px; }
  .content-wrap { padding: 27px 25px 34px; }
  .topbar { padding: 0 25px; }
  .premium-login-shell { min-height: 625px; }
  .premium-login-promo { padding-left: 34px; padding-right: 34px; }
}
@media (max-width: 900px) {
  .sidebar { width: 264px; }
  .main-area { margin-left: 0; }
  .topbar { height: 67px; padding: 0 18px; }
  .content-wrap { padding: 24px 18px 30px; }
  .premium-login-shell { display: block; max-width: 540px; min-height: 0; }
  .premium-login-promo { display: none; }
  .premium-login-panel { padding: 36px 34px 27px; }
  .premium-mobile-brand { display: flex; margin-bottom: 31px; }
  .premium-mobile-brand span strong, .premium-mobile-brand span small { display: block; }
  .premium-mobile-brand span strong { color: #1d3d2c; font-size: 12px; }
  .premium-mobile-brand span small { margin-top: 3px; color: #87958c; font-size: 9px; }
  .premium-access-label { margin-bottom: 19px; }
  .premium-login-heading { margin-bottom: 22px; }
}
@media (max-width: 600px) {
  .topbar { padding: 0 13px; }
  .content-wrap { padding: 19px 12px 24px; }
  .app-footer { padding: 15px 13px; }
  .stat-grid, .stat-grid.four { gap: 10px; }
  .stat-card { padding: 15px; border-radius: 15px; }
  .panel { border-radius: 15px; }
  .panel-head { padding: 16px 14px 13px; }
  .table-wrap { border-radius: 0 0 15px 15px; }
  .premium-login-body { display: grid; place-items: center; padding: 12px; }
  .premium-login-shell { width: 100%; border-radius: 23px; }
  .premium-login-panel { padding: 25px 20px 21px; }
  .premium-mobile-brand { margin-bottom: 27px; }
  .premium-login-heading h2 { font-size: 25px; }
  .premium-login-heading > .muted { font-size: 10px; }
  .premium-form-stack { gap: 15px; }
  .premium-input-wrap { height: 47px; }
  .premium-login-divider { margin: 20px 0 15px; gap: 7px; }
  .premium-login-divider small { font-size: 6px; letter-spacing: .7px; }
  .premium-security-note { padding: 12px; }
  .premium-login-note { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
