/* ==================== ОСНОВНЫЕ СТИЛИ БЛОКА ПОМОЩЬ ==================== */
.help-section {
  width: 100%;
  margin: 100px auto 0;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.help-container {
  position: relative;
  width: 100%;
  max-width: 1880px;
  height: 476px;
  background-image: url('../img/forma_vybor_background.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
}

.help-text-block {
  display: flex;
  width: 469px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-left: 235px;
}

.help-text-block h2 {
  color: var(--White, #FFF);
  font-family: Onest;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

.help-text-block p {
  color: var(--White, #FFF);
  font-family: Onest;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.help-form-block {
  display: flex;
  width: 560px;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  border-radius: 24px;
  background: #FFF;
  /* margin-right: 297px; */
margin-right: 235px;  
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  color: #1e293b;
  transition: border-color 0.2s;
  font-family: Onest;
}

.form-input:focus {
  outline: none;
  border-color: #fbbf24;
}

.form-input::placeholder {
  color: #94a3b8;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #fbbf24;
  flex-shrink: 0;
}

.checkbox-label {
  color: var(--Heading, #24272C);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.checkbox-label a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.submit-btn {
  display: flex;
  height: 50px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: var(--Main-color, #FC0);
  color: var(--Heading, #24272C);
  font-family: Onest;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  width: 100%;
  border: none;
}

.submit-btn:hover {
  background: #f59e0b;
  transform: scale(1.02);
}



/* ==================== УВЕДОМЛЕНИЕ (TOAST) ==================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 90%;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon.success {
    background: #4CAF50;
    color: white;
}

.toast-icon.error {
    background: #f44336;
    color: white;
}

.toast-icon.info {
    background: #FC0;
    color: #24272C;
}

.toast-message {
    font-family: Onest;
    font-size: 14px;
    color: #24272C;
    line-height: 1.4;
}

.toast-close {
    margin-left: auto;
    cursor: pointer;
    font-size: 20px;
    color: #999;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #24272C;
}

@media (max-width: 768px) {
    .toast-notification {
        bottom: 20px;
        padding: 12px 20px;
        min-width: auto;
        width: calc(100% - 40px);
    }
}




/* ==================== АДАПТИВНЫЕ СТИЛИ БЛОКА ПОМОЩЬ ==================== */

/* Для экранов 1400px - плавное уменьшение отступов */
@media (max-width: 1400px) {
  .help-container {
    padding: 0 60px;
  }
  
  .help-text-block {
    margin-left: 150px;
  }
  
  .help-form-block {
    margin-right: 150px;
  }
}

/* Для экранов 1280px - корректируем размеры и добавляем отступы */
@media (max-width: 1280px) {
  .help-section {
    padding: 0 20px;
  }
  
  .help-container {
    max-width: 1240px;
    padding: 0 40px;
    height: auto;
    min-height: 476px;
  }

  .help-text-block {
    width: 45%;
    margin-left: 45px;
    gap: 15px;
  }

  .help-text-block h2 {
    font-size: 36px;
  }

  .help-text-block p {
    font-size: 16px;
  }

  .help-form-block {
    width: 48%;
    max-width: 560px;
margin-right: 45px;
    padding: 25px;
    gap: 25px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-input {
    padding: 12px;
    font-size: 14px;
  }

  .submit-btn {
    height: 45px;
    font-size: 14px;
  }
}

/* Для экранов 1024px - переходим на колонку */
@media (max-width: 1024px) {
  .help-container {
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    height: auto;
    max-width: 100%;
  }

  .help-text-block {
    width: 100%;
    max-width: 560px;
    text-align: center;
    align-items: center;
  }

  .help-form-block {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* Для экранов 768px - уменьшаем отступы */
/*
@media (max-width: 768px) {
  .help-container {
    padding: 30px;
  }

  .help-text-block h2 {
    font-size: 28px;
  }

  .help-text-block p {
    font-size: 14px;
  }

  .help-form-block {
    padding: 20px;
  }

  .form-input {
    padding: 10px;
    font-size: 13px;
  }

  .checkbox-label {
    font-size: 11px;
  }

  .submit-btn {
    height: 42px;
    font-size: 13px;
  }
}
*/




/* Для экранов до 768px - мобильные устройства */
@media (max-width: 768px) {
  .help-section {
    margin: 60px auto 0;
    padding: 0 15px;
  }
  
  .help-container {
    flex-direction: column;
    padding: 80px 20px 0px 20px;
    height: auto;
    min-height: 595px;
    gap: 30px;
    background-size: cover;
  }
  
  .help-text-block {
    width: 100%;
    text-align: center;
    align-items: center;
    margin-left: 0;
  }
  
  .help-text-block h2 {
    font-size: 28px;
  }
  
  .help-text-block p {
    font-size: 18px;
  }
  
  .help-form-block {
    width: 100%;
    padding: 20px;
    /* margin-right: 0; */
    gap: 20px;
  }
  
  .form-input {
    padding: 12px;
    font-size: 14px;
  }
  
  .checkbox-label {
    font-size: 11px;
  }
  
  .submit-btn {
    height: 45px;
    font-size: 14px;
  }
}