@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --maroon: #8B1E3F;
  --maroon-dark: #620D27;
  --maroon-light: #A3284E;
  --orange: #F37021;
  --orange-dark: #D45B11;
  --orange-light: #FF853A;
  --bg: #F4F6FA;
  --card-bg: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;
  --green: #10B981;
  --green-dark: #059669;
  --green-bg: #ECFDF5;
  --red: #EF4444;
  --red-dark: #DC2626;
  --red-bg: #FEF2F2;
  --amber: #F59E0B;
  --amber-bg: #FFFBEB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px -2px rgba(0,0,0,0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 28px -4px rgba(0,0,0,0.12), 0 4px 12px -2px rgba(0,0,0,0.06);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--maroon); text-decoration: none; cursor: pointer; transition: color 0.15s; }
a:hover { color: var(--orange); }
.hidden { display: none !important; }

/* Buttons */
.btn {
  background: var(--orange);
  color: #fff;
  border: 0;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(243, 112, 33, 0.25);
  font-family: inherit;
}
.btn:hover {
  background: var(--orange-dark);
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.35);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn.m {
  background: var(--maroon);
  box-shadow: 0 2px 6px rgba(139, 30, 63, 0.25);
}
.btn.m:hover {
  background: var(--maroon-dark);
  box-shadow: 0 4px 12px rgba(139, 30, 63, 0.35);
}
.btn.sm { padding: 5px 12px; font-size: 11.5px; border-radius: 4px; box-shadow: none; }
.btn.red { background: var(--red); box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25); }
.btn.red:hover { background: var(--red-dark); }
.btn.gray { background: #64748B; box-shadow: none; }
.btn.gray:hover { background: #475569; }

/* Cards & Layout */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card h3 {
  color: var(--maroon);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #FFF0E6;
  padding-bottom: 8px;
}
h2.pt {
  font-size: 19px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.wrap { max-width: 1220px; margin: 24px auto; padding: 0 24px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .wrap { padding: 0 14px; }
}

/* Key-Value Details */
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 22px; }
.kv div { background: #F8FAFC; padding: 10px 14px; border-radius: var(--radius-sm); border-left: 3px solid var(--border); }
.kv div span { display: block; color: var(--text-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px; }
.kv div b { font-size: 13.5px; color: var(--text-main); font-weight: 600; }

/* Balance Display */
.bal { font-size: 26px; font-weight: 800; color: var(--maroon); letter-spacing: -0.5px; }
.eye { cursor: pointer; font-size: 15px; margin-left: 8px; user-select: none; vertical-align: middle; opacity: 0.8; transition: opacity 0.15s; }
.eye:hover { opacity: 1; }

/* Forms */
label { display: block; font-size: 12px; font-weight: 600; color: var(--text-main); margin: 12px 0 4px; }
input, select, textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-main);
  background: #FFF;
  transition: all 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.18);
}
input:disabled { background: #F1F5F9; color: #64748B; cursor: not-allowed; }

/* Tables */
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th {
  background: #F8FAFC;
  color: var(--text-muted);
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--text-main);
}
tr:hover td { background: #FFF9F5; }
.cr { color: #047857; font-weight: 700; font-variant-numeric: tabular-nums; }
.dr { color: #b91c1c; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Authentic Banking Passbook / Statement Typography */
.tabular-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.amt {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.amt-cr {
  color: #047857; /* Deep bank emerald */
  font-weight: 700;
}
.amt-cr .amt-sym {
  color: #059669;
  font-weight: 700;
  margin-right: 2px;
}

.amt-dr {
  color: #b91c1c; /* Deep bank crimson */
  font-weight: 700;
}
.amt-dr .amt-sym {
  color: #dc2626;
  font-weight: 700;
  margin-right: 2px;
}

.amt-bal {
  color: #1e293b;
  font-weight: 700;
}

.amt-dash {
  color: #94a3b8;
  font-weight: 500;
  font-size: 13px;
}

/* Mode Badges */
.mode-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.mode-badge.mode-upi {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}
.mode-badge.mode-imps {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.mode-badge.mode-neft {
  background: #fefce8;
  color: #a16207;
  border-color: #fef08a;
}
.mode-badge.mode-rtgs {
  background: #faf5ff;
  color: #7e22ce;
  border-color: #e9d5ff;
}
.mode-badge.mode-cash {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}
.mode-badge.mode-salary {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.mode-badge.mode-interest {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.mode-badge.mode-cheque {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}
.mode-badge.mode-loan {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}
.mode-badge.mode-billpay {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #99f6e4;
}

/* Badges */
.badge {
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.b-ok { background: var(--green-bg); color: var(--green-dark); border: 1px solid #A7F3D0; }
.b-wait { background: var(--amber-bg); color: #B45309; border: 1px solid #FDE68A; }
.b-bad { background: var(--red-bg); color: var(--red-dark); border: 1px solid #FECACA; }

/* Messages */
.msg { padding: 10px 14px; border-radius: var(--radius-sm); margin: 12px 0; font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.msg.ok { background: var(--green-bg); color: var(--green-dark); border: 1px solid #A7F3D0; }
.msg.err { background: var(--red-bg); color: var(--red-dark); border: 1px solid #FECACA; }
.msg.info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button {
  padding: 7px 16px;
  border: 1px solid var(--border);
  background: #FFF;
  color: var(--text-muted);
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  font-family: inherit;
  transition: all 0.15s;
}
.tabs button:hover { border-color: var(--orange); color: var(--orange); }
.tabs button.act {
  background: var(--maroon);
  color: #FFF;
  border-color: var(--maroon);
  box-shadow: 0 2px 6px rgba(139, 30, 63, 0.2);
}

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.modal .box { background: #FFF; border-radius: var(--radius-lg); padding: 28px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.receipt { border: 2px dashed #FDBA74; background: #FFFBF5; padding: 18px; border-radius: var(--radius-md); margin: 12px 0; }

/* Logo Branding Elements */
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--maroon); letter-spacing: -0.4px; }
.logo i {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #FFF;
  font-style: normal;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(243, 112, 33, 0.35);
}
.logo small { font-size: 11px; font-weight: 600; color: var(--orange); margin-left: 6px; border-left: 1px solid var(--border); padding-left: 8px; }

/* Footer */
.foot { background: #1E293B; color: #94A3B8; text-align: center; padding: 18px 24px; font-size: 11.5px; line-height: 1.6; }
.foot a { color: #CBD5E1; }
.foot a:hover { color: #FFF; }

/* ====================================================
   1. REAL ICICI STYLE LANDING / HOMEPAGE
   ==================================================== */
.top-announcement {
  background: #EDF5FD;
  color: #03427F;
  text-align: center;
  padding: 7px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #D7E7F6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-header {
  background: #C84419;
  background: linear-gradient(90deg, #B83A14 0%, #C84419 50%, #B83A14 100%);
  padding: 12px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}
.home-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFF;
}
.home-header .bank-name {
  color: #FFF !important;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.home-header .bank-logo i {
  background: #FFF;
  color: #B83A14;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.home-header .bank-logo img {
  height: 32px;
  vertical-align: middle;
}
.home-nav-left { display: flex; align-items: center; gap: 28px; }
.home-tab {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  text-decoration: none;
}
.home-tab:hover { color: #FFF; opacity: 1; }
.home-tab.active {
  color: #FFF;
  font-weight: 700;
}
.home-tab.active::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: #FFFFFF;
  border-radius: 2px 2px 0 0;
}
.home-nav-right { display: flex; align-items: center; gap: 22px; font-size: 12.5px; color: #FFF; }
.home-nav-right a, .home-nav-right span { color: #FFF; font-weight: 500; cursor: pointer; transition: opacity 0.15s; }
.home-nav-right a:hover, .home-nav-right span:hover { opacity: 0.82; }
.home-nav-right .bank-tollfree { color: #FFF; font-weight: 700; }
.home-login-btn {
  background: #FFFFFF;
  color: #B83A14;
  border: none;
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  font-family: inherit;
}
.home-login-btn:hover {
  background: #F8FAFC;
  color: #9E2A0D;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.home-hero {
  background: linear-gradient(112deg, #F37021 0%, #E25C10 38%, #B82236 85%, #8B1E3F 100%);
  padding: 44px 44px 56px;
  color: #FFF;
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.home-hero-wrap {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-search-box {
  background: #FFF;
  border-radius: 9999px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  margin-bottom: 24px;
  max-width: 480px;
  cursor: pointer;
  transition: all 0.2s;
}
.home-search-box:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,0,0,0.22); }
.home-search-box input { border: 0; outline: 0; font-size: 13.5px; flex: 1; padding: 5px 0; background: transparent; cursor: pointer; color: #1E293B; }

.home-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; max-width: 540px; }
.home-pill {
  background: #FFF;
  color: #1E293B;
  border-radius: var(--radius-lg);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.8);
}
.home-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  color: var(--maroon);
}
.home-pill-icon { font-size: 20px; width: 26px; text-align: center; }

.home-offers-card {
  background: rgba(255, 255, 255, 0.98);
  color: #1E293B;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  cursor: pointer;
  transition: transform 0.2s;
  border: 1px solid rgba(255,255,255,0.9);
}
.home-offers-card:hover { transform: translateY(-2px); }

.home-banner-right {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 26px;
  background: #FFF;
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 999;
  border-left: 4px solid var(--orange);
}

/* ====================================================
   2. FULLSCREEN SPLASH LOADING (Screenshot 2)
   ==================================================== */
#loadingScreen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #F37021 0%, #D85012 40%, #8B1E3F 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: #FFF;
}
.loading-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: #FFF;
}
.loading-logo .logo { color: #FFF; }
.loading-bar-wrap {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.loading-bar-inner {
  position: absolute;
  height: 100%;
  width: 45%;
  background: #FFF;
  border-radius: 9999px;
  box-shadow: 0 0 12px #FFF;
  animation: loadSlide 1.3s infinite ease-in-out;
}
@keyframes loadSlide {
  0% { left: -45%; }
  100% { left: 100%; }
}
.loading-text { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.95); letter-spacing: 0.3px; }

/* ====================================================
   3. SECURE NET BANKING LOGIN PAGE
   ==================================================== */
.top {
  background: #C84419;
  background: linear-gradient(90deg, #B83A14 0%, #C84419 50%, #B83A14 100%);
  color: #FFF;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.top .logo {
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 12px;
}
.top .bank-name {
  color: #FFF !important;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.top .bank-logo i {
  background: #FFF;
  color: #B83A14;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.top a {
  color: #FFF !important;
  font-weight: 600;
  font-size: 13px;
  opacity: 0.95;
  transition: opacity 0.15s;
}
.top a:hover {
  opacity: 0.8;
  color: #FFF !important;
}
.login-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  max-width: 1020px;
  margin: 44px auto;
  padding: 0 24px;
}
@media (max-width: 840px) { .login-wrap { grid-template-columns: 1fr; } }

.banner {
  background: linear-gradient(135deg, var(--maroon) 0%, #A52A4F 60%, var(--orange) 100%);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.banner h1 { font-size: 30px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.4px; }
.banner p { font-size: 14px; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.banner ul { list-style: none; }
.banner li { margin: 10px 0; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.banner li::before { content: "✔"; background: rgba(255,255,255,0.2); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

.loginbox {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-top: 5px solid var(--orange);
}
.loginbox h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.captcha {
  font-family: monospace;
  font-size: 22px;
  letter-spacing: 5px;
  background: #F1F5F9;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  user-select: none;
}

/* ====================================================
   4. CUSTOMER PORTAL & ADMIN PANEL SIDEBAR LAYOUT
   ==================================================== */
.side {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .side { grid-template-columns: 1fr; }
}

.sidebar {
  background: linear-gradient(180deg, #5A0C22 0%, #3B0616 100%);
  color: #FFF;
  padding: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(0,0,0,0.12);
  box-shadow: 2px 0 12px rgba(0,0,0,0.08);
  min-height: 100vh;
}
.sidebar .logo {
  padding: 16px 20px;
  font-size: 19px;
  color: #FFF;
  background: linear-gradient(90deg, #B83A14 0%, #C84419 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 12px;
}
.sidebar .logo .bank-name {
  color: #FFF !important;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.sidebar .logo .bank-logo i {
  background: #FFF;
  color: #B83A14;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.sidebar .logo .bank-logo img {
  height: 30px;
  vertical-align: middle;
}
.sidebar-user-card {
  background: rgba(255, 255, 255, 0.07);
  margin: 4px 12px 14px;
  padding: 11px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--orange);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.sidebar-user-card b {
  display: block;
  font-size: 12.5px;
  color: #FFF;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.sidebar-user-card small {
  display: block;
  color: #FDE68A;
  font-size: 11px;
  font-family: monospace;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  padding: 9.5px 14px;
  margin: 2px 10px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1px;
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
}
.sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  text-decoration: none;
}
.sidebar a.act {
  background: linear-gradient(90deg, #F37021 0%, #D85614 100%);
  color: #FFF;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(243, 112, 33, 0.35);
}

.nav-ic-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.nav-ic {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s;
}
.sidebar a:hover .nav-ic,
.sidebar a.act .nav-ic {
  transform: scale(1.1);
  stroke-width: 2.1;
}
.nav-txt {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Eye Toggle Button */
.eye-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  border-radius: 4px;
  transition: opacity 0.15s, transform 0.15s;
}
.eye-btn:hover {
  opacity: 0.75;
  transform: scale(1.1);
}
.eye-ic {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main {
  padding: 24px 30px;
  overflow-y: auto;
  background: var(--bg);
}
.main-top-bar {
  background: #FFF;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left: 4px solid #C84419;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 12.5px;
  box-shadow: var(--shadow-sm);
}
.main-top-bar .btn.red {
  background: #B83A14;
  color: #FFF;
  font-weight: 600;
  border-radius: 4px;
  padding: 5px 14px;
  box-shadow: 0 1px 4px rgba(184, 58, 20, 0.25);
  transition: background 0.15s;
}
.main-top-bar .btn.red:hover {
  background: #9A2C0D;
}

/* Dashboard Quick Action Tiles */
.tile {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.tile-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF4EC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.tile-icon-wrap .nav-ic {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  stroke-width: 2;
}
.tile:hover .tile-icon-wrap {
  background: var(--orange);
  transform: scale(1.08);
}
.tile:hover .tile-icon-wrap .nav-ic {
  stroke: #FFF;
}
.tile-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.15s;
}
.tile:hover .tile-label {
  color: var(--maroon);
}

/* Admin KPI Cards */
.kpi {
  border-left: 4px solid var(--orange);
  background: #FFF;
}
.kpi span { color: var(--text-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.kpi b { display: block; font-size: 24px; font-weight: 800; color: var(--maroon); margin-top: 4px; letter-spacing: -0.4px; }

@media print {
  .top, .sidebar, .btn, .foot, .noprint, .main-top-bar { display: none !important; }
  .side { display: block; }
  body { background: #FFF; font-size: 12pt; }
  .card { box-shadow: none; border: 1px solid #CCC; }
}
