.ms-date-under-button {
    display: grid;
    justify-items: center;
}
.jsgrid-voll > .jsgrid-cell {
    background: #2EFE2E;
    font-weight: bold;
    text-align: left;
    padding: 0 0 0 10px;
}
.jsgrid-teil > .jsgrid-cell {
    background: #FACC2E;
    font-weight: bold;
    text-align: left;
    padding: 0 0 0 10px;
}
.jsgrid-nichts > .jsgrid-cell {
    background: #FA5858;
    font-weight: bold;
    text-align: left;
    padding: 0 0 0 10px;
}

body.login-page a:hover {
    color: #7d4a9d;
}

.cm-theme-bg {
    background-color: #7d4a9d !important;
}

.cm-theme-btn {
    background-color: #7d4a9d !important;
    border-color: #7d4a9d !important;
}

.cm-theme-card-top {
    border-top: 3px solid #7d4a9d !important;
}

.cm-sidebar-brand-image {
    opacity: .8;
}

.cm-nav-treeview-open {
    display: block;
}

.cm-nav-treeview-closed {
    display: none;
}

.cm-hidden-initial {
    display: none;
}

.cm-content-flush {
    margin-left: 0;
}

.cm-muted-note {
    color: var(--muted);
    font-size: .75rem;
}

.cm-section-title {
    font-size: .75rem;
    font-weight: 600;
}

.cm-select-compact {
    width: 70px;
    margin-right: 8px;
}

.cm-min-width-160 {
    min-width: 160px;
}

.cm-min-width-140 {
    min-width: 140px;
}

.cm-opacity-90 {
    opacity: .9;
}

.cm-col-select {
    width: 28px;
}

.cm-pointer {
  cursor: pointer;
}

.cm-line-height-unset {
  line-height: unset;
}

.cm-text-decoration-none {
  text-decoration: none;
}

.cm-font-13-bold-dark {
    font-size: 13px;
    font-weight: 600;
    color: #000;
}

.cm-float-left {
    float: left;
}

.cm-text-white-force {
    color: #fff !important;
}

.cm-body-min-width {
    min-width: 1200px;
}

.cm-layouts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cm-layouts-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cm-layouts-header-left .card-title,
.cm-layouts-vsb-tools,
.cm-layouts-search-tools {
    float: none;
    margin: 0;
}

.cm-layouts-vsb-tools .input-group {
    margin-left: 0;
}

.cm-layouts-search-tools {
    margin-left: auto;
}

.cm-nav-link-active-purple {
    background-color: #7d4a9d;
}

.cm-btn-pdf-compact {
    padding-top: 2px;
    padding-bottom: 1px;
}

.cm-icon-pdf-large {
    font-size: 23px;
}

.cm-icon-pdf-red {
    color: red;
}

.cm-link-gap-right {
    margin-right: 4px;
}

.cm-table-full-width {
    width: 100%;
}

.cm-row-soft-danger {
    background-color: #f8d7da;
}

.cm-summary-cell {
    text-align: left;
    font-weight: 600;
}

.cm-color-input-compact {
    height: 32px;
    padding: 2px;
}

.cm-chart-wrap-360 {
    height: 360px;
}

.cm-card-error-text {
    color: #ff6b6b;
}

.cm-modal-overlay-dark {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, .75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.cm-modal-panel-dark {
    width: 92%;
    max-width: 420px;
    background: #151924;
    border: 1px solid #23293a;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .7);
}

.cm-modal-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cm-modal-message {
    font-size: .85rem;
    line-height: 1.35;
    color: #e8ecf1;
    margin-bottom: 12px;
    white-space: pre-line;
}

.cm-modal-actions-end {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.cm-modal-primary-pill {
    border: 1px solid #23293a;
    background: #4da3ff;
    color: #000;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .85rem;
}

.perm-edit {
    cursor: pointer;
}

.perm-info {
    cursor: help;
}

.cm-navbar-user-item {
    min-width: 0;
}

.cm-navbar-user-link {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 240px;
    white-space: nowrap;
}

.cm-navbar-user-name {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
    .cm-navbar-user-link {
        max-width: 170px;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .cm-navbar-user-name {
        max-width: 120px;
    }
}
