/* ===============================
   LOGIN PAGE STYLES
   =============================== */

/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Latar belakang login */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066cc, #00a3cc);
  background: url('../images/bg-login.jpg') no-repeat center center/cover;
  padding: 40px 20px;
}

/* Kotak login */
.login-box {
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  padding: 35px 30px;
  animation: fadeInUp 0.6s ease-out;
}

/* Animasi */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Judul */
.login-box h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Input field */
.login-box .form-group {
  margin-bottom: 18px;
}

.login-box label {
  display: block;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}

.login-box input[type="email"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.login-box input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.15);
}

/* Tombol login */
.login-box button {
  width: 100%;
  background: #ff9900;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-box button:hover {
  background: #e68a00;
}

/* Link tambahan */
.login-box p {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #444;
}

.login-box a {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
}

.login-box a:hover {
  text-decoration: underline;
}

/* Alert messages */
.alert {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

.alert.error {
  background: #ffe5e5;
  color: #d9534f;
  border: 1px solid #d9534f;
}

.alert.success {
  background: #e6ffed;
  color: #28a745;
  border: 1px solid #28a745;
}

/* Responsif */
@media (max-width: 480px) {
  .login-box {
    padding: 25px 20px;
  }

  .login-box h2 {
    font-size: 1.6rem;
  }
}
