/* ===== GLOBAL STYLE ===== */
body {
  background-color: #f6f6f6;
  font-family: "Poppins", sans-serif;
  color: #1c2f48;
  margin: 0;
  padding: 0;
  height: 100vh;

  /* ✅ Membuat konten vertikal & horizontal di tengah */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 500px;
  width: 70%;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  color: #1c2f48;
  margin-bottom: 20px;
}

.logo {
  width: 80px;
  margin-bottom: 8px;
}

/* ===== JUDUL ===== */
h1, h2, h3 {
  margin: 4px 0;
}

/* .titleform {
  text-align: center;
  color: #1c2f48;
  font-size: 1.1rem;
  margin-top: 30px;
} */

/* ===== FORM ===== */
.form {
  display: flex;
  flex-direction: column;
  align-items: center; /* agar elemen di tengah */
  width: 100%;
  gap: 12px;
  margin-top: 40px;
}

label {
  font-weight: 600;
  font-size: 14px;
  color: #1c2f48;
  align-self: flex-start;
  margin-left: 10%;
}

select{
  width: 85%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

input{
  width: 80%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

/* ===== BUTTON ===== */
button {
  margin-top: 10px;
  background-color: #1c2f48;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  width: 50%;
}

button:hover {
  background-color: #233b5d;
}

/* ===== HASIL ===== */
.hasil {
  margin-top: 20px;
  background-color: #1c2f48;
  color: white;
  padding: 16px;
  border-radius: 8px;
  line-height: 1.6;
}

.hidden {
  display: none;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #666;
}
