* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fff0f0;
  --text: #173b2e;
  --text-soft: #4b675e;
  --muted: #70877d;
  --sage: #d96666;
  --sage-deep: #b30000;
  --sage-dark: #780000;
  --sage-light: #f5cccc;
  --sage-soft: #fff0f0;
  --cream: #fffaf4;
  --line: #f0cccc;
  --green: #b30000;
  --green-dark: #780000;
  --shadow: rgba(120, 0, 0, 0.12);
  --danger: #b30000;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 70% 10%, rgba(211, 77, 77, 0.22), transparent 20%),
    radial-gradient(circle at 30% 100%, rgba(179, 0, 0, 0.14), transparent 25%),
    var(--bg);
  min-height: 100vh;
}

.account-body,
.verification-body,
.login-body,
.dashboard-body {
  background: var(--sage-soft);
}

body::before {
  content: "";
  position: fixed;
  inset: -80px;
  background-image: radial-gradient(#f0baba 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 100%);
  transform: rotate(4deg);
  pointer-events: none;
  opacity: 0.9;
}

.bank-page {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  border-radius: 28px 28px 0 0;
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-dark);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo-mark {
  width: 56px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: var(--green);
  transition: width 0.28s ease;
  margin-top: 6px;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 11px 18px;
  border: 1px solid rgba(18, 62, 52, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sage-dark);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(16, 53, 44, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-login:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 75, 60, 0.18);
  box-shadow: 0 12px 22px rgba(16, 53, 44, 0.12);
}

.nav-button {
  color: var(--cream);
  background: linear-gradient(135deg, var(--sage-deep), #8f0000);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(17, 62, 51, 0.24);
  border: none;
  cursor: pointer;
}

@media print {
  body {
    background: #fff;
  }

  .sidebar,
  .dashboard-actions,
  .panel-link,
  .sidebar-support,
  .logout-modal {
    display: none !important;
  }

  .dashboard-page {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .dashboard-main {
    width: 100%;
    padding: 0;
  }

  .dashboard-content {
    display: block;
  }

  .card-panel {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #dce6df;
    background: #fff;
  }
}

.account-page {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  border-radius: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px var(--shadow);
}

.account-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  margin-top: 24px;
  align-items: center;
}

.account-intro {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 58px 44px;
  border-radius: 30px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 30px 80px var(--shadow);
}

.intro-label {
  color: var(--sage-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.account-intro h1 {
  font-size: clamp(2.4rem, 3vw, 3.9rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin-top: 26px;
}

.intro-copy {
  color: var(--sage-light);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 460px;
  margin-top: 18px;
}

.account-benefits {
  margin-top: 30px;
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-light);
  padding: 12px 0;
  font-weight: 700;
}

.benefit-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.intro-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.intro-stats .stat-label {
  display: block;
  color: var(--sage-light);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.account-form-wrap {
  background: var(--cream);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 25px 50px var(--shadow);
  border: 1px solid var(--line);
}

.form-panel {
  background: var(--cream);
}

.form-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-kicker {
  color: var(--sage-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.secure-badge {
  background: var(--sage-light);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.76rem;
  font-weight: 800;
}

.form-panel h2 {
  font-size: clamp(2rem, 2.5vw, 2.4rem);
  color: var(--sage-dark);
  margin-top: 22px;
}

.account-form {
  margin-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field input,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--text);
  padding: 14px 14px;
  font: inherit;
  outline: none;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(23, 75, 60, 0.12);
}

.terms {
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.submit-button {
  border: none;
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: 999px;
  padding: 14px 26px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.ghost-button {
  background: transparent;
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 14px 26px;
  font: inherit;
  font-weight: 800;
  border: 1px solid var(--sage-deep);
  text-decoration: none;
}

.verification-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  margin-top: 24px;
  align-items: center;
}

.verification-intro {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 58px 44px;
  border-radius: 30px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 30px 80px var(--shadow);
}

.verification-intro h1 {
  font-size: clamp(2.5rem, 3vw, 3.8rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin-top: 26px;
}

.verification-checks {
  margin-top: 30px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-light);
  padding: 12px 0;
  font-weight: 700;
}

.check-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.secure-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--sage-light);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
}

.secure-icon {
  font-size: 1.2rem;
}

.verification-form-wrap {
  background: var(--cream);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 25px 50px var(--shadow);
  border: 1px solid var(--line);
}

.verification-panel {
  background: var(--cream);
}

.verification-grid {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

.full-field {
  grid-column: 1 / -1;
}

.verification-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--text);
  padding: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
}

.verification-form textarea:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(23, 75, 60, 0.12);
}

.upload-area {
  grid-column: 1 / -1;
}

.upload-area.hidden {
  display: none;
}

#idType,
#idUpload {
  width: 100%;
}

.confirmation-body {
  background: var(--sage-soft);
}

.confirmation-layout {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.confirmation-card {
  width: min(680px, 100%);
  background: var(--cream);
  color: var(--sage-dark);
  border-radius: 30px;
  padding: 54px 48px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px var(--shadow);
  text-align: center;
}

.confirmation-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.7rem;
  font-weight: 900;
}

.confirmation-card h1 {
  color: var(--sage-dark);
  font-size: clamp(2.6rem, 3vw, 3.4rem);
  margin-top: 16px;
}

.confirmation-message {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 20px;
}

.confirmation-details {
  margin-top: 28px;
  background: var(--sage-soft);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-value {
  color: var(--sage-deep);
  font-size: 0.94rem;
  font-weight: 900;
}

.confirmation-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.confirmation-button {
  background: var(--sage-deep);
  color: var(--cream);
}

.login-page {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.login-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  margin-top: 24px;
  align-items: center;
}

.login-intro {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 58px 44px;
  border-radius: 30px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 30px 80px var(--shadow);
}

.login-intro h1 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  color: var(--cream);
  line-height: 1.2;
  margin-top: 26px;
}

.login-intro .intro-copy {
  color: var(--sage-light);
  max-width: 460px;
}

.login-intro-list {
  margin-top: 26px;
}

.login-panel-wrap {
  background: var(--cream);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 25px 50px var(--shadow);
}

.login-panel {
  background: var(--cream);
}

.login-form {
  margin-top: 24px;
}

.login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  font-size: 0.84rem;
}

.login-actions .checkbox-row {
  font-size: 0.84rem;
}

.link-text {
  color: var(--sage-deep);
  font-weight: 800;
  text-decoration: none;
}

.login-buttons {
  margin-top: 22px;
  justify-content: center;
}

.signin-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 30px;
}

.signin-divider::before,
.signin-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.signup-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.signup-link a {
  color: var(--sage-deep);
  font-weight: 800;
  text-decoration: none;
}

.dashboard-page {
  min-height: 100vh;
  display: flex;
  background: var(--sage-soft);
}

.sidebar {
  width: 280px;
  background: var(--sage-deep);
  color: var(--cream);
  padding: 30px 26px;
  min-height: 100vh;
}

.sidebar-brand .logo {
  color: var(--cream);
}

.sidebar-brand .logo-mark {
  background: transparent;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 50px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.profile-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.profile-name {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 800;
  text-transform: capitalize;
}

.profile-caption {
  color: var(--sage-light);
  font-size: 0.76rem;
  margin-top: 4px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-light);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 12px;
  border-radius: 14px;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--cream);
}

.nav-icon {
  font-size: 1.2rem;
}

.sidebar-support {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.sidebar-support a,
.sidebar-support .logout-button {
  color: var(--sage-light);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.logout-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 22px rgba(10, 28, 23, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.logout-button:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 12px 26px rgba(10, 28, 23, 0.22);
}

.logout-button:active {
  transform: translateY(0);
}

.logout-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 31, 25, 0.45);
  backdrop-filter: blur(10px);
  padding: 24px;
  z-index: 2000;
}

.logout-modal.hidden {
  display: none;
}

.logout-modal-card {
  width: min(460px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238,247,242,0.98));
  border: 1px solid rgba(23, 75, 60, 0.12);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(10, 28, 23, 0.22);
  padding: 30px 28px 24px;
}

.logout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.logout-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sage-deep), #1d6045);
  color: var(--cream);
  font-size: 1.6rem;
  box-shadow: 0 16px 24px rgba(23, 75, 60, 0.18);
}

.logout-modal-title {
  color: var(--sage-dark);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.logout-modal-copy {
  color: var(--text-soft);
  line-height: 1.7;
  margin: 12px 0 24px;
}

.logout-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.logout-modal-actions .ghost-button,
.logout-modal-actions .pay-button {
  min-width: 120px;
  justify-content: center;
  text-align: center;
}

#transferPageForm .logout-modal-actions {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

#transferPageForm .logout-modal-actions .ghost-button,
#transferPageForm .logout-modal-actions .pay-button {
  min-width: 0;
  flex: 1 1 0;
}

.logout-modal-close {
  border: none;
  background: rgba(23, 75, 60, 0.08);
  color: var(--sage-dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.dashboard-main {
  flex: 1;
  padding: 30px 42px;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-label {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-top h1 {
  color: var(--sage-dark);
  font-size: clamp(2.6rem, 3vw, 3rem);
  margin-top: 14px;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.notification-center {
  position: relative;
}

.notification-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--sage-deep);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 18px var(--shadow);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ba625b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  width: min(340px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 18px 40px var(--shadow);
}

.notification-panel[hidden] {
  display: none;
}

.notification-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--sage-deep);
}

.notification-panel-header span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.notification-list {
  max-height: 320px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  width: 100%;
  gap: 10px;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.notification-item:hover,
.notification-item.unread {
  background: var(--sage-soft);
}

.notification-item-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--muted);
}

.notification-item.unread .notification-item-dot {
  background: #ba625b;
}

.notification-item-content {
  display: grid;
  gap: 5px;
}

.notification-item-content strong {
  font-size: 0.82rem;
  line-height: 1.35;
}

.notification-item-content small {
  color: var(--muted);
  font-size: 0.7rem;
}

.notification-empty {
  padding: 24px 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.account-locked-message {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(186, 98, 91, 0.25);
  border-radius: 14px;
  background: rgba(186, 98, 91, 0.1);
  color: #8f3f3a;
  font-weight: 800;
  line-height: 1.5;
}

.account-locked-message-visible {
  display: block;
}

.account-locked-action {
  opacity: 0.52;
  cursor: not-allowed !important;
}

.small-button {
  padding: 11px 20px;
  font-size: 0.85rem;
}

.internal-transfer-accounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(223, 238, 227, 0.72), rgba(255, 250, 244, 0.9));
}

.internal-account-field {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.internal-account-select {
  width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  padding: 13px 38px 13px 14px;
  border: 1px solid rgba(23, 75, 60, 0.16);
  border-radius: 12px;
  background-color: var(--cream);
  background-image: linear-gradient(45deg, transparent 50%, var(--sage-deep) 50%), linear-gradient(135deg, var(--sage-deep) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--sage-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.internal-account-select:hover {
  border-color: rgba(23, 75, 60, 0.38);
  background-color: #fff;
}

.internal-account-select:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(23, 75, 60, 0.12);
}

@media (max-width: 560px) {
  .internal-transfer-accounts {
    grid-template-columns: 1fr;
  }
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.summary-card {
  background: var(--cream);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px var(--shadow);
}

.summary-card.highlight {
  background: var(--sage-deep);
  color: var(--cream);
}

.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-title {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight .summary-title {
  color: var(--sage-light);
}

.summary-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight .summary-icon {
  color: var(--sage-deep);
}

.summary-amount {
  color: var(--sage-dark);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 30px;
  letter-spacing: -0.025em;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.highlight .summary-amount {
  color: var(--cream);
}

.small-amount {
  font-size: 1.7rem !important;
}

.summary-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.summary-date {
  color: var(--muted);
}

.highlight .summary-date,
.highlight .summary-meta {
  color: var(--sage-light);
}

.positive {
  color: var(--green);
}

.negative {
  color: var(--danger);
}

.dashboard-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin-top: 20px;
}

.card-panel {
  background: var(--cream);
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: 0 15px 35px var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.premium-panel-heading {
  padding-bottom: 8px;
}

.panel-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.panel-heading h2 {
  color: var(--sage-dark);
  font-size: 1.8rem;
  margin-top: 12px;
}

.premium-loan-table {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,250,247,0.96));
  border: 1px solid rgba(23, 75, 60, 0.1);
  box-shadow: 0 20px 50px rgba(17, 46, 38, 0.08);
  overflow: hidden;
}

.premium-table-wrap {
  margin-top: 22px;
  border: 1px solid rgba(23, 75, 60, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.8);
}

.premium-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.premium-table-wrap thead th {
  background: rgba(142, 179, 147, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 75, 60, 0.1);
}

.premium-table-wrap tbody td {
  padding: 18px 20px;
  color: var(--sage-dark);
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(23, 75, 60, 0.08);
  background: rgba(255,255,255,0.25);
}

.premium-table-wrap tbody tr:last-child td {
  border-bottom: none;
}

.premium-table-wrap tbody tr:hover td {
  background: rgba(142, 179, 147, 0.06);
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.status.under-review {
  background: rgba(241, 191, 75, 0.14);
  border-color: rgba(203, 139, 33, 0.18);
  color: #8d6400;
}

.status.active {
  background: rgba(106, 166, 109, 0.12);
  border-color: rgba(106, 166, 109, 0.2);
  color: #1b5a3c;
}

.status.locked {
  background: rgba(178, 96, 89, 0.12);
  border-color: rgba(178, 96, 89, 0.2);
  color: #81453f;
}

.panel-link {
  color: var(--sage-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.account-list,
.transaction-list {
  margin-top: 22px;
}

.account-row-dashboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.account-row-dashboard:first-child {
  border-top: none;
}

.account-name {
  display: block;
  color: var(--sage-dark);
  font-weight: 800;
}

.account-detail {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 5px;
}

.account-balance {
  color: var(--sage-deep);
  font-weight: 900;
}

.transaction-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.transaction-row:first-child {
  border-top: none;
}

.transaction-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.transaction-icon.income {
  background: var(--sage-light);
}

.transaction-icon.expense {
  background: #fadbd6;
  color: var(--danger);
}

.transaction-icon.transfer {
  background: var(--sage-soft);
}

.transaction-title {
  display: block;
  color: var(--sage-dark);
  font-weight: 800;
}

.transaction-meta {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.transaction-amount {
  color: var(--sage-deep);
  font-weight: 900;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.limit-card {
  margin-top: 22px;
}

.limit-line,
.wire-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.limit-line:first-child,
.wire-row:first-child {
  border-top: none;
}

.limit-label,
.wire-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.limit-value,
.wire-value {
  color: var(--sage-deep);
  font-size: 0.95rem;
  font-weight: 900;
}

.limit-actions {
  margin-top: 18px;
}

.small-pay {
  padding: 12px 20px;
  font-size: 0.84rem;
}

.pending-list {
  margin-top: 20px;
}

.pending-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.pending-row:first-child {
  border-top: none;
}

.pending-title {
  color: var(--sage-dark);
  font-weight: 900;
}

.pending-meta {
  color: var(--muted);
  font-size: 0.76rem;
}

.pending-amount {
  font-weight: 900;
}

.pending-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-light);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wire-options {
  margin-top: 20px;
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.goal-progress {
  margin-top: 22px;
}

.goal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sage-dark);
}

.goal-name {
  font-weight: 900;
}

.goal-amount {
  color: var(--muted);
  font-weight: 800;
}

.progress-bar {
  height: 12px;
  background: var(--sage-soft);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
}

.progress-fill {
  display: block;
  width: 76%;
  height: 100%;
  background: var(--sage-deep);
  border-radius: inherit;
}

.goal-date {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 14px;
}

.quick-pay {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
  flex-wrap: wrap;
}

.pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-deep);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.pay-button.is-loading {
  cursor: wait;
  opacity: 0.8;
}

.pay-button.is-loading::before {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(255, 250, 244, 0.45);
  border-top-color: var(--cream);
  border-radius: 50%;
  content: "";
  animation: transfer-spinner 0.7s linear infinite;
}

@keyframes transfer-spinner {
  to { transform: rotate(360deg); }
}

.outline-button {
  background: transparent;
  color: var(--sage-deep);
  border: 1px solid var(--sage-deep);
}

.loan-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 30, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 24px;
}

.loan-modal.hidden {
  display: none;
}

.loan-modal-card {
  width: min(720px, 100%);
  background: var(--cream);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(15, 39, 33, 0.22);
  padding: 28px;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.65rem;
  color: var(--sage-deep);
  cursor: pointer;
}

.loan-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.loan-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 18px;
}

.loan-field-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loan-field-grid label.full-width {
  grid-column: 1 / -1;
}

.loan-field-grid input,
.loan-field-grid select,
.loan-field-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--sage-dark);
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  resize: vertical;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.loan-form-message {
  min-height: 22px;
  color: var(--sage-deep);
  font-weight: 700;
}

.loan-form-message.error {
  color: var(--danger);
}

.deposit-button {
  background: var(--green);
}

.transfer-form,
.deposit-form {
  margin-top: 28px;
}

.transfer-row,
.deposit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.transfer-row:first-child,
.deposit-row:first-child {
  border-top: none;
}

.transfer-label,
.transfer-value,
.deposit-label,
.deposit-value {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transfer-value,
.deposit-value {
  color: var(--sage-deep);
  font-size: 0.9rem;
}

.transfer-buttons {
  margin-top: 24px;
}

.credit-card {
  background: linear-gradient(135deg, var(--sage-deep), var(--sage-dark));
  color: var(--cream);
  padding: 30px;
  border-radius: 26px;
  margin-top: 24px;
  box-shadow: 0 18px 40px var(--shadow);
}

.credit-card-top,
.credit-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.credit-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cream);
}

.credit-chip {
  color: var(--sage-light);
  font-size: 0.78rem;
  font-weight: 700;
}

.credit-card-number {
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 56px;
  color: var(--cream);
}

.credit-card-bottom {
  color: var(--sage-light);
  font-size: 0.84rem;
  margin-top: 30px;
}

.card-click-surface {
  cursor: pointer;
}

.card-details {
  margin-top: 18px;
  background: rgba(23, 75, 60, 0.04);
  border: 1px solid rgba(23, 75, 60, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
}

.card-details[hidden] {
  display: none;
}

.card-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(23, 75, 60, 0.08);
  color: var(--sage-dark);
}

.card-detail-row:first-child {
  border-top: none;
}

.card-detail-row span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-detail-row strong {
  font-size: 0.92rem;
}

.request-status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(106, 166, 109, 0.12);
  border: 1px solid rgba(106, 166, 109, 0.2);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.88rem;
}

.card-empty-state {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(24, 60, 48, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.82), rgba(232, 239, 234, 0.7));
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.card-empty-activity {
  min-height: 180px;
}

.card-empty-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 340px;
  padding: 18px;
}

.card-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 75, 60, 0.08);
  color: var(--sage-deep);
  font-size: 1.7rem;
  font-weight: 900;
}

.card-empty-title {
  color: var(--sage-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.card-empty-copy {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
  font-weight: 700;
}

.card-stats {
  margin-top: 22px;
}

.card-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.card-stat-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.card-stat-value {
  color: var(--sage-deep);
  font-weight: 900;
}

.loan-total {
  background: var(--sage-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  margin-top: 26px;
}

.loan-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loan-amount {
  display: block;
  color: var(--sage-deep);
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 900;
  margin-top: 12px;
}

.loan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.loan-row {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.loan-row:nth-child(-n + 2) {
  border-top: none;
}

.loan-row .loan-label {
  display: block;
}

.loan-value {
  display: block;
  color: var(--sage-deep);
  font-size: 0.96rem;
  font-weight: 900;
  margin-top: 8px;
}

.statement-summary {
  margin-top: 24px;
}

.statement-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.statement-row:first-child {
  border-top: none;
}

.statement-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statement-value {
  color: var(--sage-deep);
  font-weight: 900;
}

.settings-list {
  margin-top: 24px;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.setting-row:first-child {
  border-top: none;
}

.setting-title {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.setting-value {
  color: var(--sage-deep);
  font-weight: 900;
}

.setting-personal-name {
  text-transform: capitalize;
}

@media (max-width: 940px) {
  .account-page {
    width: min(100%, calc(100% - 24px));
  }

  .account-layout,
  .verification-layout,
  .login-layout,
  .dashboard-content,
  .dashboard-bottom,
  .summary-grid,
  .form-grid,
  .premium-grid,
  .loan-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
  }

  .dashboard-main {
    padding: 20px;
  }

  .account-intro,
  .verification-intro,
  .login-intro {
    min-height: auto;
  }

  .account-header {
    flex-wrap: wrap;
    gap: 20px;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  background: linear-gradient(135deg, var(--sage-deep), var(--green-dark));
  min-height: 420px;
  color: var(--cream);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px var(--shadow);
}

.hero-copy {
  padding: 72px 60px;
  position: relative;
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 244, 0.4);
}

.hero-copy::before {
  width: 280px;
  height: 280px;
  right: -110px;
  top: -80px;
}

.hero-copy::after {
  width: 160px;
  height: 160px;
  right: 60px;
  bottom: -50px;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
}

.overline::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--sage-light);
}

.hero h1 {
  max-width: 560px;
  margin-top: 24px;
  font-size: clamp(3rem, 4vw, 4.6rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 560px;
  margin-top: 22px;
  color: var(--sage-light);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.primary-button {
  background: var(--cream);
  color: var(--sage-dark);
  font-weight: 900;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 24px var(--shadow);
}

.secondary-button {
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(255, 250, 244, 0.56);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 40px;
}

.hero-proof .big {
  font-size: 2.2rem;
  font-weight: 800;
}

.hero-proof .small {
  color: var(--sage-light);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-wrap {
  position: relative;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-card {
  width: min(410px, 100%);
  background: linear-gradient(160deg, var(--cream), #ddebcf);
  color: var(--sage-dark);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(5deg);
  position: relative;
  z-index: 2;
}

.account-card:nth-child(2) {
  transform: rotate(-4deg);
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  opacity: 0.95;
}

.account-card {
  position: relative;
}

.balance-card {
  width: min(380px, 100%);
  border-radius: 26px;
  padding: 22px;
  color: var(--sage-dark);
  background: var(--cream);
  border: 1px solid rgba(23, 75, 60, 0.14);
}

.balance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.balance-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.balance-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 1.4rem;
}

.balance-amount {
  margin-top: 34px;
  font-size: 3.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.balance-amount small {
  font-size: 1rem;
  font-weight: 700;
}

.balance-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.balance-meta .positive {
  color: var(--green);
}

.account-card-list {
  background: var(--green-dark);
  color: var(--cream);
  border-radius: 26px;
  padding: 24px;
  margin-top: 16px;
  box-shadow: 0 18px 40px var(--shadow);
}

.account-card-list .mini-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--sage-light);
  text-transform: uppercase;
}

.account-card-list .account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 250, 244, 0.2);
}

.account-row:last-child {
  border-bottom: none;
}

.account-row span:first-child {
  color: var(--sage-light);
  font-size: 0.84rem;
}

.account-row span:last-child {
  font-size: 0.95rem;
  font-weight: 800;
}

.section-business {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 20px;
  padding: 28px 32px;
  background: var(--cream);
  border-radius: 0 0 28px 28px;
  border-top: 1px solid var(--line);
}

.service-card {
  padding: 26px 24px;
  background: var(--cream);
  border-radius: 22px;
  border: 1px solid var(--line);
}

.service-card svg {
  width: 42px;
  height: 42px;
  color: var(--sage-deep);
}

.service-card h3 {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--sage-dark);
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.90rem;
  line-height: 1.75;
}

.service-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--sage-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.bottom-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 12px;
  background: var(--sage-dark);
  color: var(--cream);
  padding: 28px 32px;
  border-radius: 24px;
  margin-top: 26px;
}

.stat {
  border-left: 1px solid rgba(255, 250, 244, 0.3);
  padding-left: 20px;
}

.stat:first-child {
  border-left: none;
}

.stat .stat-number {
  font-size: clamp(1.9rem, 2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat .stat-label {
  color: var(--sage-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

@media (max-width: 940px) {
  .bank-page {
    width: min(100%, calc(100% - 24px));
  }

  .site-header,
  .hero,
  .section-business {
    border-radius: 24px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 26px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-actions {
    margin-left: auto;
  }

  .section-business {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 50px 36px;
  }

  .hero-card-wrap {
    padding: 30px 20px 60px;
  }

  .bottom-stats {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}
