/* +----------------------------------------------------------------------
/* | Static Plugin for ThinkAdmin
/* +----------------------------------------------------------------------
/* | 官方网站: https://thinkadmin.top
/* +----------------------------------------------------------------------
/* | 版权所有 2014~2025 ThinkAdmin [ thinkadmin.top ]
/* +----------------------------------------------------------------------
/* | 开源协议 ( https://mit-license.org )
/* | 免责声明 ( https://thinkadmin.top/disclaimer )
/* +----------------------------------------------------------------------
/* | gitee 代码仓库：https://gitee.com/zoujingli/think-plugs-static
/* | github 代码仓库：https://github.com/zoujingli/think-plugs-static
/* +----------------------------------------------------------------------
/* | 自定义后台扩展样式，需要在加载 console.css 后载入
/* | 使用 composer require zoujingli/think-plugs-static 时不会更新此文件
/* +---------------------------------------------------------------------- */

/* 表格内用户摘要：头像 + 昵称 / 邮箱 / 用户ID */
.think-user {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
    text-align: left;
    padding: 2px 0;
}
.think-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 36px;
    background: #eef2f7;
}
.think-user-avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
.think-user-meta {
    min-width: 0;
    flex: 1;
}
.think-user-title {
    color: #1a73e8;
    font-weight: 600;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.think-user-sub {
    color: #8a94a6;
    font-size: 12px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 可复制文本（如雪花 ID） */
.think-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8a94a6;
    cursor: pointer;
    user-select: none;
    max-width: 100%;
}
.think-copy .layui-icon {
    font-size: 14px;
    color: #1a73e8;
    flex: 0 0 auto;
}
.think-copy-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 含用户摘要的表格：行高适配三行信息，内容上下居中，避免固定「操作」列错位 */
.layui-table-view.think-table-user .layui-table-body td {
    vertical-align: middle;
}
.layui-table-view.think-table-user .layui-table-body .layui-table-cell {
    height: 82px !important;
    min-height: 82px;
    line-height: normal !important;
    white-space: normal !important;
    overflow: hidden;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.layui-table-view.think-table-user .layui-table-body td[align="center"] .layui-table-cell {
    justify-content: center;
}
.layui-table-view.think-table-user .layui-table-body .layui-table-cell .think-user {
    width: 100%;
}
.layui-table-view.think-table-user .layui-table-header .layui-table-cell {
    height: 40px !important;
    line-height: 28px !important;
    padding-top: 6px;
    padding-bottom: 6px;
    display: block;
}
