/* ===== LOADING ANIMATION STYLES ===== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#particleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}


.loading-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.loading-progress {
    margin-top: 40px;
    animation: progressAppear 1s ease-out 1s both;
}

.progress-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 50%, #10b981 100%);
    border-radius: 3px;
    /* width: 0%; */
    transition: width 0.4s ease-out;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: progressShimmer 2s ease-in-out infinite;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    width: 300px;
    margin: 0 auto;
}

#progressPercent {
    font-weight: 600;
    font-size: 16px;
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

#progressStatus {
    opacity: 0.8;
    font-weight: 400;
}

@keyframes progressAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressShimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-logo {
    position: relative;
    margin-bottom: 40px;
    animation: logoAppear 1s ease-out 0.5s both;
}

.loading-title {
    font-size: 28px;
    font-weight: 600;
    margin: 20px 0 8px 0;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: titleAppear 1s ease-out 0.8s both;
}

.loading-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    animation: subtitleAppear 1s ease-out 1s both;
}

.loading-logo-img {
    width: 420px;
    height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.6));
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    height: 460px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: logoPulse 2s ease-in-out infinite;
}

.logo-pulse::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    animation: logoPulse 2s ease-in-out infinite 0.5s;
}

.loading-text {
    margin-bottom: 60px;
    animation: textSlideUp 1s ease-out 1s both;
}

.loading-company-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.loading-company-name-en {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    animation: textSlideUp 1s ease-out 1.2s both;
    line-height: 1.3;
}

.loading-slogan {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 4px;
    font-weight: 300;
}

.loading-progress {
    animation: progressAppear 1s ease-out 1.5s both;
}

.progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 16px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    border-radius: 2px;
    /* width: 0%;
    animation: progressFill 2s ease-out 2s both; */
    /* width is set inline by JavaScript */
    animation: none; /* Disable animation for project cards */
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: progressShine 2s ease-in-out 2s infinite;
}

.loading-percentage {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Loading Animations */
@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

@keyframes textSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Blue and Red theme */
    --primary-blue: #2563eb;
    --primary-red: #dc2626;
    --light-blue: #3b82f6;
    --light-red: #ef4444;
    --dark-blue: #1e40af;
    --dark-red: #b91c1c;
    
    /* Green Colors for success buttons */
    --green: #10b981;
    --green-dark: #059669;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-chinese: 'Noto Sans SC', sans-serif;
    --font-english: 'Roboto', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

body {
    font-family: var(--font-chinese);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.navbar {
    padding: 16px 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* 防止换行 */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px; /* 减少间距 */
    flex-wrap: nowrap; /* 防止换行 */
    white-space: nowrap; /* 防止文字换行 */
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap; /* 防止链接文字换行 */
    font-size: 14px; /* 稍微减小字体以适应英文 */
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px; /* 减少间距 */
    flex-shrink: 0; /* 防止被压缩 */
    white-space: nowrap; /* 防止换行 */
}

.lang-toggle {
    background: none;
    border: none;
    padding: 6px 10px; /* 减少内边距 */
    cursor: pointer;
    font-size: 16px; /* 减小字体 */
    color: #4a4a4a;
    transition: var(--transition-fast);
    font-weight: 500;
    width: 100px; /* 减小宽度 */
    text-align: center;
    white-space: nowrap; /* 防止换行 */
}

.lang-toggle:hover {
    color: var(--primary-blue);
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-700);
    cursor: pointer;
}

/* 针对中等屏幕的导航优化 */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px; /* 进一步减少间距 */
    }
    
    .nav-link {
        font-size: 13px; /* 更小的字体 */
    }
    
    .lang-toggle {
        width: 80px; /* 更小的宽度 */
        font-size: 14px;
        padding: 4px 8px;
    }
}

@media (max-width: 1000px) {
    .nav-menu {
        gap: 16px; /* 最小间距 */
    }
    
    .nav-link {
        font-size: 12px; /* 最小字体 */
    }
}

/* 导航栏宽度适应 - 平板和手机 */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .nav-logo .logo {
        height: 35px;
    }
    
    .company-name {
        font-size: 16px;
        margin-left: 8px;
    }
    
    .nav-menu {
        display: none; /* 默认隐藏菜单 */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 12px 12px;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        z-index: 1000;
        width: 100%;
    }
    
    .nav-menu.active {
        display: flex; /* 显示菜单 */
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
        padding: 12px 0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 8px 0;
        display: block;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block; /* 显示汉堡菜单按钮 */
    }
    
    .nav-controls {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .lang-toggle {
        width: 70px;
        font-size: 14px;
        padding: 4px 6px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, var(--white) 50%, #f1f5f9 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    padding: 40px 0;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.1;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
    position: relative;
    text-align: center;
    padding: 20px;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 650px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: var(--transition-slow);
    position: relative;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 20px;
    opacity: 0.1;
    z-index: 1;
}

.hero-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--gray-400);
    animation: bounce 2s infinite;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Company Overview */
.company-overview {
    background: var(--gray-50);
}

.core-philosophy {
    margin: 40px 0;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-blue);
}

.philosophy-content h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.philosophy-content p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

/* Organization Structure Styles */
.organization-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.org-chart {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.org-level {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.org-level-1 {
    margin-bottom: 50px;
}

.org-level-2 {
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 50px;
}

.org-level-3 {
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 50px;
}

.org-level-4 {
    justify-content: center;
    margin-bottom: 20px;
}

/* 职位样式 */
.org-position {
    padding: 15px 25px;
    border-radius: 25px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.org-position:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.position-title {
    font-weight: 600;
    font-size: 16px;
}

/* 总经理样式 */
.org-position.ceo {
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    color: white;
    font-size: 18px;
    padding: 20px 30px;
}

/* 副总经理样式 */
.org-position.manager {
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    color: white;
}

/* 部门样式 */
.org-position.department {
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    color: white;
}

/* 总工程师样式 */
.org-position.chief-engineer {
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    color: white;
}

/* 市场部副总经理样式 - 深色 */
.org-position.department.market,
.org-position.manager.market-manager {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

/* 分支容器 */
.org-branch {
    display: flex;
    gap: 30px;
    align-items: center;
}

.left-branch {
    justify-content: flex-end;
}

.right-branch {
    justify-content: flex-start;
}

.bottom-branch {
    justify-content: center;
    gap: 50px;
}

/* 组织架构图容器 - 响应式图片 */
.org-chart-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.org-chart-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.org-chart-image:hover {
    transform: scale(1.02);
}

/* 响应式媒体查询 */
@media (max-width: 768px) {
    .org-chart-container {
        padding: 15px;
        margin: 20px auto;
    }
    
    .org-chart-image {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    /* 导航栏小屏幕优化 */
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo .logo {
        height: 30px;
    }
    
    .company-name {
        font-size: 14px;
        margin-left: 6px;
    }
    
    .nav-menu {
        padding: 15px;
    }
    
    .nav-menu li {
        padding: 10px 0;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .lang-toggle {
        width: 60px;
        font-size: 12px;
        padding: 3px 5px;
    }
    
    .org-chart-container {
        padding: 10px;
        margin: 15px auto;
    }
    
    /* 团队优势小屏幕优化 */
    .team-advantages {
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    .advantage-item {
        padding: 15px !important;
        gap: 15px !important;
    }
    
    .advantage-image {
        height: 150px !important;
        max-width: 250px !important;
    }
    
    .advantage-content h4 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .advantage-content p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    .advantage-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
}

/* 第二层：总工程师和副总经理们 */
.second-level {
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 总工程师 - 矩形 */
.chief-engineer {
    width: 140px;
    height: 50px;
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 副总经理 - 圆角矩形 */
.vice-manager {
    width: 120px;
    height: 50px;
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 连接线样式 */
/* 总经理向下的主垂直线 */
.line-vertical-main {
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: #5a9fd4;
}

/* 连接4个人的水平线 */
.line-horizontal-main {
    position: absolute;
    top: 200px;
    left: 50.5%;
    transform: translateX(-50%);
    width: 670px;
    height: 2px;
    background: #5a9fd4;
}

/* 总工程师的垂直连接线 */
.line-vertical-engineer {
    position: absolute;
    top: 200px;
    left: calc(50% - 330px);
    width: 2px;
    height: 20px;
    background: #5a9fd4;
}

/* 第一个副总经理的垂直连接线 */
.line-vertical-vice1 {
    position: absolute;
    top: 200px;
    left: calc(50% - 100px);
    width: 2px;
    height: 20px;
    background: #5a9fd4;
}

/* 第二个副总经理的垂直连接线 */
.line-vertical-vice2 {
    position: absolute;
    top: 200px;
    left: calc(50% + 70px + 50px);
    width: 2px;
    height: 20px;
    background: #5a9fd4;
}

/* 第三个副总经理的垂直连接线 */
.line-vertical-vice3 {
    position: absolute;
    top: 200px;
    left: calc(50% + 270px + 69px);
    width: 2px;
    height: 20px;
    background: #5a9fd4;
}

/* 总工程师向下的连接线 */
.line-engineer-down {
    position: absolute;
    top: 270px;
    left: calc(50% - 330px);
    width: 2px;
    height: 30px;
    background: #5a9fd4;
}

/* 总工程师下级的水平连接线 */
.line-engineer-horizontal {
    position: absolute;
    top: 300px;
    left: calc(50% - 380px);
    width: 110px;
    height: 2px;
    background: #5a9fd4;
}

/* 软件部向上的连接线 */
.line-software-up {
    position: absolute;
    top: 300px;
    left: calc(50% - 430px + 49px);
    width: 2px;
    height: 40px;
    background: #5a9fd4;
}

/* 硬件部向上的连接线 */
.line-hardware-up {
    position: absolute;
    top: 300px;
    left: calc(50% - 430px + 159px);
    width: 2px;
    height: 40px;
    background: #5a9fd4;
}

/* 第三层：部门 */
.third-level {
    position: absolute;
    top: 340px;
    left: calc(50% - 430px);
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 部门样式 */
.department {
    width: 100px;
    height: 40px;
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 第一个副总经理向下的连接线 */
.line-vice1-down {
    position: absolute;
    top: 270px;
    left: calc(50% - 100px);
    width: 2px;
    height: 70px;
    background: #5a9fd4;
}

/* 第四层：第一个副总经理的工程部 */
.fourth-level-vice1 {
    position: absolute;
    top: 340px;
    left: calc(50% - 150px);
    display: flex;
    align-items: center;
}

/* 第二个副总经理向下的连接线 */
.line-vice2-down {
    position: absolute;
    top: 270px;
    left: calc(50% + 70px + 50px);
    width: 2px;
    height: 70px;
    background: #5a9fd4;
}

/* 第四层：第二个副总经理的财务部 */
.fourth-level-vice2 {
    position: absolute;
    top: 340px;
    left: calc(50% + 70px);
    display: flex;
    align-items: center;
}

/* 第三个副总经理向下的连接线 */
.line-vice3-down {
    position: absolute;
    top: 270px;
    left: calc(50% + 270px + 69px);
    width: 2px;
    height: 70px;
    background: #5a9fd4;
}

/* 第四层：第三个副总经理的市场部 */
.fourth-level-vice3 {
    position: absolute;
    top: 340px;
    left: calc(50% + 290px);
    display: flex;
    align-items: center;
}

/* Team Advantages */
.team-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.advantage-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.advantage-item:hover .advantage-image img {
    transform: scale(1.05);
}

.advantage-content {
    flex: 1;
    text-align: left;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.advantage-content h4 {
    color: var(--primary-blue);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.advantage-content p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 16px;
}

.company-image {
    text-align: center;
    margin-bottom: 60px;
}

.overview-img {
    max-width: 70%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
}

.overview-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.overview-card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--white);
}

.overview-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.overview-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: var(--primary-blue);
    font-size: 16px;
}

.feature-item span {
    font-weight: 500;
    color: var(--gray-700);
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Products Section */
.products {
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: var(--card-padding);
    position: relative;
}

.product-number {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.product-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
}

.product-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: var(--card-padding);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-date {
    color: var(--gray-500);
    font-size: 14px;
}

.news-category {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--gray-600);
}

/* Real Map Styles */
.map-container-section {
    margin-top: -20px;
    margin-left: -80px;
}

.map-section {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

/* 删除了标题，不再需要这个样式 */

.real-map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.location-map-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* 地图中心定位图标 */
.map-center-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.map-center-marker i {
    font-size: 32px;
    color: var(--primary-red);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: markerBounce 2s ease-in-out infinite;
}

@keyframes markerBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.map-description {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Animations */
@keyframes markerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(220, 38, 38, 0.6);
    }
}

/* Form Styles */
.form {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Submit Button */
.contact-form .btn {
    display: block;
    margin: 24px auto 0;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo {
    height: 32px;
    width: auto;
}

.footer-logo h3 {
    font-size: 18px;
    color: var(--white);
    white-space: normal;
    word-break: keep-all;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-300);
}

.footer-contact i {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-400);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Login System Styles */
.user-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--gray-600);
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-tab:hover:not(.active) {
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.5);
}

/* Modal Base Styles */
.modal,
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    margin: 0;
    color: var(--gray-900);
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-500);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
    transform: scale(1.1);
}

.modal-body {
    padding: 24px;
}

/* 工作流管理模态框特殊样式 */
#createProjectModal .modal-content,
#addMilestoneModal .modal-content,
#addMemberModal .modal-content {
    max-width: 600px;
    width: 95%;
}

#createProjectModal .modal-body,
#addMilestoneModal .modal-body,
#addMemberModal .modal-body {
    padding: 30px;
}

#createProjectModal .form-group,
#addMilestoneModal .form-group,
#addMemberModal .form-group {
    margin-bottom: 20px;
}

#createProjectModal .form-group label,
#addMilestoneModal .form-group label,
#addMemberModal .form-group label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

#createProjectModal .form-group input,
#createProjectModal .form-group select,
#createProjectModal .form-group textarea,
#addMilestoneModal .form-group input,
#addMilestoneModal .form-group select,
#addMilestoneModal .form-group textarea,
#addMemberModal .form-group input,
#addMemberModal .form-group select,
#addMemberModal .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

#createProjectModal .form-group input:focus,
#createProjectModal .form-group select:focus,
#createProjectModal .form-group textarea:focus,
#addMilestoneModal .form-group input:focus,
#addMilestoneModal .form-group select:focus,
#addMilestoneModal .form-group textarea:focus,
#addMemberModal .form-group input:focus,
#addMemberModal .form-group select:focus,
#addMemberModal .form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#createProjectModal .form-row,
#addMilestoneModal .form-row,
#addMemberModal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#createProjectModal .modal-actions,
#addMilestoneModal .modal-actions,
#addNodeModal .modal-actions,
#addMemberModal .modal-actions,
#editNodeModal .modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

.modal-actions-center {
    justify-content: center !important;
}

#createProjectModal .modal-actions .btn,
#addMilestoneModal .modal-actions .btn,
#addNodeModal .modal-actions .btn,
#addMemberModal .modal-actions .btn,
#editNodeModal .modal-actions .btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 100px;
}

.auth-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.auth-actions .btn {
    flex: 1;
    justify-content: center;
}

.demo-accounts {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.demo-accounts h4 {
    margin: 0 0 12px 0;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
}

.demo-account-list {
    space-y: 8px;
}

.demo-account {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-600);
    padding: 6px 12px;
    background: var(--gray-50);
    border-radius: 6px;
    margin-bottom: 6px;
}

.demo-account strong {
    min-width: 60px;
    color: var(--gray-700);
}

.demo-account span {
    font-family: monospace;
    background: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--gray-200);
}

/* Form Note */
.form-note {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--gray-500);
    font-style: italic;
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--gray-500);
    font-style: italic;
}

/* 手机号输入组 */
.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-input-group input {
    flex: 1;
}

.btn-send-sms {
    padding: 12px 16px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    min-width: 100px;
}

.btn-send-sms:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

.btn-send-sms:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.btn-send-sms.countdown {
    background: var(--gray-400);
    cursor: not-allowed;
}

/* ========== 工作流管理样式 ========== */
.workflow-section {
    padding: 80px 0;
    background: var(--light-gray);
    display: none;
}

/* 工作流工具栏 */
.workflow-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-filter select {
    padding: 8px 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 14px;
}

.view-toggle {
    display: flex;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 2px;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.view-btn.active,
.view-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-small);
}

/* 项目容器 */
.projects-container {
    margin-top: 20px;
}

.projects-container.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 项目卡片 */
.project-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
}

.project-card:active {
    transform: scale(0.98) translateY(-1px);
}

.project-card.expanding {
    animation: cardExpanding 0.2s ease-out forwards;
    z-index: 10;
}

@keyframes cardExpanding {
    0% {
        transform: scale(1) translateY(-3px);
    }
    100% {
        transform: scale(1.01) translateY(-4px);
        opacity: 0.95;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.06);
    }
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.project-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.project-progress {
    font-size: 12px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.project-members-preview {
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-avatars {
    display: flex;
    margin-right: 10px;
}

.member-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: -8px;
    border: 2px solid var(--white);
    position: relative;
}

.member-avatar:first-child {
    margin-left: 0;
}

.member-count {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 项目详情页 */
.project-detail {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.25s ease-out;
}

.project-detail.show {
    opacity: 1;
    transform: translateY(0);
}

.project-detail.show .project-detail-header,
.project-detail.show .detail-card,
.project-detail.show .milestones-container {
    opacity: 0;
    transform: translateY(3px);
    animation: fadeInContent 0.3s ease-out forwards;
}

.project-detail.show .project-detail-header { animation-delay: 0.02s; }
.project-detail.show .detail-card:nth-child(1) { animation-delay: 0.04s; }
.project-detail.show .detail-card:nth-child(2) { animation-delay: 0.06s; }
.project-detail.show .detail-card:nth-child(3) { animation-delay: 0.08s; }
.project-detail.show .milestones-container { animation-delay: 0.1s; }

@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-detail.expanding {
    animation: projectExpand 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes projectExpand {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: var(--white);
}

.btn-back {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
}

.project-title-section h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.project-title-section .project-meta {
    margin: 0;
}

.project-title-section .status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 30px;
}

.detail-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.detail-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px 0;
    font-size: 16px;
    color: var(--text-primary);
}

.detail-card h4 i {
    color: var(--primary-blue);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h4 {
    margin: 0;
}

.project-info .info-item {
    display: flex;
    margin-bottom: 15px;
}

.project-info .info-item label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 100px;
    margin-right: 15px;
}

.project-info .info-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* 进度节点 - 树状图样式 */
.milestones-container {
    max-height: 600px;
    overflow: auto;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* 树状图容器 */
.milestone-tree {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 600px;
    width: 100%;
}

/* SVG连接线容器 */
.milestone-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 800px;
    min-height: 600px;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

/* 删除模式下启用SVG容器的点击事件 */
.delete-mode .milestone-connections {
    pointer-events: auto;
    z-index: 998 !important;
}

/* 连接线样式 */
.connection-line {
    stroke: var(--primary-blue);
    stroke-width: 3;
    opacity: 0.9;
    stroke-dasharray: 8,4;
    animation: connectionFlow 3s linear infinite;
    fill: none;
    display: block;
    visibility: visible;
    pointer-events: none; /* 默认不可点击 */
}

@keyframes connectionFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 20; }
}

/* 层级容器 */
.milestone-level {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 3;
    flex-wrap: wrap;
}

/* 删除模式下，让milestone-level不阻挡连接线点击 */
.delete-mode .milestone-level {
    pointer-events: none;
}

/* 但保留节点本身的点击事件 */
.delete-mode .milestone-node-compact {
    pointer-events: auto;
}

/* 删除模式下，让milestone-tree也不阻挡连接线点击 */
.delete-mode .milestone-tree {
    pointer-events: none;
}

/* 紧凑型里程碑节点 */
.milestone-node-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 10px;
    transition: all 0.3s ease;
}

.milestone-node-compact:hover {
    transform: scale(1.1);
}

/* 里程碑圆圈 */
.milestone-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid var(--gray-300);
    color: var(--gray-400);
}

.milestone-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-width: 4px;
}

.milestone-circle.completed {
    background: var(--white);
    border: 3px solid var(--gray-200);
    color: var(--gray-600);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: completedBounce 0.6s ease-out;
}

.milestone-circle.in-progress {
    background: var(--primary-blue);
    border: 3px solid var(--primary-blue);
    color: var(--white);
    animation: progressPulse 2s infinite;
}

.milestone-circle.pending {
    background: var(--primary-red);
    border: 3px solid var(--primary-red);
    color: var(--white);
}

/* 里程碑标签 */
.milestone-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    max-width: 80px;
    line-height: 1.2;
    word-break: break-word;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.milestone-node-compact:hover .milestone-label {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 手动连接模式样式 */
.milestone-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.connection-mode .milestone-node-compact {
    position: relative;
}

.connection-mode .milestone-circle {
    border-width: 4px;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.connection-mode .milestone-circle:hover {
    border-width: 5px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5);
    transform: scale(1.2);
}

.milestone-circle.connecting-from {
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.5) !important;
    animation: connectingPulse 1s infinite;
}

.milestone-circle.connecting-to {
    border-color: var(--success-green) !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.5) !important;
}

@keyframes connectingPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.3);
    }
}

/* 临时连接线 */
.temp-connection-line {
    stroke: var(--primary-red);
    stroke-width: 3;
    opacity: 0.8;
    stroke-dasharray: 6,3;
    fill: none;
    pointer-events: none;
}

/* 连接模式提示 */
.connection-mode-hint {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 删除模式样式 */
.delete-mode .milestone-node-compact {
    position: relative;
}

.delete-mode .milestone-circle {
    border-width: 4px;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}

.delete-mode .milestone-circle:hover {
    border-color: var(--primary-red) !important;
    border-width: 5px;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.6);
    transform: scale(1.2);
}

.milestone-circle.deleting {
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.7) !important;
    animation: deletingShake 0.5s infinite;
}

.delete-mode .connection-line {
    stroke: var(--primary-red) !important;
    stroke-width: 4 !important;
    opacity: 0.8 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999 !important;
}

.delete-mode .connection-line:hover {
    stroke-width: 6;
    opacity: 1;
    stroke-dasharray: 4,2;
    animation: deleteLineFlash 0.5s infinite;
}

@keyframes deletingShake {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-2deg); }
    75% { transform: scale(1.05) rotate(2deg); }
}

@keyframes deleteLineFlash {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* 删除确认对话框 */
.delete-confirmation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.delete-confirmation-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    text-align: center;
}

.delete-confirmation h3 {
    color: var(--primary-red);
    margin: 0 0 15px 0;
    font-size: 20px;
}

.delete-confirmation p {
    color: var(--text-secondary);
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.delete-confirmation .warning-text {
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 500;
    margin: 15px 0 25px 0;
    padding: 10px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.delete-confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.delete-confirmation-actions .btn {
    min-width: 100px;
}

/* 节点等级样式 */
.milestone-level {
    position: relative;
    margin: 20px 0;
}

.milestone-level::before {
    content: "第 " attr(data-level) " 级";
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 不同等级的节点颜色 */
.milestone-level[data-level="1"] .milestone-circle {
    border-color: var(--success-green);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.milestone-level[data-level="2"] .milestone-circle {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.milestone-level[data-level="3"] .milestone-circle {
    border-color: var(--warning-yellow);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.milestone-level[data-level="4"] .milestone-circle {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.milestone-level[data-level="5"] .milestone-circle {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

/* 等级标签样式 */
.level-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* 里程碑图标 */
.milestone-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.milestone-icon.completed {
    background: linear-gradient(135deg, var(--success-green), #059669);
    animation: completedBounce 0.6s ease-out;
}

.milestone-icon.in-progress {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    animation: progressPulse 2s infinite;
}

.milestone-icon.pending {
    background: linear-gradient(135deg, var(--gray-400), var(--gray-500));
}

/* 里程碑信息 */
.milestone-info {
    text-align: center;
    width: 100%;
}

.milestone-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milestone-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.milestone-status-badge.status-completed {
    background: var(--success-green);
    color: white;
}

.milestone-status-badge.status-in_progress,
.milestone-status-badge.status-in-progress {
    background: var(--primary-blue);
    color: white;
}

.milestone-status-badge.status-pending {
    background: var(--gray-400);
    color: white;
}

.milestone-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.milestone-date,
.milestone-assignee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.milestone-date i,
.milestone-assignee i {
    color: var(--primary-blue);
    font-size: 11px;
}

/* 动画效果 */
@keyframes progressPulse {
    0%, 100% {
        transform: scale(1);
        border-width: 3px;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }
    50% {
        transform: scale(1.05);
        border-width: 4px;
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    }
}

@keyframes completedBounce {
    0% {
        transform: scale(0.8);
        border-width: 2px;
    }
    50% {
        transform: scale(1.1);
        border-width: 4px;
    }
    100% {
        transform: scale(1);
        border-width: 3px;
    }
}

/* 节点连接指示器 */
.milestone-node::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.milestone-node:hover::before {
    opacity: 1;
}

.milestone-node::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.milestone-node:hover::after {
    opacity: 1;
}

/* 里程碑详情模态框样式 */
.milestone-detail-content {
    max-width: 600px;
    margin: 0 auto;
}

.detail-section {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.detail-section h4 {
    margin: 0 0 15px 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 15px;
    padding: 8px 12px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.detail-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin: 0;
}

.status-control {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.status-control label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.status-select {
    padding: 8px 12px;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.current-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-blue);
    color: white;
}

/* 里程碑内容区域 */
.milestone-content {
    flex: 1;
    padding-top: 5px;
}

.milestone-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 12px;
}

.milestone-title {
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    font-size: 18px;
    line-height: 1.3;
}

.milestone-status-text {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.milestone-status-text.status-pending {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.milestone-status-text.status-in_progress,
.milestone-status-text.status-in-progress {
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
}

.milestone-status-text.status-completed {
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: white;
}

.milestone-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    background: var(--gray-50);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.milestone-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    background: rgba(59, 130, 246, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.milestone-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.milestone-meta i {
    font-size: 14px;
    color: var(--primary-blue);
}

/* 项目成员 */
.project-members {
    max-height: 300px;
    overflow-y: auto;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.member-item:last-child {
    border-bottom: none;
}

.member-avatar-large {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.member-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
}

.member-name {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.member-role {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* 移除成员按钮样式 */
.btn-remove-member {
    padding: 6px 8px !important;
    font-size: 12px !important;
    min-width: auto !important;
    border-radius: 4px !important;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.member-item:hover .btn-remove-member {
    opacity: 1;
}

.btn-remove-member:hover {
    background-color: var(--danger-red) !important;
    border-color: var(--danger-red) !important;
    transform: scale(1.05);
}

/* 最近活动 */
.recent-activities {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.activity-content {
    flex: 1;
}

.activity-description {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.activity-time {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 状态标识 */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.status-planning {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
    border-color: rgba(156, 163, 175, 0.2);
}

.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.2);
}

.status-completed {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.status-paused {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
    border-color: rgba(251, 191, 36, 0.2);
}

/* 图片上传样式 */
.image-upload-container {
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.image-upload-container:hover {
    border-color: var(--primary-blue);
    background-color: var(--gray-50);
}

.image-upload-container input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    color: var(--gray-500);
}

.upload-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--gray-400);
}

.upload-placeholder p {
    margin: 0;
    font-size: 14px;
}

.image-preview {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.image-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-preview .btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 12px;
}

/* 项目图片显示 */
.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card .project-image {
    height: 150px;
}

/* 模态框文字颜色修复 */
.modal .modal-content {
    color: var(--dark-gray) !important;
}

.modal label {
    color: var(--dark-gray) !important;
    font-weight: 500;
}

.modal input,
.modal select,
.modal textarea {
    color: var(--dark-gray) !important;
    background-color: var(--white) !important;
    border: 1px solid var(--gray-300);
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    color: var(--dark-gray) !important;
    border-color: var(--primary-blue);
    outline: none;
}

.modal h3 {
    color: var(--dark-gray) !important;
}

/* 编辑项目按钮文字颜色 */
.project-actions .btn-secondary {
    color: var(--white) !important;
}

/* 合作企业及成果样式 */
.partnerships-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.partnerships-section h3 {
    font-size: 28px;
    color: var(--dark-gray);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.partnerships-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* 合作企业样式 */
.partners-container {
    margin-bottom: 60px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-logo i {
    font-size: 36px;
    color: var(--white);
}

.partner-card h4 {
    font-size: 20px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 600;
}

.partner-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* 项目成果样式 */
.achievements-container {
    margin-bottom: 60px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.achievement-item {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.achievement-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1;
}

.achievement-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.achievement-item p {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: 14px;
}

/* 成功案例样式 */
.case-studies-container {
    margin-bottom: 40px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.case-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 30px;
}

.case-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--success-green), #10b981);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.case-icon i {
    font-size: 20px;
    color: var(--white);
}

.case-card h4 {
    font-size: 22px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 600;
}

.case-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.result-tag {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* 按钮样式 */
.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-small.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-small.btn-primary:hover {
    background: #1e40af;
}

.btn-small.btn-secondary {
    background: var(--light-gray);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-small.btn-secondary:hover {
    background: var(--border-light);
}

.btn-small.btn-danger:hover {
    background: var(--dark-red) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* 删除模式按钮特殊样式 */
#deleteModeBtn:hover {
    background: var(--dark-red) !important;
    color: var(--white) !important;
    border-color: var(--dark-red) !important;
}

/* 添加成员按钮特殊样式 - 更大尺寸 */
.btn-add-member {
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    min-width: 120px !important;
}

.btn-add-member i {
    font-size: 16px;
}

/* 表单行样式 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 列表视图样式 */
.projects-container.list-view .project-card {
    display: flex;
    align-items: center;
    padding: 20px 25px;
}

.projects-container.list-view .project-card-header {
    flex: 1;
    margin: 0;
}

.projects-container.list-view .project-description {
    margin: 0;
    -webkit-line-clamp: 1;
}

.projects-container.list-view .project-meta {
    margin: 0;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 200px;
}

/* Navigation Item Workflow */
.nav-item-workflow {
    position: relative;
}

.nav-item-workflow::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Admin Section */
.admin-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    display: none;
}

.admin-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.admin-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.admin-content {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.admin-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.user-table-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.user-table th {
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
    padding: 16px 12px;
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

.user-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.user-table tr:hover {
    background: var(--gray-50);
}

.user-table tr:last-child td {
    border-bottom: none;
}

.user-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.badge-admin {
    background: var(--primary-red);
    color: var(--white);
}

.badge-internal {
    background: var(--primary-blue);
    color: var(--white);
}

.badge-external {
    background: var(--gray-400);
    color: var(--white);
}

.badge-active {
    background: var(--green);
    color: var(--white);
}

.badge-inactive {
    background: var(--orange);
    color: var(--white);
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-edit {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-edit:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--primary-red);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--green);
    color: var(--white);
}

.btn-success:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.loading-text {
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
    padding: 40px !important;
}

.permission-select {
    padding: 6px 8px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 12px;
    background: var(--white);
    color: var(--gray-700);
}

.permission-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Navigation Item Admin */
.nav-item-admin {
    position: relative;
}

.nav-item-admin::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ===== 全新的节点系统样式 ===== */

/* 节点网格布局 */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
    justify-items: center;
    align-items: start;
    min-height: 400px;
    width: 100%;
    margin: 0 auto;
}

/* 节点卡片基础样式 */
.node-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.node-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* 等级颜色样式 */
.node-card.level-1 {
    border-left: 6px solid #dc2626;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.node-card.level-2 {
    border-left: 6px solid #ea580c;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.node-card.level-3 {
    border-left: 6px solid #ca8a04;
    background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
}

.node-card.level-4 {
    border-left: 6px solid #16a34a;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.node-card.level-5 {
    border-left: 6px solid #0891b2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

/* 节点头部 */
.node-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.node-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    margin-right: 10px;
    word-break: break-word;
}


/* 节点状态 */
.node-status {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.node-status.status-pending {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.node-status.status-in_progress,
.node-status.status-in-progress {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fbbf24;
}

.node-status.status-completed {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #4ade80;
}

/* 节点描述 */
.node-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.node-description:empty::before {
    content: "暂无描述";
    color: var(--gray-400);
    font-style: italic;
}

/* 节点底部信息 */
.node-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-100);
    gap: 12px;
}

.node-assignee {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.node-assignee-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.node-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #4f46e5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25);
}

.node-date {
    color: var(--text-secondary);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    flex-shrink: 0;
}

.node-date i {
    opacity: 0.7;
    font-size: 11px;
}

/* 空状态样式 */
.nodes-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    color: var(--text-secondary);
    min-height: 350px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed var(--gray-200);
    
    /* 在grid中占满所有列（无论有多少列） */
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    margin: 0;
}

.nodes-empty i {
    font-size: 80px;
    color: var(--gray-300);
    margin-bottom: 24px;
    display: block;
    opacity: 0.6;
}

.nodes-empty h4 {
    margin: 0 0 12px 0;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
}

.nodes-empty p {
    margin: 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .node-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0;
    }
    
    .node-card {
        padding: 16px;
        max-width: none;
    }
    
    .node-header {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    /* 团队优势手机版优化 */
    .team-advantages {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .advantage-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    
    .advantage-image {
        width: 100% !important;
        max-width: 300px !important;
        height: 180px !important;
        margin: 0 auto !important;
    }
    
    .advantage-content {
        text-align: center !important;
    }
    
    .advantage-content h4 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .advantage-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .advantage-icon {
        margin: 0 auto 15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
}

/* 用户列表移动端优化 */
@media (max-width: 768px) {
    .user-table-container {
        overflow-x: visible;
        box-shadow: none;
        background: transparent;
        border: none;
    }
    
    .user-table thead {
        display: none;
    }
    
    .user-table,
    .user-table tbody,
    .user-table tr,
    .user-table td {
        display: block;
        width: 100%;
    }
    
    .user-table tr {
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 16px;
        padding: 16px;
        border: 1px solid var(--gray-200);
    }
    
    .user-table tr:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
        transition: all 0.2s ease;
    }
    
    .user-table td {
        padding: 8px 0;
        border: none;
        position: relative;
        padding-left: 45%;
        text-align: right;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .user-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: var(--gray-700);
        text-align: left;
    }
    
    .user-table td:first-child {
        padding-top: 0;
        font-size: 16px;
        font-weight: 600;
        color: var(--primary-blue);
    }
    
    .user-table td:last-child {
        padding-bottom: 0;
        border-top: 1px solid var(--gray-200);
        padding-top: 12px;
        margin-top: 8px;
        justify-content: center;
        padding-left: 0;
    }
    
    .user-table td:last-child:before {
        display: none;
    }
    
    .user-table .btn {
        width: 100%;
        margin: 4px 0;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .admin-header h3 {
        font-size: 20px;
    }
    
    .admin-header .btn {
        width: 100%;
    }
    
    .user-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}
