/* Auth pages — bright, premium, mobile-first */
.auth-wrap{
  min-height: calc(100vh - 90px);
  display:grid;
  place-items:center;
  padding: 18px 0 48px;
}
.auth-card{
  width: min(520px, 92vw);
  border-radius: 26px;
  border: 1px solid rgba(11,16,32,.10);
  background: rgba(255,255,255,.88);
  box-shadow: 0 32px 70px rgba(11,16,32,.14);
  padding: 18px;
  position:relative;
  overflow:hidden;
}
.auth-burst{
  position:absolute; inset:-180px -160px auto auto;
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(22,163,74,.24), transparent 58%),
              radial-gradient(circle at 70% 70%, rgba(6,182,212,.22), transparent 62%),
              radial-gradient(circle at 30% 70%, rgba(124,58,237,.18), transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(249,115,22,.16), transparent 62%);
  filter: blur(18px);
  pointer-events:none;
}
.auth-title{
  margin: 2px 0 6px;
  font-weight: 1000;
  letter-spacing:-.03em;
  font-size: 28px;
}
.auth-sub{
  margin: 0 0 14px;
  color: rgba(11,16,32,.72);
  font-weight:650;
  line-height:1.5;
}
.form{
  display:grid;
  gap: 12px;
  position:relative;
}
.field{ display:grid; gap: 6px; }
.label{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 900;
  color: rgba(11,16,32,.60);
}
.input{
  width:100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(11,16,32,.12);
  background: rgba(255,255,255,.92);
  font-weight: 800;
  outline: none;
  box-shadow: 0 14px 26px rgba(11,16,32,.06);
}
.input:focus{
  border-color: rgba(6,182,212,.45);
  box-shadow: 0 0 0 6px rgba(6,182,212,.14), 0 16px 32px rgba(11,16,32,.08);
}
.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.helper{
  font-size: 13px;
  color: rgba(11,16,32,.66);
  font-weight: 650;
  line-height:1.45;
}
.error{
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(225,29,72,.25);
  background: rgba(225,29,72,.08);
  color: rgba(11,16,32,.84);
  font-weight: 750;
  display:none;
}
.error.show{ display:block; }
.success{
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(34,197,94,.28);
  background: rgba(34,197,94,.10);
  color: rgba(11,16,32,.84);
  font-weight: 800;
}

/* Signup OTP spam hint */
.spam-hint{
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(225,29,72,.28);
  background: rgba(225,29,72,.10);
  color: rgba(11,16,32,.86);
  font-weight: 800;
  line-height: 1.35;
}
.check{ display:flex; gap:10px; align-items:flex-start; }
.check input{ margin-top: 3px; }
.actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:space-between;
  margin-top: 4px;
}
.link{
  color: rgba(11,16,32,.78);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mini{
  font-size: 12px;
  color: rgba(11,16,32,.62);
  font-weight: 650;
}

/* Signup email verification steps */
.signup-steps{
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
  align-items: center;
}
.step-chip{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(11,16,32,.78);
  border: 1px solid rgba(11,16,32,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 20px rgba(11,16,32,.06);
  transition: all 0.3s ease;
  position: relative;
}
.step-chip .step-num{
  display: block;
}
.step-chip .step-check{
  display: none;
  width: 18px;
  height: 18px;
}
.step-chip.active{
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.step-chip.completed{
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(34,197,94,.30);
}
.step-chip.completed .step-num{
  display: none;
}
.step-chip.completed .step-check{
  display: block;
}
.code-input{
  letter-spacing: .20em;
  text-align: center;
  font-size: 18px;
}
@media (max-width: 520px){
  .row{ grid-template-columns: 1fr; }
  .auth-title{ font-size: 26px; }
}

/* Additional form styles for account and bank pages */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(11,16,32,.78);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(11,16,32,.12);
  background: rgba(255,255,255,.96);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  box-shadow: 0 2px 8px rgba(11,16,32,.04);
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: rgba(99,102,241,.5);
  box-shadow: 0 0 0 4px rgba(99,102,241,.12), 0 4px 12px rgba(11,16,32,.08);
}

.form-input:disabled,
.form-input[readonly] {
  background: rgba(11,16,32,.04);
  cursor: not-allowed;
  color: rgba(11,16,32,.5);
}

.form-hint {
  display: block;
  font-size: 12px;
  color: rgba(11,16,32,.56);
  margin-top: 4px;
}

.form-error {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(239,68,68,.3);
  background: rgba(239,68,68,.08);
  color: rgba(127,29,29,.95);
  font-weight: 650;
  font-size: 14px;
  display: none;
  margin-bottom: 16px;
}

.form-error.show {
  display: block;
}

.form-success {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(16,185,129,.3);
  background: rgba(16,185,129,.08);
  color: rgba(6,78,59,.95);
  font-weight: 700;
  font-size: 14px;
  display: none;
  margin-bottom: 16px;
}

.form-success.show {
  display: block;
}

.btn-full {
  width: 100%;
}

.auth-section {
  position: relative;
  z-index: 1;
  padding: 16px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(11,16,32,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Quick Access Menu */
.quick-menu {
  max-width: 100%;
}

.menu-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(11, 16, 32, 0.04);
}

.menu-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 16, 32, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(255, 255, 255, 1);
}

.menu-link svg {
  flex-shrink: 0;
  color: #6366f1;
}

.menu-link-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(11, 16, 32, 0.92);
  margin-bottom: 2px;
}

.menu-link-desc {
  font-size: 13px;
  font-weight: 600;
  color: rgba(11, 16, 32, 0.56);
}

@media (max-width: 640px) {
  .menu-links {
    grid-template-columns: 1fr;
  }
  
  .menu-link {
    padding: 14px 16px;
  }
}
