
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY (NO BG, PURE WHITE) */
body {
  height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: #fff;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTAINER */
.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* LOGIN BOX */
.login-box {
  width: 380px;
  padding: 35px;

  background: #fff;
  border-radius: 12px;

  border: 1px solid #e5e7eb;

  /* 🔥 SOFT PREMIUM SHADOW */
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.08);

  text-align: center;
  color: #000;
}

/* HEADING */
.login-box h2 {
  margin-bottom: 6px;
  font-weight: 600;
  color: #111;
}

.subtitle {
  font-size: 13px;
  margin-bottom: 25px;
  color: #666;
}

/* INPUT GROUP */
.input-group {
  position: relative;
  margin-bottom: 22px;
}

/* ICON */
.input-group i {
  position: absolute;
  left: 12px;
  top: 13px;
  color: #888;
}

/* INPUT */
.input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;

  border-radius: 8px;
  border: 1px solid #ddd;

  background: #fff;
  color: #000;
  font-size: 14px;
}

/* FOCUS */
.input-group input:focus {
  border: 1px solid #333;
  outline: none;
}

/* PLACEHOLDER */
::placeholder {
  color: #999;
}

/* ERROR */
.error {
  display: block;
  min-height: 16px;
 

  font-size: 12px;
  color: #dc2626;

  text-align: left;   /* 🔥 FIX (important) */
}

/* BUTTON */
.login-btn {
  width: 100%;
  padding: 12px;

  border-radius: 8px;
  border: none;

  background: #000;
  color: #fff;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: 0.3s;
}

/* HOVER */
.login-btn:hover {
  background: #333;
}

/* RESPONSIVE */
@media(max-width: 420px){
  .login-box {
    width: 90%;
    padding: 25px;
  }
}

/* INPUT GROUP */
.input-group {
  position: relative;
  margin-bottom: 10px; 
}

/* ERROR */
.error {
  display: block;
  min-height: 16px;
  margin-top: 3px;

  font-size: 12px;
  color: #dc2626;
  text-align: left;
}

/* OPTIONS ROW */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 10px;
  margin-bottom: 20px;
}

/* REMEMBER */
.remember {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* CHECKBOX */
.remember input {
  accent-color: #000;
}

/* FORGOT */
.forgot {
  font-size: 13px;
  color: #000;
  text-decoration: none;
}

.forgot:hover {
  text-decoration: underline;
}

.back-to-login {
  margin-top: 15px;
  text-align: center;
}

.back-to-login a {
  text-decoration: none;
  color: black;
  font-size: 14px;
}

.back-to-login a:hover {
  text-decoration: underline;
}

.auth-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
    padding: 5px;
    background: #f9fafb;   
}