/* === LOGIN PAGE FINAL (Clean Centered Logo) === */
body {
  background-color: #f4f6f9;
  font-family: 'Inter', sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container utama */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
}

/* Card */
.login-card {
  background: #fff;
  padding: 48px 36px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
  transition: all 0.3s ease;
  position: relative;
}

/* === LOGO SECTION === */
.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.login-logo {
  display: block;
  width: 100%;
  max-width: 130px; /* ukuran ideal logo */
  height: auto;
  margin: 0 auto 12px; /* center + jarak bawah */
  object-fit: contain;
  transition: transform 0.25s ease-in-out, opacity 0.25s;
  opacity: 0.95;
}

.login-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

.login-header h4 {
  font-weight: 700;
  color: #007bff;
  margin-bottom: 4px;
}

.login-header p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* === FORM SECTION === */
.form-label {
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

.form-control {
  border-radius: 10px;
  height: 45px;
  border: 1px solid #d1d1d1;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #0095f6;
  box-shadow: 0 0 0 3px rgba(0,149,246,0.15);
  outline: none;
}

/* Tombol login */
.btn-primary {
  border-radius: 10px;
  background-color: #0095f6;
  border-color: #0095f6;
  font-weight: 600;
  padding: 12px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.btn-primary:hover {
  background-color: #0078cc;
  border-color: #0078cc;
  transform: translateY(-1px);
}

/* === ALERT ERROR === */
.alert {
  background: #ffeaea;
  color: #b10000;
  border: 1px solid #f0caca;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  margin-bottom: 15px;
  font-size: 14px;
}

/* === FOOTER === */
.login-footer {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 24px;
}

.login-footer hr {
  border-top: 1px solid #e0e0e0;
  margin: 20px auto;
  width: 70%;
}

a.text-primary,
a.text-decoration-none {
  color: #0095f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

a.text-primary:hover,
a.text-decoration-none:hover {
  color: #0078cc !important;
}

/* === RESPONSIVE MODE === */
@media (max-width: 768px) {
  .login-card {
    padding: 36px 28px;
    border-radius: 12px;
  }

  .login-logo {
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  body {
    background-color: #f9fafc;
  }
  .login-card {
    padding: 30px 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  .login-logo {
    max-width: 85px;
    margin-bottom: 10px;
  }
}
