﻿td.users-table-text-placeholder {
    text-align: center;
}

/* Roles modal styles (scoped to Roles tab via .um-roles) */
.um-roles .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1050;
}

.um-roles .dialog {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1060;
}

.um-roles .panel {
    background: #fff;
    width: min(960px, 96vw);
    max-height: 100vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.um-roles .dialog-header,
.um-roles .dialog-footer {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.um-roles .dialog-footer {
    border-top: 1px solid #eee;
    border-bottom: none;
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
}

.um-roles .dialog-body {
    padding: 24px;
    position: relative;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.um-roles .form-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.um-roles .form-label-left {
    text-align: right;
    padding-right: 6px;
}

.um-roles .field-wrapper {
    position: relative;
}

.um-roles .dropdown-check {
    position: relative;
}

.um-roles .dropdown-check-menu {
    position: relative;
    z-index: 1070;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: .5rem;
    padding: .5rem .5rem;
    max-height: 260px;
    overflow-y: auto;
    margin-top: .25rem;
}

.um-roles .dropdown-panel-overlay {
    position: absolute;
    inset: 0; 
    z-index: 1065; 
    background: transparent; 
}
.um-roles .dropdown-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1065;
    background: transparent;
}

.um-roles .menu-actions {
    display: flex;
    justify-content: space-between;
    padding: 0 .25rem .25rem;
    border-bottom: 1px dashed #eee;
    margin-bottom: .25rem;
}
