body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #e9ecef;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 10px;
  margin: 0;
}

.form-container {
  background: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 450px;
  box-sizing: border-box;
}

h1 {
  text-align: left;
  margin-bottom: 5px;
  color: #343a40;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 8px;
}

label {
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 3px;
  display: block;
  color: #495057;
  font-size: 0.95rem;
}

input[type="text"],
select {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  box-sizing: border-box;
  font-size: 0.9rem;
  color: #343a40;
  background-color: #f8f9fa;
  transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

input[type="submit"] {
  background: #ced4da;
  color: #495057;
  border: none;
  cursor: not-allowed; /* Default to not-allowed */
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 15px;
  width: 100%;
  transition: background-color 0.2s ease, cursor 0.2s ease;
}

input[type="submit"]:enabled {
  background: #28a745; /* Green when enabled */
  color: white;
  cursor: pointer;
}

input[type="submit"]:enabled:hover {
  background: #218838; /* Darker green on hover when enabled */
}

.kodepos-box {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 5px;
}

.kodepos-box input {
  flex: 1;
  margin-bottom: 0;
}

.kodepos-box button {
  padding: 8px 12px;
  border: none;
  background: #343a40;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.kodepos-box button:hover {
  background: #212529;
}

.validation-msg {
  margin-top: -8px; /* Mengurangi jarak ke input di atasnya */
  margin-bottom: 10px; /* Jarak ke elemen berikutnya */
  font-weight: 400;
  font-size: 0.85rem;
  color: #dc3545; /* Merah untuk pesan error */
  display: block; /* Pastikan pesan selalu terlihat */
}


/* Styling untuk notifikasi sukses */
.success-notification {
  display: none; /* Sembunyikan secara default */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  border: 1px solid #28a745; /* Border hijau */
}

.success-icon {
  color: #28a745; /* Icon centang hijau */
  font-size: 3rem;
  margin-bottom: 15px;
}

.success-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #28a745; /* Teks BERHASIL hijau */
  margin-bottom: 10px;
}

.success-notification p {
  color: #343a40;
  font-size: 1rem;
  margin-bottom: 25px;
}

.lanjutkan-btn {
  background-color: #28a745; /* Tombol hijau */
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.lanjutkan-btn:hover {
  background-color: #218838; /* Darker green on hover */
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}