.form-title, .form-subtitle {
  margin-bottom: 30px;
  font-size: 25px;
  font-weight: bold;
}

.form-container {
  padding: 40px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-subtitle-text {
  font-size: 20px;
  margin: 0 0 50px 0;
}

.form-field {
  margin-bottom: 30px;
  font-size: 15px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #DADADA;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 15px;
  background-color: #F7F7F7;
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.field-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}

.agreement-field {
  margin: 20px 0;
  padding: 10px 0;
}

/* Стили для переключателя */
.switch-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  gap: 10px;
}

.switch-input {
  display: none;
}

.switch-slider {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  background-color: #ccc;
  border-radius: 24px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.switch-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.switch-input:checked + .switch-slider {
  background-color: #E42035;
}

.switch-input:checked + .switch-slider:before {
  transform: translateX(26px);
}

.switch-text {
  color: #333;
  font-weight: 500;
}

.agreement-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  margin-left: 60px;
}

.submit-button {
  background-color: #E42035;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
  padding: 12px 90px;
  font-weight: bold;
}

.submit-button:hover {
  background-color: #a81927;
}

.submit-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.success_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  text-align: center;
  min-height: 200px;
}

.success_form .success_form__icon {
  width: 64px;
  height: 64px;
  background-color: #E42035;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success_form .success_form__icon svg {
  width: 32px;
  height: 32px;
}

.success_form .success_form__title {
  font-size: 22px;
  font-weight: bold;
  color: #2a2a2a;
  margin-bottom: 12px;
}

.success_form .success_form__text {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 28px;
}

.success_form .success_form__btn {
  display: inline-block;
  padding: 12px 40px;
  background-color: #E42035;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.success_form .success_form__btn:hover {
  background-color: #a81927;
}