/* ================================================================
   SMSCONNECT — Auth pages (compact, no-scroll)
   ================================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:'Poppins',sans-serif;background:#FFF5F4;color:#111;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column}
a{text-decoration:none;color:inherit}
button{font-family:'Poppins',sans-serif;cursor:pointer}

:root{
  --red:#E8001D;--red-d:#C50018;
  --red-bg:rgba(232,0,29,0.08);
  --bg:#FFF5F4;--dark:#111;--gray:#666;
  --line:#E8E8E8;--white:#fff;--t:0.15s ease;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.auth-header{
  background:#fff;border-bottom:1px solid rgba(0,0,0,0.07);
  height:54px;display:flex;align-items:center;
  position:sticky;top:0;z-index:100;flex-shrink:0;
}
.auth-header-inner{
  width:100%;max-width:1000px;margin:0 auto;padding:0 36px;
  display:flex;align-items:center;justify-content:space-between;
}
.auth-logo{display:flex;align-items:center;gap:8px;text-decoration:none}
.auth-logo-text{font-size:16px;font-weight:700;color:#111;letter-spacing:-0.01em}
.auth-header-right{display:flex;align-items:center;gap:10px}
.auth-header-tagline{font-size:13px;color:#777}
.auth-header-btn{
  font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;
  color:var(--red);background:#fff;
  border:1.5px solid var(--red);border-radius:7px;
  padding:6px 16px;cursor:pointer;
  transition:background var(--t),color var(--t);
  text-decoration:none;display:inline-block;
}
.auth-header-btn:hover{background:var(--red);color:#fff}

/* ══════════════════════════════════════════
   MAIN
══════════════════════════════════════════ */
.auth-main{flex:1;padding:40px 0 32px;display:flex;align-items:flex-start}
.auth-container{width:100%;max-width:1000px;margin:0 auto;padding:0 36px}
.auth-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}

/* ══════════════════════════════════════════
   LEFT COLUMN
══════════════════════════════════════════ */
.auth-left{padding-top:0}

.auth-eyebrow{
  display:inline-flex;align-items:center;
  font-size:12px;font-weight:700;color:var(--red);
  letter-spacing:0.10em;text-transform:uppercase;
  background:rgba(232,0,29,0.09);border-radius:100px;
  padding:5px 14px;margin-bottom:18px;
}

.auth-title{
  font-size:clamp(26px,3vw,38px);font-weight:800;
  line-height:1.15;letter-spacing:-0.03em;
  color:#111;margin-bottom:12px;
}
.auth-title .sc-red{color:var(--red)}

.auth-desc{
  font-size:15px;color:#666;line-height:1.65;
  margin-bottom:22px;max-width:340px;
}

/* Feature grid — 2×2 */
.auth-features{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.auth-feature{display:flex;align-items:center;gap:10px}
.auth-feat-icon{
  width:42px;height:42px;border-radius:50%;
  background:rgba(232,0,29,0.10);color:var(--red);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.auth-feat-icon svg{width:19px;height:19px}
.auth-feat-body{}
.auth-feat-title{font-size:14px;font-weight:600;color:#111}
.auth-feat-desc{display:none}

/* ══════════════════════════════════════════
   FORM CARD
══════════════════════════════════════════ */
.auth-form-card{
  background:#fff;border-radius:16px;
  padding:28px 32px;
  box-shadow:0 4px 24px rgba(0,0,0,0.08);
}

.auth-card-title{
  font-size:22px;font-weight:700;color:#111;
  letter-spacing:-0.02em;margin-bottom:3px;
}
.auth-card-sub{font-size:13.5px;color:#999;margin-bottom:16px}

/* Fields */
.auth-field{margin-bottom:10px}
.auth-field-label{display:block;font-size:13px;font-weight:600;color:#444;margin-bottom:4px}
.auth-field-wrap{position:relative}
.auth-field-icon{
  position:absolute;left:11px;top:50%;transform:translateY(-50%);
  color:#bbb;display:flex;align-items:center;pointer-events:none;
}
.auth-field-icon svg{width:15px;height:15px}
.auth-input{
  width:100%;font-family:'Poppins',sans-serif;font-size:14px;color:#111;
  background:#fff;border:1.5px solid #E4E4E4;border-radius:9px;
  padding:9px 12px 9px 36px;outline:none;
  transition:border-color var(--t),box-shadow var(--t);
}
.auth-input::placeholder{color:#C8C8C8}
.auth-input:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(232,0,29,0.08)}
.auth-input-has-toggle{padding-right:38px}

/* Password toggle */
.auth-pw-toggle{
  position:absolute;right:11px;top:50%;transform:translateY(-50%);
  background:none;border:none;padding:0;color:#bbb;
  display:flex;align-items:center;cursor:pointer;
}
.auth-pw-toggle:hover{color:#888}
.auth-pw-toggle svg{width:15px;height:15px}

/* Password hints — horizontal row */
.auth-pw-hints{
  display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 14px;
  margin-top:6px;margin-bottom:4px;
}
.auth-pw-hint{
  display:flex;align-items:center;gap:5px;
  font-size:11.5px;color:#bbb;white-space:nowrap;
}
.auth-pw-hint.ok{color:#16a34a}
.auth-pw-hint-dot{
  width:14px;height:14px;border-radius:50%;border:1.5px solid #ddd;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.auth-pw-hint.ok .auth-pw-hint-dot{background:#16a34a;border-color:#16a34a}
.auth-pw-hint-dot svg{width:8px;height:8px;color:#fff}

/* Forgot link */
.auth-forgot-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.auth-forgot-row .auth-field-label{margin-bottom:0}
.auth-forgot{font-size:12px;font-weight:500;color:var(--red)}
.auth-forgot:hover{opacity:0.75}

/* Submit */
.auth-submit{
  width:100%;background:var(--red);color:#fff;
  font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;
  padding:11px;border-radius:9px;border:none;cursor:pointer;
  margin-top:6px;margin-bottom:12px;
  box-shadow:0 3px 12px rgba(232,0,29,0.28);
  transition:background var(--t),transform var(--t),box-shadow var(--t);
}
.auth-submit:hover{background:var(--red-d);transform:translateY(-1px);box-shadow:0 5px 16px rgba(232,0,29,0.34)}
.auth-submit:active{transform:translateY(0)}

/* Terms */
.auth-terms-text{
  text-align:center;font-size:11.5px;color:#aaa;
  line-height:1.5;margin-bottom:0;
}
.auth-terms-text a{color:var(--red);font-weight:500}
.auth-terms-text a:hover{opacity:0.8}

/* Alt link */
.auth-alt-row{
  text-align:center;font-size:13px;color:#888;
  margin-top:10px;
}
.auth-alt-row a{color:var(--red);font-weight:600}
.auth-alt-row a:hover{opacity:0.8}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media(max-width:960px){
  .auth-grid{grid-template-columns:1fr;gap:28px;align-items:start}
  .auth-left{display:none}
  .auth-main{padding:28px 0 24px;justify-content:center}
}
@media(max-width:768px){
  html,body{height:auto;min-height:100vh}
  .auth-main{min-height:calc(100vh - 54px);overflow-y:auto}
}
@media(max-width:580px){
  .auth-header-inner,.auth-container{padding-left:18px;padding-right:18px}
  .auth-form-card{padding:22px 20px}
  .auth-card-title{font-size:18px}
  .auth-header-tagline{display:none}
}
