:root {
  --orange: #f26d10;
  --violet: #b48fef;
  --green: #0e5652;
  --beige: #ffe2cc;
}

body,
div,
form,
html,
label,
span {
  margin: 0;
  padding: 0;
  font-size: 100%;
  /* vertical-align: baseline; */
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:focus {
  outline: 0;
}
input {
  outline: none;
  border: none;
  font-size: 100%;
  margin: 0;
}
input {
  line-height: normal;
}
input {
  font-family: inherit;
}
input:not([type="checkbox"]):not([type="radio"]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid #aa0404;
}
@font-face {
  font-family: Verdana;
  font-weight: 400;
  font-style: normal;
  src: url(/Verdana.ttf) format("ttf");
}
@font-face {
  font-family: Verdana;
  font-weight: 700;
  font-style: normal;
  src: url(/Verdana-Bold.ttf) format("ttf");
}
html {
  height: 100%;
  /* font-family: Verdana, sans-serif; */
  color: #000;
  font-size: 0.5208333333vw;
  /* background-color: #b48fef; */
  scroll-behavior: smooth;
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 10px;
  }
}
html body {
  /* width: 100%; */
  min-height: 100vh;
  margin: 0;
  /* text-rendering: optimizeLegibility; */
  /* -webkit-font-smoothing: antialiased; */
  /* font-family: Verdana, sans-serif; */
  /* font-weight: 400; */
  /* line-height: 1.2; */
  min-width: 320px;
  /* background-color: #b48fef; */
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
}
.input {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.input label {
  font-size: 2rem;
  color: #004e52;
  font-family: "Grtsk";
  margin-bottom: 1rem;
}
@media screen and (max-width: 1024px) {
  .input label {
    font-size: 1.5625vw;
    margin-bottom: 0.78125vw;
  }
}
@media screen and (max-width: 576px) {
  .input label {
    font-size: 14px;
    margin-bottom: 10px;
  }
}
.input .input__inner {
  position: relative;
  width: 100%;
  font-family: "Grtsk";
  background: none;
}

.input .input__inner:focus {
  background-color: red;
}

.input .input__inner:active {
  background: none;
}

.input .input__inner input {
  width: 100%;
  background: none;
}
.input input {
  color: #b48fef;
  border: #b48fef 2px solid;
  padding: 10px;
  font-size: 14px;
  border-radius: 20px;
}
.input input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}
.input input::-webkit-input-placeholder {
  color: #000;
}
.input input::-moz-placeholder {
  color: #000;
}
.input input:-ms-input-placeholder {
  color: #000;
}
.input input::-ms-input-placeholder {
  color: #000;
}
@media (min-width: 1025px) {
  .input input:hover {
    background: hsla(0, 0%, 100%, 0.9);
  }
}
.input input:focus {
  background: hsla(0, 0%, 100%, 0.8);
}
@media screen and (max-width: 1024px) {
  .input input {
    font-size: 1.25vw;
    border-radius: 1.5625vw;
    padding: 1.171875vw 1.875vw;
  }
}
@media screen and (max-width: 576px) {
  .input input {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 16px;
  }
}
.select {
  width: 100%;
  position: relative;
}
.select__title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}
@media screen and (max-width: 1024px) {
  .select__title {
    font-size: 1.5625vw;
    margin-bottom: 0.78125vw;
  }
}
@media screen and (max-width: 576px) {
  .select__title {
    font-size: 14px;
    margin-bottom: 10px;
  }
}
.select__toggle-wrap {
  position: relative;
  min-width: 100px;
  padding: 10px;
}

.select__toggle-wrap select {
  color: #b48fef;
  border: none;
  appearance: none;
  background: none;
}

@media (min-width: 1025px) {
  .select__toggle-wrap:hover {
    background: hsla(0, 0%, 100%, 0.9);
  }
}
@media screen and (max-width: 1024px) {
  .select__toggle-wrap {
    padding: 1.171875vw 3.75vw 1.171875vw 1.875vw;
    border-radius: 1.5625vw;
  }
}
@media screen and (max-width: 576px) {
  .select__toggle-wrap {
    padding: 10px 40px 10px 20px;
    border-radius: 16px;
  }
}
.select__toggle {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: normal;
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.select__toggle:before {
  width: 6px;
  height: 6px;
  content: "";
  position: absolute;
  top: 2rem;
  right: 2.4rem;
  border: 1px solid #6877fc;
  border-width: 1px 1px 0 0;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}
@media screen and (max-width: 1024px) {
  .select__toggle {
    font-size: 1.25vw;
  }
  .select__toggle:before {
    top: 1.40625vw;
    right: 1.875vw;
  }
}
@media screen and (max-width: 576px) {
  .select__toggle {
    font-size: 14px;
  }
  .select__toggle:before {
    top: 14px;
    right: 20px;
  }
}
.select__drop {
  position: absolute;
  width: 100%;
  margin-top: 7px;
  padding: 1.5rem 2.4rem;
  top: 110%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background: #fff;
  pointer-events: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 10;
  border-radius: 2rem;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 1024px) {
  .select__drop {
    padding: 1.171875vw 1.875vw;
    border-radius: 1.5625vw;
  }
}
@media screen and (max-width: 576px) {
  .select__drop {
    padding: 10px 20px;
    border-radius: 16px;
  }
}
.select__item {
  cursor: pointer;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: normal;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.select__item + .select__item {
  margin-top: 10px;
}
@media (min-width: 1025px) {
  .select__item:hover {
    color: #ff5c3f;
  }
}
@media screen and (max-width: 1024px) {
  .select__item {
    font-size: 1.25vw;
  }
}
@media screen and (max-width: 576px) {
  .select__item {
    font-size: 14px;
  }
}
.select__item-input {
  position: absolute;
  opacity: 0;
}
.select__item-text {
  pointer-events: none;
}
@media screen and (max-width: 576px) {
  .select__item-text {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}

.main-form__form {
  background-image: url(../images/bg_blue.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-color: var(--beige);
  padding: 40px;
  border-radius: 20px;
  margin: 0 auto;
  /* width: 710px; */
}

.main-form__row {
  margin: 0 auto;
  /* max-width: 414px; */
  margin-bottom: 20px;
}

.main-form__title {
  font-family: Grtsk;
  font-size: 24px;
  color: var(--orange);
  font-family: Benzin, sans-serif;
  margin-bottom: 40px;
  text-align: center;
}

.main-form__submit {
  cursor: pointer;
  color: var(--beige);
  background-color: var(--orange);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  margin: 40px auto;
}

.main-form__checkbox {
}
.main-form__checkbox .checkbox {
  justify-content: center;
  display: flex;
  align-items: center;
}
.main-form__checkbox .checkbox label {
  color: var(--green);
  font-size: 10px;
  font-family: Grtsk;
}
.main-form__checkbox .checkbox input {
  width: 16px;
  height: 16px;
  border: var(--orange) 3px solid !important;
  border-radius: 5px;
  padding: 0;
  appearance: none;
  position: relative;
  background: var(--beige);
  margin-right: 10px;
}
.main-form__checkbox .checkbox input:checked::before {
  content: "✓";
  position: absolute;
  color: var(--green);
  font-size: 22px;
  left: -2px;
  top: -15px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px white inset !important; /* Белый фон (можно заменить на любой цвет) */
  -webkit-text-fill-color: #333 !important; /* Цвет текста */
  transition: background-color 5000s ease-in-out 0s; /* Отключает анимацию смены фона */
}
input:-webkit-autofill {
  -webkit-text-fill-color: #000 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
input[type="text"],
input[type="password"],
input[type="email"] {
  background-color: transparent !important; /* или любой нужный цвет */
  border: 1px solid #ccc; /* Пример рамки */
  padding: 10px;
}
