/home/bdqbpbxa/demo-subdomains/gumballpay.goodface.com.ua/frontend/css/components/form-elements.css
/* ! Input */

.input-box__double {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.input-box__double .input-box {
  grid-column: span 1;
}

.input-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}

.input-box__label {
  margin-bottom: 8px;

  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0.02em;
  color: var(--color-white);
  opacity: 0.6;
}

.input-box input,
.input-box textarea,
.input-box .--dropdown__value {
  display: block;
  width: 100%;
  height: 56px;
  padding: 15px 23px;
  box-sizing: border-box;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  transition: background 0.4s, color 0.4s, border 0.4s;

  font-family: 'Avenir Next';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.input-box textarea {
  min-height: 120px;
  resize: vertical;
}

.input-box input:focus,
.input-box textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid #32A8FF;
}

.input-box input::placeholder,
.input-box textarea::placeholder {
  transition: color 0.4s;
}

.input-box input:focus::placeholder,
.input-box textarea:focus::placeholder {
  color: rgba(0, 0, 0, 0);
}

.textarea {
  width: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.textarea:after {
  content: '';
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  background: no-repeat center / contain url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEyOTZfMTY1NTMpIj4KPGcgb3BhY2l0eT0iMC4zIj4KPGxpbmUgeDE9IjEuOTI5NjkiIHkxPSIxMS4xODE1IiB4Mj0iMTIuMTgyNyIgeTI9IjAuOTI4NDc5IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxsaW5lIHgxPSI2Ljg4MDg2IiB5MT0iMTEuODg4NyIgeDI9IjEyLjg5MTMiIHkyPSI1Ljg3ODI3IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjwvZz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMjk2XzE2NTUzIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=);
  z-index: -1;
}

::-webkit-resizer {
  opacity: 0;
}


.input-box .-error {
  display: none;
}

.input-box.-invalid input {
  border: none;
  border-bottom: 1.5px solid #F32623;
}

.input-box.-invalid .-error {
  display: block;
}

.input-box.-valid input {
  border: none;
  border-bottom: 1.5px solid #00DE00;
}

.-error {
  color: #F32623;
}

.-error.active {
  padding: 0.3em;
}





.--dropdown {
  position: relative;
  width: 100%;
}

.--dropdown input {
  display: none;
}

.input-box .--dropdown__value {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding-right: 50px;
}

.--dropdown__value:after {
  content: '';

  position: absolute;
  right: 23px;
  width: 14px;
  height: 14px;
  background: no-repeat center / contain url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuNSA1TDcgOUwxMS41IDUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS41Ii8+Cjwvc3ZnPgo=);
  transition: transform 0.4s;
}

.--dropdown__list {
  position: absolute;
  z-index: 10 !important;
  width: 100%;
  left: 0;
  top: 100%;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s, opacity 0.4s;

  background: var(--color-black-blue);
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.--dropdown__list li {
  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.4s, color 0.4s;
  cursor: pointer;
  padding: 8px 24px;
}

.--dropdown__list li:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
}

.--dropdown.-active .--dropdown__list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(10px);
}

.--dropdown.-active .--dropdown__value:after {
  transform: rotate(180deg);
}

.input-box .--dropdown.-active .--dropdown__value {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid #32A8FF;
}

.submit-wrapper {
  margin-top: 39px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submit-wrapper .submit {
  min-width: 320px;
}

.submit-wrapper .input-box {
  width: fit-content;
  margin-right: 24px;
  margin-bottom: 0;
}

.--checkbox .visible-part {
  position: relative;
  font-family: 'Avenir Next';
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding-left: 28px;
  user-select: none;
}

.--checkbox .visible-part a {
  color: var(--color-white);
  transition: color 0.4s;
}


.--checkbox input {
  display: none;
}

.--checkbox .visible-part:before {
  content: "";

  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 4px;
  left: 0;

  width: 16px;
  height: 16px;
  border: 1px solid var(--color-white);
  border-radius: 2px;
  transition: background 0.4s, border 0.4s;
}

.--checkbox .visible-part:after {
  content: "";

  position: absolute;
  left: 0px;
  top: 4px;

  width: 16px;
  height: 16px;
  background: no-repeat center / contain url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjkyNTggNS41TDYuOTI1NzggMTAuNUw0LjQyNTc4IDgiIHN0cm9rZT0iIzI1MzU1NiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIi8+Cjwvc3ZnPgo=');
  opacity: 0;
  transition: opacity 0.4s;
}

.--checkbox.-checked .visible-part:after {
  opacity: 1;
}

.--checkbox.-checked .visible-part:before {
  background: var(--color-white);
}


@media screen and (max-width: 1025px) {
  .input-box__double {
    gap: 0;
    grid-template-columns: repeat(1, 1fr);
  }

  .input-box {
    margin-bottom: 16px;
  }

  .submit-wrapper {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .submit-wrapper .input-box {
    margin-right: 0;
  }

  .submit-wrapper .submit {
    margin-top: 32px;
  }



  .input-box__label {
    font-size: 12px;
  }

  .input-box input,
  .input-box textarea,
  .input-box .--dropdown__value {
    font-size: 14px;
  }

  .--dropdown__list li {
    font-size: 14px;
  }

  .--checkbox .visible-part {
    font-size: 14px;
  }


  .input-box input,
  .input-box textarea,
  .input-box .--dropdown__value {
    height: 48px;
    border-radius: 8px;
    padding: 13px 15px;
  }

  .input-box textarea {
    min-height: 96px;
  }

  .textarea:after {
    display: none;
  }


}