.modal {
  left: 50%;
  max-width: 488px;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  z-index: 3;
}

.modal__close-button {
  align-items: center;
  background: var(--pale-blue);
  border-radius: 20px;
  display: flex;
  height: 32px;
  justify-content: center;
  margin-left: auto;
  width: 32px;
}

.modal_type_error {
  align-items: center;
  background: var(--main-gradient);
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(12,31,65,.24);
  color: var(--midnight-black);
  display: flex;
  flex-direction: column;
  max-width: 311px;
  padding: 12px 12px 24px;
  width: calc(100% - 64px);
}
