/* Reset dasar untuk margin dan padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Gaya umum untuk body dan container */
body {
  font-family: Arial, sans-serif;
  /*background: linear-gradient(135deg, #5bf5c7, #00bcd4);*/
  background: linear-gradient(135deg, #e82e38, #14c4ff);
  /* Gradient color */
  color: #333;
  padding: 20px;
}

/*.container {*/
/*  max-width: 800px;*/
/*  margin: 20px auto;*/
/*  padding: 20px;*/
/*  background-color: #ffffff;*/
/*  border-radius: 8px;*/
/*  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
/*}*/

.container {
  max-width: 900px; 
  margin: 0 auto;
  padding: 20px; 
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.subheader {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.rekening {
  width: 100%;
  font-size: 12px;
  border-radius: 5px;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

.checkbox-label-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-label-container input[type="checkbox"] {
  margin-right: 10px;
}

.checkbox-label-container label {
  font-size: 16px;
  flex: 1;
  /* Agar label mengisi ruang yang tersisa */
}

/* Gaya untuk form dan input */
/*form {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*}*/

form {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  padding: 10px; /* Tambahkan padding untuk form */
}

.input-box label {
  margin-bottom: 8px; /* Memberikan jarak antara label dan input */
  display: block;
  font-size: 14px;
}

/*.input-box {*/
/*  margin-bottom: 15px;*/
/*}*/


.input-box {
  margin-bottom: 15px;
  padding: 10px; /* Tambahkan padding di sini agar kolom input memiliki ruang */
  border: 1px solid #e0e0e0; /* Opsional: memberikan border pada div pembungkus */
  border-radius: 5px; /* Opsional: memberikan border radius */
}

.details {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: #66afe9;
  outline: none;
}

.hidden-form {
  display: none;
}

/* Gaya untuk button */
.button {
  text-align: center;
}

input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}

/* upload image */
.section {
  display: grid;
  height: 100%;
  place-items: center;
  text-align: center;
}

.content-image {
  display: flex;
  flex-direction: column;
  /* Ensure vertical layout */
  align-items: center;
  width: 100%;
}

.content-image p {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
  /* Space below text */
}

.content-image .wrapper {
  position: relative;
  height: 300px;
  width: 100%;
  border-radius: 10px;
  border: 2px dashed #9b59b6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.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: 0;
  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;
}

#custom-btn {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border: none;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  border-radius: 5px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

#daftar-btn {
  margin-top: 20px;
  /* Space between the buttons */
  width: 100%;
  height: 50px;
  border: none;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  border-radius: 25px;
  background: #007bff;
  /* Or any color you prefer */
}

/* Responsive styles */

/* Desktop */
@media (min-width: 992px) {
  .container {
    max-width: 900px;
  }

  .input-box {
    flex-direction: row;
    align-items: center;
  }

  .input-box label {
    flex: 1;
    margin-bottom: 0;
  }

  .input-box input,
  .input-box select {
    flex: 2;
    margin-left: 10px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    padding: 15px;
  }

  .input-box {
    flex-direction: column;
  }

  .input-box label {
    margin-bottom: 5px;
  }

  .input-box input,
  .input-box select {
    width: 100%;
  }

  .checkbox-label-container {
    flex-direction: row;
    align-items: flex-start;
    /* Menjaga checkbox dan label di atas */
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container {
    padding: 10px;
  }

  .input-box {
    flex-direction: column;
  }

  .input-box label {
    font-size: 14px;
  }

  .input-box input,
  .input-box select {
    font-size: 14px;
    padding: 8px;
  }

  input[type="submit"] {
    padding: 10px;
    font-size: 14px;
  }

  .checkbox-label-container {
    flex-direction: row;
    align-items: flex-start;
    /* Menjaga checkbox dan label di atas */
  }
}
