/* ==========================================================================
   Optikam Utility Classes
   Extracted from repeated inline styles across .tmpl.htm templates.
   ========================================================================== */

/* --- Layout --- */

.u-grid-center {
    display: grid;
    align-items: center;
}

.u-flex-center {
    display: flex;
    align-items: center;
}

.u-flex-center-gap5 {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.u-flex-center-gap10 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.u-justify-center {
    justify-self: center;
}

.u-items-center {
    align-items: center;
}

/* --- Typography --- */

.u-text-truncate {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.u-text-truncate-clickable {
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.u-text-right {
    text-align: right;
}

.u-bold {
    font-weight: bold;
}

.u-line-height-50 {
    line-height: 50px;
}

/* --- Form Elements --- */

.u-form-label {
    font-size: 14px;
    padding: 4px;
}

.u-form-value {
    font-size: 14px;
    padding-left: 2px;
}

.u-full-input {
    width: 100%;
    height: 100%;
    padding: 0px;
    padding-left: 5px;
}

.u-color-input {
    height: 44px;
    margin-top: 3px;
}

.u-btn-fixed {
    width: 90px;
}

/* --- Section Headers --- */

.u-section-header {
    align-items: center;
    font-weight: bold;
    background-color: lightgray;
    padding-left: 4px;
}

.u-section-header-padded {
    align-items: center;
    font-weight: bold;
    background-color: lightgray;
    padding: 4px;
}

/* --- Overlays --- */

.u-loading-overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    height: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    padding-top: 50px;
    background-color: white;
}
