@charset "UTF-8";
/* 团队管理页面专属样式 */

/* 卡片右键菜单动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 统计卡片提示样式 */
.hover-lift {
    position: relative;
}

.hover-lift::after {
    content: '💡 单击查看 | 双击分析 | 右键菜单';
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
    color: #9ca3af;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.hover-lift:hover::after {
    opacity: 1;
}

/* 卡片增强效果 */
.card.hover-lift {
    overflow: visible;
}

.card.hover-lift:active {
    transform: translateY(-3px) scale(0.98) !important;
}

/* 页面头部优化 */
.h2.fw-bold {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

/* 搜索框优化 */
.input-group.shadow-sm {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.input-group.shadow-sm .input-group-text {
    background-color: #f8f9fa;
    border: none;
    padding: 0.75rem 1rem;
}

.input-group.shadow-sm .form-control {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.input-group.shadow-sm .form-control:focus {
    box-shadow: none;
    outline: none;
}

.input-group.shadow-sm:focus-within {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* 按钮组优化 - 完整宽度响应式 */
.btn-group.w-100 {
    display: flex;
    border-radius: 0.5rem;
    overflow: hidden;
}

.btn-group.w-100 .btn {
    flex: 1;
    border-radius: 0 !important;
    transition: all 0.2s ease;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-group.w-100 .btn:first-child {
    border-top-left-radius: 0.5rem !important;
    border-bottom-left-radius: 0.5rem !important;
}

.btn-group.w-100 .btn:last-child {
    border-top-right-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

.btn-group.w-100 .btn.active {
    font-weight: 600;
    z-index: 1;
}

.btn-group.w-100 .btn .badge {
    font-size: 0.7rem;
    padding: 0.2em 0.45em;
    font-weight: 600;
    vertical-align: middle;
}

.btn-group.w-100 .btn i {
    font-size: 0.85rem;
}

/* 主按钮优化 */
.btn-primary.shadow-sm {
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
}

.btn-primary.shadow-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.3) !important;
}

/* 卡片悬停效果 */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* 优化统计卡片 */
.card-body.p-3 {
    padding: 1rem !important;
}

.card-body.p-3 .fw-bold {
    font-weight: 700 !important;
    font-size: 2rem;
    line-height: 1;
}

.card-body.p-3 .small {
    font-size: 0.75rem;
}

.card-body.p-3 p.small {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 表格优化 */
.team-table {
    font-size: 0.9rem;
}

.team-table thead.bg-light {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%) !important;
}

.team-table thead th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    padding: 1rem 0.75rem;
    white-space: nowrap;
}

.team-table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

/* 徽章样式优化 */
.badge.bg-opacity-10 {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border: 1px solid currentColor;
    opacity: 0.9;
}

.badge.bg-opacity-10.bg-secondary {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d !important;
}

.badge.bg-opacity-10.bg-success {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754 !important;
}

.badge.bg-opacity-10.bg-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

.badge.bg-opacity-10.text-secondary {
    color: #6c757d !important;
}

.badge.bg-opacity-10.text-success {
    color: #198754 !important;
}

.badge.bg-opacity-10.text-warning {
    color: #ffc107 !important;
}

/* 表格行悬停效果 */
.team-table tbody tr {
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.team-table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.03);
    transform: scale(1.001);
}

/* 优化小徽章间距 */
.d-flex.gap-2 {
    gap: 0.5rem !important;
}

/* 优化统计卡片间距 */
.row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* 优化进度条 */
.progress {
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.05);
    height: 10px;
}

.progress-bar {
    transition: width 0.6s ease;
}

/* 角色徽章美化 */
.badge.bg-warning,
.badge.bg-info,
.badge.bg-secondary {
    color: #fff !important;
}

/* 成员信息头像优化 */
.bg-primary.rounded-circle {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 在线状态指示器 */
.badge.rounded-pill.bg-success {
    box-shadow: 0 0 0 2px white;
}

/* 状态徽章 */
.badge.bg-success,
.badge.bg-danger,
.badge.bg-secondary {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* 优化筛选按钮 */
.btn-group .btn:hover {
    transform: translateY(-1px);
}

.btn-group .btn.active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 斜体文本优化 */
.fst-italic {
    font-style: italic;
}

.opacity-75 {
    opacity: 0.75 !important;
}

/* 按钮组优化 */
.btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* 操作按钮优化 */
.btn-outline-primary:hover,
.btn-outline-info:hover,
.btn-outline-danger:hover {
    transform: scale(1.05);
}

/* ========================================
   团队成员详情弹窗专业样式 v2.0
   ======================================== */

/* 弹窗卡片头部专业样式 */
#userDetailModal .card-header,
#editUserModal .card-header {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#userDetailModal .card-header.bg-info,
#userDetailModal .card-header.bg-success {
    background: linear-gradient(135deg, var(--header-start, #17a2b8) 0%, var(--header-end, #138496) 100%) !important;
    border: none !important;
}

#userDetailModal .card-header.bg-info {
    --header-start: #17a2b8;
    --header-end: #138496;
}

#userDetailModal .card-header.bg-success {
    --header-start: #28a745;
    --header-end: #1e7e34;
}

#userDetailModal .card-header i {
    font-size: 1rem !important;
    margin-right: 0.5rem !important;
    opacity: 0.95;
}

#userDetailModal .card-header span {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* 详情卡片整体样式 */
#userDetailModal .card {
    border: none !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

#userDetailModal .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* 表格样式优化 */
#userDetailModal .table {
    margin-bottom: 0;
}

#userDetailModal .table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    border-color: #f0f0f0;
}

#userDetailModal .table td.text-muted {
    color: #6c757d !important;
    font-size: 0.875rem;
}

#userDetailModal .table td.fw-bold {
    color: #212529;
    font-weight: 600 !important;
}

/* 统计数字样式 */
#userDetailModal .bg-light.rounded {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

#userDetailModal .bg-light.rounded:hover {
    background-color: #f1f3f5 !important;
    transform: translateY(-2px);
}

#userDetailModal .bg-light.rounded h4 {
    font-weight: 700 !important;
    font-size: 1.5rem;
    margin-bottom: 0.25rem !important;
}

#userDetailModal .bg-light.rounded small {
    font-size: 0.8rem;
    font-weight: 500;
}

/* 进度条样式 */
#userDetailModal .progress {
    height: 12px;
    border-radius: 6px;
    background-color: #e9ecef;
    overflow: hidden;
}

#userDetailModal .progress-bar {
    border-radius: 6px;
    transition: width 0.6s ease;
}

/* 最近任务列表样式 */
#userDetailModal .list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

#userDetailModal .list-group-item:hover {
    background-color: #f8f9fa;
    border-left-color: #0d6efd;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .card-body.p-3 h3 {
        font-size: 1.5rem;
    }
    
    .team-table {
        font-size: 0.85rem;
    }
    
    .badge.bg-opacity-10 {
        font-size: 0.75rem;
        padding: 0.25em 0.5em;
    }
    
    .btn-group .btn .badge {
        display: none;
    }
    
    #userDetailModal .card-header {
        font-size: 0.875rem !important;
        padding: 0.875rem 1rem !important;
    }
    
    #userDetailModal .bg-light.rounded h4 {
        font-size: 1.25rem;
    }
}

/* 导出按钮优化 */
.btn-outline-secondary {
    transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-1px);
}
