/* /frontend/supplier/auth/login.css */

.sAuthPage{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ===================== STICKY TOP BAR (same as supplier.css style) ===================== */
.sTopBar{
  height: 50px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 var(--pad);
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.sTopBar__back{
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  cursor: pointer;
}

.sTopBar__title{
  flex: 1;
  margin: 0;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sTopBar__right{
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}

/* ===================== CARD ===================== */
.sCard{
  margin-top: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.sAuthCard{
  padding: 14px;
  position: relative;
}

/* orange presence stripe */
.sAuthCard::before{
  content:"";
  position:absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-deep);
}

.sAuthHead{
  display:flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.sAuthTitle{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.25px;
  color: var(--text);
}

.sAuthSub{
  margin: 0;
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 700;
}

/* ===================== ALERTS ===================== */
.sAlert{
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--r-md);
  padding: 10px 11px;
  font-size: 12.7px;
  font-weight: 800;
  margin: 10px 0 12px;
}

.sAlert--error{
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}

.sAlert--success{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
  color: #166534;
}

/* ===================== FORM ===================== */
.sForm{
  display:grid;
  gap: 12px;
}

.sField{
  display:grid;
  gap: 7px;
}

.sLabel{
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -0.1px;
  color: var(--text);
}

.sInput{
  height: 44px;
  width: 100%;
  padding: 0 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(15,23,42,0.04);
  outline: none;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
}

.sInput::placeholder{
  color: rgba(100,116,139,0.85);
  font-weight: 700;
}

.sInput:focus{
  border-color: rgba(243,107,33,0.45);
  box-shadow: 0 0 0 4px rgba(243,107,33,0.12);
}

.sPassRow{
  display:grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
  align-items: center;
}

.sIconBtn{
  height: 44px;
  width: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  color: var(--muted);
}

.sIconBtn:hover{
  color: var(--brand);
  border-color: rgba(243,107,33,0.30);
}

/* ===================== BUTTONS (match your pattern) ===================== */
.sBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12.8px;
  letter-spacing: -0.1px;
  border: 1px solid var(--line);
}

.sBtn--primary{
  background: var(--brand-deep);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

.sBtn--primary:hover{
  filter: brightness(1.03);
}

.sBtn--wide{
  width: 100%;
}

.sBtn--ghost{
  background: #fff;
  color: var(--text);
}

.sBtn--ghost:hover{
  border-color: rgba(243,107,33,0.30);
}

/* ===================== LINKS ===================== */
.sAuthLinks{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.sInlineLink{
  color: var(--text);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12.6px;
}

/* ===================== STATUS PANEL ===================== */
.sStatus{
  margin-top: 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(243,107,33,0.22);
  background: linear-gradient(135deg, rgba(243,107,33,.10), rgba(255,255,255,1));
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.sStatus__icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--brand);
  border: 1px solid rgba(243,107,33,0.22);
  background: rgba(243,107,33,0.06);
  flex: 0 0 auto;
}

.sStatus__title{
  font-weight: 900;
  color: var(--text);
  font-size: 13.5px;
  letter-spacing: -0.1px;
}

.sStatus__text{
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 10px;
}

.isHidden{ display:none !important; }
.sBottomSpace{ height: 18px; }

@media (min-width: 700px){
  .sAuthCard{ padding: 16px; }
}
