/* Complaints Book form */
.complaints-book-form fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 2.5rem;
}

.complaints-book-form fieldset:last-of-type {
    margin-bottom: 0;
}

.reservations-travel .tab-content-item__introduction p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.reservations-travel .tab-content-item__introduction p:last-child {
    margin-bottom: 2rem;
}

.complaints-book-form__step-title,
.complaints-book-form legend.complaints-book-form__step-title,
.complaints-book-form p.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 label.form-label,
.complaints-book-form span.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
    line-height: 1.45;
}

.complaints-book-form label.form-label small.form-text {
    display: block;
    margin-top: 0.35rem;
    font-weight: 400;
    color: #666;
}

.complaints-book-form .mb-4 > .form-text,
.complaints-book-form .mb-3 > .form-text {
    margin-top: 0.5rem;
    line-height: 1.5;
    color: #666;
}

.complaints-book-form .mb-4:has(textarea) .form-label,
.complaints-book-form .mb-3:has(textarea) .form-label {
    margin-bottom: 1rem;
}

.complaints-book-form textarea.form-input {
    min-height: 7rem;
    line-height: 1.5;
}

.complaints-book-form .form-check {
    margin-bottom: 0.5rem;
}

.complaints-book-form .mb-4 > span.form-label + .form-check,
.complaints-book-form .mb-3 > span.form-label + .form-check {
    margin-top: 0.25rem;
}

.complaints-book-form .row {
    --bs-gutter-y: 1.5rem;
}

.complaints-book-form #legal-guardian-field {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.complaints-book-form #legal-guardian-field .complaints-book-form__step-title {
    font-size: 1.5rem;
    margin-bottom: 1.75rem !important;
}

.complaints-book-form .complaints-file-field > .form-label {
    margin-bottom: 0.75rem;
}

.complaints-book-form .g-recaptcha {
    margin-bottom: 0.5rem;
}

.complaints-book-form #complaints-book-submit {
    margin-top: 1rem;
}

.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;
}
