*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f4f7fb;color:#172033}.app{display:flex;min-height:100vh}.sidebar{width:245px;background:#101a33;color:#fff;padding:26px 16px;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;margin:0 10px 45px}.brand-mark{width:38px;height:38px;border-radius:11px;background:#3b82f6;display:grid;place-items:center}.nav{width:100%;border:0;background:transparent;color:#aeb9d0;padding:14px;border-radius:10px;text-align:left;font-size:15px;cursor:pointer;margin:3px 0}.nav span{margin-left:10px}.nav:hover,.nav.active{background:#1d2b4d;color:#fff}.security-note{position:absolute;bottom:25px;left:25px;right:25px;padding:12px;border:1px solid #31415f;border-radius:10px;color:#93c5fd;font-size:11px}.security-note small{color:#aeb9d0}.main{margin-left:245px;width:calc(100% - 245px);padding:30px;max-width:1450px}header{display:flex;align-items:center;gap:15px;margin-bottom:28px}header h1{margin:0;font-size:27px}.muted{color:#7b879d;margin:5px 0}.header-actions{margin-left:auto;display:flex;align-items:center;gap:14px}.avatar,.big-avatar{background:#dbeafe;color:#1d4ed8;border-radius:50%;display:grid;place-items:center;font-weight:800}.avatar{width:42px;height:42px}.hero-card{background:linear-gradient(135deg,#172554,#2563eb);color:white;border-radius:18px;padding:28px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 30px #1e3a8a22}.hero-card h2{font-size:34px;margin:8px 0}.eyebrow{opacity:.75;font-size:13px}.card-chip{font-size:48px;opacity:.8}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.quick-actions button{border:0;background:#fff;padding:18px;border-radius:13px;cursor:pointer;font-size:14px;box-shadow:0 4px 14px #14213d08}.quick-actions b{display:block;font-size:22px;margin-bottom:7px;color:#2563eb}.grid.two{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.panel{background:#fff;border-radius:15px;padding:22px;box-shadow:0 5px 18px #14213d09;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel h2,.panel h3{margin:0 0 5px}.text-btn,.secondary{border:0;background:#eef4ff;color:#2563eb;padding:9px 12px;border-radius:8px;cursor:pointer}.details>div,.tx{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #edf0f5}.details>div:last-child,.tx:last-child{border-bottom:0}.details span{color:#7b879d}.tx-left{display:flex;gap:12px;align-items:center}.tx-icon{width:38px;height:38px;border-radius:10px;background:#eef4ff;color:#2563eb;display:grid;place-items:center}.credit{color:#059669}.debit{color:#dc2626}.form-panel{max-width:700px}.form-panel form{display:grid;gap:15px;margin-top:20px}.form-panel label{font-size:13px;font-weight:700}.form-panel input{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid #d9dfeb;border-radius:9px;font-size:15px;outline:none}.form-panel input:focus{border-color:#2563eb}.primary{background:#2563eb;color:#fff;border:0;padding:14px;border-radius:9px;font-weight:700;cursor:pointer}.modal{display:none;position:fixed;inset:0;background:#0008;place-items:center;padding:20px;z-index:20}.modal.show{display:grid}.modal-card{background:#fff;border-radius:15px;padding:25px;max-width:430px;width:100%;position:relative}.close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:25px;cursor:pointer}.toast{position:fixed;bottom:25px;right:25px;background:#172033;color:#fff;padding:14px 18px;border-radius:10px;display:none;z-index:30}.toast.show{display:block}.menu{display:none;border:0;background:#fff;border-radius:10px;padding:11px}.page{display:none}.active-page{display:block}.auth-view{min-height:100vh;display:grid;place-items:center;padding:20px;background:#f4f7fb}.auth-card{width:min(440px,100%);background:#fff;border-radius:18px;padding:30px;box-shadow:0 15px 50px #14213d12}.auth-card .brand{margin:0 0 30px}.auth-card h1{margin-bottom:4px}.auth-card form{display:grid;gap:15px;margin-top:22px}.auth-card label{font-size:13px;font-weight:700}.auth-card input{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid #d9dfeb;border-radius:9px;font-size:15px}.switch{text-align:center;color:#7b879d}.switch button{border:0;background:none;color:#2563eb;cursor:pointer}.error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:9px;margin-top:15px}.profile-box{display:flex;gap:15px;align-items:center;margin:20px 0}.big-avatar{width:70px;height:70px;font-size:23px}@media(max-width:850px){.sidebar{transform:translateX(-100%);z-index:10;transition:.2s}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%;padding:20px}.menu{display:block}.quick-actions{grid-template-columns:repeat(2,1fr)}.grid.two{grid-template-columns:1fr}header h1{font-size:22px}}@media(max-width:480px){.main{padding:14px}.hero-card h2{font-size:26px}.panel{padding:16px}.tx{gap:10px}.tx>strong{font-size:13px}}

.brand img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.bank-contact {
    margin: 18px 0;
    padding: 15px;
    border-radius: 10px;
    background: #f5f7fb;
    text-align: left;
}

.bank-contact h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.bank-contact p {
    margin: 6px 0;
    font-size: 13px;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.payment-option {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 22px 16px;
  background: rgba(255,255,255,.04);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .15s ease, background .15s ease;
}

.payment-option:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.07);
}

.payment-option b {
  font-size: 30px;
}

.payment-option span {
  font-size: 17px;
  font-weight: 700;
}

.payment-option small {
  color: #9ca3af;
  font-size: 12px;
}

@media (max-width: 600px) {
  .payment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .payment-option {
    padding: 18px 12px;
  }
}


.appearance-panel{
  display:none;
  position:fixed;
  inset:0;
  background:#0008;
  place-items:center;
  padding:20px;
  z-index:40;
}

.appearance-panel.show{
  display:grid;
}

.appearance-card{
  background:#fff;
  color:#172033;
  border-radius:18px;
  padding:25px;
  width:min(400px,100%);
  position:relative;
  box-shadow:0 20px 60px #0003;
}

.appearance-card h2{
  margin:0 0 5px;
}

.appearance-close{
  position:absolute;
  right:14px;
  top:10px;
  border:0;
  background:none;
  font-size:28px;
  cursor:pointer;
}

.theme-options{
  display:grid;
  gap:12px;
  margin-top:20px;
}

.theme-option{
  width:100%;
  display:flex;
  align-items:center;
  gap:15px;
  padding:16px;
  border:1px solid #d9dfeb;
  background:#fff;
  color:#172033;
  border-radius:12px;
  text-align:left;
  cursor:pointer;
}

.theme-option:hover{
  border-color:#2563eb;
}

.theme-option > span{
  font-size:26px;
}

.theme-option div{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.theme-option small{
  color:#7b879d;
}


body.dark-mode{
  background:#0b1220;
  color:#e5e7eb;
}

body.dark-mode .main{
  color:#e5e7eb;
}

body.dark-mode .panel,
body.dark-mode .quick-actions button,
body.dark-mode .appearance-card{
  background:#111827;
  color:#e5e7eb;
}

body.dark-mode .muted,
body.dark-mode .details span,
body.dark-mode .theme-option small{
  color:#9ca3af;
}

body.dark-mode .details>div,
body.dark-mode .tx{
  border-bottom-color:#263244;
}

body.dark-mode .quick-actions button{
  box-shadow:0 4px 14px #0004;
}

body.dark-mode .text-btn,
body.dark-mode .secondary{
  background:#1e293b;
  color:#93c5fd;
}

body.dark-mode .form-panel input{
  background:#0f172a;
  color:#e5e7eb;
  border-color:#334155;
}

body.dark-mode .theme-option{
  background:#0f172a;
  color:#e5e7eb;
  border-color:#334155;
}

body.dark-mode .theme-option:hover{
  border-color:#60a5fa;
}

body.dark-mode .modal-card{
  background:#111827;
  color:#e5e7eb;
}

body.dark-mode .menu{
  background:#111827;
  color:#e5e7eb;
}


.language-selector{
  position:relative;
  display:flex;
  justify-content:flex-end;
  margin-bottom:15px;
}

.language-selector > button{
  border:1px solid #d9dfeb;
  background:#fff;
  color:#172033;
  padding:9px 13px;
  border-radius:9px;
  cursor:pointer;
  font-size:13px;
}

.language-menu{
  display:none;
  position:absolute;
  top:45px;
  right:0;
  width:210px;
  max-height:300px;
  overflow-y:auto;
  background:#fff;
  border:1px solid #d9dfeb;
  border-radius:12px;
  box-shadow:0 12px 30px #14213d22;
  z-index:50;
  padding:6px;
}

.language-menu.show{
  display:block;
}

.language-menu button{
  display:block;
  width:100%;
  border:0;
  background:transparent;
  color:#172033;
  padding:10px 12px;
  text-align:left;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
}

.language-menu button:hover{
  background:#eef4ff;
}

body.dark-mode .language-selector > button{
  background:#111827;
  color:#e5e7eb;
  border-color:#334155;
}

body.dark-mode .language-menu{
  background:#111827;
  border-color:#334155;
}

body.dark-mode .language-menu button{
  color:#e5e7eb;
}

body.dark-mode .language-menu button:hover{
  background:#1e293b;
}


/* Softer landing page */
.auth-view{
  background:#e8eef7;
}

.auth-card{
  background:#ffffff;
  border:1px solid #d7e0ed;
  box-shadow:0 12px 35px rgba(23,32,51,.10);
}


/* Improve landing page readability */
.auth-view{
  background:#cbd5e1;
}

.auth-card{
  background:#ffffff;
  color:#172033;
  border:1px solid #b8c4d6;
  box-shadow:0 14px 40px rgba(23,32,51,.18);
}

.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card p,
.auth-card label{
  color:#172033;
}

.auth-card .muted,
.auth-card .switch{
  color:#475569;
}


/* Darker landing-page text for readability */
.auth-card,
.auth-card *{
  color:#172033;
}

.auth-card .muted,
.auth-card .switch,
.auth-card small{
  color:#334155;
}

.auth-card input{
  color:#172033;
  background:#ffffff;
  border-color:#aebbcf;
}

.auth-card input::placeholder{
  color:#64748b;
  opacity:1;
}

.auth-card a{
  color:#1d4ed8;
}


/* Force landing-page text to dark black/gray */
.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card p,
.auth-card label,
.auth-card span,
.auth-card div,
.auth-card strong,
.auth-card small{
  color:#111827 !important;
}

.auth-card .muted{
  color:#1f2937 !important;
}

.auth-card .switch{
  color:#1f2937 !important;
}

.auth-card .switch button,
.auth-card a{
  color:#1d4ed8 !important;
}


/* Final landing-page text visibility fix */
.auth-view .auth-card h1,
.auth-view .auth-card p,
.auth-view .auth-card label,
.auth-view .auth-card strong,
.auth-view .auth-card span{
  color:#111827 !important;
}

.auth-view .auth-card .muted,
.auth-view .auth-card .switch{
  color:#1f2937 !important;
}

.auth-view .auth-card input{
  color:#111827 !important;
  -webkit-text-fill-color:#111827 !important;
  background:#fff !important;
}

.auth-view .auth-card input::placeholder{
  color:#475569 !important;
  -webkit-text-fill-color:#475569 !important;
}

.auth-view .auth-card button{
  color:#111827;
}

.auth-view .auth-card .primary,
.auth-view .auth-card .switch button{
  color:#fff !important;
}


/* Restore Create an account link to blue */
.auth-view .auth-card .switch button{
  color:#2563eb !important;
}


.suspended-error{text-align:center;margin:18px auto}.suspended-warning{text-align:center;padding:18px 16px;border-radius:14px;background:#fff7ed;border:1px solid #f59e0b;color:#92400e}.suspended-warning .warning-icon{font-size:42px;margin-bottom:8px}.suspended-warning strong{display:block;font-size:18px;color:#b45309;margin-bottom:6px}.suspended-warning p{margin:0;line-height:1.5;color:#92400e}

.suspended-overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;z-index:99999;padding:20px}.suspended-modal{width:min(420px,100%);background:#fff;border-radius:18px;padding:30px 24px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.45);color:#172033}.suspended-modal .warning-icon{font-size:56px;margin-bottom:12px}.suspended-modal strong{display:block;font-size:22px;color:#b45309;margin-bottom:10px}.suspended-modal p{margin:0 auto 22px;line-height:1.6;color:#475569}.suspended-close{min-width:120px}

.admin-transaction-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}

.admin-transaction-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.04);
}

.admin-transaction-item > div{
  display:flex;
  align-items:center;
  gap:10px;
}

.admin-transaction-item small{
  color:#9ca3af;
}

.admin-transaction-status{
  padding:9px 10px;
  border-radius:8px;
  border:1px solid #aebbcf;
  background:#fff;
  color:#172033;
}

.admin-update-transaction{
  padding:9px 14px;
}

@media (max-width:600px){
  .admin-transaction-item{
    flex-direction:column;
    align-items:stretch;
  }

  .admin-transaction-item > div{
    flex-wrap:wrap;
  }
}

.tx-status{
  display:inline-block;
  margin-top:5px;
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  text-transform:capitalize;
}

.status-pending{
  background:#fef3c7;
  color:#92400e;
}

.status-completed{
  background:#dcfce7;
  color:#166534;
}

.status-failed{
  background:#fee2e2;
  color:#991b1b;
}

.status-declined{
  background:#e5e7eb;
  color:#374151;
}

.settings-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:18px;
}

.settings-item{
  width:100%;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:inherit;
  text-align:left;
  cursor:pointer;
}

.settings-item > span{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(59,130,246,.12);
  font-size:20px;
  flex-shrink:0;
}

.settings-item > div{
  flex:1;
}

.settings-item b{
  display:block;
  font-size:15px;
}

.settings-item small{
  display:block;
  margin-top:4px;
  color:#94a3b8;
  line-height:1.4;
}

.settings-item > strong{
  font-size:24px;
  color:#94a3b8;
}

.settings-item:hover{
  border-color:rgba(59,130,246,.45);
}

@media (max-width:600px){
  .settings-item{
    padding:14px;
  }
}

.password-input-wrap{
  position:relative;
  display:flex;
  align-items:center;
}

.password-input-wrap input{
  width:100%;
  padding-right:48px;
}

.password-toggle{
  position:absolute !important;
  right:10px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:30px !important;
  height:30px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#94a3b8 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  font-size:17px !important;
  line-height:1 !important;
  z-index:5 !important;
}

.password-toggle:hover{
  color:#2563eb !important;
}


.notification-settings{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}

.setting-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:15px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  cursor:pointer;
}

.setting-toggle div{
  flex:1;
}

.setting-toggle b{
  display:block;
  font-size:15px;
}

.setting-toggle small{
  display:block;
  margin-top:4px;
  color:#94a3b8;
  line-height:1.4;
}

.setting-toggle input{
  width:20px;
  height:20px;
  accent-color:#3b82f6;
  cursor:pointer;
  flex-shrink:0;
}


.security-settings{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}

.security-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:rgba(255,255,255,.04);
}

.security-card > div{
  flex:1;
}

.security-card b{
  display:block;
  font-size:15px;
}

.security-card small{
  display:block;
  margin-top:5px;
  color:#94a3b8;
  line-height:1.4;
}

.demo-code{
  margin:16px 0;
  padding:14px;
  border-radius:12px;
  background:rgba(59,130,246,.12);
  text-align:center;
  font-size:16px;
}

.demo-code b{
  font-size:22px;
  letter-spacing:4px;
}

@media (max-width:600px){
  .security-card{
    align-items:flex-start;
  }

  .security-card button{
    flex-shrink:0;
  }
}


.two-factor-setup{
  text-align:center;
  margin:20px 0;
}

.two-factor-qr{
  width:220px;
  height:220px;
  max-width:100%;
  padding:10px;
  background:#fff;
  border-radius:12px;
  display:block;
  margin:0 auto 18px;
}

.two-factor-secret{
  padding:14px;
  border-radius:12px;
  background:rgba(59,130,246,.12);
  font-size:16px;
  font-weight:700;
  letter-spacing:2px;
  word-break:break-all;
  text-align:center;
}


/* Enhanced transfer receipt */
.receipt{
  position:relative;
  overflow:hidden;
  max-width:520px;
  margin:0 auto;
  padding:28px;
  border-radius:24px;
  background:#ffffff;
  color:#172033;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.receipt::before{
  content:"✓";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(22,163,74,.025);
  color:rgba(22,163,74,.07);
  font-size:220px;
  font-weight:900;
  line-height:260px;
  text-align:center;
  z-index:0;
  pointer-events:none;
}

.receipt-header{
  position:relative;
  z-index:1;
  text-align:center;
  padding-bottom:22px;
  border-bottom:1px solid #e5e7eb;
}

.receipt-header h2{
  margin:0 0 12px;
  font-size:25px;
  font-weight:800;
  letter-spacing:.5px;
}

.receipt-success{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#15803d;
  font-size:15px;
  font-weight:800;
  letter-spacing:.5px;
}

.receipt-success::before{
  content:"✓";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#16a34a;
  color:#fff;
  font-size:17px;
}

.receipt-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding:13px 0;
  border-bottom:1px solid #eef0f3;
  font-size:14px;
}

.receipt-row span{
  color:#6b7280;
}

.receipt-row b{
  color:#111827;
  text-align:right;
  word-break:break-word;
}

.receipt-section{
  position:relative;
  z-index:1;
  margin-top:22px;
}

.receipt-section h3{
  margin:0 0 5px;
  font-size:13px;
  color:#6b7280;
  text-transform:uppercase;
  letter-spacing:1px;
}

.receipt-section .receipt-row:last-child{
  border-bottom:0;
}

.receipt hr{
  border:0;
  border-top:1px dashed #d1d5db;
  margin:20px 0;
}

.receipt .receipt-row:nth-last-of-type(3){
  background:#f0fdf4;
  margin:10px -10px;
  padding:16px 10px;
  border-radius:12px;
}

.receipt-actions{
  display:flex;
  gap:10px;
  margin-top:25px;
}

.receipt-actions button{
  flex:1;
  min-height:46px;
}

@media(max-width:600px){
  .receipt{
    padding:20px;
    border-radius:20px;
  }

  .receipt::before{
    width:150px;
    height:150px;
    font-size:115px;
    line-height:150px;
  }

  .receipt-row{
    gap:12px;
    font-size:13px;
  }

  .receipt-actions{
    flex-direction:column;
  }
}

/* Receipt font */
.receipt,
.receipt *{
}

.receipt-header h2{
  font-family:Georgia, "Times New Roman", serif !important;
  font-size:28px !important;
  font-weight:800 !important;
  letter-spacing:1px !important;
}

.receipt-success{
  font-family:Inter, Arial, sans-serif !important;
}

.tx-clickable{
  cursor:pointer;
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
}

.tx-clickable:hover{
  transform:translateY(-1px);
  border-color:rgba(59,130,246,.45);
  background:rgba(59,130,246,.06);
}

.tx-clickable:active{
  transform:scale(.99);
}

.transfer-confirm-card{
  max-width:460px;
  margin:0 auto;
  text-align:center;
}

.transfer-confirm-icon{
  width:54px;
  height:54px;
  margin:0 auto 14px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(59,130,246,.12);
  color:#3b82f6;
  font-size:28px;
  font-weight:800;
}

.transfer-confirm-card h2{
  margin:0 0 8px;
}

.transfer-confirm-card > .muted{
  margin-bottom:20px;
}

.transfer-confirm-details{
  text-align:left;
  border:1px solid rgba(148,163,184,.22);
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
}

.transfer-confirm-details > div{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding:15px 16px;
  border-bottom:1px solid rgba(148,163,184,.16);
}

.transfer-confirm-details > div:last-child{
  border-bottom:0;
}

.transfer-confirm-details span{
  color:#94a3b8;
  font-size:13px;
}

.transfer-confirm-details b{
  text-align:right;
  font-size:14px;
  word-break:break-word;
}

.transfer-confirm-warning{
  margin:18px 0;
  padding:13px 14px;
  border-radius:12px;
  background:rgba(245,158,11,.10);
  color:#d1d5db;
  font-size:13px;
  line-height:1.5;
}

.transfer-confirm-card button{
  width:100%;
  min-height:46px;
  margin-top:10px;
}

@media(max-width:600px){
  .transfer-confirm-card{
    width:100%;
  }

  .transfer-confirm-details > div{
    padding:14px;
  }
}


.pin-progress-wrap{
  display:none;
  margin:16px 0;
}

.pin-progress-wrap.active{
  display:block;
}

.pin-progress-track{
  width:100%;
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e7eb;
}

.pin-progress-bar{
  width:0;
  height:100%;
  border-radius:999px;
  transition:width .35s ease, background .25s ease;
}

.pin-progress-bar.verifying{
  width:70%;
  background:#3b82f6;
  animation:pinProgressLoading 1.1s ease-in-out infinite;
}

.pin-progress-bar.success{
  width:100%;
  background:#16a34a;
}

.pin-progress-bar.error{
  width:100%;
  background:#dc2626;
}

.pin-progress-message{
  margin:8px 0 0;
  font-size:13px;
  text-align:center;
}

.pin-progress-message.verifying{
  color:#3b82f6;
}

.pin-progress-message.success{
  color:#15803d;
  font-weight:700;
}

.pin-progress-message.error{
  color:#dc2626;
  font-weight:700;
}

@keyframes pinProgressLoading{
  0%{transform:translateX(-35%);}
  50%{transform:translateX(25%);}
  100%{transform:translateX(85%);}
}


.account-photo-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin:20px 0 24px;
}

.account-photo-preview{
  width:110px;
  height:110px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(59,130,246,.14);
  color:#60a5fa;
  font-size:42px;
  font-weight:800;
  border:3px solid rgba(59,130,246,.35);
}

.account-photo-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.account-info-list{
  display:flex;
  flex-direction:column;
  border:1px solid rgba(148,163,184,.22);
  border-radius:16px;
  overflow:hidden;
}

.account-info-list > div{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:15px 16px;
  border-bottom:1px solid rgba(148,163,184,.16);
}

.account-info-list > div:last-child{
  border-bottom:0;
}

.account-info-list span{
  color:#94a3b8;
  font-size:13px;
}

.account-info-list b{
  text-align:right;
  word-break:break-word;
}

@media(max-width:600px){
  .account-info-list > div{
    align-items:flex-start;
  }

  .account-info-list b{
    max-width:58%;
  }
}
.avatar{
  overflow:hidden;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

@media(max-width:850px){
  .menu{
    position:relative;
    z-index:20;
  }

  .sidebar{
    z-index:15;
  }
}

/* VALTURIONBANK modern dashboard */
#dashboard{
  display:none;
  gap:20px;
}

#dashboard.active-page{
  display:block;
}

#dashboard .panel{
  border:1px solid #e7ebf2;
  box-shadow:0 8px 28px rgba(15,23,42,.06);
  border-radius:18px;
  padding:24px;
}

/* Welcome */
#dashboard .welcome-panel{
  background:linear-gradient(135deg,#0f1f3d 0%,#1d4ed8 100%);
  color:#fff;
  padding:30px;
  border:0;
  box-shadow:0 14px 35px rgba(29,78,216,.20);
}

#dashboard .welcome-panel .eyebrow{
  margin:0 0 8px;
  color:#bfdbfe;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.2px;
}

#dashboard .welcome-panel h2{
  margin:0;
  font-size:30px;
  font-weight:800;
  letter-spacing:-.5px;
}

#dashboard .welcome-panel .muted{
  color:#dbeafe;
  margin-top:9px;
}

/* Balance */
#dashboard .balance-panel{
  position:relative;
  overflow:hidden;
  background:#fff;
}

#dashboard .balance-panel::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-55px;
  top:-55px;
  border-radius:50%;
  background:rgba(37,99,235,.07);
}

#dashboard .balance-panel h3{
  color:#64748b;
  font-size:14px;
  font-weight:700;
  margin-bottom:8px;
}

#dashboard .balance-panel #balance{
  position:relative;
  z-index:1;
  margin:0 0 20px;
  font-size:38px;
  font-weight:800;
  letter-spacing:-1px;
  color:#0f172a;
}

#dashboard .balance-panel .details{
  border-top:1px solid #edf0f5;
  padding-top:4px;
}

/* Account details */
#dashboard .details>div{
  padding:14px 0;
}

#dashboard .details span{
  font-size:13px;
  color:#64748b;
}

#dashboard .details b{
  color:#172033;
  font-size:14px;
}

/* Quick actions */
#dashboard .quick-actions{
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:18px 0 0;
}

#dashboard .quick-actions button{
  min-height:115px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
  padding:18px;
  border:1px solid #e5eaf2;
  border-radius:15px;
  background:#fff;
  color:#172033;
  text-align:left;
  box-shadow:none;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

#dashboard .quick-actions button:hover{
  transform:translateY(-3px);
  border-color:#93c5fd;
  box-shadow:0 10px 24px rgba(37,99,235,.10);
}

#dashboard .quick-actions button b{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  margin:0;
  border-radius:12px;
  background:#eff6ff;
  color:#2563eb;
  font-size:21px;
}

#dashboard .quick-actions button{
  font-size:14px;
  font-weight:700;
}

/* Account summary */
#dashboard .panel-head h3{
  font-size:18px;
  color:#172033;
}

#dashboard .panel-head{
  margin-bottom:4px;
}

#dashboard #summaryAccountStatus{
  color:#15803d;
  text-transform:capitalize;
}

/* Mobile */
@media(max-width:850px){
  #dashboard .welcome-panel{
    padding:24px;
  }

  #dashboard .welcome-panel h2{
    font-size:25px;
  }

  #dashboard .balance-panel #balance{
    font-size:32px;
  }

  #dashboard .quick-actions{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:480px){
  #dashboard .panel{
    padding:18px;
    border-radius:15px;
  }

  #dashboard .welcome-panel h2{
    font-size:22px;
  }

  #dashboard .balance-panel #balance{
    font-size:29px;
  }

  #dashboard .quick-actions button{
    min-height:105px;
    padding:15px;
  }
}

/* Account summary text */
#dashboard .details span{
  color:#7b879d;
}

#dashboard .details b{
  color:#172033;
}

#dashboard #summaryAccountStatus{
  color:#16a34a !important;
}
/* High-contrast dashboard text */
#dashboard .panel h3{
  color:#0f172a !important;
  font-weight:800;
}

#dashboard .details span{
  color:#475569 !important;
  font-weight:600;
}

#dashboard .details b{
  color:#0f172a !important;
  font-weight:800;
}

#dashboard #summaryAccountStatus{
  color:#16a34a !important;
  font-weight:800;
}

#dashboard #recentTransactions .tx-left b{
  color:#0f172a !important;
}

#dashboard #recentTransactions .tx-left .muted,
#dashboard #recentTransactions .tx-left small{
  color:#475569 !important;
}
/* High contrast for blue dashboard background */
#dashboard > .panel:nth-of-type(3) h3,
#dashboard > .panel:nth-of-type(4) h3,
#dashboard > .panel:nth-of-type(5) h3{
  color:#ffffff !important;
  font-weight:800;
}

#dashboard > .panel:nth-of-type(4) .details span{
  color:#dbeafe !important;
}

#dashboard > .panel:nth-of-type(4) .details b{
  color:#ffffff !important;
  font-weight:800;
}

#dashboard #summaryAccountStatus{
  color:#86efac !important;
  font-weight:800;
}

#dashboard > .panel:nth-of-type(5) .tx-left b{
  color:#ffffff !important;
}

#dashboard > .panel:nth-of-type(5) .tx-left .muted,
#dashboard > .panel:nth-of-type(5) .tx-left small{
  color:#dbeafe !important;
}
/* Balanced dashboard background for both light and dark modes */
#dashboard > .panel:nth-of-type(3),
#dashboard > .panel:nth-of-type(4),
#dashboard > .panel:nth-of-type(5){
  background:#dbeafe !important;
  color:#172033 !important;
  border:1px solid #bfdbfe !important;
}

#dashboard > .panel:nth-of-type(3) h3,
#dashboard > .panel:nth-of-type(4) h3,
#dashboard > .panel:nth-of-type(5) h3{
  color:#172033 !important;
}

#dashboard > .panel:nth-of-type(4) .details span{
  color:#475569 !important;
}

#dashboard > .panel:nth-of-type(4) .details b{
  color:#172033 !important;
}

#dashboard #summaryAccountStatus{
  color:#15803d !important;
}

#dashboard > .panel:nth-of-type(5) .tx-left b{
  color:#172033 !important;
}

#dashboard > .panel:nth-of-type(5) .tx-left .muted,
#dashboard > .panel:nth-of-type(5) .tx-left small{
  color:#475569 !important;
}
/* Balance visibility toggle */
.balance-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.balance-heading h3{
  margin:0 !important;
}

.balance-toggle{
  border:0;
  background:rgba(37,99,235,.10);
  color:#2563eb;
  width:34px;
  height:34px;
  border-radius:9px;
  display:grid;
  place-items:center;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
}

.balance-toggle:hover{
  background:rgba(37,99,235,.18);
}

.balance-hidden{
  letter-spacing:3px;
}
.balance-toggle.is-hidden{
  position:relative;
}

.balance-toggle.is-hidden::after{
  content:"";
  position:absolute;
  width:18px;
  height:2px;
  background:currentColor;
  transform:rotate(-45deg);
  border-radius:2px;
}

/* Password visibility button positioning fix */
.password-input-wrap{
  position:relative !important;
  width:100% !important;
}

.password-input-wrap input{
  width:100% !important;
  padding-right:42px !important;
  margin-top:7px !important;
}



/* Login and registration password fields */
.password-field{
  position:relative !important;
  width:100% !important;
}

.password-field input{
  width:100% !important;
  padding-right:48px !important;
}

.password-field .password-toggle{
  position:absolute !important;
  right:10px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:30px !important;
  height:30px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  z-index:10 !important;
}

.forgot-password{
  display:block;
  margin:-4px 0 2px auto;
  padding:0;
  border:0;
  background:transparent;
  color:#2563eb;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
}

.forgot-password:hover{
  text-decoration:underline;
}

/* Receipt modal: compact and independently scrollable */
.modal.show{
  overflow:hidden;
}

.modal.show .modal-card{
  width:min(390px,100%);
  max-width:390px;
  max-height:calc(100vh - 40px);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}


/* Compact transfer receipt */
.modal.show .modal-card:has(.receipt){
  padding:18px;
}

.modal.show .modal-card:has(.receipt) h2{
  font-size:20px;
  margin-bottom:8px;
}

.modal.show .modal-card:has(.receipt) .receipt-row{
  padding:8px 0;
  font-size:12px;
}

.modal.show .modal-card:has(.receipt) .receipt-row span{
  font-size:11px;
}

.modal.show .modal-card:has(.receipt) .receipt-row b{
  font-size:12px;
}

.modal.show .modal-card:has(.receipt) .receipt-header,
.modal.show .modal-card:has(.receipt) .receipt-summary{
  margin-bottom:12px;
}

.modal.show .modal-card:has(.receipt) button{
  padding:10px 12px;
  font-size:13px;
}


.receipt-logo{
  display:block;
  width:64px;
  height:64px;
  object-fit:contain;
  margin:0 auto 8px;
}
