/* Стили шагов формы */
.modal-step {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.modal-step.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.modal-step.leaving {
  opacity: 0;
  transform: translateX(-30px);
}

.modal-step h3 {
  margin-top: 0;
  padding-bottom: 15px;
  color: #2a5885;
  font-size: 22px;
}

.modal-step p {
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: justify;
  font-size: 18px;
}

/* Стили для полей ввода */
.modal-step input[type="text"],
.modal-step input[type="tel"],
.modal-step input[type="email"],
.modal-step textarea {
  width: 100%;
  height: 48px;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.modal-step textarea {
  min-height: 100px;
  resize: vertical;
}

.modal-step input[type="text"]:focus,
.modal-step input[type="tel"]:focus,
.modal-step input[type="email"]:focus,
.modal-step textarea:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

/* Стили для чекбокса */
.checkbox-container {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.checkbox-container input {
  margin-right: 10px;
}

.checkbox-container label {
  line-height: 1.4;
  font-size: 18px;
}


/* Стили кнопок */
.modal-buttons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.btn {
  /*padding: 12px 20px;*/
  border: none;
  border-radius: 5px!important;
  /*font-size: 1rem;*/
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  min-width: 120px;
  text-align: center;
}


.modal-buttons-search {
	font-size: 16px;
  background-color: #cddae1;
  color: #000000;
}

.modal-buttons-search:hover {
  background-color: #1e94d1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
}


.modal-buttons .btn {
	min-height: 50px;
	font-size: 16px;
  background-color: #cddae1;
  color: #000000;
  white-space: normal;
}

.modal-buttons .btn:hover {
  background-color: #1e94d1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
}

.btn-no, .btn-cancel {
  background-color: #cddae1;
  color: #000000;
}


.btn-oms {
  background-color: #cddae1;
  color: white;
}


.btn-back {
  background-color: #cddae1;
  color: #333;
}


.btn-ok {
  background-color: #cddae1;
  color: white;
  margin: 0 auto;
}


.notice {
  color: #666;
  font-style: italic;
}


.show {
  display: flex;
  opacity: 1;
}