html, body { font-family: Arial, Helvetica, sans-serif; }
.form-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap:14px;
    margin:14px 0 22px 0;
}
.row-grid {
    display:grid;
    grid-template-columns: 220px repeat(4, minmax(180px, 1fr));
    gap:12px;
    align-items:end;
    padding:10px 0;
    border-bottom:1px solid #ddd;
}
.rz-fieldset { margin-top:16px; }
@media(max-width:1000px) {
    .row-grid { grid-template-columns:1fr; }
}

.section-note {
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.validation-summary {
    margin-top: 20px;
    padding: 14px 18px;
    border: 1px solid #bbb;
    border-radius: 6px;
}
.validation-summary ul {
    margin-bottom: 0;
}

/* ACC form - neat field alignment */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    align-items: end;
}

.form-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
}

    .form-field label {
        min-height: 42px;
        display: flex;
        align-items: flex-end;
        margin-bottom: 6px;
        font-weight: 500;
    }

    .form-field .rz-textbox,
    .form-field .rz-dropdown,
    .form-field .rz-numeric,
    .form-field .rz-datepicker {
        width: 100%;
    }

/* On smaller screens use one column */
@media (max-width: 800px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field label {
        min-height: auto;
    }
}

/* Page header band + orange title bar (every page, in this order) */
.registry-header {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 2.6vw, 38px);
    font-weight: 400;
    color: #2f2f2f;
    background: linear-gradient(#eeeeee 0%, #dddddd 48%, #c8c8c8 100%);
    border: 1px solid #c4c4c4;
    box-sizing: border-box;
    margin-bottom: 9px;
}

.page-title-bar {
    width: 100%;
    background: #ffc477;
    color: black;
    text-align: center;
    font-size: 21px;
    font-weight: 600;
    padding: 6px;
    box-sizing: border-box;
    margin-bottom: 9px;
}
