/* Auth pages styled to match homepage look */

:root{
  --home-bg: #070A12;
  --home-surface: rgba(10, 14, 26, 0.72);
  --home-border: rgba(255, 255, 255, 0.10);
  --home-text: rgba(255, 255, 255, 0.92);
  --home-muted: rgba(255, 255, 255, 0.70);
  --home-primary: #2F6BFF;
  --home-accent: #00D4FF;
  --home-shadow: 0 18px 50px rgba(0, 0, 0, 0.40);
}

.auth-home{
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 18% 18%, rgba(47, 107, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 82% 12%, rgba(0, 212, 255, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(7,10,18,0.95) 0%, rgba(7,10,18,1) 100%);
  color: var(--home-text);
}

.auth-home .auth-shell{
  width: min(1040px, calc(100vw - 48px));
  margin: 0 auto;
}

.auth-home .auth-shell.auth-shell--narrow{
  width: min(560px, calc(100vw - 48px));
}

.auth-home .auth-card{
  position: relative;
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  overflow: hidden;
}

.auth-home .auth-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(520px 260px at 18% 0%, rgba(47, 107, 255, 0.20), transparent 55%),
    radial-gradient(440px 240px at 88% 18%, rgba(0, 212, 255, 0.14), transparent 60%);
  opacity: .85;
  pointer-events:none;
}

.auth-home .auth-card > *{ position: relative; z-index: 1; }

.auth-home .auth-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--home-text);
  margin-bottom: 12px;
}

.auth-home .auth-logo{
  width: 160px;
  max-width: 60vw;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.35));
}

.auth-home .input-with-action{
  position: relative;
}

.auth-home .input-with-action input{
  padding-right: 46px;
}

.auth-home .input-action{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.auth-home .input-action:hover{
  transform: translateY(-50%) scale(1.03);
  color: rgba(255,255,255,0.92);
  background: linear-gradient(135deg, rgba(47,107,255,0.22), rgba(0,212,255,0.10));
  box-shadow: 0 10px 26px rgba(0,0,0,0.26);
}

.auth-home .input-action:focus-visible{
  outline: 2px solid rgba(47, 107, 255, 0.78);
  outline-offset: 2px;
}

.auth-home .input-action:active{
  transform: translateY(-50%) scale(0.98);
}

.auth-home .input-action i{
  font-size: 14px;
}

.auth-home .auth-title{
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 28px;
}

.auth-home .auth-subtitle{
  margin: 8px 0 0;
  color: var(--home-muted);
  line-height: 1.6;
}

.auth-home .auth-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 18px;
}

.auth-home .span-2{ grid-column: 1 / -1; }

.auth-home label{
  display:block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.85);
}

.auth-home input[type="text"],
.auth-home input[type="email"],
.auth-home input[type="tel"],
.auth-home input[type="password"]{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 14, 26, 0.55);
  color: var(--home-text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.auth-home input::placeholder{ color: rgba(255,255,255,0.45); }

.auth-home input:focus{
  border-color: rgba(47, 107, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.16);
}

.auth-home small{
  display:block;
  margin-top: 8px;
  color: rgba(255,255,255,0.62);
  font-size: 12.5px;
  line-height: 1.45;
}

.auth-home .radio-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-home .radio-pill{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 14, 26, 0.50);
  cursor:pointer;
  user-select:none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.auth-home .radio-pill:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
}

.auth-home .radio-pill input{ accent-color: var(--home-primary); }

.auth-home .auth-actions{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-home .home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--home-text);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.auth-home .home-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 14px 36px rgba(0,0,0,0.30);
}

.auth-home .home-btn-primary{
  border: none;
  background: linear-gradient(135deg, var(--home-primary), var(--home-accent));
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.25);
}

.auth-home .home-btn-primary:hover{
  box-shadow: 0 18px 46px rgba(47, 107, 255, 0.32);
}

.auth-home .auth-link{
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-weight: 600;
}
.auth-home .auth-link a{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
}
.auth-home .auth-link a:hover{
  border-bottom-color: rgba(255,255,255,0.55);
}

@media (max-width: 820px){
  .auth-home{ padding: 20px; }
  .auth-home .auth-grid{ grid-template-columns: 1fr; }
  .auth-home .radio-grid{ grid-template-columns: 1fr; }
}

