/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body, html {
  height: 100%;
  background-color: #f5f8fc;
}

/* Container Layout */
.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.logo-images {
  text-align: center;
  margin-bottom: 20px;
}


.logo {
  /* height: 70px; */
  border-radius: 8px;
  width: 240px;
}

/* Left Side */
.left-panel {
  flex: 1;
  background-color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-panel .illustration img {
  width: 80%;
  max-width: 550px;
  height: auto;
}

.illustration{
        width: -webkit-fill-available;
    height: -webkit-fill-available;
    display: contents;

}


/* Right Side */
.right-panel {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9fbfd;
  padding: 40px 20px;
}

/* Login Card */
.login-card {
  width: 100%;
  max-width: 440px;
  background: white;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.login-card h2 {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  margin-bottom: 10px;
}

.login-card p {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 30px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 6px;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #d0d7e2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;    /* <-- ADD THIS */
}

.input-group .icon {
  padding: 10px;
  background: #f0f4fa;
  font-size: 18px;
}

.input-group input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 14px;
}
.eye-icon {
  position: absolute;
  right: 10px;             /* icon inside the input field */
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  padding: 6px;
  border-radius: 4px;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* hover/focus affordance */
.eye-icon:hover,
.eye-icon:focus {
  background: rgba(0,0,0,0.04);
  outline: none;
}
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}

.options a {
  text-decoration: none;
  color: #2563eb;
}

.login-btn {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn:hover {
  background: #1e40af;
}

.message {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Shake animation for error feedback */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.4s;
}



/* ---------- RESPONSIVE DESIGN ---------- */

/* ✅ Extra Small Devices (Phones < 480px) */
@media (max-width: 480px) {
  .container {
    flex-direction: column;
  }

  .left-panel {
    display: none;
  }

  .login-card {
    width: 100%;
    padding: 30px 20px;
  }

  .login-card h2 {
    font-size: 18px;
  }

  .login-card p {
    font-size: 13px;
  }

  .login-btn {
    font-size: 14px;
  }
}

/* ✅ Small Devices (Phones 481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  .container {
    flex-direction: column;
  }

  .left-panel {
    display: none;
  }

  .login-card {
    width: 90%;
    max-width: 380px;
  }
}

/* ✅ Medium Devices (Tablets 601px - 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .left-panel {
    display: none;
  }

  .login-card {
    width: 80%;
    max-width: 420px;
  }
}

/* ✅ Large Tablets / Small Laptops (901px - 1200px) */
@media (min-width: 901px) and (max-width: 1200px) {
  .left-panel .illustration img {
    width: 70%;
  }

  .login-card {
    max-width: 420px;
  }
}

/* ✅ Large Desktops (1201px - 1600px) */
@media (min-width: 1201px) and (max-width: 1600px) {
  .login-card {
    max-width: 460px;
  }
}

/* ✅ Extra Large Screens (1600px+) */
@media (min-width: 1601px) {
  .left-panel .illustration img {
    max-width: 600px;
  }

  .login-card {
    max-width: 500px;
  }
}
