/* === BASE STYLE === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb, #90caf9);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  display: flex;
  width: 900px;
  max-width: 95%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* === LEFT PANEL === */
.left {
  flex: 1;
  background: linear-gradient(135deg, #64b5f6, #1e88e5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  position: relative;
  padding: 40px 20px;
}

.left img {
  width: 150px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4))
          drop-shadow(0 0 25px rgba(255,255,255,0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.left img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 25px rgba(33,150,243,0.7))
          drop-shadow(0 0 25px rgba(255,255,255,0.4));
}

.left h2 {
  font-size: 2em;
  line-height: 1.3em;
  text-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

/* === RIGHT PANEL === */
.right {
  flex: 1;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h3 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #1565c0;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1976d2;
}

input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid #bbdefb;
  border-radius: 8px;
  outline: none;
  font-size: 1em;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #42a5f5;
  box-shadow: 0 0 6px rgba(66,165,245,0.4);
}

button {
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
  color: white;
  font-size: 1.1em;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(66,165,245,0.6);
}

.footer {
  margin-top: 20px;
  font-size: 0.9em;
  color: #555;
  text-align: center;
}

/* === CUSTOM ALERT BOX === */
#alertBox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  color: #0d47a1;
  font-weight: 600;
  padding: 25px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  text-align: center;
  z-index: 9999;
  opacity: 0;
  transition: all 0.6s ease;
}

#alertBox.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* === button eye show pass === */
.field-icon {
      float: right;
      margin-right: -15px;
      margin-top: -50px;
      position: relative;
      z-index: 2;
      cursor: pointer;
      color: #007bff;
    }
    .field-icon:hover {
    color: #0056b3;
  }
/* === RESPONSIVE STYLING === */
@media (max-width: 900px) {
  body {
    height: auto;
    padding: 40px 0;
  }

  .container {
    flex-direction: column;
    width: 95%;
    height: auto;
    border-radius: 16px;
  }

  .left {
    padding: 30px 20px;
  }

  .left img {
    width: 120px;
  }

  .left h2 {
    font-size: 1.6em;
  }

  .right {
    padding: 40px 25px;
  }

  h3 {
    font-size: 1.5em;
  }

  button {
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  .left {
    padding: 25px 15px;
  }

  .left img {
    width: 100px;
  }

  .left h2 {
    font-size: 1.4em;
  }

  .right {
    padding: 30px 20px;
  }

  input, button {
    font-size: 0.95em;
  }

  h3 {
    font-size: 1.3em;
  }

  .footer {
    font-size: 0.8em;
  }
}

@media (max-width: 400px) {
  .left img {
    width: 80px;
  }

  .left h2 {
    font-size: 1.2em;
  }

  .right {
    padding: 25px 15px;
  }

  input, button {
    font-size: 0.9em;
    padding: 10px;
  }
}
