/* Раздел «Объекты»: текстовые ссылки — зелёные, при наведении тёмно-серые */

.objects-module .text-muted a:not(.btn):not(.nav-link):not(.dropdown-item),
.objects-module a.object-text-link:not(.btn):not(.nav-link),
.objects-module a:not(.btn):not(.nav-link):not(.dropdown-item):not(.menu-section-header),
a.object-inline-link,
a.object-table-link {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 0.12em;
    text-decoration-color: rgba(45, 90, 39, 0.45);
}

.objects-module .text-muted a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
.objects-module .text-muted a:not(.btn):not(.nav-link):not(.dropdown-item):focus,
.objects-module a.object-text-link:not(.btn):not(.nav-link):hover,
.objects-module a.object-text-link:not(.btn):not(.nav-link):focus,
.objects-module a:not(.btn):not(.nav-link):not(.dropdown-item):not(.menu-section-header):hover,
.objects-module a:not(.btn):not(.nav-link):not(.dropdown-item):not(.menu-section-header):focus,
a.object-inline-link:hover,
a.object-inline-link:focus,
a.object-table-link:hover,
a.object-table-link:focus {
    color: var(--text-dark);
    text-decoration-color: rgba(51, 51, 51, 0.55);
}

a.object-table-link {
    text-decoration-thickness: 1px;
}

.objects-module .alert-info a:not(.btn),
.objects-module .alert a:not(.btn) {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    text-decoration-color: rgba(45, 90, 39, 0.45);
}

.objects-module .alert-info a:not(.btn):hover,
.objects-module .alert-info a:not(.btn):focus,
.objects-module .alert a:not(.btn):hover,
.objects-module .alert a:not(.btn):focus {
    color: var(--text-dark);
    text-decoration-color: rgba(51, 51, 51, 0.55);
}

.objects-module select.form-control[multiple],
.objects-module select.form-select[multiple] {
    accent-color: var(--primary-color);
}

.objects-module select.form-control[multiple] option:checked,
.objects-module select.form-select[multiple] option:checked {
    background: var(--primary-color) linear-gradient(0deg, var(--primary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
}

.object-member-picker {
    max-width: 100%;
}

.object-member-picker-filter {
    max-width: 32rem;
}

.object-member-picker-list {
    --member-picker-row-height: 2.625rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 32rem;
    max-height: calc(var(--member-picker-row-height) * 10);
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
}

.object-member-picker-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    box-sizing: border-box;
    min-height: var(--member-picker-row-height);
    margin: 0;
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.object-member-picker-item:last-child {
    border-bottom: 0;
}

.object-member-picker-item:hover {
    background: rgba(45, 90, 39, 0.05);
}

.object-member-picker-item input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.object-member-picker-name {
    font-weight: 500;
}

.object-member-picker-position {
    font-size: 0.925rem;
}
