/* ═══════════════════════════════════════════════════
   AUTH PAGES – Premium Redesign
   Airbnb-inspired, clean, confident
   ═══════════════════════════════════════════════════ */

/* ── Shell: full viewport split ── */
.auth-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fff;
}

/* ── Hero: left panel with photo ── */
.auth-hero{
  position:relative;
  background-image:url('/assets/media/auth-hero.webp');
  background-size:cover;
  background-position:center;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.auth-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.12) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

.auth-hero__inner{
  position:relative;
  padding:48px 48px 56px;
  max-width:600px;
}

.auth-hero__brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  position:absolute;
  top:40px;
  left:48px;
}

.auth-hero__brand img{
  width:30px;
  height:30px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}

.auth-hero__brand span{
  font-weight:950;
  letter-spacing:-0.02em;
  font-size:17px;
}

.auth-hero__headline{
  font-size:clamp(32px, 4vw, 44px);
  line-height:1.05;
  font-weight:950;
  letter-spacing:-0.04em;
}

.auth-hero__sub{
  margin-top:14px;
  max-width:36ch;
  font-size:16px;
  line-height:1.55;
  color:rgba(255,255,255,0.78);
}

/* ── Trust badges on hero ── */
.auth-hero__trust{
  display:flex;
  gap:24px;
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,0.15);
}

.auth-hero__trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,0.7);
}

.auth-hero__trust-item svg{
  flex-shrink:0;
  color:rgba(255,255,255,0.5);
}

/* ── Panel: right side form ── */
.auth-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 40px;
  background:#fff;
}

.auth-card{
  width:100%;
  max-width:400px;
}

/* ── Title ── */
.auth-title{
  margin:0 0 6px 0;
  font-size:28px;
  font-weight:900;
  letter-spacing:-0.03em;
  color:#0a0a0a;
}

.auth-subtitle{
  font-size:15px;
  color:#6b7280;
  margin:0 0 28px 0;
  line-height:1.5;
}

/* ── Form fields ── */
.auth-form .row{
  margin-top:16px;
}

.auth-form .row:first-child{
  margin-top:0;
}

.auth-form label{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  font-weight:700;
  color:#374151;
  letter-spacing:0.01em;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"]{
  width:100%;
  padding:13px 16px;
  border:1.5px solid #d1d5db;
  border-radius:12px;
  font:inherit;
  font-size:15px;
  color:#0a0a0a;
  background:#fff;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.auth-form input:focus{
  border-color:#0a0a0a;
  box-shadow:0 0 0 3px rgba(10,10,10,0.06);
}

.auth-form input::placeholder{
  color:#9ca3af;
}

/* ── Submit button ── */
.auth-form .btn-primary{
  margin-top:24px;
  width:100%;
  padding:14px;
  border:none;
  border-radius:12px;
  background:#0a0a0a;
  color:#fff;
  font:inherit;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:all .15s ease;
  letter-spacing:0.01em;
}

.auth-form .btn-primary:hover{
  background:#262626;
  transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(0,0,0,0.12);
}

.auth-form .btn-primary:active{
  transform:none;
  box-shadow:none;
}

/* ── Links ── */
.auth-links{
  margin-top:20px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  font-size:14px;
  color:#9ca3af;
}

.auth-links a{
  text-decoration:none;
  font-weight:700;
  color:#0a0a0a;
  transition:color .15s ease;
}

.auth-links a:hover{
  color:#CC2200;
}

/* ── Flash/error ── */
.auth-card .flash--error{
  padding:12px 16px;
  background:#fef2f2;
  border:1px solid #fecaca;
  border-radius:12px;
  color:#dc2626;
  font-size:14px;
  font-weight:600;
  margin-bottom:20px;
}

/* ── Provider variant ── */
.auth-hero--provider{
  background-image:url('/assets/media/hero-provider.webp');
}

.auth-hero--provider::before{
  background:linear-gradient(180deg,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.14) 40%,
    rgba(0,0,0,0.72) 100%
  );
}

/* ── Divider ── */
.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:24px 0;
  font-size:12px;
  color:#9ca3af;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.auth-divider::before,
.auth-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#e5e7eb;
}

/* ── Responsive ── */
@media (max-width:980px){
  .auth-shell{
    grid-template-columns:1fr;
  }
  .auth-hero{
    min-height:44vh;
  }
  .auth-hero__brand{
    top:24px;
    left:24px;
  }
  .auth-hero__inner{
    padding:32px 24px 40px;
  }
  .auth-hero__headline{
    font-size:30px;
  }
  .auth-hero__trust{
    gap:16px;
    flex-wrap:wrap;
  }
  .auth-panel{
    padding:32px 20px 48px;
  }
}

@media (max-width:480px){
  .auth-hero{
    min-height:36vh;
  }
  .auth-hero__headline{
    font-size:26px;
  }
  .auth-hero__sub{
    font-size:14px;
  }
  .auth-hero__trust{
    display:none;
  }
  .auth-title{
    font-size:24px;
  }
}

/* ── Back button ── */
.auth-back{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  font-weight:600;
  color:#6b7280;
  text-decoration:none;
  margin-bottom:28px;
  transition:color .15s ease;
}
.auth-back:hover{
  color:#0a0a0a;
}
.auth-back svg{
  flex-shrink:0;
}

/* ── Logo: just icon, no text ── */
.auth-hero__brand span{
  display:none;
}
.auth-hero__brand img{
  width:36px;
  height:36px;
  filter:brightness(0) invert(1);
}
