/* PropertyOS layout overrides */
.app-menu.navbar-menu #scrollbar {
    height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
}

.app-menu.navbar-menu #scrollbar .simplebar-content-wrapper {
    overflow: auto;
}

.support-view-banner {
    background: linear-gradient(90deg, rgba(var(--vz-warning-rgb), 0.15), rgba(var(--vz-warning-rgb), 0.05));
    border-bottom: 1px solid rgba(var(--vz-warning-rgb), 0.35);
    font-size: 0.875rem;
}

/* Profile avatar editor */
.profile-avatar-edit {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-avatar-edit .avatar-xl {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.profile-avatar-edit-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--vz-primary, #405189);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.profile-avatar-edit-btn:hover {
    opacity: 0.92;
}

/* Select2 + Bootstrap form-select alignment */
.select2-container--bootstrap-5 .select2-selection {
    min-height: calc(1.5em + 0.94rem + 2px);
}

select.form-select-sm + .select2-container--bootstrap-5 .select2-selection {
    min-height: calc(1.5em + 0.5rem + 2px);
    font-size: 0.875rem;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-dropdown {
    z-index: 1060;
}

.modal .select2-container--bootstrap-5 .select2-dropdown {
    z-index: 1065;
}
