/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1d2671, #edc68f);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #333;
}

/* CONTAINER */
.container {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.6s ease;
}

h1 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: #1d2671;
}

/* FORM */
.cek-form {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.cek-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.cek-form input:focus {
  outline: none;
  border-color: #1d2671;
}

.cek-form button {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #1d2671;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.cek-form button:hover {
  background: #151b50;
}

/* RESULT BOX */
.result {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  animation: slideUp 0.5s ease;
}

.result h2 {
  margin-bottom: 10px;
}

.result p {
  font-size: 15px;
  line-height: 1.6;
}

/* STATUS COLOR */
.result.lulus {
  background: #e8fff2;
  border: 1px solid #2ecc71;
  color: #1e8449;
}

.result.gagal {
  background: #fff3f3;
  border: 1px solid #e74c3c;
  color: #922b21;
}

.result.info {
  background: #f0f4ff;
  border: 1px solid #3498db;
  color: #1b4f72;
}

/* BUTTON */
.result .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.result .btn:hover {
  background: #1ebe5d;
}

.btn {
  display:block;
  margin-top:10px;
  padding:12px;
  background:#25D366;
  color:white;
  text-align:center;
  border-radius:6px;
  text-decoration:none;
  font-weight:bold;
}

.btn-unit {
  background:#0057e7;
}


/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  .cek-form {
    flex-direction: column;
  }

  .cek-form button {
    width: 100%;
  }
}
