/* Store Client Login - Unified UI */

.auth-wrap{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 22px 12px;
}

.auth-card{
  width: 100%;
  max-width: 460px;
  background:#fff;
  border:1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(17,24,39,.05);
  overflow:hidden;
}

.auth-head{
  padding: 18px 18px 12px 18px;
  border-bottom: 1px solid rgba(17,24,39,.06);
  text-align:center;
  background: rgba(17,24,39,.01);
}

.brand{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .2px;
}

.auth-sub{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 2px;
}

.auth-body{
  padding: 16px;
}

@media(min-width: 768px){
  .auth-body{
    padding: 22px;
  }
}

.muted{ color: var(--muted); }

.form-label{
  font-weight: 800;
  font-size: 13px;
}

.form-control{
  border-radius: 10px;
  padding: 10px 12px;
  border-color: rgba(17,24,39,.12);
}

.form-control:focus{
  border-color: rgba(25,135,84,.45);
  box-shadow: 0 0 0 .2rem rgba(25,135,84,.12);
}

.btn-main{
  background: var(--primary);
  border-color: var(--primary);
  border-radius: 10px;
  font-weight: 900;
  padding: 11px 12px;
}

.btn-main:hover{
  filter: brightness(.95);
}

.captcha-row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.captcha-badge{
  font-size: 14px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 900;
}

.captcha-input{
  max-width: 160px;
}

.auth-links{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top: 14px;
  font-size: 13px;
}

.auth-links a{
  text-decoration:none;
}

.auth-links a:hover{
  text-decoration: underline;
}

/* Small polish for alerts */
.alert{
  border-radius: 12px;
  font-size: 13px;
}

/* RTL micro-fixes */
html[dir="rtl"] .captcha-row{
  justify-content:flex-start;
}
