*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}

html,body{
    overflow-x: hidden;
    background-color:#0FB2BE  ;
     font-family: 'Monstserrat',sans-serif;
}

.sertifikat{
      margin-top: 8%;
    padding-left: 120px;
    padding-right: 120px;
    margin-bottom: 100px;
    
}

.container-sertifikat{
    border: 1px solid black;
    border-radius: 30px;
    background-color: #f5f5f5;
    padding-bottom: 10%;
    
}

.header-sertifikat{
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 32px;
    padding-top: 20px;
    padding-bottom: 10px;
}

.header-sertifikat h2{
    font-weight: 400;
    padding-left: 10px;
    padding-top: 25px;
    font-family: 'Monstserrat',sans-serif;
}

.container-sertifikat hr{
   height: 3px;
   background-color: black;
}

.deskripsi-sertifikat{
    font-size: 16px;
    padding: 20px 60px;
    
}
.deskripsi-sertifikat p{
    font-family: 'Monstserrat',sans-serif;
}

.informasi-sertifikat{
    justify-content: center;
    text-align: center;
    padding-top: 20px;

}

.informasi-sertifikat p {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 16px;
    color: #001314;
    font-family: 'Monstserrat',sans-serif;
}

/* Input umum */
select.input-field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #B0B0B0;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23222' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 26px center;
  background-size: 12px;


}

.input-field,
.dropdown-input {
  width: 100%;
  max-width: 800px;
  padding: 16px 20px;
  margin-bottom: 16px;
  border: none;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #333;
  outline: none;
  text-align: left;
  box-sizing: border-box;
}

.input-field::placeholder,
.dropdown-input::placeholder {
  color: #B0B0B0;
}

/* Khusus input dropdown + icon */
.dropdown-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.dropdown-input {
  width: 100%;
  padding: 16px 40px 16px 20px;
  border-radius: 16px;
  border: none;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #333;
  outline: none;
  box-sizing: border-box;
}

.icon-filter {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  cursor: pointer;
  opacity: 0.6;
}

.dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #e4e0df;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  padding: 10px 5px;
  margin-top: 8px;
  width: max-content;
  max-width: 160px;
  z-index: 10;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
}

.dropdown-list.show {
  display: flex;
}

.dropdown-list li {
  list-style: none;
  border: 1.5px solid #333;
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 10px;
  background-color: white;
  cursor: pointer;
}

.dropdown-list li.lebar-penuh {
  /* flex-basis: 100%; */
  text-align: center;
}
.btn-periksa {
  position: relative;
  padding: 10px 20px;
  background-color: #ffffff;
  border: 2px solid #264e52;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 600;
  color: #264e52;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  z-index: 1;
}

.btn-periksa::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 0;
  background-color: #264e52;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-periksa:hover::before {
  height: 500%;
}

.btn-periksa:hover {
  color: #ffffff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  border-color: transparent;
}

@media (max-width: 768px) {
  .sertifikat {
    margin-top: 12%;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 60px;
  }

  .container-sertifikat {
    border-radius: 20px;
    padding-bottom: 60px;
  }

  .header-sertifikat {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    padding: 20px 0;
  }

  .header-sertifikat img {
    width: 50px;
    height: auto;
  }

  .header-sertifikat h2 {
    padding-left: 0;
    padding-top: 10px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
  }

  .container-sertifikat hr {
    height: 2px;
    margin: 0 20px;
  }

  .deskripsi-sertifikat {
    font-size: 14px;
    padding: 20px;
    text-align: center;
  }

  .deskripsi-sertifikat p {
    font-family: 'Montserrat', sans-serif;
  }

  .informasi-sertifikat {
    padding: 20px;
    text-align: center;
  }

  .informasi-sertifikat p {
    font-size: 14px;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
  }

  .btn-periksa {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    padding: 12px 16px;
  }

  .input-field,
  .dropdown-input {
    max-width: 100%;
    font-size: 14px;
    padding: 14px 16px;
  }

  .dropdown-wrapper {
    max-width: 100%;
  }

  .dropdown-list {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .dropdown-list li {
    font-size: 10px;
    padding: 6px 10px;
  }
}
