.help-form-self {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.help-form-self-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.help-form-self-inputs-block-field {
    border: none;
    background-color: transparent;
    width: 100%;
    height: 38px;
    padding: 0px 10px 10px 10px;
    border-bottom: 1px solid var(--color-foreground-primary);
    font-size: 16px;
    line-height: 110%;
    color: var(--color-foreground-primary);
}

.file-label {
    cursor: pointer;
}

.file-placeholder {
    padding: 0px 10px 10px 10px;
    display: flex;
    align-items: center; /* Центрируем элементы по вертикали */
    gap: 10px;
    border-bottom: 1px solid var(--color-foreground-primary);
    height: 38px;
}

.file-text {
    font-size: 16px;
    line-height: 110%;
    color: var(--color-foreground-opacity);
    flex: 1; /* Занимает доступное пространство */
}

.file-input {
    visibility: hidden;
    padding: 0;
    position: absolute;
    top: -10px;
}

.file-placeholder-img {
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Не сжимается */
}

.file-placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.file-remove-btn {
    background: none;
    border: none;
    color: var(--color-foreground-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-remove-btn:hover {
    color: var(--color-red-opacity); /* Цвет при наведении */
}

/* Состояние, когда файл выбран (добавим класс через JS) */
.file-placeholder.selected .file-text {
    color: var(--color-foreground-primary); /* Более яркий цвет для выбранного файла */
}

.help-form-self-inputs-block-field:focus {
    outline: none;
}

.help-form-self-inputs-block-field::placeholder {
    outline: none;
    color: var(--color-foreground-opacity);
}

.form-message {
    display: none;
    color: green;
    margin-top: 10px;
}

.form-message.success {
    color: green;
}

.form-message.error {
    color: red;
}

.submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 168px;
    height: 48px;
    border: 0.8px solid var(--color-foreground-primary);
    background-color: transparent;
    border-radius: 24px;
    font-size: 16px;
    line-height: 100%;
    color: var(--color-foreground-primary);
    font-weight: 600;
}

/* Обработка ошибок */
.help-form-self-inputs-block-field.error-border {
    border-bottom: 1px solid var(--color-red-opacity);
}

.help-form-self-inputs-block-field.error-border::placeholder {
    color: var(--color-red-opacity);
}