@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 0 10px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("IMG_2344.JPG") center center / cover no-repeat;
  z-index: -1;
}

.wrapper {
  width: 400px;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

form {
  display: flex;
  flex-direction: column;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.input-field {
  position: relative;
  border-bottom: 2px solid #ccc;
  margin: 18px 0;
}

/* LABEL */
.input-field label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #fff;
  font-size: 16px;
  pointer-events: none;
  transition: 0.15s ease;
}

/* INPUT, TEXTAREA, SELECT */
.input-field input,
.input-field textarea,
.input-field select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #fff;
  padding: 10px 0;
}

/* INPUT HEIGHT */
.input-field input,
.input-field select {
  height: 40px;
}

/* TEXTAREA */
.input-field textarea {
  resize: none;
  padding-top: 18px;
}

/* SELECT */
.input-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.input-field select option {
  color: #000;
}

/* FLOAT LABEL EFFECT */
.input-field input:focus ~ label,
.input-field input:valid ~ label,
.input-field textarea:focus ~ label,
.input-field textarea:valid ~ label,
.input-field select:focus ~ label,
.input-field select:valid ~ label {
  font-size: 0.8rem;
  top: 10px;
  transform: translateY(-120%);
}

/* CHECKBOX AREA */
.terms {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
  color: #fff;
}

.terms label {
  display: flex;
  align-items: center;
}

.terms label p {
  margin-left: 8px;
}

.terms input {
  accent-color: #fff;
}

/* LINK */
.wrapper a {
  color: #efefef;
  text-decoration: none;
}

.wrapper a:hover {
  text-decoration: underline;
}
/* BUTTON */
button {
  background: #fff;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

button:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* LOGIN TEXT */
.register {
  text-align: center;
  margin-top: 30px;
  color: #fff;
}
/* PAYMENT INFO */
.payment-info {
  margin-top: 15px;
  margin-bottom: 20px;
  text-align: left;
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

.payment-info h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.payment-info span {
  font-weight: 700;
}

.qris-box {
  margin-top: 10px;
  text-align: center;
}

.qris-box img {
  max-width: 100%;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

/* FILE INPUT */
.file-field {
  border: none;
  text-align: left;
}

.file-field input[type="file"] {
  color: #fff;
  padding: 10px 0;
}

.file-field input[type="file"]::file-selector-button {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

.file-field input[type="file"]::file-selector-button:hover {
  background: rgba(255,255,255,0.3);
}