/* ===  UNIVERSAL LEFT ALIGNMENT FOR ENTITY FORMS  === */

.crmEntityFormView .form-group {
    display: flex !important;
    align-items: center;
    margin-bottom: 16px;
}

/* Fixed width for all labels */
.crmEntityFormView .control-label {
    width: 220px !important;       /* <- Set the pixel you want */
    margin: 0;
    padding: 0;
    text-align: left !important;
    white-space: nowrap;
}

/* All fields start exactly after the label width */
.crmEntityFormView .controls,
.crmEntityFormView .col-sm-10,
.crmEntityFormView .col-sm-9,
.crmEntityFormView .col-sm-8,
.crmEntityFormView .col-sm-12 {
    margin-left: 0 !important;
    padding: 0 !important;
    width: calc(100% - 220px) !important;   /* MUST MATCH LABEL WIDTH */
}

/* Lookup "magnifier" button alignment */
.crmEntityFormView .lookup-button,
.crmEntityFormView button,
.crmEntityFormView .input-group-btn {
    margin-left: 8px;
}