@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 30px 35px 30px;
  background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(145,227,211,1) 0%, rgba(0,255,184,1) 100%);
}

.qris-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px; /* Sesuaikan jarak sesuai kebutuhan */
}

.qris-container img {
  max-width: 100%; /* Pastikan gambar tidak melebihi container */
  height: 400px; /* Biarkan tinggi gambar menyesuaikan lebar */
}
.container {
  max-width: 700px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.container .title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
}
.container .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
}
.content form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}
form .user-details .input-box {
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}
form .input-box span.details {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}
.user-details .input-box input {
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}
.user-details .input-box input:focus,
.user-details .input-box input:valid {
  border-color: #9b59b6;
}

form .gender-details .gender-title {
  font-size: 20px;
  font-weight: 500;
}
form .category {
  display: flex;
  width: 80%;
  margin: 14px 0;
  justify-content: space-between;
}
form .category label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
form .category label .dot {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}
#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two,
#dot-3:checked ~ .category label .three {
  background: #9b59b6;
  border-color: #d9d9d9;
}
form input[type="radio"] {
  display: none;
}
form .button {
  height: 45px;
  margin: 100px 0 0 0;
}
form .button input {
  height: 100%;
  width: 100%;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
}
form .button input:hover {
  /* transform: scale(0.99); */
  background: linear-gradient(-135deg, #71b7e6, #9b59b6);
}

/* Form Verifikasi */
/* input-box2 */
.user-details .input-box2 {
  margin-bottom: 15px;
  width: 100%;
  /* width: calc(100% / 2 - 20px); */
}
.input-box2 span.details {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.user-details .input-box2 .rekening {
  height: auto;
  width: 100%;
  outline: none;
  font-size: 12px;
  border-radius: 5px;
  padding: 10px 15px 10px 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

p {
  font-size: 13px;
  text-align: justify;
}

.user-details .input-box2 input:focus,
.user-details .input-box2 input:valid {
  border-color: #9b59b6;
}
/* end input-box3 */

/* input-box3 */
.user-details .input-box3 {
  margin-bottom: 15px;
  width: 100%;
  /* width: calc(100% / 2 - 20px); */
}
.input-box3 span.details {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.user-details .input-box3 .rekening {
  height: 180px;
  width: 100%;
  outline: none;
  font-size: 12px;
  border-radius: 5px;
  padding: 10px 15px 10px 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

.user-details .input-box3 .rekening2 {
  height: 350px;
  width: 100%;
  outline: none;
  font-size: 12px;
  border-radius: 5px;
  padding: 10px 15px 10px 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

p {
  font-size: 13px;
  text-align: justify;
}

.user-details .input-box3 input:focus,
.user-details .input-box3 input:valid {
  border-color: #9b59b6;
}
/* end input-box3 */

/* upload image */
.section {
  display: grid;
  height: 100%;
  /* width: 100%; */
  place-items: center;
  text-align: center;
}

.content-image {
  height: 350px;
  /* width: 100%; */
  width: 350px;
}

.content-image p {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}

.content-image .wrapper {
  position: relative;
  height: 300px;
  width: 100%;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border: 2px dashed #9b59b6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* flex-direction: column */
}

.wrapper.active {
  border: none;
}

.wrapper .image {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.wrapper .icon {
  font-size: 100px;
  color: #71b7e6;
  font-weight: 500;
}

.wrapper .text {
  font-size: 20px;
  color: #71b7e6;
}

.wrapper #cancel-btn {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #71b7e6;
  display: none;
}

.wrapper.active:hover #cancel-btn {
  display: block;
}

.wrapper #cancel-btn:hover {
  color: #9b59b6;
}

.wrapper .file-name {
  position: absolute;
  bottom: 0px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
  width: 100%;
  color: #fff;
  padding: 8px 0;
  font-size: 18px;
  text-align: center;
  display: none;
}

.wrapper.active:hover .file-name {
  display: block;
}

.content-image #custom-btn {
  margin-top: 10px;
  /* width: 200px; */
  width: 100%;
  height: 50px;
  display: block;
  border: none;
  outline: none;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  border-radius: 25px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}

@media (max-width: 584px) {
  .container {
    max-width: 100%;
  }
  form .user-details .input-box {
    margin-bottom: 15px;
    width: 100%;
  }
  form .category {
    width: 100%;
  }
  .content form .user-details {
    max-height: 300px;
    overflow-y: scroll;
  }
  .user-details::-webkit-scrollbar {
    width: 5px;
  }
}
@media (max-width: 459px) {
  .container .content .category {
    flex-direction: column;
  }
}
