.sidebar .navbar-brand > a span {
    display: inline-block;
    max-width: calc(100% - 44px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.admin-avatar,
.admin-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    background: linear-gradient(135deg, #46b6fe 0%, #6f42c1 100%);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-avatar.admin-avatar-lg,
.admin-avatar-placeholder.admin-avatar-lg {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    font-size: 24px;
}

.admin-avatar.admin-avatar-sm,
.admin-avatar-placeholder.admin-avatar-sm {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 10px;
    font-size: 15px;
}

.sidebar .user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar .user-info .image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.sidebar .user-info .detail {
    min-width: 0;
}

.sidebar .user-info .detail h4,
.sidebar .user-info .detail small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-photo-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-user-photo-preview-meta small {
    display: block;
}

.admin-user-list-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-pagination-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
    white-space: normal;
}

.admin-pagination .page-item {
    flex: 0 0 auto;
}

select.form-control,
.bootstrap-select,
.bootstrap-select.btn-group,
.bootstrap-select > .dropdown-toggle {
    max-width: 100%;
}

.bootstrap-select > .dropdown-toggle {
    display: flex;
    overflow: hidden;
}

.bootstrap-select > .dropdown-toggle .filter-option {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.bootstrap-select > .dropdown-toggle .filter-option-inner,
.bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bootstrap-select.btn-group .dropdown-toggle .caret {
    flex: 0 0 auto;
    margin-left: 8px;
}

.bootstrap-select .dropdown-menu {
    max-width: 100%;
}

.bootstrap-select.btn-group .dropdown-menu li a {
    white-space: normal;
}

.bootstrap-select.btn-group .dropdown-menu li a span.text {
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
