/* Поле «Прикрепить файлы» в формах отзыва и обращения к руководству */

.otziv-files-field {
    margin-bottom: 15px;
}

.otziv-files-hint {
    color: #777;
    font-size: 14px;
}

.otziv-files-field .otziv-files-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.otziv-files-button {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--color-primary, #ff0000);
    border-radius: 4px;
    color: var(--color-primary, #ff0000);
    background: #fff;
    cursor: pointer;
    line-height: 1.2;
}

.otziv-files-button:hover {
    color: #fff;
    background: var(--color-primary, #ff0000);
}

.otziv-files-input:focus + .otziv-files-list,
.otziv-files-button:focus {
    outline: 2px solid var(--color-primary, #ff0000);
}

.otziv-files-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.otziv-files-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.otziv-files-name {
    flex-grow: 1;
    word-break: break-all;
}

.otziv-files-size {
    color: #777;
    white-space: nowrap;
}

.otziv-files-remove {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #333;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.otziv-files-remove:hover {
    background: var(--color-primary, #ff0000);
    color: #fff;
}

/* Опрос в форме отзыва */

.otziv-survey {
    margin-bottom: 15px;
}

.otziv-survey-label {
    margin-bottom: 8px;
}

.otziv-survey-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 25px;
}

.otziv-survey-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.otziv-survey-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-primary, #ff0000);
}
