/* Styles for the "Mjere olakšanja otplate" form (HelpDeskPage with reliefForm on). */

.relief-section-title {
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
}

.relief-note {
    font-size: 14px;
    line-height: 1.4;
    color: #525252;
}

/* "Ostalo" description counter */
.relief-counter {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    text-align: right;
    color: #8D8C93;
}

/* Consent checkboxes: native checkbox + text on one row.
   Scoped under .help-desk-form-body to override the generic
   ".help-desk-form-body label/input" rules (block, uppercase, bordered). */
.help-desk-form-body .relief-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
    text-transform: none;
    cursor: pointer;
}

.help-desk-form-body .relief-checkbox input[type="checkbox"] {
    display: inline-block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    flex: 0 0 auto;
    accent-color: #C49C3B;
    cursor: pointer;
}

.relief-checkbox-text {
    flex: 1 1 0;
    line-height: 1.4;
}

.relief-checkbox-text a {
    text-decoration: underline;
}

/* Validation message under the checkbox row */
.relief-checkbox .field-validation-error {
    flex-basis: 100%;
    padding-left: 32px;
}

/* Preview step */
.relief-preview-msg {
    margin: 16px 0 24px;
}

.relief-pdf-frame {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.414;
    min-height: 480px;
    margin-bottom: 16px;
    border: 1px solid #8D8C93;
    border-radius: 4px;
}

/* Mobile browsers (Android Chrome) can't render PDFs inline - rely on the download button */
@media screen and (max-width: 768px) {
    .relief-pdf-frame {
        display: none;
    }
}

