@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--green:#07543f;--green2:#0b6a4d;--lime:#a7d62d;--orange:#f26b21;--ink:#172720;--muted:#718078;--line:#e4ebe6;--bg:#f4f7f4;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px "DM Sans",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}
.shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;gap:8px}
.brand{display:flex;align-items:center;gap:10px;padding:0 8px 24px;color:var(--green);font-weight:800;letter-spacing:-.04em}.brand img{width:38px;height:42px}.brand small{display:block;color:var(--orange);font-size:9px;letter-spacing:.28em;margin-top:4px}
.nav-label{font-size:9px;letter-spacing:.15em;font-weight:800;color:#9aa69f;margin:16px 10px 5px}
.nav-link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;font-size:12px;font-weight:700;color:#53635a;transition:.15s}.nav-link:hover,.nav-link.active{background:#eaf3ed;color:var(--green)}.nav-link .ico{width:18px;text-align:center;font-size:16px}.nav-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:12px}
.main{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:5}.top-left{display:flex;align-items:center;gap:14px}.topbar h1{font-size:18px;margin:0;letter-spacing:-.03em}.subhead{font-size:10px;color:var(--muted);margin-top:3px}.top-actions{display:flex;align-items:center;gap:16px}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:10px;width:38px;height:38px;color:var(--green)}.user-chip{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:700}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#e3efe6;color:var(--green);font-weight:800}
.content{padding:30px 34px;max-width:1500px;margin:auto}.welcome{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.eyebrow{font-size:10px;color:var(--green2);font-weight:800;letter-spacing:.15em;text-transform:uppercase}.welcome h2{font-size:27px;letter-spacing:-.05em;margin:7px 0}.muted{color:var(--muted)}.small{font-size:11px}.notice{padding:13px 16px;border-radius:12px;background:#fff4e9;color:#7a4a2a;font-size:11px;margin:0 0 20px}.notice strong{display:block;margin-bottom:3px}
.grid{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.balance{grid-column:span 2;background:var(--green);color:#fff;border-radius:17px;padding:23px;min-height:180px;position:relative;overflow:hidden}.balance:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #ffffff28;border-radius:50%;right:-35px;top:-70px;box-shadow:0 0 0 30px #ffffff09,0 0 0 60px #ffffff06}.balance .label{font-size:10px;color:#ffffffb8}.balance h3{font-size:32px;letter-spacing:-.04em;margin:8px 0}.balance p{font-size:10px;color:#ffffffa8}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;min-width:0}.metric span{font-size:10px;color:var(--muted)}.metric strong{display:block;font-size:21px;color:var(--green);margin:8px 0 2px}.metric .trend{font-size:10px;color:var(--green2)}.card h3{font-size:13px;margin:0 0 12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:11px 16px;font-size:11px;font-weight:800}.btn-primary{background:var(--orange);color:white}.btn-green{background:var(--green);color:white}.btn-outline{background:white;border-color:var(--line);color:var(--green)}.btn-light{background:#ffffff1b;border-color:#ffffff66;color:#fff}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.transaction{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.transaction:last-child{border:0}.tx-left{display:flex;align-items:center;gap:10px}.tx-icon{width:34px;height:34px;border-radius:10px;background:#edf5ef;display:grid;place-items:center;color:var(--green)}.transaction small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.credit{color:var(--green2);font-weight:800}.debit{color:#b95731;font-weight:800}
.section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px}.section-head h3{font-size:14px;margin:0}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:13px}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line)}th{font-size:9px;color:var(--muted);letter-spacing:.08em;background:#fafcfb}tr:last-child td{border:0}.status{display:inline-block;padding:5px 9px;border-radius:99px;background:#edf5ef;color:var(--green);font-size:9px;font-weight:800}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:10px;font-weight:800}.field input,.field select{padding:12px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;width:100%;font-size:11px}.field input:focus,.field select:focus{outline:2px solid #a7d62d88;border-color:var(--green2)}.help{font-size:10px;color:var(--muted)}
.profile-head{display:flex;align-items:center;gap:15px;margin-bottom:20px}.profile-avatar{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#e0eee4;color:var(--green);font-size:22px;font-weight:800}.profile-head h3{margin:0 0 4px}.profile-head p{margin:0;font-size:11px;color:var(--muted)}
.mobile-menu{display:none}
.modal-backdrop{position:fixed;inset:0;background:#10251dcc;display:none;align-items:center;justify-content:center;padding:20px;z-index:30}.modal-backdrop.open{display:flex}.modal{width:min(420px,100%);background:#fff;border-radius:18px;padding:25px;box-shadow:0 24px 80px #001b1280}.modal-icon{width:44px;height:44px;border-radius:13px;background:#fff0e8;color:#bd5525;display:grid;place-items:center;font-size:20px}.modal h2{font-size:20px;margin:15px 0 6px}.modal p{font-size:12px;color:var(--muted);line-height:1.6}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}
.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-brand{background:var(--green);color:#fff;padding:60px;display:flex;flex-direction:column;justify-content:space-between}.login-brand h1{font-size:48px;line-height:1.03;letter-spacing:-.06em;max-width:500px}.login-brand p{color:#ffffffad;font-size:13px;max-width:420px}.login-panel{display:grid;place-items:center;padding:35px}.login-box{width:min(390px,100%)}.login-box h2{font-size:27px;letter-spacing:-.05em}.login-box .field{margin:15px 0}.login-box .btn{width:100%;margin-top:12px}
@media(max-width:1050px){.shell{grid-template-columns:215px minmax(0,1fr)}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:24px}.topbar{padding:0 24px}}
@media(max-width:700px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:15;left:-270px;top:0;bottom:0;width:250px;box-shadow:12px 0 35px #001b1220;transition:left .2s}.sidebar.open{left:0}.mobile-menu{display:inline-grid}.topbar{height:66px;padding:0 14px}.topbar h1{font-size:15px}.top-actions{gap:8px}.user-chip .user-name{display:none}.content{padding:20px 14px}.welcome{align-items:flex-start;flex-direction:column}.welcome h2{font-size:24px}.grid-3,.grid-2{grid-template-columns:1fr}.grid-4{grid-template-columns:1fr 1fr}.balance{grid-column:1/-1}.balance h3{font-size:27px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.login-wrap{grid-template-columns:1fr}.login-brand{padding:28px;min-height:260px}.login-brand h1{font-size:34px}.login-panel{padding:35px 22px}}


/* Shared shell refinements and consistent SVG navigation icons */
.sidebar .ico { width: 22px; height: 22px; min-width: 22px; display: inline-flex; align-items: center; justify-content: center; }
.sidebar .ico svg { width: 20px; height: 20px; display: block; }
.nav-link { gap: 13px; }
.nav-link.active .ico { color: var(--green); }
.topbar .icon-btn svg { display:block; }
.banking-footer { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:34px; padding:18px 2px 8px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
@media (max-width:700px) { .banking-footer { flex-direction:column; } }



/* =========================================
   FCB INTERNET BANKING — LOGIN
========================================= */

.login-page {
  min-height: 100vh;
  margin: 0;
  background: #fff;
  color: #19372d;
  font-family: inherit;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(480px, 1.12fr);
  min-height: 100vh;
}

/* Brand side */

.login-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 43px 8%;
  background: #073f32;
  color: #fff;
}

.login-brand__top,
.login-brand__content,
.login-brand__bottom {
  position: relative;
  z-index: 2;
}

.login-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.1px;
  line-height: 1.15;
}

.login-brand__logo img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.login-brand__logo small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  opacity: .72;
}

.login-brand__content {
  max-width: 510px;
  margin: 75px 0;
}

.login-eyebrow {
  display: inline-block;
  color: #a9bda9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.login-brand__content h1 {
  margin: 21px 0 22px;
  font-size: clamp(40px, 5vw, 65px);
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.08;
  color: #fff;
}

.login-brand__content > p {
  max-width: 420px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.9;
}

.login-brand__features {
  display: grid;
  gap: 0;
  margin-top: 60px;
  max-width: 370px;
}

.login-brand__features > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);
  font-size: 13px;
}

.feature-number {
  color: #c6a477;
  font-size: 10px;
  letter-spacing: 1px;
}

.login-brand__bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.52);
  font-size: 10px;
  letter-spacing: .7px;
}

.login-brand__decoration {
  position: absolute;
  z-index: 0;
  width: 460px;
  height: 460px;
  right: -240px;
  top: 23%;
  pointer-events: none;
}

.login-brand__decoration span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
}

.login-brand__decoration span:nth-child(2) {
  inset: 55px;
}

.login-brand__decoration span:nth-child(3) {
  inset: 110px;
}

/* Main side */

.login-main {
  min-height: 100vh;
  padding: 34px 7%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.login-main__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #65766c;
  font-size: 12px;
  text-decoration: none;
}

.login-back:hover {
  color: #07543f;
}

.login-environment {
  color: #8a795f;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.login-content {
  width: 100%;
  max-width: 410px;
  margin: 65px auto;
}

.login-heading {
  margin-bottom: 30px;
}

.login-heading .login-eyebrow {
  color: #98774f;
}

.login-heading h2 {
  color: #123c2e;
  font-size: clamp(34px, 4vw, 43px);
  font-weight: 600;
  letter-spacing: -1.7px;
  margin: 13px 0 9px;
}

.login-heading p {
  color: #77837c;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Notice */

.login-demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #f5f7f4;
  border-left: 3px solid #a88759;
  padding: 16px;
  margin-bottom: 29px;
}

.login-notice-icon {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #a88759;
  border-radius: 50%;
  color: #8b6d44;
  font-size: 12px;
  font-weight: 700;
}

.login-demo-notice strong {
  display: block;
  color: #344b3e;
  font-size: 12px;
  margin-bottom: 5px;
}

.login-demo-notice p {
  color: #748078;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}

/* Form */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.login-field label {
  color: #30483c;
  font-size: 12px;
  font-weight: 600;
}

.login-field input {
  width: 100%;
  height: 52px;
  box-sizing: border-box;
  border: 1px solid #dce3dd;
  border-radius: 0;
  padding: 0 15px;
  background: #fff;
  color: #20392e;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.login-field input::placeholder {
  color: #a3ada6;
}

.login-field input:focus {
  border-color: #07543f;
  box-shadow: 0 0 0 3px rgba(7,84,63,.08);
}

.login-password-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-password-heading > span {
  color: #a0a9a2;
  font-size: 10px;
}

.login-password-wrap {
  position: relative;
}

.login-password-wrap input {
  padding-right: 65px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: 0;
  padding: 7px 0 7px 7px;
  background: transparent;
  color: #07543f;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.login-submit {
  width: 100%;
  height: 53px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 19px;
  margin-top: 5px;
  border: 0;
  border-radius: 0;
  background: #07543f;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.login-submit:hover {
  background: #063f30;
}

.login-submit:focus-visible,
.password-toggle:focus-visible,
.login-back:focus-visible {
  outline: 3px solid #c5a477;
  outline-offset: 3px;
}

.login-message {
  display: none;
  margin: -7px 0 0;
  padding: 12px;
  background: #f5f7f4;
  color: #53665b;
  font-size: 12px;
  line-height: 1.7;
}

.login-message.is-visible {
  display: block;
}

/* Support */

.login-divider {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 36px 0 21px;
}

.login-divider span {
  flex: 1;
  height: 1px;
  background: #e9ede9;
}

.login-divider small {
  color: #9aa49d;
  font-size: 9px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.login-support {
  text-align: center;
}

.login-support p {
  color: #87928b;
  font-size: 12px;
  margin: 0 0 10px;
}

.login-support a {
  color: #07543f;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.login-support a:hover {
  text-decoration: underline;
}

/* Footer */

.login-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #edf0ed;
  color: #9aa49d;
  font-size: 10px;
}

/* Responsive */

@media (max-width: 950px) {
  .login-layout {
    grid-template-columns: minmax(300px, .8fr) minmax(400px, 1.2fr);
  }

  .login-brand {
    padding-left: 7%;
    padding-right: 7%;
  }

  .login-main {
    padding-left: 6%;
    padding-right: 6%;
  }

  .login-brand__content h1 {
    font-size: 47px;
  }
}

@media (max-width: 720px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: auto;
    padding: 25px 7% 32px;
  }

  .login-brand__content {
    margin: 55px 0 30px;
  }

  .login-brand__content h1 {
    font-size: 43px;
  }

  .login-brand__content > p {
    font-size: 14px;
  }

  .login-brand__features {
    display: none;
  }

  .login-brand__bottom {
    font-size: 9px;
  }

  .login-brand__decoration {
    top: 0;
  }

  .login-main {
    min-height: 650px;
    padding: 25px 7%;
  }

  .login-content {
    margin: 65px auto;
  }
}

@media (max-width: 420px) {
  .login-main__top {
    align-items: flex-start;
  }

  .login-environment {
    max-width: 110px;
    text-align: right;
    line-height: 1.5;
  }

  .login-heading h2 {
    font-size: 36px;
  }

  .login-footer {
    flex-direction: column;
  }
}



/* =========================================
   FCB INTERNET BANKING DASHBOARD
========================================= */

.dashboard-page {
  background: #f5f7f5;
  color: #233b30;
}

.dashboard-page .shell {
  min-height: 100vh;
}

.dashboard-page .sidebar {
  background: #fff;
  border-right: 1px solid #e6ebe6;
}

.dashboard-page .sidebar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #124431;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .8px;
}

.dashboard-page .sidebar .brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.dashboard-page .sidebar .brand small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #77877d;
}

.dashboard-sidebar-caption {
  margin: 28px 0 21px;
  color: #9aa69e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.dashboard-page .nav-label {
  margin: 23px 0 9px;
  color: #9aa69e;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.dashboard-page .nav-link {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 13px;
  margin: 3px 0;
  border-radius: 2px;
  color: #64746a;
  text-decoration: none;
  font-size: 12px;
  transition: background .18s, color .18s;
}

.dashboard-page .nav-link:hover {
  background: #f3f6f3;
  color: #07543f;
}

.dashboard-page .nav-link.active {
  background: #eaf1ec;
  color: #07543f;
  font-weight: 700;
  border-left: 3px solid #07543f;
  padding-left: 10px;
}

.dashboard-page .nav-link .ico {
  width: 19px;
  font-size: 16px;
  text-align: center;
  color: #718277;
}

.dashboard-page .nav-link.active .ico {
  color: #07543f;
}

.dashboard-sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}

.sidebar-help {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  margin-bottom: 15px;
  background: #f5f7f5;
}

.sidebar-help-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #e5ede7;
  color: #07543f;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-help strong,
.sidebar-help small {
  display: block;
}

.sidebar-help strong {
  font-size: 10px;
  color: #334b3e;
}

.sidebar-help small {
  margin-top: 3px;
  color: #87948b;
  font-size: 9px;
}

.sidebar-help a {
  margin-left: auto;
  color: #07543f;
  text-decoration: none;
}

.dashboard-page .dashboard-logout {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sidebar-version {
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid #e8ece8;
  color: #78877e;
  font-size: 9px;
  letter-spacing: 1px;
}

.sidebar-version span {
  display: block;
  margin-top: 5px;
  color: #a0aaa3;
  font-size: 8px;
}

/* Top bar */

.dashboard-page .dashboard-topbar {
  min-height: 76px;
  background: #fff;
  border-bottom: 1px solid #e7ece7;
}

.dashboard-page .dashboard-topbar h1 {
  margin: 0;
  color: #1d3e30;
  font-size: 19px;
  font-weight: 650;
}

.dashboard-page .dashboard-topbar .subhead {
  margin-top: 5px;
  color: #89968e;
  font-size: 10px;
}

.dashboard-page .top-actions {
  position: relative;
  gap: 16px;
}

.dashboard-environment {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8c795c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.dashboard-environment > span {
  width: 6px;
  height: 6px;
  background: #bd925c;
  border-radius: 50%;
}

.dashboard-page .dashboard-notification-button {
  position: relative;
}

.notification-indicator {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b78c55;
  border: 1px solid #fff;
}

.dashboard-notification-panel {
  position: absolute;
  z-index: 30;
  right: 65px;
  top: 55px;
  width: 270px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8e2;
  box-shadow: 0 12px 35px rgba(20,45,30,.12);
}

.dashboard-notification-panel strong {
  display: block;
  color: #1c4231;
  font-size: 13px;
  margin-bottom: 8px;
}

.dashboard-notification-panel p {
  color: #758279;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}

.dashboard-page .dashboard-user-chip {
  text-decoration: none;
  border: 1px solid #e6ebe6;
  padding: 6px 10px 6px 6px;
  border-radius: 2px;
  gap: 9px;
}

.dashboard-page .avatar {
  background: #e8efe9;
  color: #07543f;
}

.dashboard-page .user-name {
  color: #354b3d;
  font-size: 11px;
  font-weight: 600;
}

.user-chip-arrow {
  color: #89968e;
  font-size: 13px;
}

/* Content */

.dashboard-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px 34px 25px;
}

.dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 24px;
}

.dashboard-date {
  color: #9a805e;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.dashboard-welcome h2 {
  color: #153e2e;
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 600;
  letter-spacing: -1px;
  margin: 9px 0 6px;
}

.dashboard-welcome p {
  color: #7b8980;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.dashboard-primary-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 43px;
  padding: 0 17px;
  background: #07543f;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.dashboard-primary-button:hover {
  background: #063e2f;
}

/* Demo notice */

.dashboard-demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  margin-bottom: 28px;
  background: #f8f6f1;
  border: 1px solid #eee7db;
  border-left: 3px solid #b48a54;
}

.demo-notice-symbol {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 1px solid #aa8656;
  border-radius: 50%;
  color: #927047;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-demo-notice strong {
  display: block;
  color: #594d3d;
  font-size: 11px;
  margin-bottom: 4px;
}

.dashboard-demo-notice p {
  margin: 0;
  color: #817766;
  font-size: 10px;
  line-height: 1.7;
}

.demo-notice-label {
  margin-left: auto;
  color: #9b805a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Section headings */

.dashboard-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.dashboard-overline {
  display: block;
  color: #9a805e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.dashboard-section-heading h3,
.dashboard-panel-heading h3 {
  margin: 6px 0 0;
  color: #1d4232;
  font-size: 17px;
  font-weight: 650;
}

.balance-visibility {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #65786c;
  font-size: 10px;
  cursor: pointer;
}

.balance-visibility:hover {
  color: #07543f;
}

/* Account overview */

.dashboard-overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.dashboard-total-balance {
  padding: 22px;
  background: #07543f;
  color: #fff;
  min-width: 0;
}

.balance-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.balance-card-top > span:first-child {
  color: rgba(255,255,255,.68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.balance-card-tag {
  color: #e5c99f;
  border: 1px solid rgba(229,201,159,.35);
  padding: 5px 7px;
  font-size: 8px;
  letter-spacing: .8px;
}

.dashboard-total-amount {
  margin: 22px 0 7px;
  color: #fff;
  font-size: clamp(24px, 3vw, 33px);
  font-weight: 600;
  letter-spacing: -.8px;
  overflow-wrap: anywhere;
}

.dashboard-total-balance > p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 10px;
}

.balance-card-divider {
  height: 1px;
  margin: 23px 0 14px;
  background: rgba(255,255,255,.17);
}

.balance-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
}

.balance-card-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.dashboard-account-card {
  padding: 21px;
  background: #fff;
  border: 1px solid #e5ebe5;
  min-width: 0;
}

.dashboard-account-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-type-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #eaf1eb;
  color: #07543f;
  font-size: 10px;
  font-weight: 700;
}

.savings-icon {
  background: #f3eee5;
  color: #98784e;
}

.account-type-label {
  color: #8b978f;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
}

.dashboard-account-card h4 {
  margin: 19px 0 5px;
  color: #294638;
  font-size: 14px;
  font-weight: 600;
}

.account-number {
  color: #9aa59d;
  font-size: 9px;
}

.account-balance {
  margin: 21px 0 16px;
  color: #183f2f;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.5px;
  overflow-wrap: anywhere;
}

.account-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #edf0ed;
  padding-top: 12px;
  color: #89968d;
  font-size: 9px;
}

.account-card-footer a {
  color: #07543f;
  text-decoration: none;
  font-weight: 700;
}

/* Financial summary */

.dashboard-financial-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.dashboard-panel {
  padding: 22px;
  background: #fff;
  border: 1px solid #e5ebe5;
  min-width: 0;
}

.dashboard-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.dashboard-period {
  padding: 7px 9px;
  border: 1px solid #e8ede8;
  color: #7b8980;
  font-size: 9px;
}

.monthly-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.monthly-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.summary-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  font-size: 14px;
}

.income-icon {
  background: #eaf2ec;
  color: #28734d;
}

.spending-icon {
  background: #f4eee8;
  color: #a0784e;
}

.monthly-summary-item > div > span,
.monthly-summary-item strong,
.monthly-summary-item small {
  display: block;
}

.monthly-summary-item > div > span {
  color: #89958d;
  font-size: 9px;
  margin-bottom: 5px;
}

.monthly-summary-item strong {
  color: #244333;
  font-size: 16px;
  font-weight: 650;
}

.monthly-summary-item small {
  color: #a0aaa3;
  font-size: 9px;
  margin-top: 5px;
}

.monthly-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  margin-top: 20px;
  border-top: 1px solid #edf0ed;
  border-bottom: 1px solid #edf0ed;
}

.monthly-balance span,
.monthly-balance strong {
  display: block;
}

.monthly-balance > div > span {
  color: #89958d;
  font-size: 9px;
  margin-bottom: 5px;
}

.monthly-balance strong {
  color: #1e4935;
  font-size: 16px;
}

.monthly-balance-caption {
  color: #9aa59d;
  font-size: 9px;
}

.dashboard-chart-heading {
  display: flex;
  justify-content: space-between;
  margin: 19px 0 13px;
  color: #8b978f;
  font-size: 9px;
}

.dashboard-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chart-row {
  display: grid;
  grid-template-columns: 65px 1fr 52px;
  align-items: center;
  gap: 10px;
}

.chart-row > span {
  color: #718077;
  font-size: 10px;
}

.chart-row strong {
  color: #3c5145;
  font-size: 10px;
  text-align: right;
}

.chart-track {
  height: 8px;
  overflow: hidden;
  background: #edf1ed;
}

.chart-bar {
  height: 100%;
}

.chart-bar-income {
  background: #07543f;
}

.chart-bar-spending {
  background: #b99970;
}

.dashboard-chart-disclaimer {
  color: #a0aaa3;
  font-size: 9px;
  margin: 15px 0 0;
}

/* Savings */

.savings-tag {
  color: #96764d;
  background: #f5f0e7;
  padding: 6px 8px;
  font-size: 8px;
  letter-spacing: .8px;
  font-weight: 700;
}

.savings-goal-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #7d8981;
  font-size: 10px;
  margin-bottom: 13px;
}

.savings-goal-label span:last-child {
  color: #07543f;
  font-weight: 700;
}

.savings-progress-track {
  height: 9px;
  background: #e9eee9;
  overflow: hidden;
}

.savings-progress-fill {
  width: 68%;
  height: 100%;
  background: #07543f;
}

.savings-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.savings-figures strong,
.savings-figures span {
  display: block;
}

.savings-figures strong {
  color: #214433;
  font-size: 20px;
  font-weight: 650;
}

.savings-figures span {
  margin-top: 5px;
  color: #929d95;
  font-size: 9px;
}

.savings-goal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 17px;
  margin-top: 24px;
  border-top: 1px solid #edf0ed;
}

.savings-goal-footer > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b978f;
  font-size: 9px;
}

.savings-goal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #07543f;
}

.savings-goal-footer a {
  color: #07543f;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* Transactions */

.dashboard-transactions-section {
  margin-bottom: 30px;
}

.dashboard-section-heading > div > p {
  margin: 5px 0 0;
  color: #89958d;
  font-size: 10px;
}

.dashboard-view-all {
  color: #07543f;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-transactions {
  background: #fff;
  border: 1px solid #e5ebe5;
}

.transaction-header,
.dashboard-transaction {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) 115px 115px minmax(125px, .8fr);
  align-items: center;
  gap: 15px;
  padding: 15px 19px;
}

.transaction-header {
  background: #fafbfa;
  border-bottom: 1px solid #e9eee9;
  color: #929e95;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.dashboard-transaction {
  min-height: 72px;
  border-bottom: 1px solid #edf0ed;
}

.dashboard-transaction:last-child {
  border-bottom: 0;
}

.transaction-description {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.transaction-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-size: 14px;
}

.transaction-credit {
  background: #eaf2ec;
  color: #27734d;
}

.transaction-debit {
  background: #f4eee8;
  color: #98764f;
}

.transaction-description strong,
.transaction-description small {
  display: block;
}

.transaction-description strong {
  color: #344a3d;
  font-size: 10px;
  font-weight: 650;
}

.transaction-description small {
  color: #9aa49d;
  font-size: 9px;
  margin-top: 5px;
}

.transaction-date,
.transaction-category {
  color: #849087;
  font-size: 9px;
}

.transaction-amount {
  text-align: right;
  font-size: 10px;
  white-space: nowrap;
}

.dashboard-page .credit {
  color: #28734d;
}

.dashboard-page .debit {
  color: #9a7149;
}

.transaction-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  background: #fff;
  border: 1px solid #e5ebe5;
  border-top: 0;
  color: #98a39b;
  font-size: 9px;
}

.transaction-footer a {
  color: #07543f;
  font-weight: 700;
  text-decoration: none;
}

/* Quick access */

.dashboard-shortcuts-section {
  margin-bottom: 35px;
}

.dashboard-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dashboard-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5ebe5;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.dashboard-shortcut:hover {
  border-color: #9ab6a2;
  background: #fbfcfb;
}

.shortcut-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  background: #edf3ee;
  color: #07543f;
  font-size: 16px;
}

.dashboard-shortcut strong,
.dashboard-shortcut small {
  display: block;
}

.dashboard-shortcut strong {
  color: #2c4637;
  font-size: 10px;
}

.dashboard-shortcut small {
  color: #929e95;
  font-size: 9px;
  margin-top: 5px;
}

.shortcut-arrow {
  margin-left: auto;
  color: #07543f;
  font-size: 14px;
}

/* Footer */

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 5px;
  border-top: 1px solid #e3e9e3;
  color: #98a39b;
  font-size: 9px;
}

/* Logout modal */

.dashboard-logout-modal {
  max-width: 420px;
}

.dashboard-logout-modal h2 {
  color: #173e2e;
}

.dashboard-logout-modal .dashboard-overline {
  margin: 15px 0 7px;
}

/* Responsive */

@media (max-width: 1150px) {
  .dashboard-content {
    padding: 25px 22px;
  }

  .dashboard-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-total-balance {
    grid-column: 1 / -1;
  }

  .dashboard-shortcuts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 850px) {
  .dashboard-financial-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-environment {
    display: none;
  }
}

@media (max-width: 650px) {
  .dashboard-content {
    padding: 22px 15px;
  }

  .dashboard-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-primary-button {
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .dashboard-demo-notice {
    position: relative;
    padding-right: 15px;
  }

  .demo-notice-label {
    display: none;
  }

  .dashboard-overview-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-total-balance {
    grid-column: auto;
  }

  .dashboard-section-heading {
    align-items: flex-start;
  }

  .dashboard-panel {
    padding: 17px;
  }

  .monthly-summary {
    grid-template-columns: 1fr;
  }

  .transaction-header {
    display: none;
  }

  .dashboard-transaction {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 15px;
  }

  .transaction-description {
    grid-column: 1;
  }

  .transaction-date {
    grid-column: 1;
    padding-left: 46px;
    margin-top: -8px;
  }

  .transaction-category {
    display: none;
  }

  .transaction-amount {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .dashboard-view-all {
    font-size: 9px;
  }

  .dashboard-page .user-name {
    display: none;
  }

  .dashboard-page .dashboard-user-chip {
    padding: 5px;
  }

  .dashboard-shortcuts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .dashboard-page .dashboard-topbar {
    padding-left: 13px;
    padding-right: 13px;
  }

  .dashboard-page .top-actions {
    gap: 8px;
  }

  .dashboard-date {
    font-size: 8px;
  }

  .dashboard-panel-heading {
    align-items: flex-start;
  }

  .dashboard-period {
    font-size: 8px;
  }

  .savings-figures strong {
    font-size: 17px;
  }

  .dashboard-shortcuts {
    grid-template-columns: 1fr;
  }

  .dashboard-footer {
    flex-direction: column;
  }

  .dashboard-notification-panel {
    right: 0;
    width: 240px;
  }
}


/* =========================================
   ACCOUNTS PAGE
========================================= */

.accounts-page {
  max-width: 1440px;
}

.accounts-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.accounts-heading h2 {
  margin: 7px 0 8px;
  color: var(--text, #17231f);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -1px;
}

.accounts-heading p {
  margin: 0;
  max-width: 650px;
  line-height: 1.65;
}

.accounts-count {
  flex-shrink: 0;
  padding: 9px 13px;
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
  color: var(--green, #07543f);
  font-size: 12px;
  font-weight: 700;
}

.accounts-notice {
  margin-bottom: 24px;
  line-height: 1.65;
}

.accounts-summary {
  position: relative;
  overflow: hidden;
  padding: 27px 30px;
  margin-bottom: 32px;
  background: #07543f;
  color: #fff;
}

.accounts-summary-label {
  margin-bottom: 12px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.accounts-summary-value {
  font-size: clamp(28px, 4vw, 39px);
  font-weight: 650;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.accounts-summary-caption {
  margin-top: 9px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
}

.accounts-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 16px;
}

.accounts-section-heading h3 {
  margin: 0 0 5px;
  color: var(--text, #17231f);
  font-size: 18px;
  font-weight: 650;
}

.accounts-section-heading p {
  margin: 0;
}

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.account-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 35, 27, .035);
}

.account-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.account-type-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: #eaf2ed;
  color: #07543f;
  font-size: 17px;
  font-weight: 750;
}

.account-type-icon--savings {
  background: #f1f0e8;
  color: #766b3f;
}

.account-status,
.account-table-status {
  display: inline-block;
  padding: 5px 9px;
  background: #edf3ef;
  color: #416c52;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
}

.account-type-label {
  margin-bottom: 7px;
  color: var(--muted, #718078);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.1px;
}

.account-card h3 {
  margin: 0 0 7px;
  color: var(--text, #17231f);
  font-size: 20px;
  font-weight: 650;
}

.account-number {
  color: var(--muted, #718078);
  font-size: 12px;
}

.account-number strong {
  color: var(--text, #17231f);
  letter-spacing: 1px;
}

.account-balance-label {
  margin-top: 26px;
  color: var(--muted, #718078);
  font-size: 12px;
}

.account-balance {
  margin-top: 5px;
  color: var(--green, #07543f);
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 700;
  letter-spacing: -.7px;
  font-variant-numeric: tabular-nums;
}

.account-card-divider {
  height: 1px;
  margin: 22px 0 17px;
  background: var(--line, #e3e9e5);
}

.account-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 11px 0;
  font-size: 12px;
}

.account-meta span {
  color: var(--muted, #718078);
}

.account-meta strong {
  color: var(--text, #17231f);
  text-align: right;
  font-weight: 600;
}

.account-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 23px;
}

.account-card-actions .btn {
  min-height: 39px;
  padding: 10px 15px;
  font-size: 12px;
  text-decoration: none;
}

.account-text-link {
  color: var(--green, #07543f);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.account-text-link:hover {
  text-decoration: underline;
}

.accounts-information {
  margin-top: 38px;
}

.accounts-information .table-wrap {
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
}

.accounts-information table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.accounts-information th {
  padding: 14px 16px;
  background: #f6f8f6;
  color: #65736b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.accounts-information td {
  padding: 16px;
  border-top: 1px solid var(--line, #e3e9e5);
  color: var(--text, #17231f);
  font-size: 12px;
  white-space: nowrap;
}

.accounts-information td strong {
  font-weight: 650;
}

.accounts-information td .small {
  margin-top: 4px;
}

.accounts-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding: 25px 27px;
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
}

.accounts-help h3 {
  margin: 7px 0;
  font-size: 19px;
  font-weight: 650;
}

.accounts-help p {
  margin: 0;
  font-size: 12px;
}

.accounts-help-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 185px;
}

.accounts-help-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--green, #07543f);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.accounts-help-links a:hover {
  text-decoration: underline;
}

.accounts-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
  padding: 18px 0 5px;
  border-top: 1px solid var(--line, #e3e9e5);
  color: var(--muted, #718078);
  font-size: 11px;
}

/* =========================================
   RESPONSIVE ACCOUNTS PAGE
========================================= */

@media (max-width: 900px) {
  .accounts-grid {
    gap: 14px;
  }

  .account-card {
    padding: 20px;
  }

  .accounts-information .table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  .accounts-heading {
    flex-direction: column;
    gap: 12px;
  }

  .accounts-count {
    align-self: flex-start;
  }

  .accounts-grid {
    grid-template-columns: 1fr;
  }

  .accounts-summary {
    padding: 23px 21px;
  }

  .accounts-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 21px;
  }

  .accounts-help-links {
    width: 100%;
  }

  .accounts-footer {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 420px) {
  .account-card {
    padding: 17px;
  }

  .account-card-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .account-meta {
    font-size: 11px;
  }

  .accounts-summary-value {
    font-size: 27px;
  }
}



/* =========================================
   CARDS MANAGEMENT PAGE
========================================= */

.cards-page {
  max-width: 1440px;
}

.cards-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.cards-heading h2 {
  margin: 7px 0;
  color: var(--text, #17231f);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -.9px;
}

.cards-heading p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.cards-count {
  flex-shrink: 0;
  padding: 9px 13px;
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
  color: var(--green, #07543f);
  font-size: 11px;
  font-weight: 750;
}

.cards-notice {
  margin-bottom: 30px;
  line-height: 1.7;
}

.cards-section-heading {
  margin-bottom: 16px;
}

.cards-section-heading h3 {
  margin: 0 0 5px;
  color: var(--text, #17231f);
  font-size: 18px;
  font-weight: 650;
}

.cards-section-heading p {
  margin: 0;
}

.cards-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
}

/* Visual card */

.payment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  overflow: hidden;
  padding: 25px 27px;
  background: linear-gradient(120deg, #064b39 0%, #07543f 60%, #0d7354 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(7, 55, 39, .17);
}

.payment-card::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -135px;
  top: -160px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}

.payment-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -95px;
  bottom: -190px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

.payment-card-top,
.payment-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.payment-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .7px;
}

.payment-card-brand img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.payment-card-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.7);
  font-size: 8px;
  letter-spacing: 1.3px;
}

.payment-card-network {
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.5px;
}

.payment-card-chip {
  position: relative;
  z-index: 1;
  width: 43px;
  height: 32px;
  margin-top: 25px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 5px;
  background: linear-gradient(135deg, #d9c89b, #9c895b);
}

.payment-card-chip span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 47%, rgba(65,51,24,.4) 48%, rgba(65,51,24,.4) 51%, transparent 52%),
    linear-gradient(transparent 47%, rgba(65,51,24,.4) 48%, rgba(65,51,24,.4) 51%, transparent 52%);
}

.payment-card-number {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 550;
  letter-spacing: 2px;
  white-space: nowrap;
}

.payment-card-bottom {
  margin-top: 25px;
}

.payment-card-bottom div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.payment-card-bottom small {
  color: rgba(255,255,255,.65);
  font-size: 8px;
  letter-spacing: 1.1px;
}

.payment-card-bottom strong {
  font-size: 11px;
  letter-spacing: 1px;
}

.payment-card-watermark {
  position: absolute;
  right: 20px;
  bottom: 30px;
  color: rgba(255,255,255,.055);
  font-size: 70px;
  font-weight: 900;
  letter-spacing: -7px;
  pointer-events: none;
}

/* Card details */

.card-details-panel {
  padding: 23px 25px;
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
}

.card-details-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.card-details-top h3 {
  margin: 7px 0 0;
  color: var(--text, #17231f);
  font-size: 20px;
  font-weight: 650;
}

.cards-demo-status {
  padding: 6px 9px;
  background: #edf3ef;
  color: #416c52;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.card-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0ed;
  font-size: 12px;
}

.card-detail-row span {
  color: var(--muted, #718078);
}

.card-detail-row strong {
  color: var(--text, #17231f);
  text-align: right;
  font-weight: 650;
}

.card-detail-demo {
  color: #416c52 !important;
}

.card-details-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.card-details-actions .btn {
  min-height: 39px;
  padding: 10px 15px;
  font-size: 11px;
  text-decoration: none;
}

.cards-secondary-link {
  color: var(--green, #07543f);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.cards-secondary-link:hover {
  text-decoration: underline;
}

/* Services */

.cards-services {
  margin-top: 38px;
}

.cards-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cards-service-item {
  min-width: 0;
  padding: 20px 18px;
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
}

.cards-service-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  margin-bottom: 17px;
  background: #edf4ef;
  color: #07543f;
  font-size: 18px;
  font-weight: 700;
}

.cards-service-item h4 {
  margin: 0 0 8px;
  color: var(--text, #17231f);
  font-size: 14px;
  font-weight: 700;
}

.cards-service-item p {
  min-height: 57px;
  margin: 0;
  color: var(--muted, #718078);
  font-size: 11px;
  line-height: 1.7;
}

.cards-service-item button {
  padding: 0;
  margin-top: 17px;
  border: 0;
  background: transparent;
  color: var(--green, #07543f);
  font-family: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.cards-service-item button:hover {
  text-decoration: underline;
}

/* Security notice */

.cards-security {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-top: 32px;
  padding: 23px 25px;
  border: 1px solid #e4e9e5;
  background: #f8faf8;
}

.cards-security-mark {
  display: grid;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #eaf1ec;
  color: #07543f;
  font-weight: 800;
}

.cards-security h3 {
  margin: 6px 0 7px;
  color: var(--text, #17231f);
  font-size: 17px;
  font-weight: 650;
}

.cards-security p {
  max-width: 800px;
  margin: 0;
  color: var(--muted, #718078);
  font-size: 12px;
  line-height: 1.75;
}

/* Related links */

.cards-related {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
  padding: 23px 25px;
  border: 1px solid var(--line, #e3e9e5);
  background: #fff;
}

.cards-related h3 {
  margin: 7px 0 0;
  color: var(--text, #17231f);
  font-size: 18px;
  font-weight: 650;
}

.cards-related-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}

.cards-related-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--green, #07543f);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.cards-related-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media(max-width: 1100px) {
  .cards-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 800px) {
  .cards-layout {
    grid-template-columns: 1fr;
  }

  .payment-card {
    min-height: 260px;
  }
}

@media(max-width: 600px) {
  .cards-heading {
    flex-direction: column;
  }

  .cards-count {
    align-self: flex-start;
  }

  .cards-service-grid {
    grid-template-columns: 1fr;
  }

  .cards-service-item p {
    min-height: auto;
  }

  .cards-related {
    align-items: flex-start;
    flex-direction: column;
  }

  .cards-related-links {
    width: 100%;
  }

  .payment-card {
    min-height: 235px;
    padding: 20px;
  }

  .card-details-panel {
    padding: 19px;
  }
}

@media(max-width: 390px) {
  .payment-card-number {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .payment-card-bottom strong {
    font-size: 9px;
  }

  .card-details-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================
   PROFILE PAGE
========================================= */

.profile-page {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 38px;
}

.profile-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.profile-heading h2 {
  margin: 7px 0 6px;
  color: #173d30;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -1px;
}

.profile-heading > div > p {
  margin: 0;
  font-size: 13px;
}

.profile-demo-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #dce8e1;
  border-radius: 3px;
  background: #f7faf8;
  color: #52675d;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.profile-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b47b36;
}

.profile-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  margin-bottom: 20px;
  border: 1px solid #e8dfc9;
  border-left: 3px solid #b18a48;
  background: #fbf9f3;
  color: #514936;
}

.profile-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #b18a48;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.profile-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.profile-notice p {
  margin: 0;
  color: #746b58;
  font-size: 12px;
  line-height: 1.6;
}

/* Customer identity */

.profile-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 27px;
  margin-bottom: 19px;
  border: 1px solid #e2e9e4;
  background: #fff;
}

.profile-identity-main {
  display: flex;
  align-items: center;
  gap: 19px;
  min-width: 0;
}

.profile-avatar-large {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid #d7e5dc;
  background: #edf4ef;
  color: #176044;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
}

.profile-overline {
  display: block;
  color: #75877d;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.3px;
}

.profile-identity-details h3 {
  margin: 5px 0 3px;
  color: #1d352b;
  font-size: 21px;
  font-weight: 650;
}

.profile-identity-details > p {
  margin: 0;
  color: #77847d;
  font-size: 12px;
}

.profile-identity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-size: 11px;
}

.profile-identity-meta span {
  color: #87928c;
}

.profile-identity-meta strong {
  color: #354b40;
  font-weight: 650;
}

.profile-identity-side {
  padding-left: 28px;
  border-left: 1px solid #e8ede9;
}

.profile-label {
  display: block;
  margin-bottom: 9px;
  color: #859189;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1px;
}

.profile-active-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #346d4c;
  font-size: 12px;
  font-weight: 650;
}

.profile-active-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #659a70;
}

.profile-identity-side p {
  margin: 7px 0 0;
  color: #89948d;
  font-size: 10px;
}

/* Sections */

.profile-section {
  margin-bottom: 19px;
  border: 1px solid #e2e9e4;
  background: #fff;
}

.profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 24px;
  border-bottom: 1px solid #edf0ed;
}

.profile-section-heading h3 {
  margin: 6px 0 4px;
  color: #213b30;
  font-size: 17px;
  font-weight: 650;
}

.profile-section-heading p {
  margin: 0;
  color: #839087;
  font-size: 11px;
  line-height: 1.5;
}

.profile-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #e4ebe5;
  color: #6c8777;
  font-size: 11px;
  font-weight: 700;
}

/* Profile form */

.profile-form {
  padding: 23px 24px 20px;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 23px;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.profile-field-full {
  grid-column: 1 / -1;
}

.profile-field label {
  color: #43564b;
  font-size: 11px;
  font-weight: 650;
}

.profile-field input,
.profile-field select {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #dce4de;
  border-radius: 2px;
  outline: none;
  background: #fff;
  color: #293d32;
  font: inherit;
  font-size: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.profile-field input:hover,
.profile-field select:hover {
  border-color: #aabdb0;
}

.profile-field input:focus,
.profile-field select:focus {
  border-color: #287451;
  box-shadow: 0 0 0 3px rgba(40, 116, 81, .09);
}

.profile-field-hint {
  color: #98a29b;
  font-size: 10px;
}

.profile-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #edf0ed;
}

.profile-form-message {
  margin: 0;
  color: #39724e;
  font-size: 11px;
  line-height: 1.5;
}

.banking-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #07543f;
  border-radius: 2px;
  background: #07543f;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.banking-action-button:hover {
  border-color: #063e30;
  background: #063e30;
}

.banking-action-button:focus-visible,
.profile-security-link:focus-visible {
  outline: 3px solid rgba(29, 117, 79, .25);
  outline-offset: 3px;
}

/* Communication preferences */

.profile-preference-list {
  padding: 0 24px;
}

.profile-preference {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 83px;
  border-bottom: 1px solid #edf0ed;
  cursor: pointer;
}

.profile-preference:last-child {
  border-bottom: 0;
}

.profile-preference-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #e3eae4;
  background: #f8faf8;
  color: #46745b;
  font-size: 11px;
  font-weight: 700;
}

.profile-preference-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.profile-preference-copy strong {
  color: #34483c;
  font-size: 12px;
  font-weight: 650;
}

.profile-preference-copy small {
  color: #89948d;
  font-size: 10px;
  line-height: 1.5;
}

.profile-preference input {
  position: absolute;
  right: 0;
  width: 42px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.profile-switch {
  position: relative;
  flex: 0 0 39px;
  width: 39px;
  height: 21px;
  border: 1px solid #cbd5ce;
  border-radius: 20px;
  background: #e8ece9;
  transition: background .18s ease, border-color .18s ease;
}

.profile-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  content: "";
  transition: transform .18s ease;
}

.profile-preference input:checked + .profile-switch {
  border-color: #176b4a;
  background: #176b4a;
}

.profile-preference input:checked + .profile-switch::after {
  transform: translateX(18px);
}

.profile-preference input:focus-visible + .profile-switch {
  outline: 3px solid rgba(29, 117, 79, .2);
  outline-offset: 3px;
}

.profile-preference-footnote {
  margin: 0;
  padding: 14px 24px;
  border-top: 1px solid #edf0ed;
  background: #fafcfb;
  color: #929c95;
  font-size: 10px;
  line-height: 1.6;
}

/* Customer relationship reference */

.profile-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-reference-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 77px;
  padding: 17px 24px;
  border-right: 1px solid #edf0ed;
  border-bottom: 1px solid #edf0ed;
}

.profile-reference-item:nth-child(2n) {
  border-right: 0;
}

.profile-reference-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.profile-reference-item span {
  color: #89958d;
  font-size: 10px;
}

.profile-reference-item strong {
  color: #344b3e;
  font-size: 12px;
  font-weight: 650;
}

/* Security shortcut */

.profile-security-panel {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 21px 23px;
  margin-top: 20px;
  border: 1px solid #dfe8e1;
  background: #f8faf8;
}

.profile-security-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #dce7df;
  background: #fff;
  color: #276648;
  font-size: 22px;
}

.profile-security-copy {
  flex: 1;
  min-width: 0;
}

.profile-security-copy h3 {
  margin: 0 0 5px;
  color: #294334;
  font-size: 13px;
  font-weight: 650;
}

.profile-security-copy p {
  max-width: 560px;
  margin: 0;
  color: #7e8b82;
  font-size: 10px;
  line-height: 1.6;
}

.profile-security-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #176044;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.profile-security-link:hover {
  color: #0b402e;
}

.profile-bottom-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 2px 0;
  color: #9aa49d;
  font-size: 9px;
}

.profile-bottom-note span:first-child {
  font-weight: 750;
  letter-spacing: 1px;
}

/* Responsive */

@media (max-width: 700px) {
  .profile-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .profile-identity {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .profile-identity-side {
    width: 100%;
    padding: 15px 0 0;
    border-top: 1px solid #e8ede9;
    border-left: 0;
  }

  .profile-section-heading {
    padding: 18px;
  }

  .profile-form {
    padding: 19px 18px;
  }

  .profile-form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .profile-field-full {
    grid-column: auto;
  }

  .profile-preference-list {
    padding: 0 17px;
  }

  .profile-preference {
    gap: 11px;
  }

  .profile-preference-copy small {
    max-width: 220px;
  }

  .profile-reference-item {
    padding: 15px 17px;
  }

  .profile-security-panel {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px;
  }

  .profile-security-copy {
    flex-basis: calc(100% - 60px);
  }

  .profile-security-link {
    margin-left: 59px;
  }
}

@media (max-width: 420px) {
  .profile-identity-main {
    align-items: flex-start;
    gap: 13px;
  }

  .profile-avatar-large {
    flex-basis: 57px;
    width: 57px;
    height: 57px;
    font-size: 18px;
  }

  .profile-identity-details h3 {
    font-size: 18px;
  }

  .profile-identity-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .profile-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .banking-action-button {
    width: 100%;
  }

  .profile-reference-grid {
    grid-template-columns: 1fr;
  }

  .profile-reference-item,
  .profile-reference-item:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid #edf0ed;
  }

  .profile-reference-item:last-child {
    border-bottom: 0;
  }

  .profile-bottom-note {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================
   SECURITY CENTRE
========================================= */

.security-page {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 38px;
}

.security-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.security-heading h2 {
  margin: 7px 0 6px;
  color: #173d30;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -1px;
}

.security-heading p {
  margin: 0;
  font-size: 13px;
}

.security-demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #dce8e1;
  background: #f7faf8;
  color: #52675d;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.security-demo-label > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b47b36;
}

/* Notice */

.security-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  margin-bottom: 20px;
  border: 1px solid #e8dfc9;
  border-left: 3px solid #b18a48;
  background: #fbf9f3;
  color: #514936;
}

.security-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #b18a48;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 750;
}

.security-notice strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.security-notice p {
  margin: 0;
  color: #746b58;
  font-size: 11px;
  line-height: 1.65;
}

/* Overview */

.security-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 23px 25px;
  margin-bottom: 19px;
  border: 1px solid #dfe8e1;
  background: #fff;
}

.security-overview-main {
  display: flex;
  align-items: center;
  gap: 17px;
}

.security-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  border: 1px solid #dce8df;
  background: #f4f8f5;
  color: #176044;
  font-size: 29px;
}

.security-overline {
  display: block;
  color: #7b8b80;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.2px;
}

.security-overview-main h3 {
  margin: 6px 0 5px;
  color: #213b30;
  font-size: 17px;
  font-weight: 650;
}

.security-overview-main p {
  max-width: 480px;
  margin: 0;
  color: #849087;
  font-size: 11px;
  line-height: 1.6;
}

.security-overview-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 175px;
  padding-left: 24px;
  border-left: 1px solid #e7ece8;
}

.security-overview-status strong {
  color: #956c32;
  font-size: 13px;
}

.security-overview-status small {
  color: #929d95;
  font-size: 10px;
  line-height: 1.5;
}

/* General sections */

.security-section {
  margin-bottom: 19px;
  border: 1px solid #e2e9e4;
  background: #fff;
}

.security-section-heading {
  padding: 20px 23px;
  border-bottom: 1px solid #edf0ed;
}

.security-section-heading h3 {
  margin: 6px 0 4px;
  color: #213b30;
  font-size: 17px;
  font-weight: 650;
}

.security-section-heading p {
  margin: 0;
  color: #849087;
  font-size: 11px;
  line-height: 1.6;
}

.security-section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.security-section-tag {
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid #e2e9e4;
  color: #78877e;
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

/* Authentication controls */

.security-control-list {
  padding: 0 23px;
}

.security-control {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  border-bottom: 1px solid #edf0ed;
}

.security-control:last-child {
  border-bottom: 0;
}

.security-control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #e2eae3;
  background: #f8faf8;
  color: #32694b;
  font-size: 13px;
  font-weight: 750;
}

.security-control-copy {
  flex: 1;
  min-width: 0;
  padding: 15px 0;
}

.security-control-copy h4 {
  margin: 0 0 5px;
  color: #34483c;
  font-size: 12px;
  font-weight: 700;
}

.security-control-copy p {
  max-width: 540px;
  margin: 0 0 8px;
  color: #87928a;
  font-size: 10px;
  line-height: 1.6;
}

.security-feature-state {
  color: #9a7b48;
  font-size: 9px;
  font-weight: 650;
}

.security-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid #dce5de;
  border-radius: 2px;
  background: #fff;
  color: #286044;
  font-family: inherit;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease;
}

.security-action:hover {
  border-color: #9ab5a3;
  background: #f7faf8;
}

/* Devices and sessions */

.security-session-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 23px;
}

.security-device-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  border: 1px solid #e1e9e3;
  background: #f8faf8;
  color: #346b4c;
  font-size: 22px;
}

.security-session-details {
  flex: 1;
  min-width: 0;
}

.security-session-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.security-session-title h4 {
  margin: 0;
  color: #34483c;
  font-size: 12px;
  font-weight: 700;
}

.security-current-tag {
  padding: 4px 7px;
  background: #f1f6f2;
  color: #497354;
  font-size: 9px;
  font-weight: 650;
}

.security-session-details > p {
  margin: 6px 0 9px;
  color: #87928a;
  font-size: 10px;
}

.security-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
}

.security-session-meta span {
  color: #929c95;
  font-size: 9px;
}

.security-session-indicator {
  padding: 6px 9px;
  border: 1px solid #e6e9e6;
  color: #858e88;
  font-size: 9px;
  white-space: nowrap;
}

.security-session-footnote {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 23px;
  border-top: 1px solid #edf0ed;
  background: #fafcfb;
  color: #8a958e;
  font-size: 10px;
  line-height: 1.6;
}

.security-session-footnote > span {
  color: #50785d;
  font-weight: 750;
}

.security-device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 23px;
  border-top: 1px solid #edf0ed;
}

.security-secondary-button {
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid #dce5de;
  border-radius: 2px;
  background: #fff;
  color: #42634e;
  font-family: inherit;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}

.security-secondary-button:hover {
  border-color: #a6b9aa;
  background: #f8faf8;
}

/* Login activity */

.security-empty-activity {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 34px 22px;
  text-align: center;
}

.security-activity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  margin-bottom: 13px;
  border: 1px solid #e1e9e3;
  background: #f8faf8;
  color: #63816c;
  font-size: 23px;
}

.security-empty-activity h4 {
  margin: 0 0 7px;
  color: #3b5143;
  font-size: 13px;
  font-weight: 650;
}

.security-empty-activity p {
  max-width: 540px;
  margin: 0;
  color: #8a958d;
  font-size: 10px;
  line-height: 1.7;
}

/* Security guidance */

.security-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.security-guidance-item {
  position: relative;
  min-height: 145px;
  padding: 21px 23px;
  border-right: 1px solid #edf0ed;
  border-bottom: 1px solid #edf0ed;
}

.security-guidance-item:nth-child(2n) {
  border-right: 0;
}

.security-guidance-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.security-guidance-number {
  display: block;
  margin-bottom: 12px;
  color: #8ba08f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
}

.security-guidance-item h4 {
  margin: 0 0 7px;
  color: #354b3e;
  font-size: 12px;
  font-weight: 700;
}

.security-guidance-item p {
  max-width: 410px;
  margin: 0;
  color: #87928a;
  font-size: 10px;
  line-height: 1.7;
}

/* Support */

.security-support {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  margin-top: 20px;
  border: 1px solid #dfe8e1;
  background: #f8faf8;
}

.security-support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid #dce7df;
  background: #fff;
  color: #276648;
  font-size: 20px;
}

.security-support-copy {
  flex: 1;
  min-width: 0;
}

.security-support-copy h3 {
  margin: 0 0 5px;
  color: #294334;
  font-size: 13px;
  font-weight: 650;
}

.security-support-copy p {
  max-width: 540px;
  margin: 0;
  color: #7e8b82;
  font-size: 10px;
  line-height: 1.6;
}

.security-support-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #176044;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.security-support-link:hover {
  color: #0b402e;
}

.security-bottom-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 2px 0;
  color: #9aa49d;
  font-size: 9px;
}

.security-bottom-note span:first-child {
  font-weight: 750;
  letter-spacing: 1px;
}

/* Inline feedback */

.security-feedback {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(410px, calc(100vw - 32px));
  padding: 15px 15px;
  border: 1px solid #d9e5dc;
  border-left: 3px solid #176044;
  background: #fff;
  box-shadow: 0 8px 30px rgba(22, 48, 34, .13);
  color: #43574a;
  font-size: 11px;
  line-height: 1.6;
}

.security-feedback[hidden] {
  display: none;
}

.security-feedback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #dce7df;
  border-radius: 50%;
  color: #276648;
  font-size: 11px;
  font-weight: 750;
}

.security-feedback > span:nth-child(2) {
  flex: 1;
}

.security-feedback button {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: #738078;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.security-feedback button:hover {
  color: #173d30;
}

/* Focus states */

.security-action:focus-visible,
.security-secondary-button:focus-visible,
.security-feedback button:focus-visible,
.security-support-link:focus-visible {
  outline: 3px solid rgba(29, 117, 79, .22);
  outline-offset: 3px;
}

/* Responsive */

@media (max-width: 760px) {
  .security-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .security-overview {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-overview-status {
    width: 100%;
    min-width: 0;
    padding: 15px 0 0;
    border-top: 1px solid #e7ece8;
    border-left: 0;
  }

  .security-control {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .security-control-copy {
    flex-basis: calc(100% - 60px);
    padding: 0;
  }

  .security-action {
    margin-left: 57px;
  }

  .security-session-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .security-session-details {
    flex-basis: calc(100% - 65px);
  }

  .security-session-indicator {
    margin-left: 63px;
  }

  .security-support {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .security-support-copy {
    flex-basis: calc(100% - 60px);
  }

  .security-support-link {
    margin-left: 56px;
  }
}

@media (max-width: 520px) {
  .security-section-heading,
  .security-control-list {
    padding-right: 16px;
    padding-left: 16px;
  }

  .security-section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-guidance-grid {
    grid-template-columns: 1fr;
  }

  .security-guidance-item,
  .security-guidance-item:nth-child(2n) {
    min-height: auto;
    padding: 19px;
    border-right: 0;
    border-bottom: 1px solid #edf0ed;
  }

  .security-guidance-item:last-child {
    border-bottom: 0;
  }

  .security-overview {
    padding: 19px;
  }

  .security-overview-main {
    align-items: flex-start;
  }

  .security-session-card {
    padding: 18px;
  }

  .security-session-meta {
    flex-direction: column;
    gap: 6px;
  }

  .security-session-footnote,
  .security-device-actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .security-bottom-note {
    flex-direction: column;
  }
}


/* =========================================
   SETTINGS PAGE
========================================= */

.settings-page {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 38px;
}

.settings-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.settings-heading h2 {
  margin: 7px 0 6px;
  color: #173d30;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -1px;
}

.settings-heading p {
  margin: 0;
  font-size: 13px;
}

.settings-demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #dce8e1;
  background: #f7faf8;
  color: #52675d;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.settings-demo-label > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b47b36;
}

/* Notice */

.settings-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  margin-bottom: 22px;
  border: 1px solid #e8dfc9;
  border-left: 3px solid #b18a48;
  background: #fbf9f3;
}

.settings-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #b18a48;
  border-radius: 50%;
  color: #806637;
  font-size: 12px;
  font-weight: 750;
}

.settings-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #514936;
  font-size: 12px;
}

.settings-notice p {
  margin: 0;
  color: #746b58;
  font-size: 11px;
  line-height: 1.65;
}

/* Two-column layout */

.settings-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.settings-nav {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  padding: 17px 12px;
  border: 1px solid #e2e9e4;
  background: #fff;
}

.settings-nav-heading {
  padding: 2px 9px 13px;
  color: #8a968e;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.1px;
}

.settings-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-left: 2px solid transparent;
  color: #64736a;
  font-size: 11px;
  font-weight: 550;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.settings-nav-link > span {
  width: 17px;
  color: #7b9381;
  font-size: 14px;
  text-align: center;
}

.settings-nav-link:hover {
  background: #f7faf8;
  color: #176044;
}

.settings-nav-link.active {
  border-left-color: #176044;
  background: #f1f6f2;
  color: #175b40;
  font-weight: 700;
}

.settings-nav-link.active > span {
  color: #176044;
}

/* Settings panels */

.settings-main {
  min-width: 0;
}

.settings-panel {
  margin-bottom: 18px;
  border: 1px solid #e2e9e4;
  background: #fff;
  scroll-margin-top: 20px;
}

.settings-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 22px;
  border-bottom: 1px solid #edf0ed;
}

.settings-overline {
  display: block;
  color: #7b8b80;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.2px;
}

.settings-panel-heading h3 {
  margin: 6px 0 4px;
  color: #213b30;
  font-size: 16px;
  font-weight: 650;
}

.settings-panel-heading p {
  margin: 0;
  color: #849087;
  font-size: 10px;
  line-height: 1.6;
}

.settings-panel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border: 1px solid #e4ebe5;
  color: #718a77;
  font-size: 10px;
  font-weight: 700;
}

/* Select fields */

.settings-fields {
  padding: 4px 22px;
}

.settings-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(155px, 210px);
  align-items: center;
  gap: 18px;
  min-height: 79px;
  border-bottom: 1px solid #edf0ed;
}

.settings-field:last-child {
  border-bottom: 0;
}

.settings-field > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.settings-field label {
  color: #405449;
  font-size: 11px;
  font-weight: 650;
}

.settings-field small {
  color: #8b968f;
  font-size: 10px;
  line-height: 1.5;
}

.settings-field select {
  width: 100%;
  min-height: 39px;
  padding: 0 10px;
  border: 1px solid #dce4de;
  border-radius: 2px;
  outline: none;
  background: #fff;
  color: #3b5044;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}

.settings-field select:focus {
  border-color: #287451;
  box-shadow: 0 0 0 3px rgba(40, 116, 81, .09);
}

/* Toggle preferences */

.settings-preferences {
  padding: 0 22px;
}

.settings-preference {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  border-bottom: 1px solid #edf0ed;
  cursor: pointer;
}

.settings-preference:last-child {
  border-bottom: 0;
}

.settings-preference-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #e3eae4;
  background: #f8faf8;
  color: #477257;
  font-size: 11px;
  font-weight: 700;
}

.settings-preference-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.settings-preference-copy strong {
  color: #34483c;
  font-size: 11px;
  font-weight: 650;
}

.settings-preference-copy small {
  color: #89948d;
  font-size: 10px;
  line-height: 1.5;
}

.settings-preference input {
  position: absolute;
  right: 0;
  width: 40px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.settings-switch {
  position: relative;
  flex: 0 0 39px;
  width: 39px;
  height: 21px;
  border: 1px solid #cbd5ce;
  border-radius: 20px;
  background: #e8ece9;
  transition: background .18s ease, border-color .18s ease;
}

.settings-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  content: "";
  transition: transform .18s ease;
}

.settings-preference input:checked + .settings-switch {
  border-color: #176b4a;
  background: #176b4a;
}

.settings-preference input:checked + .settings-switch::after {
  transform: translateX(18px);
}

.settings-preference input:focus-visible + .settings-switch {
  outline: 3px solid rgba(29, 117, 79, .2);
  outline-offset: 3px;
}

.settings-information {
  padding: 13px 22px;
  border-top: 1px solid #edf0ed;
  background: #fafcfb;
  color: #89948d;
  font-size: 10px;
  line-height: 1.6;
}

/* Apply and reset actions */

.settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  border: 1px solid #e2e9e4;
  background: #fff;
}

.settings-message {
  flex: 1;
  margin: 0;
  color: #829087;
  font-size: 10px;
  line-height: 1.6;
}

.settings-action-buttons {
  display: flex;
  align-items: center;
  gap: 9px;
}

.settings-reset-button,
.settings-save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 39px;
  padding: 0 13px;
  border: 1px solid #dce5de;
  border-radius: 2px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.settings-reset-button {
  background: #fff;
  color: #52675b;
}

.settings-reset-button:hover {
  border-color: #aabbb0;
  background: #f8faf8;
}

.settings-save-button {
  border-color: #07543f;
  background: #07543f;
  color: #fff;
}

.settings-save-button:hover {
  border-color: #063e30;
  background: #063e30;
}

/* Related links */

.settings-related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 23px;
  margin-top: 20px;
  border: 1px solid #e2e9e4;
  background: #f8faf8;
}

.settings-related h3 {
  margin: 6px 0 5px;
  color: #294334;
  font-size: 13px;
  font-weight: 650;
}

.settings-related p {
  margin: 0;
  color: #849087;
  font-size: 10px;
  line-height: 1.6;
}

.settings-related-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #286044;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.settings-related-links a:hover {
  color: #0b402e;
}

.settings-bottom-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 2px 0;
  color: #9aa49d;
  font-size: 9px;
}

.settings-bottom-note span:first-child {
  font-weight: 750;
  letter-spacing: 1px;
}

/* Accessibility preview classes */

html.settings-large-text {
  font-size: 110%;
}

html.settings-large-text .settings-page {
  font-size: 1.05em;
}

html.settings-high-contrast .settings-page {
  color: #17251c;
}

html.settings-high-contrast .settings-panel,
html.settings-high-contrast .settings-nav,
html.settings-high-contrast .settings-actions {
  border-color: #65776a;
}

html.settings-high-contrast .settings-panel-heading p,
html.settings-high-contrast .settings-field small,
html.settings-high-contrast .settings-preference-copy small {
  color: #526257;
}

html.settings-reduced-motion *,
html.settings-reduced-motion *::before,
html.settings-reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}

/* Focus */

.settings-nav-link:focus-visible,
.settings-related-links a:focus-visible,
.settings-reset-button:focus-visible,
.settings-save-button:focus-visible {
  outline: 3px solid rgba(29, 117, 79, .22);
  outline-offset: 3px;
}

/* Responsive */

@media (max-width: 900px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .settings-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .settings-nav-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .settings-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .settings-nav {
    grid-template-columns: 1fr;
  }

  .settings-panel-heading {
    padding: 18px;
  }

  .settings-fields {
    padding: 0 17px;
  }

  .settings-field {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 15px 0;
  }

  .settings-field select {
    max-width: none;
  }

  .settings-preferences {
    padding: 0 17px;
  }

  .settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-action-buttons {
    width: 100%;
  }

  .settings-reset-button,
  .settings-save-button {
    flex: 1;
  }

  .settings-related {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-related-links {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid #e4ebe5;
  }

  .settings-bottom-note {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .settings-action-buttons {
    align-items: stretch;
    flex-direction: column;
  }
}


/* =========================================================
   STATEMENTS PAGE
   ========================================================= */

.statements-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 32px 42px;
  color: #20352b;
  font-family: "DM Sans", Arial, sans-serif;
}

.statements-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.statements-heading .eyebrow {
  color: #638072;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  margin-bottom: 8px;
}

.statements-heading h2 {
  margin: 0;
  color: #173d30;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.statements-heading p {
  margin: 7px 0 0;
  color: #74847b;
  font-size: 13px;
}

.statement-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.statement-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: 700 12px "DM Sans", Arial, sans-serif;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.statement-button--primary {
  background: #07543f;
  color: #fff;
}

.statement-button--primary:hover {
  background: #063e30;
}

.statement-button--outline {
  background: #fff;
  border-color: #d7e1da;
  color: #244b3a;
}

.statement-button--outline:hover {
  background: #f3f7f4;
  border-color: #9eb5a7;
}

.statement-demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  margin-bottom: 22px;
  background: #f5f8f2;
  border: 1px solid #e2e9dc;
  border-left: 3px solid #8da85b;
  border-radius: 4px;
}

.notice-icon {
  display: flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid #8da85b;
  border-radius: 50%;
  color: #58743b;
  font-size: 12px;
  font-weight: 800;
}

.statement-demo-notice strong {
  display: block;
  margin-bottom: 3px;
  color: #36523d;
  font-size: 12px;
}

.statement-demo-notice p {
  margin: 0;
  color: #6d7d70;
  font-size: 11px;
  line-height: 1.6;
}

.statement-filter-panel {
  padding: 22px 23px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #e1e8e3;
  border-radius: 6px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading h3 {
  margin: 0;
  color: #203d30;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.section-heading p {
  margin: 5px 0 0;
  color: #7a8980;
  font-size: 11px;
}

.sample-period-label {
  padding: 7px 9px;
  background: #f2f6f2;
  color: #52705e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
}

.statement-filters {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  align-items: end;
  gap: 13px;
}

.statement-field label {
  display: block;
  margin-bottom: 7px;
  color: #4d6155;
  font-size: 11px;
  font-weight: 700;
}

.statement-field select,
.statement-field input {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 4px;
  color: #31483a;
  font: 12px "DM Sans", Arial, sans-serif;
  outline: none;
}

.statement-field select:focus,
.statement-field input:focus {
  border-color: #398269;
  box-shadow: 0 0 0 3px rgba(7, 84, 63, .08);
}

.statement-filter-action .statement-button {
  min-width: 125px;
  width: 100%;
}

.filter-helper {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #849087;
  font-size: 10px;
}

.statement-feedback {
  padding: 11px 14px;
  margin: 0 0 16px;
  border: 1px solid #dce8df;
  border-radius: 4px;
  background: #f3f8f4;
  color: #356248;
  font-size: 12px;
}

.statement-feedback.error {
  background: #fff6f3;
  border-color: #f0d9d2;
  color: #a34431;
}

.statement-feedback[hidden] {
  display: none;
}

/* Statement document */

.statement-document {
  padding: 32px;
  background: #fff;
  border: 1px solid #e1e8e3;
  border-radius: 5px;
  box-shadow: 0 3px 14px rgba(24, 53, 38, .035);
}

.statement-document-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e8ede9;
}

.statement-bank-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.statement-brand-mark {
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  background: #07543f;
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.statement-bank-brand strong {
  display: block;
  color: #07543f;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .035em;
}

.statement-bank-brand span {
  display: block;
  margin-top: 4px;
  color: #87948b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

.statement-document-reference {
  text-align: right;
}

.statement-document-reference span {
  display: block;
  margin-bottom: 5px;
  color: #8a978f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.statement-document-reference strong {
  color: #3e5548;
  font-size: 11px;
  letter-spacing: .03em;
}

.statement-document-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0 21px;
}

.document-eyebrow {
  color: #87958c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.statement-document-title h2 {
  margin: 7px 0 5px;
  color: #183e30;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.statement-document-title p {
  margin: 0;
  color: #77867c;
  font-size: 11px;
}

.document-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  background: #f5f7f3;
  color: #6a7c69;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #91a56c;
}

.statement-document-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #edf0ed;
  border-bottom: 1px solid #edf0ed;
}

.statement-document-meta span,
.statement-document-meta strong {
  display: block;
}

.statement-document-meta span {
  margin-bottom: 6px;
  color: #89968e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.statement-document-meta strong {
  color: #354c3f;
  font-size: 11px;
  font-weight: 700;
}

.statement-account-details {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #edf0ed;
}

.statement-account-details span,
.statement-account-details strong,
.statement-account-details small {
  display: block;
}

.statement-account-details .detail-label {
  margin-bottom: 8px;
  color: #87948c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}

.statement-account-details strong {
  color: #30483a;
  font-size: 12px;
  font-weight: 700;
}

.statement-account-details small {
  margin-top: 5px;
  color: #87938b;
  font-size: 10px;
}

.statement-balance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid #edf0ed;
}

.balance-item {
  min-width: 0;
  padding: 14px 12px;
  background: #f7f9f7;
  border: 1px solid #e9eeea;
}

.balance-item span {
  display: block;
  margin-bottom: 9px;
  color: #7b8980;
  font-size: 10px;
  font-weight: 600;
}

.balance-item strong {
  display: block;
  color: #30483a;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.balance-item--closing {
  background: #f1f6f2;
  border-color: #dce8df;
}

.balance-item--closing strong {
  color: #07543f;
}

.amount-credit {
  color: #16804f !important;
}

.amount-debit {
  color: #b34d38 !important;
}

.statement-transactions {
  padding-top: 22px;
}

.transaction-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.transaction-heading h3 {
  margin: 0;
  color: #294536;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.transaction-heading p {
  margin: 5px 0 0;
  color: #87938b;
  font-size: 10px;
}

.transaction-heading > span {
  color: #7d8b82;
  font-size: 10px;
  font-weight: 700;
}

.statement-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.statement-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 10px;
}

.statement-table thead {
  background: #f3f6f3;
}

.statement-table th {
  padding: 12px 10px;
  color: #66776c;
  font-size: 9px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.statement-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #edf1ed;
  color: #536459;
  white-space: nowrap;
}

.statement-table tbody tr:hover {
  background: #fafcfb;
}

.statement-table .numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.statement-table .transaction-description {
  color: #31483a;
  font-weight: 600;
}

.statement-table .transaction-reference {
  color: #89958d;
  font-size: 9px;
}

.statement-table .transaction-balance {
  color: #294638;
  font-weight: 700;
}

.statement-empty {
  padding: 38px 20px;
  text-align: center;
  background: #fafcfb;
  border: 1px dashed #dce5de;
}

.statement-empty[hidden] {
  display: none;
}

.empty-icon {
  margin-bottom: 10px;
  color: #9baa9f;
  font-size: 26px;
}

.statement-empty strong {
  display: block;
  color: #40594a;
  font-size: 12px;
}

.statement-empty p {
  margin: 6px 0 0;
  color: #89958d;
  font-size: 10px;
}

.statement-document-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  margin-top: 22px;
  border-top: 1px solid #e8ede9;
}

.statement-document-footer strong,
.statement-document-footer span {
  display: block;
}

.statement-document-footer strong {
  color: #41604d;
  font-size: 9px;
  letter-spacing: .08em;
}

.statement-document-footer span {
  margin-top: 4px;
  color: #94a097;
  font-size: 9px;
}

.statement-document-footer p {
  max-width: 330px;
  margin: 0;
  color: #929d95;
  font-size: 9px;
  line-height: 1.6;
  text-align: right;
}

.statement-bottom-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 14px 2px 0;
  color: #87938b;
}

.statement-bottom-note > span {
  font-size: 13px;
}

.statement-bottom-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 1000px) {
  .statements-page {
    padding: 25px 22px 35px;
  }

  .statement-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement-filter-action {
    grid-column: 1 / -1;
  }

  .statement-filter-action .statement-button {
    width: auto;
    min-width: 150px;
  }

  .statement-balance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .statements-page {
    padding: 19px 14px 30px;
  }

  .statements-heading {
    display: block;
  }

  .statements-heading h2 {
    font-size: 25px;
  }

  .statement-heading-actions {
    margin-top: 17px;
  }

  .statement-heading-actions .statement-button {
    flex: 1;
    padding: 0 10px;
    font-size: 11px;
  }

  .statement-filter-panel {
    padding: 17px 14px;
  }

  .section-heading {
    display: block;
  }

  .sample-period-label {
    display: inline-block;
    margin-top: 12px;
  }

  .statement-filters {
    grid-template-columns: 1fr;
  }

  .statement-filter-action {
    grid-column: auto;
  }

  .statement-filter-action .statement-button {
    width: 100%;
  }

  .statement-document {
    padding: 19px 14px;
  }

  .statement-document-top {
    align-items: flex-start;
  }

  .statement-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .statement-bank-brand {
    gap: 8px;
  }

  .statement-bank-brand strong {
    font-size: 11px;
  }

  .statement-bank-brand span {
    font-size: 8px;
  }

  .statement-document-reference strong {
    font-size: 9px;
  }

  .statement-document-title {
    display: block;
  }

  .statement-document-title h2 {
    font-size: 20px;
  }

  .document-status {
    display: inline-flex;
    margin-top: 13px;
  }

  .statement-document-meta {
    grid-template-columns: 1fr 1fr;
  }

  .statement-account-details {
    grid-template-columns: 1fr 1fr;
  }

  .statement-balance-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .balance-item {
    padding: 12px 9px;
  }

  .balance-item strong {
    font-size: 12px;
  }

  .transaction-heading {
    align-items: flex-start;
  }

  .statement-document-footer {
    display: block;
  }

  .statement-document-footer p {
    margin-top: 12px;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .statement-heading-actions {
    flex-direction: column;
  }

  .statement-heading-actions .statement-button {
    width: 100%;
  }

  .statement-document-reference span {
    font-size: 8px;
  }

  .statement-account-details {
    grid-template-columns: 1fr;
  }

  .statement-document-meta {
    grid-template-columns: 1fr;
  }
}

/* Print / Save as PDF */

@media print {
  @page {
    size: A4 portrait;
    margin: 13mm;
  }

  html,
  body {
    background: #fff !important;
    color: #222 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .sidebar,
  .topbar,
  .screen-only,
  .statement-demo-notice,
  .statement-filter-panel,
  .statement-feedback,
  .statement-bottom-note,
  .modal-backdrop,
  .banking-footer {
    display: none !important;
  }

  .shell,
  .main,
  .content,
  .statements-page {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .statement-document {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .statement-table {
    min-width: 0 !important;
    font-size: 8px !important;
  }

  .statement-table th,
  .statement-table td {
    padding: 8px 5px !important;
    white-space: normal !important;
  }

  .statement-document-title h2 {
    font-size: 20px;
  }

  .statement-balance-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .balance-item strong {
    font-size: 10px !important;
  }

  .statement-table tr {
    break-inside: avoid;
  }
}
