/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f4f4f4;
}

.container {
  background: white;
  padding-top: 30px;
  padding-bottom: 50px;
  padding-left: 30px;
  padding-right: 30px;
  width: 120%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

h2 {
  font-weight: bold;
  text-align: center;
  font-family: Poppins semibold;
}

h3 {
  margin-bottom: 30px;
  text-align: center;
  font-family: Poppins light;
}

label {
  display: block;
  margin: 15px 0 7px;
  font-weight: bold;
  text-align: left;
  font-family: Poppins regular;
}

input[type="number"],
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: Poppins regular;
}

p {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 14px;
  font-family: Poppins regular;
}

/* Style Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  background: #007bff;
  border-radius: 5px;
  outline: none;
  transition: background 0.3s;
}

/* Style untuk slider track */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #007bff;
  /* Warna track */
  border-radius: 5px;
}

/* Style untuk slider thumb (ikon yang digeser) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  /* Ukuran lebih kecil */
  height: 16px;
  /* Ukuran lebih kecil */
  background: #007bff !important;
  /* Warna biru */
  border-radius: 50%;
}

/* Hover */
input[type="range"]:hover::-webkit-slider-thumb {
  background: rgb(0, 0, 255);
}

input[type="range"]:hover::-moz-range-thumb {
  background: #0000ff;
}

/* Tombol */
button {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 30px;
  border: none;
  background: #007bff;
  color: rgb(255, 255, 255);
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background: #0057b5;
}

/* Responsif Mobile */
@media (max-width: 768px) {
  .container {
    width: 360px;
    /* Lebar tetap, tidak fleksibel */
    max-width: 100%;
    /* Supaya tidak melebihi layar */
    margin-top: 30px;
    margin-bottom: 30px;
    /* Tengah di layar */
    padding: 20px;
  }

  h2 {
    font-size: 20px;
    font-family: Poppins semibold;
  }

  label {
    font-size: 16px;
    font-family: Poppins light;
    margin-bottom: 2px;
  }

  input[type="number"],
  select {
    font-size: 16px;
    padding: 8px;
    font-family: Poppins regular;
  }

  input[type="range"] {
    height: 8px;
  }

  /* Style Slider */
  input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 7px;
    background: #007bff;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
  }

  /* Style untuk slider track */
  input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #007bff;
    /* Warna track */
    border-radius: 5px;
  }

  /* Style untuk slider thumb (ikon yang digeser) */
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    /* Ukuran lebih kecil */
    height: 16px;
    /* Ukuran lebih kecil */
    background: #007bff !important;
    /* Warna biru */
    border-radius: 50%;
  }

  /* Hover */
  input[type="range"]:hover::-webkit-slider-thumb {
    background: rgb(0, 0, 255);
  }

  input[type="range"]::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: -4px;
  }

  input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    margin-top: -4px;

  }

  button {
    font-size: 16px;
    padding: 10px;
    font-family: Poppins regular;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th,
td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.badge-dp {
  display: inline-block;
  background-color: #28a745;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  margin-top: 5px;
}