body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 40px 0;
  min-height: 100vh;
  background: linear-gradient(120deg, #023b6d, #1565c0);
  display: block;
  justify-content: center;
  align-items: center;
}

.login-container {
  margin: 0 auto;
  width: 96vw;
  max-width: 1100px;
  min-height: 540px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  display: flex;
}

.image-section {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f7fc;
}
.image-section img {
  width: 95%;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.17);
  object-fit: contain;
}
.form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fff, #f7faff);
}
.login-card {
  width: 95%;
  max-width: 410px;
  text-align: center;
  padding: 36px 30px 30px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(2, 59, 109, 0.09);
  margin: auto;
}
.logo {
  width: 220px;
  margin-bottom: 25px;
}
h2 {
  font-weight: 600;
  color: #023b6d;
  font-size: 22px;
  margin-bottom: 8px;
  white-space: nowrap;
}
h2 span {
  color: #0356a8;
}
.subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}
.input-group {
  text-align: left;
  margin-bottom: 20px;
  position: relative;
}
.input-group label {
  display: block;
  color: #023b6d;
  font-weight: 500;
  margin-bottom: 6px;
}
.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  background-color: #f9f9f9;
  font-size: 14px;
  transition: all 0.25s;
}
.input-group input:focus {
  border-color: #023b6d;
  box-shadow: 0 0 6px rgba(2, 59, 109, 0.21);
  outline: none;
}
.password-field {
  position: relative;
}
.password-field .forgot {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 13px;
  color: #1565c0;
  text-decoration: none;
}
.password-field .forgot:hover {
  text-decoration: underline;
}
.btn-login {
  width: 100%;
  background: linear-gradient(90deg, #023b6d, #0356a8);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 5px 10px rgba(2, 59, 109, 0.13);
}
.btn-login:hover,
.btn-login:focus {
  background: linear-gradient(90deg, #0356a8, #0477d1);
  transform: translateY(-1px);
  box-shadow: 0 7px 17px rgba(2, 59, 109, 0.18);
  outline: none;
}
.footer-text {
  font-size: 12px;
  color: #888;
  margin-top: 25px;
}

/* --- Responsive: Tablet, Small Laptop, Mobile, etc --- */
@media (max-width: 800px) {
  .login-container {
    flex-direction: column;
    min-height: unset;
    max-width: 97vw;
    margin: 24px auto;
    border-radius: 13px;
    box-shadow: 0 4px 13px rgba(2, 59, 109, 0.09);
  }

  .image-section {
    display: none !important;
  }

  .form-section {
    flex: unset;
    width: 100%;
    min-width: 0;
    justify-content: center;
    background: #fff;
    padding: 22px 0 16px 0;
  }

  .login-card {
    width: 100%;
    max-width: 350px;
    padding: 24px 7vw 14px 7vw;
    border-radius: 13px;
    box-shadow: 0 3px 9px rgba(2, 59, 109, 0.08);
  }

  .logo {
    width: 160px;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 17px;
  }

  .btn-login {
    font-size: 14px;
    padding: 10px;
  }

  .footer-text {
    font-size: 10px;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .login-card {
    max-width: 95vw;
    padding: 11px 3vw 12px 3vw;
  }
  .logo {
    width: 110px;
    margin-bottom: 8px;
  }
}

.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50px;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.8;
}

.toggle-password:hover {
  opacity: 1;
}
