*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

::-webkit-scrollbar {
  display: none;
}

/* Gaya dasar untuk alert */
.alert {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: 100%;
  padding: 15px 20px;
  background-color: #369139; /* Warna hijau untuk sukses */
  color: white;
  font-size: 16px;
  font-family: Arial, sans-serif;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Tersembunyi secara default */
.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  pointer-events: none;
}

/* Tombol close */
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Gaya untuk jenis notifikasi lainnya */
.alert.success {
  background-color: #4caf50; /* Hijau */
}

.alert.error {
  background-color: #f44336; /* Merah */
}

.alert.info {
  background-color: #2196f3; /* Biru */
}

.alert.warning {
  background-color: #ff9800; /* Oranye */
}

.judul {
  margin-bottom: 15px;
}

.container {
  max-width: 700px;
  margin: auto;
  padding: 20px 20px 50px 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  font-weight: bold;
}

.input-group textarea,
.input-group input {
  width: -webkit-fill-available;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  margin: 10px 5px 0 0;
  padding: 10px 15px;
  width: 100%;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #004997;
}

button.reset {
  background-color: #dc3545;
}

button.reset:hover {
  background-color: #a01c2a;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  padding: 10px;
  margin-top: 5px;
  width: 100%;
}
footer {
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background-color: #fff;
  font-size: 14px;
}
hr {
  margin-bottom: 20px;
}
