/* =========================
   LOGIN PAGE BACKGROUND
   Desktop = image
========================= */

.login-wrapper{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;

  /* DESKTOP BACKGROUND IMAGE */
  background: url("/assets/img/bg.jpg") no-repeat center center fixed;
  background-size: cover;

  padding:20px;
}


/* =========================
   MOBILE ONLY (gradient lama)
========================= */

@media (max-width:768px){
  .login-wrapper{
    background: linear-gradient(135deg,#1e3a8a,#0f172a);
  }
}


/* =========================
   CARD
========================= */

.login-card{
  width:95%;
  max-width:620px;
  background:#fff;
  padding:40px;
  border-radius:18px;
  box-shadow:0 15px 40px rgba(0,0,0,0.25);
}


/* =========================
   LOGO AREA
========================= */

.login-logo{
  text-align:center;
  margin-bottom:26px;
}

.login-logo img{
  width:95px;
  margin-bottom:12px;
}


/* Majlis title */
.login-title{
  font-size:24px;
  font-weight:700;
  color:#111827;
  white-space:nowrap;
}


/* Sub title */
.login-org{
  font-size:14px;
  color:#6b7280;
  margin-top:4px;
}


/* =========================
   FORM
========================= */

.login-form input{
  width:100%;
  padding:13px 14px;
  margin-bottom:16px;
  border-radius:8px;
  border:1px solid #cbd5e1;
  font-size:14px;
}

.login-form input:focus{
  outline:none;
  border-color:#2563eb;
}


/* =========================
   BUTTON
========================= */

.login-btn{
  width:100%;
  padding:13px;
  font-size:15px;
  border-radius:8px;
  margin-top:6px;
}


/* =========================
   LINKS
========================= */

.forgot{
  text-align:center;
  margin-top:14px;
  font-size:13px;
}

.forgot a{
  color:#2563eb;
}

.forgot a:hover{
  text-decoration:underline;
}


/* =========================
   PASSWORD EYE
========================= */

.password-wrapper{
  position:relative;
  width:100%;
}

.password-wrapper input{
  padding-right:45px;
}

.toggle-eye{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  cursor:pointer;
  opacity:0.7;
}

.toggle-eye:hover{
  opacity:1;
}


/* =========================
   REMOVE BROWSER DEFAULT EYE
========================= */

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear{
  display:none;
}

input[type="password"]{
  appearance:none;
  -webkit-appearance:none;
}


/* =========================
   FOOTER (INSIDE CARD)
========================= */

.login-footer{
  margin-top:18px;
  padding-top:10px;
  border-top:1px solid #e5e7eb;

  text-align:center;
  font-size:11px;
  color:#9ca3af;

  white-space:nowrap;
}


/* =========================
   MOBILE LAYOUT TWEAK
========================= */

@media (max-width:480px){

  .login-card{
    padding:26px;
  }

  .login-title{
    font-size:18px;
    white-space:normal;
  }

  .login-org{
    font-size:12px;
  }

  .login-footer{
    font-size:10px;
  }
}
