/* Complaints Book form */
.complaints-book-form fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1.5rem;
}

.complaints-book-form__step-title {
    display: block;
    width: 100%;
    float: none;
    font-family: var(--ff-heading, "Salkantay", sans-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin-bottom: 2.4rem !important;
    padding: 0 0 1rem;
    position: relative;
}

.complaints-book-form__step-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 6rem;
    height: 4px;
    background-color: var(--main-color, #db5f15);
}

.complaints-book-form .required-asterisk {
    color: #d9534f;
}

.complaints-file-upload {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.35rem 1.5rem;
    min-height: 6.5rem;
    border: 1px dashed #ccc;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.complaints-file-upload.is-dragover {
    border-color: var(--main-color, #db5f15);
    background: #fff8f3;
}

.complaints-file-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.complaints-file-upload__trigger {
    align-self: flex-start;
    cursor: pointer;
}

.complaints-file-upload__trigger > .btn-loading {
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: var(--font-base, 1rem);
}

.complaints-file-upload__body {
    flex: 1 1 16rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.35rem 0;
}

.complaints-file-upload__hint,
.complaints-file-upload__status {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
}

.complaints-file-upload__hint {
    font-size: 1.05rem;
}

.complaints-file-upload__status.has-files {
    color: #333;
    font-weight: 500;
}

.complaints-file-upload__list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.complaints-file-upload__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.65rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    font-size: 0.85rem;
    color: #444;
}

.complaints-file-upload__list li.is-invalid {
    border-color: #d9534f;
    color: #b52b27;
    background: #fff5f5;
}

.complaints-file-upload__error {
    color: #d9534f;
    margin-top: 0.5rem;
}

.complaints-file-upload__error:empty {
    display: none;
}
