:root{
  --muted: #8d98a6;
  --muted-2: #5f6a77;
  --accent: #c0c0c0;
  --hover-accent: #2c2c2c;
  --bg: #ffffff;
  --font: "Helvetica Neue", Arial, sans-serif;
}

/* =========================
   Reset + Base
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: var(--font);
  background-color:#fff;
  color:#111827;
}

/* =========================
   Container
========================= */
.container{
  display:flex;
  flex-direction:column;
  align-items:center;
  max-width:420px;
  width:100%;
  padding:2rem 1rem;
  margin:0 auto;
  text-align:left; /* ✅ signup jaisa */
}

.logo{
  width:48px;
  margin-bottom:1.5rem;
  display:block;
}

h1{
  font-size:1.6rem;
  font-weight:700;
  margin-bottom:0.25rem;
  color:#111827;
}

.subtext{
  font-size:0.95rem;
  color:#6b7280;
  margin-bottom:1.4rem;
  font-style: italic; /* ✅ signup jaisa */
}

/* =========================
   Form
========================= */
form{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:1.15rem;
}

label{
  font-size:0.9rem;
  font-weight:600;
  margin-bottom:0.35rem;
  display:inline-block;
  color:#111827;
}

input{
  width:100%;
  padding:0.72rem;
  font-size:0.95rem;
  border:1px solid #d1d5db;
  border-radius:8px;
  transition:border-color .12s ease, box-shadow .12s ease;
  background:#fff;
  color:#111827;
}

input::placeholder{
  color:#9ca3af;
}

input:focus{
  outline:none;
  border-color:#111827;
  box-shadow:0 0 0 4px rgba(17,24,39,0.04);
}

.input-error{
  border-color:#ef4444 !important;
  box-shadow:0 0 0 4px rgba(239,68,68,0.06);
}

.error{
  display:none;
  color:#ef4444;
  font-size:0.82rem;
  margin-top:0.3rem;
}

/* =========================
   Password Toggle (Lucide)
========================= */
.password-wrapper{
  position:relative;
}

/* ✅ LUCIDE ICON SUPPORT FIX (signup same) */
.toggle-eye{
  position:absolute;
  top:50%;
  right:12px;
  transform:translateY(-50%);
  cursor:pointer;
  color:#6b7280;
  user-select:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:8px;
  transition: background .12s ease, color .12s ease;
}

/* space for icon */
.password-wrapper input{
  padding-right:3.2rem;
}

.toggle-eye svg{
  width:20px;
  height:20px;
  stroke-width:2;
}

.toggle-eye:hover{
  color:#111827;
  background: rgba(17,24,39,0.02);
}

/* disable ugly focus ring */
.toggle-eye:focus{
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}

.toggle-eye:focus-visible{
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}

/* =========================
   Options (Remember + Forgot)
========================= */
.options{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:0.9rem;
  margin-top:-0.2rem; /* ✅ signup vibe */
}

.options label{
  display:flex;
  align-items:center;
  font-weight:400;
  cursor:pointer;
  margin:0;
  color:#111827;
}

.options input[type="checkbox"]{
  margin-right:6px;
  width:auto;
}

.options a{
  text-decoration:none;
  color:#111827;
  font-weight:500;
  transition:color 0.3s ease;
}

.options a:hover{
  text-decoration:underline;
}

/* =========================
   Button
========================= */
.btn-submit{
  margin-top:0.6rem;
  width:100%;
  padding:0.9rem;
  font-size:1rem;
  background:linear-gradient(180deg,#111827 0%, #0b1220 100%);
  color:#fff;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  box-shadow:0 6px 20px rgba(2,6,23,0.35), inset 0 -3px 8px rgba(255,255,255,0.03);
}

.btn-submit:hover{
  opacity:0.95;
}

/* =========================
   Register text
========================= */
.register-text{
  margin-top:1.1rem;
  font-size:0.95rem;
  color:#6b7280;
}

.register-text a{
  color:#111827;
  font-weight:600;
  text-decoration:none;
}

.register-text a:hover{
  text-decoration:underline;
}

/* Screen reader only */
.sr-only{
  position:absolute !important;
  height:1px;
  width:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
  border:0;
  padding:0;
  margin:-1px;
}


/*-------- Footer --------- */

footer a{
  color:var(--muted);
  text-decoration:none;
}

footer a:hover{
  color:var(--hover-accent);
}

.site-footer{
  border-top:1px solid #f2f3f4;
  padding:56px 18px;
  background:var(--bg);
  width:100%;
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:32px;
  flex-wrap:wrap;
}

.col-left{
  flex:0 0 220px;
  display:flex;
  flex-direction:column;
  gap:20px;
  color:var(--muted);
  font-size:15px;
  min-width:160px;
}

.brand{
  font-weight:600;
  color:var(--muted-2);
  font-size:15px;
  letter-spacing:0.2px;
}

.socials{
  display:flex;
  gap:16px;
  align-items:center;
}

.socials a{
  color:var(--muted);
  transition:0.3s;
  display:inline-flex;
  align-items:center;
}

.socials a:hover{
  color:var(--hover-accent);
}

.socials i{
  font-size:20px;
}

/* LUCIDE icons size for footer */
.socials svg{
  width:20px;
  height:20px;
  stroke-width:2;
}

/* ✅ wrapper (replaces inline margin-top) */
.footer-location-wrap{
  margin-top:10px;
}

.location{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:15px;
  margin-left:14px;
}

/* location icon lucide */
.location svg{
  width:16px;
  height:16px;
  stroke-width:2;
  transform: rotate(-18deg);
}

.footer-left-bottom{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}

.lang{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:14px;
  cursor:pointer;
  user-select:none;
  margin-top:12px;
}

.lang svg{
  width:16px;
  height:16px;
  stroke-width:2;
}

.lang-dropdown{
  position:absolute;
  left:0;
  bottom:calc(100% + 10px);
  background:#fff;
  border:1px solid #e6e9eb;
  border-radius:10px;
  box-shadow:0 12px 30px rgba(16,24,40,0.08);
  padding:8px 0;
  display:none;
  flex-direction:column;
  min-width:220px;
  max-height:320px;
  overflow-y:auto;
  z-index:1000;
  transform-origin: bottom center;
  transform: translateY(8px) scale(0.98);
  opacity:0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.lang-dropdown.show{
  display:flex;
  transform: translateY(0) scale(1);
  opacity:1;
}

.lang-item{
  padding:10px 14px;
  font-size:15px;
  color:#222;
  cursor:pointer;
  white-space:nowrap;
}

.lang-item:hover{
  background:var(--hover-accent);
  color:#fff;
}

.links-row{
  flex:1 1 auto;
  display:flex;
  gap:56px;
  align-items:flex-start;
  flex-wrap:wrap;
  padding-top:2px;
}

.link-group{
  min-width:160px;
  max-width:230px;
  display:flex;
  flex-direction:column;
  gap:12px;
  font-size:14px;
}

.link-group li{
  list-style:none;
  margin:0;
  padding:0;
}

.link-group a{
  color:var(--muted);
  text-decoration:none;
  line-height:1.8;
}

.link-group a:hover{
  color:var(--hover-accent);
}

/* Responsive Footer */
@media (max-width:768px){
  .site-footer{
    padding:36px 14px;
  }

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

  .col-left{
    flex:0 0 100%;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    gap:12px;
  }

  .links-row{
    width:100%;
    gap:24px;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .link-group{
    min-width:45%;
    max-width:48%;
  }

  .lang-dropdown{
    bottom:auto;
    top:calc(100% + 10px);
    transform-origin: top center;
  }
}

@media (max-width:441px){
  .site-footer{
    padding:24px 10px;
  }

  .col-left{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .links-row{
    flex-direction:column;
    gap:16px;
  }

  .link-group{
    min-width:100%;
    max-width:100%;
  }
}

