.form-support .input-t {
    color: #000;
}
.form-support ::placeholder{
    color: #000;
}
.form-support label {
    color: #00000090;
}
.form-support .custom-checkbox {
    margin-top: 25px;
}
.refresh {
    padding: 10px;
    display: flex;
    align-items: center;
}
.input-group {
    display: flex;
    white-space: nowrap;
    align-items: flex-start !important;
    gap: 20px;
}
.form-support select {
    width: 100%;
}
.form-support {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-support .priority-region {
    font-weight: 700;
}
.form-support .btn-main {
    min-width: 300px;
}
.form-support .input-select {
    width: 100%;
    position: relative;
}


/* Базовые стили формы */
.form-support input::-webkit-calendar-picker-indicator {
  display: none !important;
}

.form-support input[type=file]::file-selector-button {
  margin-right: 20px;
  border: none;
  background: #203f6f;
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease-in-out;
}

.form-support input[type=file]::file-selector-button:hover {
  background: #294d83;
}

.form-support {
    margin: 0 auto;
}

.form-support .input-group {
    position: relative;
    margin-bottom: 20px;
}

.form-support .input-t {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-support .input-t:focus {
    border-color: #203f6f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-support .input-t.error {
    border-color: #dc3545;
}

.form-support .input-t.success {
    border-color: #28a745;
}

/* Подсказки */
.form-support .input-hint {
    font-size: 12px;
    color: #203f6f;
    margin-top: 5px;
    text-wrap: wrap;
}

.form-support .input-hint.active {
    /*font-weight: 500;*/
}

.form-support .file-hint {
    font-size: 12px;
    color: #203f6f;
    margin-top: 5px;
}

/* Прелоадеры */
.form-support .loading-spinner {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #203f6f;
}

/* Предпросмотр файлов */
.form-support .file-block {
    width: 100%;
}

.form-support .file-preview {
    margin-top: 10px;
}

.form-support .file-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-support .file-name {
    flex: 1;
    margin-right: 10px;
}

.form-support .file-size {
    color: #203f6f;
    margin-right: 10px;
}

.form-support .file-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.form-support .file-remove:hover {
    background: #c82333;
}

/* Приоритетные регионы */
.form-support .priority-region {
    font-weight: 600;
    color: #000;
}

/* Кнопка отправки */
.form-support .btn-loading {
    display: none;
}

/* CAPTCHA */
.form-support .contacts-form__top {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.form-support .captchaImgRef {
    display: flex;
}
#captchaImg {
    min-width: 250px;
}

.form-support .refresh {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #203f6f;
    text-decoration: none;
}

.form-support .refresh:hover {
    color: #203f6f;
}

/* Временные сообщения */
#temp-message {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    z-index: 10000;
    font-size: 14px;
    max-width: 300px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Стили для визуальной обратной связи */
.form-support .type-filter-active {
    border-left: 4px solid #203f6f;
    background-color: #f8fbff;
}

.form-support .auto-match {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-support .no-match {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.form-support .input-hint {
    /*
    font-size: 12px;
    color: #203f6f;
    margin-top: 5px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #203f6f;
    */
}

.form-support .input-hint.active {
    /*
    background: #e3f2fd;
    border-left-color: #203f6f;
    color: #203f6f;
    */
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-support {
        padding: 0;
    }
    
    .form-support .input-t {
        font-size: 14px !important; /* Предотвращает zoom на iOS */
    }
    .form-support .input-group {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px;
        margin-bottom: 10px;
    }
    .form-support .input-hint.active {
        text-wrap: wrap;
    }
    #temp-message {
        min-width: calc(100% - 20px);
    }
    .form-support .btn-main {
        min-width: 100%;
    }
}
@media (min-width: 768px) {
    .form-support .input-hint {
        max-width: 200px;
    }
}