/* =========================================================
   FootValue Login V1 — responsive final
   Desktop / Laptop / Tablet / Mobile
   ========================================================= */

:root{
  --fv-bg:#060c09;
  --fv-cream:#f4efe5;
  --fv-muted:#cfc8ba;
  --fv-soft:#9f988b;
  --fv-green:#39ff96;
  --fv-green2:#24d973;
  --fv-line:rgba(244,239,229,.14);
  --fv-red:#ff8f8f;
}

.login-member-premium main{
  background:var(--fv-bg);
}

.login-member-premium *{
  box-sizing:border-box;
}

.login-shell{
  position:relative;
  min-height:calc(100vh - 74px);
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:72px 20px;
  background:
    radial-gradient(circle at 28% 12%,rgba(57,255,150,.14),transparent 34%),
    radial-gradient(circle at 82% 18%,rgba(255,232,172,.07),transparent 30%),
    linear-gradient(180deg,#07100c 0%,#050a08 100%);
}

.login-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(244,239,229,.028) 1px,transparent 1px),
    linear-gradient(rgba(244,239,229,.021) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.82) 64%,transparent 100%);
}

.login-wrap{
  position:relative;
  z-index:1;
  width:min(1100px,100%);
  display:grid;
  grid-template-columns:minmax(420px,500px) minmax(0,1fr);
  gap:28px;
  align-items:stretch;
}

.login-card,
.login-side{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--fv-line);
  border-radius:28px;
  background:
    radial-gradient(circle at 0 0,rgba(57,255,150,.07),transparent 34%),
    linear-gradient(180deg,rgba(244,239,229,.06),rgba(244,239,229,.025)),
    rgba(4,10,7,.92);
  box-shadow:0 42px 120px rgba(0,0,0,.34);
}

/* ---------------------------------------------------------
   LOGIN CARD
   --------------------------------------------------------- */

.login-bar{
  min-height:54px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  padding:0 20px;
  border-bottom:1px solid rgba(244,239,229,.10);
  background:rgba(244,239,229,.045);
}

.login-dots{
  display:flex;
  gap:8px;
}

.login-dots i{
  width:9px;
  height:9px;
  border-radius:50%;
  background:rgba(244,239,229,.28);
}

.login-bar strong{
  color:var(--fv-cream);
  font-size:14px;
  font-weight:950;
  letter-spacing:.075em;
  text-transform:uppercase;
}

.login-bar small{
  color:var(--fv-green);
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.login-inner{
  padding:32px 30px 28px;
}

.login-pill{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:34px;
  padding:0 13px;
  border:1px solid rgba(57,255,150,.26);
  border-radius:999px;
  background:rgba(57,255,150,.08);
  color:var(--fv-green);
  font-size:11px;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.login-pill::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:var(--fv-green);
  box-shadow:0 0 0 6px rgba(57,255,150,.12);
}

.login-card h1{
  max-width:460px;
  margin:18px 0 11px;
  color:var(--fv-cream);
  font-size:clamp(38px,3.7vw,58px);
  line-height:1.01;
  letter-spacing:-.058em;
  font-weight:950;
}

.login-muted{
  max-width:430px;
  margin:0 0 28px;
  color:var(--fv-muted);
  font-size:16px;
  line-height:1.6;
}

.login-errors{
  display:grid;
  gap:10px;
  margin:0 0 18px;
}

.login-error{
  padding:13px 15px;
  border:1px solid rgba(255,143,143,.30);
  border-radius:16px;
  background:rgba(255,143,143,.09);
  color:#ffd2d2;
  font-size:14px;
  line-height:1.45;
  font-weight:850;
}

.login-form{
  display:grid;
  gap:16px;
}

.login-field{
  display:grid;
  gap:8px;
}

.login-field-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.login-field label{
  color:#faf6ed;
  font-size:13px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.login-forgot{
  color:var(--fv-green);
  font-size:12.5px;
  font-weight:950;
  text-decoration:none;
  white-space:nowrap;
}

.login-forgot:hover,
.login-bottom a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.login-field input{
  width:100%;
  min-height:58px;
  padding:0 17px;
  border:1px solid rgba(244,239,229,.15);
  border-radius:16px;
  outline:none;
  background:rgba(0,0,0,.25);
  color:var(--fv-cream);
  font-size:16px;
  font-weight:800;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.login-field input:hover{
  border-color:rgba(244,239,229,.21);
}

.login-field input:focus{
  border-color:rgba(57,255,150,.48);
  box-shadow:0 0 0 4px rgba(57,255,150,.10);
  background:rgba(0,0,0,.32);
}

.login-field input:-webkit-autofill,
.login-field input:-webkit-autofill:hover,
.login-field input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--fv-cream);
  box-shadow:0 0 0 1000px #0b1510 inset;
  border-color:rgba(57,255,150,.35);
}

.login-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:60px;
  border:0;
  border-radius:999px;
  background:linear-gradient(180deg,#42ff9e 0%,#25dc76 100%);
  color:#04110b;
  font-size:16px;
  font-weight:950;
  cursor:pointer;
  box-shadow:
    0 18px 46px rgba(57,255,150,.36),
    0 0 28px rgba(57,255,150,.10),
    inset 0 1px 0 rgba(255,255,255,.20);
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease;
}

.login-submit:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:
    0 23px 54px rgba(57,255,150,.43),
    0 0 32px rgba(57,255,150,.16),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.login-submit:focus-visible,
.login-forgot:focus-visible,
.login-bottom a:focus-visible{
  outline:2px solid var(--fv-green);
  outline-offset:4px;
}

.login-trust{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:18px;
}

.login-trust span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 13px;
  border:1px solid rgba(244,239,229,.10);
  border-radius:999px;
  background:rgba(244,239,229,.035);
  color:var(--fv-muted);
  font-size:13px;
  font-weight:850;
  text-align:center;
  white-space:nowrap;
}

.login-trust b{
  margin-right:5px;
  color:var(--fv-green);
}

.login-bottom{
  margin:20px 0 0;
  color:var(--fv-muted);
  text-align:center;
  font-size:14px;
}

.login-bottom a{
  color:var(--fv-green);
  font-weight:950;
  text-decoration:none;
}

/* ---------------------------------------------------------
   PREMIUM SIDE
   --------------------------------------------------------- */

.login-side{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:28px;
  padding:32px;
}

.login-side-top small{
  display:inline-flex;
  align-items:center;
  min-height:33px;
  padding:0 12px;
  border:1px solid rgba(244,239,229,.12);
  border-radius:999px;
  background:rgba(244,239,229,.04);
  color:var(--fv-soft);
  font-size:11px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.login-side h2{
  max-width:430px;
  margin:20px 0 0;
  color:var(--fv-cream);
  font-size:clamp(31px,2.6vw,38px);
  line-height:1.04;
  letter-spacing:-.05em;
  font-weight:950;
}

.login-side p{
  max-width:390px;
  margin:13px 0 0;
  color:var(--fv-muted);
  font-size:15px;
  line-height:1.58;
}

.login-checks{
  display:grid;
  gap:11px;
  margin:0;
  padding:0;
  list-style:none;
}

.login-checks li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:56px;
  padding:0 16px;
  border:1px solid rgba(244,239,229,.10);
  border-radius:17px;
  background:rgba(0,0,0,.16);
  color:var(--fv-cream);
  font-size:14px;
  font-weight:850;
}

.login-checks b{
  color:var(--fv-green);
  font-weight:950;
  white-space:nowrap;
}

.login-side-note{
  padding:22px;
  border:1px solid rgba(57,255,150,.24);
  border-radius:18px;
  background:
    radial-gradient(circle at 15% 0,rgba(57,255,150,.10),transparent 55%),
    rgba(57,255,150,.065);
  color:var(--fv-muted);
  font-size:13.5px;
  line-height:1.55;
}

.login-side-note strong{
  display:block;
  margin-bottom:6px;
  color:var(--fv-cream);
}

/* ---------------------------------------------------------
   LAPTOP / TABLET
   --------------------------------------------------------- */

@media (max-width:1100px){
  .login-shell{
    padding:64px 20px;
  }

  .login-wrap{
    width:min(980px,100%);
    grid-template-columns:minmax(400px,480px) minmax(0,1fr);
    gap:22px;
  }

  .login-card h1{
    font-size:clamp(38px,4.5vw,52px);
  }

  .login-side{
    padding:28px;
  }
}

@media (max-width:900px){
  .login-shell{
    min-height:auto;
    padding:56px 18px;
  }

  .login-wrap{
    width:min(560px,100%);
    grid-template-columns:1fr;
  }

  .login-side{
    display:none;
  }

  .login-card h1{
    max-width:100%;
    font-size:clamp(36px,7vw,48px);
  }
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width:560px){
  .login-shell{
    padding:40px 14px;
  }

  .login-card{
    border-radius:22px;
  }

  .login-bar{
    grid-template-columns:1fr auto;
    gap:10px;
    min-height:0;
    padding:14px 17px;
  }

  .login-dots{
    display:none;
  }

  .login-bar strong{
    font-size:12px;
  }

  .login-bar small{
    font-size:10px;
  }

  .login-inner{
    padding:24px 20px 22px;
  }

  .login-pill{
    min-height:31px;
    padding:0 11px;
    font-size:10px;
  }

  .login-card h1{
    margin-top:16px;
    font-size:clamp(32px,9.5vw,40px);
    line-height:1.04;
    letter-spacing:-.045em;
  }

  .login-muted{
    margin-bottom:23px;
    font-size:15px;
    line-height:1.6;
  }

  .login-field-head{
    align-items:flex-start;
  }

  .login-field label{
    font-size:12px;
  }

  .login-forgot{
    font-size:11.5px;
  }

  .login-field input{
    min-height:56px;
    font-size:16px;
  }

  .login-submit{
    min-height:56px;
    font-size:15px;
  }

  .login-trust{
    grid-template-columns:1fr;
    gap:8px;
  }

  .login-trust span{
    min-height:40px;
    justify-content:flex-start;
    padding:0 13px;
    font-size:12px;
  }

  .login-bottom{
    font-size:13px;
  }
}

@media (max-width:380px){
  .login-shell{
    padding-inline:10px;
  }

  .login-inner{
    padding-inline:17px;
  }

  .login-field-head{
    display:grid;
    gap:5px;
  }

  .login-forgot{
    white-space:normal;
  }
}

@media (prefers-reduced-motion:reduce){
  .login-submit{
    transition:none;
  }

  .login-submit:hover{
    transform:none;
  }
}
