/* Global */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: flex;
  width: 90%;
  max-width: 1100px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Left Section */
.login-section {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.logo img {
  width: 140px;
  margin: 0 auto 20px;
  display: block;
}

.form-container {
  margin-top: 10px;
}

.form-container h2 {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 24px;
  color: #222;
  text-align: center;
}

.subtitle {
  margin-bottom: 20px;
  color: #777;
  font-size: 14px;
  text-align: center;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.password-container {
  position: relative;
}

.password-container input {
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #666;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #0066ff;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #004ecc;
}

/* Contact Info */
.contact-info {
  margin-top: 30px;
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

.contact-info h4 {
  margin-bottom: 8px;
  font-weight: 600;
  color: #222;
}

/* Right Section */
.illustration-section {
  flex: 1;
  background: linear-gradient(135deg, #1f3c88, #3a60c0);
  color: white;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.poster img {
  width: 85%;
  max-width: 380px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.illustration-section h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.illustration-section p {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.learn-more {
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 10px;
  background: transparent;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-more:hover {
  background: white;
  color: #1f3c88;
}

/* ---------------- Smartphone Responsive ---------------- */
@media (max-width: 768px) {
  body {
    height: auto;
    padding: 20px;
    align-items: flex-start;
  }

  .container {
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
  }

  /* Keep login (logo+form) above, poster below */
  .login-section {
    padding: 25px 20px;
    text-align: center;
    order: 1;
  }

  .illustration-section {
    padding: 20px;
    order: 2;
  }

  .logo img {
    width: 120px;
    margin-bottom: 15px;
  }

  input {
    font-size: 15px;
    padding: 14px;
  }

  button {
    font-size: 15px;
    padding: 14px;
  }

  .poster img {
    width: 100%;
    max-width: 300px;
  }
}
