/* ========================================
   智能体中心 - 现代化样式
   ======================================== */

/* 全局样式 */
.agent-hub-page {
    min-height: 100%;
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
    color: #0f172a;
}

/* 固定顶部工具栏 */
.hub-sticky-toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* 主内容区 */
.hub-main-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Segmented Control 样式 */
.segmented-control {
    position: relative;
    padding: 0.375rem;
    background: rgba(226, 232, 240, 0.6);
    border-radius: 9999px;
    display: flex;
}

.segmented-control-bg {
    position: absolute;
    top: 0.375rem;
    bottom: 0.375rem;
    border-radius: 9999px;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.segmented-control-bg.agents-active {
    left: 0.375rem;
    width: 140px;
}

.segmented-control-bg.teams-active {
    left: 148px;
    width: 140px;
}

.segmented-control-btn {
    position: relative;
    z-index: 10;
    width: 140px;
    padding: 0.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #64748b;
}

.segmented-control-btn:hover {
    color: #475569;
}

.segmented-control-btn.active {
    color: #0f172a;
}

.segmented-control-badge {
    background: #f1f5f9;
    padding: 0.125rem 0.375rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

/* 搜索框样式 */
.hub-search-container {
    position: relative;
    flex: 1;
}

.hub-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.125rem;
    height: 1.125rem;
    color: #94a3b8;
    pointer-events: none;
}

.hub-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 0.75rem;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    transition: all 0.2s;
}

.hub-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.hub-search-input::placeholder {
    color: #94a3b8;
}

/* 新建按钮 */
.hub-create-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #6366f1;
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.hub-create-btn:hover {
    background: #4f46e5;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.hub-create-btn:active {
    transform: scale(0.95);
}

/* 主内容区 */
.hub-main-content {
    max-width: 1536px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* 卡片网格 */
.hub-cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .hub-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hub-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 现代化卡片样式 */
.modern-card {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 300px;
}

.modern-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* 卡片顶部渐变背景 */
.card-gradient-header {
    height: 6rem;
    width: 100%;
    position: relative;
}

.card-gradient-bg-1 {
    background: linear-gradient(to right, #6DE4B3, #5AB7F3);
}

.card-gradient-bg-2 {
    background: linear-gradient(to right, #89f7fe, #66a6ff);
}

.card-gradient-bg-3 {
    background: linear-gradient(to right, #ffc3a0, #ffafbd);
}

.card-gradient-bg-4 {
    background: linear-gradient(to right, #e0c3fc, #8ec5fc);
}

.card-gradient-bg-5 {
    background: linear-gradient(to right, #A18CD1, #FBC2EB);
}

.card-gradient-bg-6 {
    background: linear-gradient(to right, #ff9a9e, #fecfef);
}

/* 角色标签 */
.card-role-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: white;
}

.card-more-btn {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem;
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.card-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 头像区域 */
.card-avatar-section {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -2.5rem;
    margin-bottom: 0.75rem;
    padding: 0 1rem;
}

.card-avatar {
    height: 5rem;
    width: 5rem;
    border-radius: 9999px;
    border: 4px solid white;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    z-index: 10;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
}

/* 团队头像堆叠 */
.card-team-avatars {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    width: 6rem;
}

.card-team-avatar {
    position: absolute;
    top: 0.25rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    border: 3px solid white;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* 卡片内容 */
.card-content {
    padding: 0 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.card-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    height: 2rem;
    opacity: 0.8;
}

/* 统计数据栏 */
.card-stats {
    width: 100%;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border: 1px solid #f1f5f9;
}

.card-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.card-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 1px;
    background: #e2e8f0;
}

.card-stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.card-stat-label {
    font-size: 0.563rem;
    color: #94a3b8;
    margin-top: 0.125rem;
}

/* 底部操作按钮 */
.card-actions {
    width: 100%;
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.card-action-btn {
    flex: 1;
    padding: 0.625rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.card-action-btn:hover {
    opacity: 0.9;
}

.card-action-btn:active {
    transform: scale(0.95);
}

.card-action-btn.running {
    background: #10b981;
}

.card-action-btn.idle {
    background: #1C2535;
}

.card-action-secondary {
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.card-action-secondary:hover {
    color: #475569;
    background: #f8fafc;
}

.card-action-danger {
    color: #ef4444;
    border-color: #fecaca;
}

.card-action-danger:hover {
    color: #dc2626;
    background: #fef2f2;
    border-color: #fca5a5;
}

/* 呼吸动画 */
@keyframes pulse-ring {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.pulse-dot {
    position: relative;
    display: flex;
    height: 0.375rem;
    width: 0.375rem;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: white;
    animation: pulse-ring 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot::after {
    content: '';
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: white;
}

/* ========================================
   精美的新建智能体模态框样式
   ======================================== */

/* 模态框容器动画 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(12px);
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 模态框背景遮罩 */
.agent-modal-backdrop {
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
}

/* 模态框内容容器 */
.agent-modal-content-wrapper {
    animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

/* 模态框头部设计 */
.agent-modal-header {
    position: relative;
    padding: 2rem 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.agent-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
}

.agent-modal-title {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agent-modal-title-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.agent-modal-title-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.agent-modal-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
}

/* 关闭按钮美化 */
.agent-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.agent-modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    transform: rotate(90deg) scale(1.05);
}

/* 表单区域样式 */
.agent-form-container {
    padding: 2rem 2.5rem;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

/* 自定义滚动条 */
.agent-form-container::-webkit-scrollbar {
    width: 8px;
}

.agent-form-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.agent-form-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    border-radius: 4px;
}

.agent-form-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #94a3b8, #64748b);
}

/* 表单分组样式 */
.agent-form-section {
    margin-bottom: 2.5rem;
}

.agent-form-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agent-form-section-title::before {
    content: '';
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(180deg, #6366f1, #a855f7);
    border-radius: 2px;
}

/* 输入框增强样式 */
.agent-input-group {
    margin-bottom: 1.5rem;
}

.agent-input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.625rem;
}

.agent-input-label-required {
    color: #ef4444;
    font-weight: 700;
}

.agent-input-hint {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
    margin-left: 0.25rem;
}

.agent-input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: #0f172a;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.agent-input-field:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1),
                0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background: #fefefe;
}

.agent-input-field:hover:not(:focus) {
    border-color: #cbd5e1;
}

.agent-input-field::placeholder {
    color: #cbd5e1;
}

.agent-input-description {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
}

/* 文本域样式 */
.agent-textarea-field {
    min-height: 120px;
    resize: vertical;
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
    line-height: 1.6;
}

/* 头像上传区域 */
.agent-avatar-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.agent-avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 1.25rem;
    border: 3px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.agent-avatar-preview:hover {
    border-color: #6366f1;
    border-style: solid;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
}

.agent-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-avatar-placeholder {
    width: 3rem;
    height: 3rem;
    color: #cbd5e1;
}

.agent-avatar-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.agent-upload-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.agent-upload-btn svg {
    width: 1rem;
    height: 1rem;
}

/* 工具选择器 */
.agent-tools-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.agent-tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.agent-tool-chip:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.agent-tool-chip.selected {
    color: white;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.agent-tool-chip-icon {
    width: 1rem;
    height: 1rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.agent-tool-chip.selected .agent-tool-chip-icon {
    opacity: 1;
}

/* 底部操作按钮 */
.agent-modal-footer {
    padding: 1.5rem 2.5rem;
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.agent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.agent-btn-secondary {
    color: #475569;
    background: white;
    border: 2px solid #e2e8f0;
}

.agent-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.agent-btn-primary {
    color: white;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.agent-btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #6d28d9);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.agent-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.agent-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* 开关切换器 */
.agent-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.agent-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.agent-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
}

.agent-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.agent-toggle-switch input:checked + .agent-toggle-slider {
    background: linear-gradient(135deg, #10b981, #059669);
}

.agent-toggle-switch input:checked + .agent-toggle-slider:before {
    transform: translateX(24px);
}

/* 网格布局 */
.agent-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .agent-form-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .agent-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .agent-form-container {
        padding: 1.5rem;
    }
    
    .agent-modal-footer {
        padding: 1rem 1.5rem;
    }
}

/* 加载状态动画 */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.agent-btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.agent-btn-loading .agent-btn-icon {
    animation: spin 1s linear infinite;
}

/* 新建卡片样式 */
.modern-card-new {
    min-height: 300px;
    height: 100%;
    border-radius: 1.75rem;
    border: 2px dashed #cbd5e1;
    background: rgba(248, 250, 252, 0.5);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s;
}

.modern-card-new:hover {
    background: white;
    border-color: #38bdf8;
}

.modern-card-new-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modern-card-new:hover .modern-card-new-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.modern-card-new-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #cbd5e1;
    transition: color 0.3s;
}

.modern-card-new:hover .modern-card-new-icon svg {
    color: #38bdf8;
}

.modern-card-new-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #94a3b8;
    transition: color 0.3s;
}

.modern-card-new:hover .modern-card-new-title {
    color: #38bdf8;
}

/* 隐藏/显示内容区 */
.hub-content-section {
    display: none;
}

.hub-content-section.active {
    display: block;
}

