
:root {
  --deep: #0a2a5e;
  --royal: #1565c0;
  --sky: #4fb3f6;
  --powder: #b0e0e6;
  --mist: #eaf5fb;
}

body {
  background: linear-gradient(160deg, var(--mist), #d6ecf7);
  min-height: 100vh;
  color: #14284b;
}

.bv-nav {
  background: linear-gradient(90deg, var(--deep), var(--royal));
}

.btn-bv {
  background: linear-gradient(90deg, var(--royal), var(--sky));
  color: #fff;
  border: 0;
}

.btn-bv:hover {
  color: #fff;
  filter: brightness(1.08);
}

.card {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10,42,94,.10);
}

.auth-card {
  max-width: 520px;
  margin: 40px auto;
}

.auth-card .card-header {
  background: linear-gradient(90deg, var(--deep), var(--royal));
  color: #fff;
  border-radius: 16px 16px 0 0 !important;
  padding: 1.2rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 .2rem rgba(79,179,246,.25);
}

.balance-card {
  background: linear-gradient(135deg, var(--deep), var(--royal) 60%, var(--sky));
  color: #fff;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
}

.steps:before {
  content: "";
  position: absolute;
  top: 16px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--powder);
}

.step {
  position: relative;
  text-align: center;
  flex: 1;
  font-size: .8rem;
  color: #6b82a8;
}

.step span {
  display: flex;
  margin: 0 auto 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--powder);
  color: var(--deep);
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step.active span,
.step.done span {
  background: var(--royal);
  color: #fff;
}

.step.active {
  color: var(--deep);
  font-weight: 600;
}

.table thead {
  background: var(--powder);
  color: var(--deep);
}

.stat {
  border-left: 5px solid var(--sky);
}

.badge-pending {
  background: #f4b942;
}

.badge-approved {
  background: #2e9e6b;
}

.badge-suspended {
  background: #d9534f;
}

/* Check-your-email / status pages */

.status-card {
  max-width: 480px;
  margin: 60px auto;
}

.status-card .card-body {
  padding: 3rem 2.5rem;
}

.status-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: radial-gradient(circle, var(--powder) 0%, var(--mist) 70%);
  box-shadow: 0 6px 18px rgba(21,101,192,.15);
}

.status-icon i {
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--royal), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.status-email {
  display: inline-block;
  background: var(--mist);
  border: 1px solid var(--powder);
  color: var(--deep);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  word-break: break-all;
}

.status-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--powder), transparent);
  margin: 1.75rem 0;
}

/* Dashboard */

.avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal), var(--sky));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.topbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

/* Balance card */

.balance-card {
  position: relative;
  overflow: hidden;
}

.balance-card:after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}

.balance-card:before {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}

/* Balance card content stays above decorative layers */

.balance-card .card-body {
  position: relative;
  z-index: 2;
}

/* Balance show/hide button */

.balance-eye-btn {
  position: relative;
  z-index: 5;
  background: none;
  border: 0;
  color: #fff;
  opacity: .85;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  transition: opacity .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}

.balance-eye-btn:hover {
  opacity: 1;
}

.balance-eye-btn:active {
  background: rgba(255,255,255,.15);
}

.balance-eye-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.balance-eye-btn i {
  pointer-events: none;
}

@media (max-width: 576px) {
  .balance-eye-btn {
    width: 44px;
    height: 44px;
  }
}

/* Account number */

.acct-pill {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: .3rem .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
}

.copy-btn {
  background: none;
  border: 0;
  color: inherit;
  opacity: .8;
  padding: 0;
  line-height: 1;
}

.copy-btn:hover {
  opacity: 1;
}

/* Dashboard quick actions */

.quick-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.qa-btn {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 12px;
  padding: .6rem 1rem;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .45rem;
  transition: background .15s;
}

.qa-btn:hover {
  background: rgba(255,255,255,.26);
  color: #fff;
}

.qa-btn.disabled {
  opacity: .5;
  pointer-events: none;
}

.qa-btn i {
  font-size: 1.05rem;
}

/* Statistics cards */

.stat-card {
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
}

.stat-card .stat-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Transaction icons */

.tx-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-ico.credit {
  background: #e3f6ec;
  color: #2e9e6b;
}

.tx-ico.debit {
  background: #fdeaea;
  color: #d9534f;
}

/* Transfer page */

.transfer-card {
  max-width: 620px;
  margin: 40px auto;
}

.transfer-card .card-header {
  background: linear-gradient(90deg, var(--deep), var(--royal));
  color: #fff;
  border-radius: 16px 16px 0 0 !important;
  padding: 1.5rem;
}

.recipient-box {
  border: 1px solid var(--powder);
  border-radius: 10px;
  padding: .65rem .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
}

.recipient-box.found {
  background: #eafaf1;
  border-color: #bfe8d1;
  color: #1c7a4c;
}

.recipient-box.error {
  background: #fdeeee;
  border-color: #f3c7c7;
  color: #b53333;
}

.transfer-summary {
  background: var(--mist);
  border: 1px solid var(--powder);
}

.empty-state {
  max-width: 520px;
  margin: 60px auto;
  text-align: center;
}

.empty-state .status-icon i {
  color: #c97d1a;
  background: none;
  -webkit-text-fill-color: initial;
}

.empty-state .status-icon {
  background: radial-gradient(circle, #ffe9c7 0%, var(--mist) 70%);
}
