/* AbyssOJ - 团队系统 CSS */

/* 团队卡片样式 */
.card:hover {
    transition: all 0.3s ease;
}

/* 团队成员头像样式 */
.team-member-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

/* 团队Logo样式 */
.team-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

/* 团队Logo预览样式 */
.logo-preview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px dashed #dee2e6;
    transition: all 0.3s ease;
}

.logo-preview:hover {
    border-color: #2563eb;
}

/* 团队状态标签样式 */
.status-badge {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
}

/* 角色标签样式 */
.role-badge {
    font-size: 0.75rem;
}

/* 团队成员列表样式 */
.members-table {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* 团队动态样式 */
.team-activity {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
}

/* 团队详情页样式 */
.team-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* 团队管理页面样式 */
.management-section {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* 邀请列表样式 */
.invite-item {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .team-header {
        padding: 1.5rem;
    }
    
    .team-logo {
        width: 50px;
        height: 50px;
    }
    
    .logo-preview {
        width: 120px;
        height: 120px;
    }
}

/* 团队创建表单样式 */
.create-team-form {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* 表单输入框样式 */
.create-team-form .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* 表单标签样式 */
.create-team-form .form-label {
    font-weight: 500;
    color: #374151;
}

/* 按钮悬停效果 */
.create-team-form .btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1e40af;
}

/* 团队列表卡片样式 */
.team-card {
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* 团队卡片头部样式 */
.team-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

/* 团队卡片底部样式 */
.team-card-footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 0.5rem 0.5rem !important;
}

/* 加载动画 */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h5 {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.empty-state p {
    margin-bottom: 1.5rem;
}
