@charset "utf-8";

/* ========================================
   form.css (Page-Specific Styles)
   ======================================== */

.required-mark {
  display: inline-block;
  background-color: #000;
  color: #fff;
  line-height: 1;
  font-size: 0.85rem;
  padding: 0.4em 0.7em;
  border-radius: 20px;
  margin-right: 0.3em;
  white-space: nowrap;
  font-weight: 500;
}

/* ----------------------------------------
   Form Item Styles
   ---------------------------------------- */
.form-item {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 24px;
}

.form-item .required-mark {
  margin-left: 0.3em;
}

.form-item:last-child {
  margin-bottom: 0;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.875rem;
  color: #000;
  margin-bottom: 8px;
  width: 27%;
}

.align-top .form-label {
  align-items: flex-start;
}
[data-formrun-confirm="true"] .align-top .form-label {
  align-items: center;
}

.form-label.text-top {
  margin-top: 20px;
}

/* ----------------------------------------
   Form Input Styles
   ---------------------------------------- */
.form-input-wrapper {
  width: 70%;
}

 
.form-input,
.form-textarea {
  padding: 20px 16px;
  border: 1px solid #D9D9D9;
  background-color: #f1f1ee;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #000;
  transition: border-color 0.3s ease;
  width: 100%;
}
.form-input.form-disabled,
.form-textarea.form-disabled {
  background-color: #d8d8d4;

}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #666;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #A0A0A0;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* ----------------------------------------
   Name Fields (Two Column)
   ---------------------------------------- */
.form-name-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 70%;
}

.form-name-item {
  width: 49%;
}

.form-name-item .form-input {
  width: 100%;
}


/* ----------------------------------------
   Radio Button Group Styles
   ---------------------------------------- */
.form-radio-group {
  width: 70%;
}

.form-radio-group-inner {
  column-count: 2;
}

.form-radio-group [data-formrun-show-if-error] {
  width: 100%;
  display: block;
}

.form-radio {
  font-size: 1rem;
  width: 100%;
  margin-bottom: 10px;
  line-height: 1.2;
  vertical-align: top;
  display: flex;
  align-items: center;
}
.form-radio span {

}
.form-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
  width: 25px;
  height: 25px;
  margin-right: 20px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(160, 217, 111, 0.07);
  border: 1px solid #D9D9D9;
  background: #f1f1ee;
}

.form-radio input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-radio span {
  cursor: pointer;
}

/* ----------------------------------------
   Privacy Policy Section
   ---------------------------------------- */
.form-privacy {
  padding: 0;
  border-radius: 4px;
  margin: 60px auto 0;
}

.form-privacy-text {
  line-height: 1.8;
  font-size: 1rem;
  color: #000;
  text-align: center;
}

.form-privacy-text a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s ease;
}

.form-privacy-text a:hover {
  opacity: 0.7;
}

.confirm-box {
  background-color: #000;
  color: #FFF;
  max-width: 1080px;
  margin: 0 auto 50px;
  text-align: center;
  padding: 20px 0;
  border-radius: 10px;
}
.confirm-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.confirm-box p {
  font-size: 0.8rem;
  line-height: 1.8;
}
/* ----------------------------------------
   Submit Button Styles
   ---------------------------------------- */
.form-submit {
  max-width: 1080px;
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
}

.btn-submit {
  width: 60%;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 60px;
  height: 80px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;

}

.btn-submit::after {
  content: "";
  display: block;
  position: absolute;
  width: 0.7em;
  height: 0.7em;
  right: 5%;
  top: 35px;
  background-image: url('/form/assets/images/arrow_b.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-submit:hover {
  opacity: 0.7;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
  transform: translateY(0);
}

div[data-formrun-show-if-error] {
  font-size: 0.8rem;
  color: red;
}

.form-back-button {
  width: 38%;
  background-color: #666;
  color: #fff;
  border: none;
  border-radius: 60px;
  height: 80px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  margin: 0 auto;
}
.form-back-button::after {
  content: "";
  display: block;
  position: absolute;
  width: 0.7em;
  height: 0.7em;
  left: 8%;
  top: 35px;
  background-image: url('/form/assets/images/arrow_b.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

.form-back-button:hover {
  text-decoration: none;
}



/* ----------------------------------------
   Liquid Styles (1250px and below)
   ---------------------------------------- */

@media (max-width: 1250px) {
  .form-radio input[type="radio"] {
    margin-right: 4%;
  }
  .confirm-box h3 {
    font-size: 0.85rem;
  }
  .confirm-box p {
    font-size: 0.65rem;
  }
  .form-submit {
    padding: 0 5%;
    gap: 20px;
  }

}

/* ----------------------------------------
   Responsive Styles (768px and below)
   ---------------------------------------- */
@media (max-width: 768px) {
  /* ----------------------------------------
     Required Tag Styles
     ---------------------------------------- */
  .required-mark {
    font-size: 0.65rem;
  }

  /* ----------------------------------------
     Form Item Styles
     ---------------------------------------- */
  .form-item {
    display: block;
    margin-bottom: 20px;
  }

  .form-item .required-mark {
    margin-left: 15px;
    font-size: 0.5625rem;
  }

  .form-item:last-child {
    margin-bottom: 0;
  }

  .form-label {
    display: block;
    width: auto;
  }

  .align-top .form-label {
    align-items: flex-start;
  }

  .form-label.text-top {
    margin-top: 20px;
  }

  /* ----------------------------------------
     Form Input Styles
     ---------------------------------------- */
     .form-input-wrapper {
      width: 100%;
     }
  .form-input,
  .form-textarea {
    padding: 15px;
    font-size: 0.675rem;
    color: #000;
    transition: border-color 0.3s ease;
    width: 100%;
  }

  .form-input:focus,
  .form-textarea:focus {
    outline: none;
    border-color: #666;
  }

  .form-input::placeholder,
  .form-textarea::placeholder {
    color: #A0A0A0;
  }

  .form-textarea {
    resize: vertical;
    min-height: 150px;
  }

  /* ----------------------------------------
     Name Fields (Two Column)
     ---------------------------------------- */
  .form-name-group {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
  }

  .form-name-item {
    width: 49.5%;
  }

  .form-name-item .form-input {
    width: 100%;
  }

  /* ----------------------------------------
     Radio Button Group Styles
     ---------------------------------------- */
  .form-radio-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .form-radio-group-inner {
    column-count:1;
  }
  .form-radio {
    width: 100%;
    margin-bottom: 20px;
  }

  .form-radio input[type="radio"] {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  .form-radio input[type="radio"]:checked::after {
    width: 15px;
    height: 15px;
  }

  /* ----------------------------------------
     Privacy Policy Section
     ---------------------------------------- */
  .form-privacy {
    margin: 40px auto 0;
  }

  .form-privacy-text {
    line-height: 2.2;
    font-size: 0.75rem;
  }

  /* ----------------------------------------
     Submit Button Styles
     ---------------------------------------- */
  .form-submit {
    max-width: 95%;
    flex-direction: column;
  }

  .btn-submit {
    height: 55px;
    font-size: 0.75rem;
    width: 100%;
  }

  .btn-submit::after {
    content: "";
    display: block;
    position: absolute;
    width: 0.7em;
    height: 0.7em;
    right: 5%;
    top: 23px;
    background-image: url('/form/assets/images/arrow_b.svg');
    background-size: contain;
    background-repeat: no-repeat;
  }

  .btn-submit:hover {
    opacity: 0.7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .btn-submit:active {
    transform: translateY(0);
  }
  .form-back-button {
    height: 55px;
    font-size: 0.75rem;
  }

  .form-back-button {
    order:2;
    width: 70%;
  }
  .form-back-button::after {

    top: 23px;

  }
  .confirm-box {
    max-width: 100%;
    border-radius: 10px;
  }
  .confirm-box h3 {
    font-size: 0.8rem;
  }
  .confirm-box p {
    font-size: 0.6rem;
  }
}
