body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #1a2b48 0%, #3498db 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.login-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  width: 340px;
  text-align: center;
  animation: fadeIn 0.6s ease;
}

.login-box h1 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
  color: #1a2b48;
}

.logo img {
  max-width: 90px;
  margin-bottom: 20px;
}

input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: #3498db;
}

button {
  width: 100%;
  padding: 12px;
  background: #3498db;
  font-size: 15px;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #217dbb;
}

.error {
  background: #ffe6e6;
  color: #b30000;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 14px;
}

.password-box {
  position: relative;
}

.password-box span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* ?? Animasi */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ?? Responsive Mobile */
@media (max-width: 480px) {
  .login-box {
    width: 90%;
    padding: 30px 20px;
  }

  input {
    width: 100%;
  }
}