﻿.form-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.form-container {
  display: flex;
  flex: 1 1 auto;
  margin-bottom: 12px;
  max-width: 90%;
}

@media (max-width: 992px) {
  .form-container {
    max-width: 80%;
  }
}

.input,
.textarea,
.select {
  border: 1px solid var(--secondary-gray);
  border-radius: var(--border-radius);
  color: var(--form-default);
  width: 100%;
}

.input {
  height: var(--default-control-height);
  padding: 0 12px;
}

.textarea {
  min-height: 60px;
  padding: 12px;
  resize: none;
}

.select {
    height: var(--default-control-height);
    padding: 0 12px;
}

.submit {
    background: var(--primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    height: var(--default-control-height);
    padding: 0 20px;
    text-transform: uppercase;
}

.submit--small {
    font-size: 14px;
    height: 32px;
    padding: 0 16px;
    text-transform: none;
}

.error {
  border-color: var(--error);
  color: var(--error);
}

::-moz-placeholder          { color: var(--secondary) }
:-ms-input-placeholder      { color: var(--secondary) }
::-webkit-input-placeholder { color: var(--secondary) }

.box__label {
  display: block;
  min-width: 132px;
  padding-top: 10px;
  width: 132px;
}

@media (max-width: 992px) {
  .box__label {
    min-width: 110px;
    width: 110px;
  }
}

.switch {
  display: inline-block;
  height: 20px;
  margin-bottom: 12px;
  position: relative;
  width: 40px;
}

.switch input {
  height: 0;
  opacity: 0;
  width: 0;
}

.slider {
  border-radius: 34px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary);
  transition: .4s;
}

.slider:after {
  border-radius: 50%;
  bottom: 2px;
  color: var(--primary);
  content: "-";
  font-size: 20px;
  height: 16px;
  left: 2px;
  line-height: 16px;
  position: absolute;
  text-align: center;
  width: 16px;
}

.slider:before {
  background-color: var(--white);
  border-radius: 50%;
  bottom: 2px;
  content: "";
  height: 16px;
  left: 2px;
  position: absolute;
  transition: .4s;
  width: 16px;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

input:checked + .slider:after {
  content: "+";
  transform: translateX(20px);
}

.box__label input {
  margin-right: 12px;
}

.login-container {
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
  padding: 48px;
}

.gray-dialog-box {
    background: var(--secondary-gray-4);
    margin-bottom: 24px;
    padding: 32px;
}