legend,
.send {
  font-weight: 600;
}

.ac-col-1 fieldset {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 95%;
  margin: 1vh auto;
}
.ac-col-1 legend {
  color: #062d6e;
  text-align: center;
  font-size: 207%;
  margin-bottom: 1.5vh;
  font-weight: 100;
  /* font-family: "FbSpoiler-Light"; */
  line-height: 0.8;
}
.ac-col-1 legend small {
  font-size: 0.6em;
}
.ac-col-1 input {
  width: 100%;
  padding: unset;
  margin-bottom: 1vh;
  font-size: 1.9vh;
  text-indent: 1vw;
  border-radius: 0.6vw;
  border: 0.1vw solid #062d6e;
  /* box-shadow: 0.1vw 0.3vw 0.5vw #00000014; */
  text-align: right;
  height: 5vh;
  max-height: 45px;
  /* font-size: 134%; */
  font-size: 1.3rem;
  font-weight: 100;
  font-family: "FbSpoiler-Light";
  direction: rtl;
}
.ac-col-1 label {
  font-size: 115%;
  color: #062d6e;
  font-weight: 500;
  margin-bottom: 1vh;
  margin-right: 0.5vw;
}
.ac-col-1 label .ac-policy{
  color: #062d6e;
}
.ac-col-1 .ac-inpt label {
  position: relative;
  top: 0vw;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.7s, top 0.7s;
  margin-bottom: 0.5vh;
  display: block;
  font-size: 133%;
  color: #062d6e;
  display: none;
}
.ac-col-1 .form-wrapper {
  width: 100%;
}
.ac-col-1 .ac-inputs {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 0vh;
  flex-direction: column;
}
.ac-col-1 .ac-inputs .ac-inpt {
  width: 100%;
  margin-bottom: 0;
}

.ac-col-1 .form-wrapper .form-group {
  display: flex;
  font-size: 1.5rem;
  font-weight: 100;
  margin-top: 0.5rem;
}

.ac-col-1 .form-wrapper .form-group label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  /* font-weight: bold; */
  position: relative;
  padding-left: 2.5rem;
  flex-direction: row-reverse;
}
.ac-col-1 .form-wrapper .form-group input[type="radio"] {
  display: none;
}
/* SVG icons for custom radios */
.ac-col-1 .form-wrapper .form-group .custom-radio {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
}
.ac-col-1 .form-wrapper .form-group input[type="radio"] + .custom-radio svg {
  display: block;
}
.ac-col-1
  .form-wrapper
  .form-group
  input[type="radio"]:not(:checked)
  + .custom-radio
  .checked-icon {
  display: none;
}
.ac-col-1
  .form-wrapper
  .form-group
  input[type="radio"]:checked
  + .custom-radio
  .unchecked-icon {
  display: none;
}

/* Radio buttons with checkmark styling (same as checkbox) */
.ac-col-1 .form-wrapper .form-group input[type="radio"] + .checkmark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  height: 3vh;
  width: 1.5vw;
  background-color: #fff;
  border-radius: 50%;
  border: 0.15vw solid #062d6e;
  right: 1.5rem;
}
.ac-col-1 .form-wrapper .form-group input[type="radio"] + .checkmark-no {
  right: 2rem;
}

/* Hide radio input */
.ac-col-1 .form-wrapper .form-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Radio hover effect */
.ac-col-1
  .form-wrapper
  .form-group
  label:hover
  input[type="radio"]
  ~ .checkmark {
  background-color: #ffffff73;
}

/* Radio checked state */
.ac-col-1 .form-wrapper .form-group input[type="radio"]:checked ~ .checkmark {
  background-color: transparent;
}

/* Radio checkmark indicator */
.ac-col-1
  .form-wrapper
  .form-group
  input[type="radio"]:checked
  ~ .checkmark:after {
  content: "";
  position: absolute;
  right: -1.2vw;
  top: -0.3vw;
  background-image: url(../img/checked2.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 2.5vw;
  height: 3vh;
  background-size: 58% auto;
  background-position: 0 0;
  display: block;
}
/* The container */
.agree-wrapper label {
  display: block;
  position: relative;
  padding-right: 2vw;
  margin-bottom: 0.5vh;
  margin-top: 2vh;
  cursor: pointer;
  font-size: 90%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: right;
  font-weight: 100;
  line-height: 0.9;
  display: block;
}
/* Hide the browser's default checkbox */
.agree-wrapper label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.agree-wrapper label .checkmark {
  position: absolute;
  top: -0.2vh;
  right: -0.3vw;
  height: 3vh;
  width: 1.5vw;
  background-color: #fff;
  border-radius: 50%;
  border: 0.15vw solid #062d6e;
}
/* On mouse-over, add a grey background color */
.agree-wrapper label:hover input ~ .checkmark {
  background-color: #ffffff73;
}
/* When the checkbox is checked, add a blue background */
.agree-wrapper label input:checked ~ .checkmark {
  /* background-color: #2196f3; */
  /* background-color: #062c6e; */
  background-color: transparent;
}
/* Create the checkmark/indicator (hidden when not checked) */
.agree-wrapper label:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.agree-wrapper label input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.agree-wrapper label .checkmark:after {
  content: "";
  right: 0.5vw;
  top: 0vw;
  width: 1vh;
  height: 2vh;
  /* border: solid transparent;
      border-width: 0 3px 3px 0;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg); */
  position: relative;
}
.agree-wrapper label input:checked ~ .checkmark:after {
  /* right: 0.4vw;
      top: 0vw; */
  /* border: solid white;
      border-width: 0 3px 3px 0;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg); */
  /* background-image: url("../img/checked.png"); */
  right: -1.2vw;
  top: -0.3vw;
  background-image: url(../img/checked2.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 2.5vw;
  height: 3vh;
  background-size: 58% auto;
  background-position: 0 0;
}
::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #062c6e;
  text-align: right;
  text-indent: 0.8vw;
  font-weight: 100;
  font-family: "FbSpoiler-Light";
  transition: text-indent 0.5s;
}
input:hover::-webkit-input-placeholder {
  text-indent: 1.5vw;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #062c6e;
  text-align: right;
  text-indent: 0.8vw;
  font-weight: 100;
  font-family: "FbSpoiler-Light";
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #062c6e;
  text-align: right;
  text-indent: 0.8vw;
  font-weight: 100;
  font-family: "FbSpoiler-Light";
}
:-moz-placeholder {
  /* Firefox 18- */
  color: #062c6e;
  text-align: right;
  text-indent: 0.8vw;
  font-weight: 100;
  font-family: "FbSpoiler-Light";
}
.ac-col-1 .btn-send {
  width: 100%;
  margin: 0 auto;
  padding: 0vh 0;
  margin-bottom: 0vh;
  margin-top: 1vh;
  height: auto;
  /* pointer-events: none; */
}
.ac-col-1 .btn-send button {
  color: #002d6e;
  border-radius: 2vw;
  font-size: 2rem;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: normal;
  padding: 0;
  transition: transform 0.5s;
  background-color: #ffc342;
    font-weight: 300;
  height: 6.5vh;
  max-height: 55px;
  font-family: "FbSpoiler-Regular";
  border: 0.1rem solid #ffc342;
}
.ac-col-1 .btn-send button .ac-submit-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  margin-right: 1rem;
}
.ac-col-1 .btn-send button img {
  height: 100%;
}
.ac-col-1 .btn-send button:hover {
  /* color: #738aab; */
  transform: scale(1.1);
  border: 0.1vw solid #002d6e;
}

@media (max-width: 1000px) {
  .ac-col-1 .form-wrapper {
    width: 90%;
    margin: 3vw auto 0;
  }
  .ac-col-1 legend {
    font-size: 9vw;
    /* font-family: "FbSpoiler-Bold"; */
    margin-bottom: 4vw;
    color: #ffc342;
    /* font-family: "FbSpoiler-Light"; */
    font-family: "FbSpoiler-Regular";
    display: block;
  }
  .ac-col-1 legend small {
    font-family: "FbSpoiler-Light";
    margin-top: 0.5vw;
    display: block;
  }
  .ac-col-1 label {
    font-size: 5.5vw;
    color: #fff;
    font-weight: 500;
    margin-bottom: 1.5vw;
    margin-right: 3.5vw;
  }
  .ac-col-1 .ac-inputs .ac-inpt {
    width: 100%;
    margin-bottom: 1vw;
  }

  .ac-col-1 .ac-inputs {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 0vw;
    flex-direction: column;
  }

  .ac-col-1 fieldset {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  ::-webkit-input-placeholder {
    font-size: 5.5vw;
  }
  ::-moz-placeholder {
    font-size: 5.5vw;
  }
  :-ms-input-placeholder {
    font-size: 5.5vw;
  }
  :-moz-placeholder {
    font-size: 5.5vw;
  }
  .ac-col-1 input {
    width: 100%;
    border-radius: 2vw;
    padding: 2vw;
    margin-bottom: 3vw;
    font-size: 5.5vw;
    text-indent: 3vw;
    box-sizing: border-box;
    background: #fff;
    border: 0.5vw solid #56729b;
    /* box-shadow: 0.1vw 1vw 1vw #00000029; */
    /* height: 12vw; */
    height: 11.6vw;
    max-height: unset;
  }
  .agree-wrapper label .checkmark {
    height: 6vw;
    width: 6vw;
    top: 0.5vw;
    right: -6.3vw;
    border: 0.15vw solid #062d6e;
  }
  .agree-wrapper label {
    padding-right: 4vw;
    margin-top: 2vw;
    font-size: 4.3vw;
    text-indent: 0vw;
    text-align: justify;
    position: relative;
    right: 4vw;
    font-weight: 500;
    width: 84%;
  }
  .agree-wrapper {
    margin-bottom: 3vw;
  }
  .ac-col-1 .btn-send {
    width: 100%;
    margin-bottom: 5vw;
  }
  .ac-col-1 .btn-send button {
    border-radius: 8vw;
    font-size: 6.5vw;
    width: 100%;
    padding: 0;
    height: 12vw;
    max-height: unset;
  }
  .agree-wrapper label .checkmark:after {
    content: "";
    right: 2vw;
    top: 1vw;
    width: 2.5vw;
    height: 4.5vw;
    position: relative;
    border: solid transparent;
  }
  .agree-wrapper label input:checked ~ .checkmark:after {
    right: -1vw;
    top: -1vw;
    width: 5vw;
    height: 3vh;
    background-size: 94% auto;
  }
  .ac-col-1 .ac-inpt label {
    font-size: 7rem;
    color: #fff;
  }
  .ac-col-1 .form-wrapper .form-group input[type="radio"] + .checkmark {
    width: 5.5vw;
    border: 0.15vw solid #ffff;
            height: 5.5vw;
  }
  .ac-col-1 label .ac-policy{
    color: #fff;
  }
}
@media (max-width: 650px) {
  .agree-wrapper label input:checked ~ .checkmark:after {
    right: -1.5vw;
    top: -0.7vw;
    background-image: url(../img/checked.png) ;
    width: 6vw;
    height: 3vh;
  }
  .ac-col-1
    .form-wrapper
    .form-group
    input[type="radio"]:checked
    ~ .checkmark:after {
    background-image: url(../img/checked.svg);
    width: 6.5vw;
    right: -2.2vw;
    top: 0vw;
    height:6.5vw
  }
  .ac-col-1
    .form-wrapper
    .form-group
    label:hover
    input[type="radio"]
    ~ .checkmark {
    background-color: #062d6e;
  }
  .ac-col-1 .form-wrapper .form-group input[type=radio]+.checkmark {
    background-color: #062d6e;
  }
}
