* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #212529;
}

/* Background */
.login-page {
  min-height: 100vh;
  padding: 20px 12px;
  background: linear-gradient(120deg, #28477f 0%, #355fa8 50%, #78a5ff 100%);
}

/* Card kecil */
.login-card {
  width: 100%;
  max-width: 390px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Logo */
.logo-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #3559a8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box i {
  color: #ffffff;
  font-size: 26px;
}

/* Heading */
.login-title {
  font-size: 26px;
  font-weight: 800;
  color: #1f1f1f;
  margin-top: 14px !important;
}

.login-subtitle {
  font-size: 14px;
  color: #6c757d;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Kurangi jarak bawaan Bootstrap */
form.mt-5 {
  margin-top: 24px !important;
}

.mb-4 {
  margin-bottom: 16px !important;
}

.mb-5 {
  margin-bottom: 22px !important;
}

.mt-4 {
  margin-top: 18px !important;
}

.mt-5 {
  margin-top: 24px !important;
}

/* Label */
.form-label {
  font-size: 14px;
  color: #30363d;
  margin-bottom: 6px;
}

/* Input */
.custom-input {
  height: 42px;
}

.custom-input .input-group-text {
  width: 42px;
  background: #f8f9fa;
  border-color: #d9dee3;
  font-size: 16px;
  justify-content: center;
  padding: 0;
}

.custom-input .form-control {
  height: 42px;
  font-size: 14px;
  color: #333333;
  border-color: #d9dee3;
  padding-left: 12px;
}

.custom-input .form-control::placeholder {
  color: #5f6368;
}

.custom-input .form-control:focus {
  box-shadow: none;
  border-color: #3559a8;
}

.custom-input:focus-within .input-group-text {
  border-color: #3559a8;
}

/* Button mata */
.btn-eye {
  width: 42px;
  height: 42px;
  border: 1px solid #6c757d;
  border-left: 0;
  background: #ffffff;
  color: #6c757d;
  font-size: 16px;
  padding: 0;
}

.btn-eye:hover {
  background: #f8f9fa;
  color: #3559a8;
}

/* Checkbox */
.form-check-input {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  border-color: #cfd6dd;
}

.form-check-label {
  font-size: 14px;
  margin-left: 4px;
  color: #212529;
}

/* Link */
.forgot-link,
.back-link {
  color: #3559a8;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.forgot-link:hover,
.back-link:hover {
  text-decoration: underline;
}

/* Button login */
.btn-login {
  height: 44px;
  border-radius: 12px;
  border: none;
  background: #ffd44d;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.btn-login:hover {
  background: #f6c935;
  color: #ffffff;
}

/* Demo box */
.demo-box {
  background: #cff5fb;
  border: 1px solid #7ee3f0;
  border-radius: 8px;
  padding: 14px 16px;
  color: #064f5d;
}

.demo-box h5 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}

.demo-box p {
  font-size: 13px;
  margin-bottom: 4px;
}

.demo-box code {
  color: #e91e63;
  font-size: 13px;
}

/* Responsive HP */
@media (max-width: 480px) {
  .login-card {
    max-width: 340px;
    padding: 22px 18px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-subtitle {
    font-size: 13px;
  }

  .custom-input {
    height: 40px;
  }

  .custom-input .form-control {
    height: 40px;
    font-size: 13px;
  }

  .custom-input .input-group-text,
  .btn-eye {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .form-label,
  .form-check-label,
  .forgot-link,
  .back-link {
    font-size: 13px;
  }

  .btn-login {
    height: 42px;
    font-size: 14px;
  }
}