/* 用户管理页面 */
#users-page {
    display: none;
    padding: 20px;
}

#users-page.active {
    display: block;
}

.user-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.user-info {
    flex-grow: 1;
}

.user-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.user-email {
    color: #666;
    font-size: 14px;
}

.user-meta {
    display: flex;
    gap: 10px;
}

.user-role, .user-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.user-role.admin {
    background-color: #dc3545;
    color: white;
}

.user-role.normal {
    background-color: #17a2b8;
    color: white;
}

.user-status.active {
    background-color: #28a745;
    color: white;
}

.user-status.inactive {
    background-color: #6c757d;
    color: white;
}

.user-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 10px;
}

.user-actions button {
    font-size: 12px;
}

/* 用户管理内的次要按钮（覆盖可能冲突） */
.btn-warning {
    background-color: #ffc107;
    color: #212529;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}