/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* === BACKGROUND === */
body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #004d8c, #0072bb);
  background-attachment: fixed;
}

/* === LOGIN CONTAINER === */
.login-container {
  background: #ffffff;
  width: 380px;
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

/* === LOGO SECTION === */
.logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.logo h2 {
  font-size: 1.5em;
  color: #004d8c;
  margin-bottom: 30px;
}

.logo h2 span {
  color: #d2232a; /* warna merah kecil dari logo */
  font-weight: 700;
}

/* === INPUT GROUP === */
.input-group {
  text-align: left;
  margin-bottom: 20px;
}

.input-group label {
  font-weight: 600;
  font-size: 0.95em;
  color: #333;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #cfd8dc;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 1em;
  transition: all 0.3s ease;
}

.input-group input:focus {
  border-color: #0072bb;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 114, 187, 0.4);
}

/* === BUTTON === */
.btn-login {
  width: 100%;
  padding: 12px;
  background: #0072bb;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1em;
  transition: 0.3s;
}

.btn-login:hover {
  background: #004d8c;
  transform: scale(1.02);
}

/* === ERROR MESSAGE === */
.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 15px;
}

/* === ANIMATION === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
