/* ==========================
   GLOBAL RESET (IMPORTANT)
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

/* ==========================
   LOGIN WRAPPER
========================== */
.login-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto;
  padding: 12px;
  display: flex;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid #f8bbd0;
  background: #fff;
}

/* ==========================
   IMAGE SECTION
========================== */
.login-wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* ==========================
   FORM SECTION
========================== */
.login-form {
  width: 100%;
  padding: 8px;
}

/* ==========================
   HEADING
========================== */
.form-heading {
  text-align: center;
  margin-bottom: 16px;
}

.form-heading h3 {
  font-size: 18px;
  color: #e91e8f;
}

.form-heading p {
  font-size: 12px;
  color: #666;
}

/* ==========================
   FORM FIELDS
========================== */
fieldset {
  border: none;
  margin-bottom: 12px;
  padding: 0;
}

label {
  font-size: 12px;
  margin-bottom: 4px;
  display: block;
  color: #444;
}

/* input wrapper */
.input-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.input-box i {
  font-size: 13px;
  color: #e91e8f;
  flex-shrink: 0;
}

.inp {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: #333;
}

/* hide password reveal */
input[type="password"]::-webkit-reveal,
input[type="password"]::-ms-reveal {
  display: none;
}

/* eye icon */
#fa_eye {
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================
   BUTTON
========================== */
.btn {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin-top: 8px;
  border-radius: 6px;
  border: none;
  background: #e91e8f;
  color: #fff;
  cursor: pointer;
}

/* ==========================
   LINKS
========================== */
.forgot-section {
  text-align: center;
  margin-top: 10px;
}

.forgot-section a {
  font-size: 12px;
  color: #e91e8f;
  text-decoration: none;
}

.or {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0;
  font-size: 12px;
  color: #999;
}

.or hr {
  flex: 1;
  border: none;
  border-top: 1px solid #ddd;
}

.have-account {
  text-align: center;
  font-size: 12px;
}

.have-account a {
  color: #e91e8f;
  font-weight: 600;
  text-decoration: none;
}

/* ==========================
   RESPONSIVE BREAKPOINTS
========================== */

/* Hide image early to prevent overflow */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
  }

  .login-wrapper img {
    display: none;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .login-wrapper {
    padding: 8px;
    gap: 8px;
  }

  .login-form {
    padding: 6px;
  }

  .input-box {
    padding: 6px;
  }

  .btn {
    font-size: 13px;
    padding: 8px;
  }
}

/* ULTRA SMALL (250px SAFE) */
@media (max-width: 280px) {
  .form-heading h3 {
    font-size: 16px;
  }

  .inp {
    font-size: 12px;
  }

  .btn {
    font-size: 12px;
    padding: 7px;
  }
}
