.school-modal:not(.school-modal--show) {
  display: none;
}

.school-modal {
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 27.72, 45.69, 0.9) 0%,
    rgba(0, 27.72, 45.69, 0.9) 100%
  );
  display: flex;
  justify-content: center;
}

.school-modal .school-modal__content {
  position: relative;
  margin: auto;
  border-radius: 10px;
  background: #ebebeb;
  box-shadow: 0 8px 40px 0 #000a10;
  padding: 45px 40px;
  width: 100%;
  max-width: 500px;
}

.school-modal .school-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  color: #fff;
  background-color: #5691c8;
  border-radius: 50%;
}

.school-modal .school-modal__title {
  color: #051c2b;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 20px;
}

.school-modal .school-modal__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.school-modal .school-modal__input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}

.school-modal .school-modal__input {
  display: flex;
  height: 44px;
  width: 100%;
  padding: 16px 10px;
  align-items: center;
  gap: 12px;
  color: #787878;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 128%;
  border-radius: 10px;
  border: 1px solid #d9eaff;
  background: #fff;
}

.school-modal .school-modal__input--error {
  border-color: #ff4b4b;
}

.school-modal .school-modal__input-wrapper label {
  margin-bottom: 2px;
  font-weight: 500;
  color: #051c2b;
}

.school-modal .school-modal__error-text {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.3;
  color: #b91c1c;
}

.school-modal .school-modal__submit {
  display: flex;
  width: 100%;
  padding: 12px 22px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #051c2b;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 128%;
  letter-spacing: 0.16px;
}

.school-modal .school-modal__submit.school-modal__submit--disabled {
  pointer-events: none;
  opacity: 0.5;
}

.school-modal .school-modal__policy {
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
}

@media (width <= 768px) {
  .school-modal {
    background: #001c2e;
  }

  .school-modal .school-modal__content {
    margin: 0;
    padding: 24px 16px 20px 16px;
    max-width: 100%;
    border-radius: 0;
  }
}

