/* ========================================
   选手资料弹窗 - 现代个人资料页风格
   ======================================== */

/* 弹窗容器 */
.user-detail {
    padding: 0;
    margin: 0;
    list-style: none;
    background: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 头部区域 - 头像和名称 */
.user-detail-header {
    text-align: center;
    padding: 24px 20px 20px;
    background: linear-gradient(to bottom, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.user-detail-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
    object-fit: cover;
}

.user-detail-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.user-detail-number {
    font-size: 13px;
    color: #64748b;
}

/* 内容区域 */
.user-detail-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

/* 信息行 */
.user-detail-body li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: start;
}

.user-detail-body li:last-child {
    border-bottom: none;
}

/* 标签样式 */
.user-detail-body li label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-align: right;
    padding-top: 2px;
}

/* 值样式 */
.user-detail-body li span {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.6;
    word-break: break-word;
}


/* 关键指标区域 */
.user-detail-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.stat-card {
    background: #fff;
    padding: 16px 12px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ef4444;
}

.stat-value.status {
    font-size: 14px;
    font-weight: 500;
}


/* 状态徽章样式 - 仅展示，无交互 */
.user-detail .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: default !important;
    pointer-events: none !important;
    transition: none !important;
}

/* 移除所有伪元素和悬停效果 */
.user-detail .status-badge::before,
.user-detail .status-badge::after {
    display: none !important;
}

.user-detail .status-badge:hover {
    transform: none !important;
    box-shadow: none !important;
    padding: 4px 12px !important;
}

.user-detail .status-badge.approved {
    background: #dcfce7;
    color: #166534;
}

.user-detail .status-badge.pending {
    background: #fef9c3;
    color: #854d0e;
}

/* 手机号样式 */
.user-detail li span {
    color: #1e293b;
}

/* 描述文字样式 */
.user-detail-body li:last-child span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

/* 空值提示 */
.user-detail li span:empty::before {
    content: '暂无';
    color: #9ca3af;
    font-style: italic;
}

/* 详细信息列表 */
.user-detail-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Layer弹窗内容区域 */
.layui-layer-content {
    overflow-y: auto !important;
    background: #fff !important;
}

/* 移除旧的容器样式 */
.animbound-cont {
    padding: 0 !important;
    margin: 0 !important;
}
