/* ========== CRM新UI样式 ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: #0f0f1e;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========== 动态背景 ========== */
.animated-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/crm-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.bg-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15, 23, 42, 0.2), transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1), transparent 50%);
        /* 移除黑色遮罩，与聊天界面保持一致 */
    animation: bgShift 15s ease infinite;
    z-index: 1;
}

@keyframes bgShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ========== 玻璃拟态效果 ========== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #111827;
}

/* ========== 粒子效果 ========== */
.particle {
    position: fixed;
    background: white;
    border-radius: 50%;
    animation: particle-float 8s infinite;
    opacity: 0;
    z-index: 2;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(100px) scale(1);
        opacity: 0;
    }
}

.particle-1 { left: 10%; width: 6px; height: 6px; animation-delay: 0s; }
.particle-2 { left: 25%; width: 4px; height: 4px; animation-delay: 2s; }
.particle-3 { left: 40%; width: 8px; height: 8px; animation-delay: 4s; }
.particle-4 { left: 55%; width: 5px; height: 5px; animation-delay: 1s; }
.particle-5 { left: 70%; width: 6px; height: 6px; animation-delay: 3s; }
.particle-6 { left: 85%; width: 4px; height: 4px; animation-delay: 5s; }

/* ========== 左侧客户列表 ========== */
.customer-sidebar {
    position: fixed;
    left: 30px;
    top: 30px;
    width: 360px;
    height: calc(100vh - 60px);
    z-index: 100;
    overflow: visible;
    border-radius: 24px;
    /* 玻璃底效果 */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: flex;
    flex-direction: column;
    color: #111827;
}

/* 白色底容器 */
.sidebar-white-container {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-height: 0; /* 确保可以正确收缩 */
    margin: 16px;
}

.sidebar-header {
    padding: 0;
    margin: 16px 0 0 16px;
    /* 直接放在玻璃底上，不需要背景 */
    background: transparent;
    display: flex;
    align-items: center;
    color: #111827;
}

.sidebar-header h2 {
    line-height: 1.5;
    margin: 0;
    color: #111827;
}

.sidebar-header img {
    width: 57px;
    height: 57px;
}

/* 头部操作按钮 */
.header-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 27px; /* 与"天鹅Swan"文字高度对齐 */
}

.header-action-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.header-action-btn svg {
    width: 100%;
    height: 100%;
    stroke: #111827;
    transition: all 0.2s ease;
}

.header-action-btn:hover svg {
    stroke: #3b82f6;
}

.header-action-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 160px;
    z-index: 1000;
    border: 1px solid #e5e7eb;
}

.header-action-item {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #111827;
    font-size: 14px;
    text-align: left;
}

.header-action-item:hover {
    background: #f3f4f6;
}

.header-action-item span:first-child {
    font-size: 16px;
}

/* 搜索框容器 */
.customer-search-container {
    padding: 12px 16px;
    background: #ffffff;
}

.customer-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.customer-search-box:focus-within {
    background: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    flex-shrink: 0;
    margin-right: 8px;
    color: #9ca3af;
}

.customer-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #111827;
    padding: 0;
}

.customer-search-input::placeholder {
    color: #9ca3af;
}

.customer-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: #ffffff;
}

.customer-list::-webkit-scrollbar {
    width: 6px;
}

.customer-list::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 10px;
}

.customer-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.customer-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.customer-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
    margin-bottom: 5px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    border: none;
    height: 60px;
    position: relative;
}

.customer-item:hover {
    background: #f0f7ff !important;
    border-radius: 12px !important;
    margin-left: 4px !important;
    margin-right: 4px !important;
    margin-bottom: 5px !important;
    margin-top: 0 !important;
    padding: 0 16px !important;
    width: calc(100% - 8px) !important;
    box-sizing: border-box !important;
}

.customer-item.active {
    background: #e0f2fe !important;
    border-radius: 12px !important;
    margin-left: 4px !important;
    margin-right: 4px !important;
    margin-bottom: 5px !important;
    margin-top: 0 !important;
    padding: 0 16px !important;
    border: none !important;
    width: calc(100% - 8px) !important;
    box-sizing: border-box !important;
}

.customer-avatar-wrapper {
    width: 44px;
    height: 44px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    box-sizing: border-box;
}

.customer-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280; /* 使用柔和的灰色文字 */
    font-size: 1.1rem;
    font-weight: 600; /* 稍微减轻字重 */
    border-radius: 50%;
}

.customer-item:hover .customer-avatar-wrapper {
    border-color: #93c5fd;
}

.customer-item.active .customer-avatar-wrapper {
    border-color: #3b82f6;
}

.customer-name {
    font-weight: 600;
    font-size: 15px;
    color: #111827 !important;
    margin-bottom: 2px;
}

.customer-item.active .customer-name {
    color: #111827 !important;
    font-weight: 700;
}

.customer-info {
    font-size: 12px;
    color: #6b7280 !important;
}

.customer-item.active .customer-info {
    color: #6b7280 !important;
}

.sidebar-footer {
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 16px 16px;
}

.btn-add-customer {
    width: 100%;
    padding: 14px;
    background: linear-gradient(45deg, #008cff, #00c6ff);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-customer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 140, 255, 0.4);
}

.btn-settings {
    width: 100%;
    padding: 12px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
}

.btn-settings:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========== 基础数据管理页面样式 ========== */
.settings-tab-btn {
    padding: 0.875rem 1.75rem;
    background: transparent;
    border: none;
    color: #111827 !important;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.settings-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-tab-btn:hover {
    color: #111827 !important;
    background: rgba(0, 0, 0, 0.05);
}

.settings-tab-btn.active {
    color: #111827 !important;
    font-weight: 600;
}

.settings-tab-btn.active::after {
    width: 100%;
}

/* 现代化按钮样式 */
.btn-modern {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(45deg, #008cff, #00c6ff);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 140, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 140, 255, 0.4);
}

.btn-modern:active {
    transform: translateY(0);
}

.btn-modern-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-modern-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-modern-danger:hover {
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-modern-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
}

/* 现代化输入框样式 */
.input-modern {
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #111827;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.input-modern::placeholder {
    color: #6b7280;
}

.input-modern:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-modern:hover:not(:focus) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 现代化表格样式 */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.table-modern thead {
    background: rgba(255, 255, 255, 0.1);
}

.table-modern thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    color: #111827 !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.table-modern tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table-modern tbody tr:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.01);
}

.table-modern tbody tr:last-child {
    border-bottom: none;
}

.table-modern tbody td {
    padding: 1rem 1.25rem;
    color: #111827 !important;
    font-size: 0.875rem;
}

/* 现代化卡片样式 */
.card-modern {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #111827;
}

.card-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 现代化选择框样式 */
.select-modern {
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #111827;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23111827' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.select-modern:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.select-modern:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select-modern option {
    background: #1e293b;
    color: white;
}

/* 分页样式 */
.pagination-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #111827;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 2.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #111827;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    color: #111827;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* ========== 主内容区域 ========== */
.main-content {
    margin-left: 420px;
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

/* 功能切换栏 */
.function-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #111827;
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    color: #111827 !important;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: #111827 !important;
}

.tab-btn.active {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    color: #111827 !important;
}

/* 内容区域 */
.content-area {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.view-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* 允许垂直滚动 */
    overflow-x: hidden; /* 禁止水平滚动 */
    padding: 0;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

/* 训练中心视图特殊样式 */
#trainingCenterView {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

/* 当训练中心视图隐藏时，确保完全隐藏 */
#trainingCenterView[style*="display: none"] {
    display: none !important;
}

.training-center-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0;
    height: 100%;
    color: #111827;
}

.subview-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    color: #111827;
}

/* 当子视图容器隐藏时，确保完全隐藏 */
.subview-container[style*="display: none"] {
    display: none !important;
}

/* 子tab按钮样式 */
.subtab-btn {
    transition: all 0.2s ease;
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.subtab-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
    color: #111827 !important;
}

.subtab-btn.active {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #111827 !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.view-container::-webkit-scrollbar {
    width: 6px;
}

.view-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.view-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* ========== 客户画像视图 ========== */
/* 区块滚动条样式 */
.profile-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.profile-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.profile-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.profile-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 左上角客户信息卡片 */
.customer-info-card {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 50;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 400px;
}

.customer-info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* 人物形象包装器 */
.customer-avatar-wrapper {
    flex-shrink: 0;
    position: relative;
}

.customer-avatar-img {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.4);
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.2));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s;
    display: block;
}

.customer-avatar-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

/* 客户信息内容 */
.customer-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #111827;
    padding-top: 8px;
}

.customer-name-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #111827;
}

.customer-info-details {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
}

.person-container {
    position: relative;
    z-index: 50;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.person-photo {
    width: 360px;
    height: 480px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
}

.person-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    font-weight: bold;
    color: white;
}

.photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    color: white;
    z-index: 2;
}

/* 光晕效果 */
.glow-ring {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.glow-ring-1 {
        background: radial-gradient(circle, rgba(30, 58, 138, 0.3) 0%, transparent 70%);
    animation: pulse1 4s ease-in-out infinite;
}

.glow-ring-2 {
    background: radial-gradient(circle, rgba(252, 70, 107, 0.2) 0%, transparent 70%);
    animation: pulse2 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes pulse1 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes pulse2 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.5; }
}

/* ========== 浮动标签 ========== */
.floating-tag {
    position: absolute;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
}

.floating-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.floating-tag:hover {
    transform: scale(1.15) translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* 标签颜色变体 */
.floating-tag-white {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.floating-tag-pink {
    background: linear-gradient(to right, rgba(244, 114, 182, 0.8), rgba(236, 72, 153, 0.8));
    color: white;
}

.floating-tag-blue {
    background: linear-gradient(to right, rgba(96, 165, 250, 0.8), rgba(59, 130, 246, 0.8));
    color: white;
}

.floating-tag-green {
    background: linear-gradient(to right, rgba(74, 222, 128, 0.8), rgba(34, 197, 94, 0.8));
    color: white;
}

.floating-tag-yellow {
    background: linear-gradient(to right, rgba(251, 191, 36, 0.8), rgba(245, 158, 11, 0.8));
    color: white;
}

.floating-tag-red {
    background: linear-gradient(to right, rgba(248, 113, 113, 0.8), rgba(239, 68, 68, 0.8));
    color: white;
}

.floating-tag-indigo {
    background: linear-gradient(to right, rgba(129, 140, 248, 0.8), rgba(99, 102, 241, 0.8));
    color: white;
}

.floating-tag-purple {
    background: linear-gradient(to right, rgba(167, 139, 250, 0.8), rgba(139, 92, 246, 0.8));
    color: white;
}

.floating-tag-teal {
    background: linear-gradient(to right, rgba(45, 212, 191, 0.8), rgba(20, 184, 166, 0.8));
    color: white;
}

/* 标签角标 */
.tag-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 11;
    line-height: 1;
}

.tag-badge-manual {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.tag-badge-auto {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.tag-badge-system {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

/* 标签动画延迟 */
.tag-delay-0 { animation-delay: 0s; }
.tag-delay-1 { animation-delay: 0.5s; }
.tag-delay-2 { animation-delay: 1s; }
.tag-delay-3 { animation-delay: 1.5s; }
.tag-delay-4 { animation-delay: 2s; }
.tag-delay-5 { animation-delay: 2.5s; }
.tag-delay-6 { animation-delay: 0.8s; }
.tag-delay-7 { animation-delay: 1.8s; }
.tag-delay-8 { animation-delay: 1.2s; }
.tag-delay-9 { animation-delay: 0.3s; }
.tag-delay-10 { animation-delay: 2.2s; }
.tag-delay-11 { animation-delay: 1.7s; }

/* ========== 其他视图样式 ========== */
.view-content,
#basicInfoContent,
#rlTrainingViewContent,
#ordersContent,
#tagsContent,
#relationshipsContent,
#multiObjectiveViewContent,
#successCasesViewContent,
#selfPlayTrainingViewContent,
#rlhfViewContent,
#realScenarioTestingViewContent {
    color: #111827 !important;
    padding: 20px;
    min-height: 100%;
    position: relative;
    /* 不设置 overflow，让外层 .view-container 处理滚动 */
}

/* 客户画像视图特殊处理 - 移除内部容器的背景，使用外层容器的背景 */
#profileViewContent {
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827 !important;
}

/* ========== 淡入淡出动画 ========== */
.fade-transition {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* ========== 加载状态 ========== */
.crm-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6b7280;
}

.crm-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* 在深色背景上的加载状态（用于主内容区） */
.glass .crm-loading {
    color: #111827 !important;
}

.glass .crm-loading p {
    color: #111827 !important;
}

/* 训练中心子视图内容文字颜色 */
.subview-container * {
    color: inherit;
}

.subview-container p,
.subview-container h1,
.subview-container h2,
.subview-container h3,
.subview-container h4,
.subview-container h5,
.subview-container h6,
.subview-container span,
.subview-container div,
.subview-container label {
    color: #111827 !important;
}

.subview-container .crm-loading,
.subview-container .crm-loading p {
    color: #111827 !important;
}

/* 训练中心内容区域文字颜色 */
.training-center-content * {
    color: inherit;
}

.training-center-content p,
.training-center-content h1,
.training-center-content h2,
.training-center-content h3,
.training-center-content h4,
.training-center-content h5,
.training-center-content h6,
.training-center-content span,
.training-center-content div,
.training-center-content label {
    color: #111827 !important;
}

.training-center-content .crm-loading,
.training-center-content .crm-loading p {
    color: #111827 !important;
}

.glass .crm-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== 模态框样式（适配新UI） ========== */
.crm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s;
}

.crm-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideUp 0.3s;
    color: #111827;
}

.crm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.crm-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.crm-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.crm-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #111827;
}

.crm-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* 表单样式（适配新UI） */
.crm-form-group {
    margin-bottom: 1.5rem;
}

.crm-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
}

.crm-form-label.required::after {
    content: ' *';
    color: #ef4444;
}

.crm-input,
.crm-select,
.crm-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    transition: all 0.2s;
}

.crm-input:focus,
.crm-select:focus,
.crm-textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.crm-textarea {
    resize: vertical;
    min-height: 100px;
}

/* 按钮样式（适配新UI） */
.crm-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.crm-btn-primary {
    background: linear-gradient(45deg, #008cff, #00c6ff);
    color: white;
}

.crm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(0, 140, 255, 0.4);
}

.crm-btn-secondary {
    background: rgba(0, 0, 0, 0.1);
    color: #111827;
}

.crm-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.15);
}

.crm-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.crm-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(239, 68, 68, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .customer-sidebar {
        width: 300px;
    }
    
    .main-content {
        margin-left: 360px;
    }
    
    .person-photo {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .customer-sidebar {
        width: 100%;
        height: 200px;
        left: 0;
        top: 0;
        border-radius: 0;
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 200px;
    }
    
    .person-photo {
        width: 240px;
        height: 320px;
    }
}

/* ========== 词云气泡样式 ========== */
.tag-bubble-container {
    position: relative;
    min-height: 800px;
    width: 100%;
    overflow: visible;
}

.tag-bubble {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 60px rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: scale(0.8);
}

.tag-bubble.placed {
    opacity: 1;
    transform: scale(1);
}

.tag-bubble::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.tag-bubble:hover {
    transform: scale(1.12) translateY(-10px);
    box-shadow: 
        0 20px 60px 0 rgba(0, 0, 0, 0.5),
        inset 0 0 80px rgba(255, 255, 255, 0.1);
    z-index: 1000 !important;
}

.tag-bubble:hover::before {
    opacity: 1;
}

/* 倾斜样式 */
.tag-bubble.tilt-left { transform: rotate(-8deg); }
.tag-bubble.tilt-right { transform: rotate(8deg); }
.tag-bubble.tilt-left-sm { transform: rotate(-4deg); }
.tag-bubble.tilt-right-sm { transform: rotate(4deg); }

.tag-bubble:hover.tilt-left { transform: rotate(-8deg) scale(1.12) translateY(-10px); }
.tag-bubble:hover.tilt-right { transform: rotate(8deg) scale(1.12) translateY(-10px); }
.tag-bubble:hover.tilt-left-sm { transform: rotate(-4deg) scale(1.12) translateY(-10px); }
.tag-bubble:hover.tilt-right-sm { transform: rotate(4deg) scale(1.12) translateY(-10px); }

.bubble-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px;
}

.bubble-emoji {
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

.bubble-title {
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    color: white;
}

.bubble-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.bubble-tag-item {
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-block;
    color: white;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.bubble-tag-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* 随机旋转类 */
.rotate-1 { transform: rotate(-2deg); }
.rotate-2 { transform: rotate(2deg); }
.rotate-3 { transform: rotate(-3deg); }
.rotate-4 { transform: rotate(3deg); }
.rotate-5 { transform: rotate(-1deg); }
.rotate-6 { transform: rotate(1deg); }

/* 浮动动画 */
@keyframes float-smooth {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.float-1 { animation: float-smooth 5s ease-in-out infinite; }
.float-2 { animation: float-smooth 6s ease-in-out infinite 1s; }
.float-3 { animation: float-smooth 7s ease-in-out infinite 2s; }
.float-4 { animation: float-smooth 5.5s ease-in-out infinite 1.5s; }
.float-5 { animation: float-smooth 6.5s ease-in-out infinite 0.5s; }
.float-6 { animation: float-smooth 8s ease-in-out infinite 2.5s; }

/* 颜色方案 */
.tag-bubble.color-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(219, 39, 119, 0.2) 100%);
}

.tag-bubble.color-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.2) 100%);
}

.tag-bubble.color-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.tag-bubble.color-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.2) 100%);
}

.tag-bubble.color-orange {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.3) 0%, rgba(249, 115, 22, 0.2) 100%);
}

.tag-bubble.color-cyan {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
}

/* ========== 缩放工具栏样式 ========== */
.zoom-toolbar {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    color: #111827;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* ========== 标签悬浮提示样式 ========== */
.tag-tooltip {
    position: fixed;
    z-index: 10000;
    min-width: 280px;
    max-width: 400px;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 8px 32px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.tag-tooltip-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tag-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-tooltip-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    flex: 1;
}

.tag-tooltip-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tag-tooltip-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.875rem;
    gap: 0.75rem;
}

.tag-tooltip-row:last-child {
    margin-bottom: 0;
}

.tag-tooltip-label {
    min-width: 70px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 500;
}

.tag-tooltip-value {
    flex: 1;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 500;
    word-break: break-word;
}

.tag-tooltip-description {
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.tag-tooltip-confidence {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.tag-tooltip-confidence-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.tag-tooltip-confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.8), rgba(34, 211, 238, 0.8));
    border-radius: 3px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.tag-tooltip-confidence span {
    min-width: 45px;
    text-align: right;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.tag-tooltip-footer {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.zoom-btn:hover::before {
    width: 100%;
    height: 100%;
}

.zoom-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.zoom-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.2s;
}

.zoom-btn:hover svg {
    transform: scale(1.1);
}

.zoom-level-display {
    min-width: 70px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0 1rem;
    letter-spacing: 0.5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.zoomable-container {
    /* 移除背景，使用外层容器的背景 */
}

