/* === Базовые стили формы TH Support === */
body {
  font-family: system-ui, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 40px;
  overflow-x: hidden;
}

.form-container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.support-form-logo {
  text-align: center;
  margin-bottom: 20px;
}

.support-form-logo img {
  max-width: 200px;
  height: auto;
}

/* === Поля формы === */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 15px;
}

label.required::after {
  content: ' *';
  color: red;
}

input,
textarea,
select,
button {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

button.submit-btn,
button[type="submit"] {
  background: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

button.submit-btn:hover,
button[type="submit"]:hover {
  background: #333;
}

.hidden {
  display: none !important;
}

.error-hint {
  color: red;
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none;
}

.info-text {
  background: #eef;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  border-left: 4px solid #88f;
}

/* === Стили файлов и кнопок === */
.file-input {
  margin-bottom: 16px;
}

.file-preview {
  margin-top: 6px;
  font-size: 14px;
  color: #666;
}

/* === Selectize стили === */
.selectize-control {
  margin-bottom: 16px;
}

.selectize-input {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  cursor: text;
}

.selectize-input.focus {
  border-color: #888;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.selectize-dropdown {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  font-size: 15px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 9999;
}

.selectize-dropdown-content > .option {
  padding: 10px 12px;
  cursor: pointer;
}

.selectize-dropdown-content > .option:hover,
.selectize-dropdown-content > .option.active {
  background: #f0f0f0;
}

select.selectized {
  display: none !important;
}

/* === Адаптивность === */
@media screen and (max-width: 768px) {
  body {
    padding: 0;
    background: #fff;
  }

  .form-container {
    padding: 24px 16px;
    border-radius: 0;
    box-shadow: none;
  }

  .support-form-logo img {
    max-width: 140px;
  }

  input,
  textarea,
  select,
  .selectize-input {
    font-size: 16px;
    padding: 12px;
  }

  .submit-btn {
    font-size: 17px;
    padding: 14px;
  }

  .info-text {
    font-size: 15px;
  }

  .selectize-dropdown-content > .option {
    font-size: 16px;
  }
}