#add-user-button.loading::after {
    content: none;
    display: none;
}

.users-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 12px;
}

.users-table-container {
    max-height: calc(100vh - 220px);
}

#users-table {
    table-layout: auto;
    width: 100%;
    min-width: 100%;
}

#users-table th,
#users-table td {
    padding: 10px 12px;
    vertical-align: middle;
    text-align: left;
}

#users-table th {
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fafafa;
}

#users-table td {
    white-space: nowrap;
}

#users-table th:nth-child(1),
#users-table td:nth-child(1) {
    text-align: center;
    width: 72px;
}

.user-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.user-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.user-status-dot-on {
    background: #52c41a;
}

.user-status-dot-off {
    background: #ff4d4f;
}

.overlay .users-modal {
    background: rgba(248, 250, 252, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 18px 55px rgba(2, 12, 24, 0.28), 0 0 26px rgba(24, 144, 255, 0.12);
    color: rgba(15, 23, 42, 0.92);
    color-scheme: light;
}

.overlay .users-modal .modal-title {
    color: rgba(15, 23, 42, 0.92);
}

.overlay .users-modal-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.overlay .users-field-label {
    font-weight: 500;
    color: #64748b;
    font-size: 12px;
}

.overlay .users-field-input {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    color: rgba(15, 23, 42, 0.92);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}

.overlay .users-field-input::placeholder {
    color: rgba(100, 116, 139, 0.75);
}

.overlay .users-field-input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 8px rgba(24, 144, 255, 0.42);
    animation: overlay-input-breath 2.2s ease-in-out infinite;
}

.overlay .users-icon-btn {
    border: 1px solid rgba(100, 116, 139, 0.35);
    background: transparent;
    color: rgba(51, 65, 85, 0.92);
    border-radius: 10px;
    padding: 8px 12px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.overlay .users-icon-btn:hover {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(100, 116, 139, 0.55);
}

.users-modal-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
