* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.8;
    color: #2d3748;
    background: #f8fafc;
    min-height: 100vh;
    position: relative;
    animation: pageLoad 0.8s ease;
    padding-top: 70px;
    overflow-x: hidden;
}

/* 导航栏样式优化 - 简约风格 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    padding: 0 30px;
}

.nav-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-logo {
    flex: 0 0 auto;
}

.nav-actions {
    flex: 0 0 auto;
    margin: 0 20px;
}

.nav-links {
    flex: 1;
    justify-content: flex-end;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
}

.header-actions .btn-export-word {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    min-width: 120px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-actions .btn-export-word:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.header-actions .btn-export-word:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    letter-spacing: 1px;
}

.nav-logo i {
    color: #e94560;
    font-size: 22px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d35400; /* 铁锈红/安全橙点缀 */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #d35400;
}

.nav-links a:hover::after {
    width: 100%;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 添加背景装饰 - 简约点状纹理 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 52, 96, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* 模态框样式 - 简约现代 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(26, 26, 46, 0.25);
    z-index: 2001;
    animation: modalScaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes modalScaleIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -55%) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 模态框头部 */
.modal-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px 30px;
    color: white;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.modal-header h2 i {
    margin-right: 10px;
    color: #e94560;
}

/* 模态框主体 */
.modal-body {
    padding: 30px;
}

/* 模态框底部 */
.modal-footer {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.edit-modal {
    max-width: 720px;
    max-height: 85vh;
}

.edit-modal .modal-body {
    max-height: calc(85vh - 140px);
    overflow-y: auto;
}

/* 自定义美化提示框 (Toast) */
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    animation: alertPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes alertPopIn {
    from { opacity: 0; transform: translate(-50%, -60%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* 确认框特殊样式 */
.confirm-modal {
    max-width: 420px;
}

.confirm-modal h2 {
    font-size: 18px;
}

/* 关闭按钮 - 简约现代 */
.close {
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.close:hover,
.close:focus {
    color: white;
    background-color: rgba(233, 69, 96, 0.8);
    transform: translateY(-50%) rotate(90deg);
}

/* 表单样式 - 简约现代 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a2e;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    color: #2d3748;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
    background-color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

/* 编辑项容器样式 */
.research-area-item,
.paper-item,
.project-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s ease;
}

.research-area-item:hover,
.paper-item:hover,
.project-item:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.research-area-item input,
.paper-item input,
.project-item input {
    flex: 1;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.research-area-item input:focus,
.paper-item input:focus,
.project-item input:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

/* 按钮样式 - 简约现代 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #d63050 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d63050 0%, #c42a47 100%);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    color: #334155;
}

.btn-remove {
    background-color: #ef4444;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    min-width: 80px;
}

.btn-remove:hover {
    background-color: #dc2626;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 2px solid #f0f2f5;
}

.btn-cancel {
    background-color: #6b7280;
    color: white;
}

.btn-cancel:hover {
    background-color: #4b5563;
}

/* 页面头部重新设计 - 简约大气风格 */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* 添加精致的网格背景 */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* 添加光晕效果 */
.header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

/* 左侧装饰线条 */
.header .container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 120px;
    background: linear-gradient(180deg, #e94560 0%, transparent 100%);
    border-radius: 2px;
}



.header-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.header-photo {
    flex-shrink: 0;
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 头像外圈发光效果 */
.header-photo::before {
    content: '';
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.3) 0%, rgba(15, 52, 96, 0.3) 100%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 0.4; }
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: white;
    transition: all 0.5s ease;
    position: absolute;
    top: 10px;
    left: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

/* 默认头像层级 */
svg.profile-photo {
    z-index: 1;
}

/* 真实照片层级 */
img.profile-photo {
    z-index: 2;
}

.profile-photo:hover {
    transform: scale(1.05);
    border-color: rgba(233, 69, 96, 0.5);
}

.header-info {
    flex-grow: 1;
}

.header-info h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-info h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e94560 0%, transparent 100%);
    border-radius: 2px;
}

.header-info p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    letter-spacing: 1px;
}

.header-info p:last-child {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 20px;
    border-radius: 20px;
    width: fit-content;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 400;
    margin-top: 15px;
}

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.header-actions .btn {
    backdrop-filter: blur(10px);
    background: transparent;
    border: 1px solid rgba(233, 69, 96, 0.5);
    color: white;
    padding: 10px 24px;
    text-transform: none;
    letter-spacing: 0.5px;
    min-width: 120px;
    white-space: nowrap;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.header-actions .btn:hover {
    background: rgba(233, 69, 96, 0.2);
    border-color: rgba(233, 69, 96, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}

/* 主要内容样式 */
.main {
    padding: 20px 0 80px;
}

/* 个人信息卡片特殊样式 */
.card-intro {
    margin-bottom: 30px;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.info-header .bio {
    flex: 1;
}

.info-header .bio p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #495057;
}

.info-header .edit-btn {
    flex-shrink: 0;
}

/* 两栏主布局 */
.main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* 三栏网格布局 */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 0;
}

.grid-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 网格内的卡片不需要底部间距 */
.grid-layout .card {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 第三列内容放到第二列下方 */
    .grid-column:nth-child(3) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-column:nth-child(3) {
        grid-column: 1;
        display: flex;
        flex-direction: column;
    }
    
    .container-fluid {
        padding: 0 20px;
    }
}

/* 两栏布局 */
.two-column-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 35px;
}

.two-column-layout .card {
    margin-bottom: 0;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.6s ease forwards;
    opacity: 0;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e94560 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 0;
    position: relative;
}

.card h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 标题图标样式 */
.card h2 i {
    color: #e94560;
    font-size: 20px;
    transition: all 0.3s ease;
}

.card:hover h2 i {
    transform: scale(1.1);
    color: #d63050;
}

/* 编辑按钮样式 */
.edit-btn {
    padding: 10px 20px;
    background: #2c3e50; /* 改为钢铁深蓝 */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edit-btn:hover {
    background: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 可编辑元素样式 */
.editable {
    position: relative;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.editable:hover {
    background-color: rgba(211, 84, 0, 0.08);
    box-shadow: 0 0 0 2px rgba(211, 84, 0, 0.15);
}

/* 编辑模式下的输入框样式 */
.editable-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d35400;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6; /* 增加行高，提升可读性 */
    font-family: inherit;
    margin: 5px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(211, 84, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.editable-input:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 4px rgba(211, 84, 0, 0.15);
    transform: translateY(-2px);
}

/* 编辑操作区域样式 */
.edit-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* 头部操作区容器 */
.card-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header-actions .edit-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    gap: 10px;
}

/* 统一卡片头部按钮尺寸与样式 */
.card-header-actions .add-item-btn,
.card-header-actions .save-btn,
.card-header-actions .cancel-btn,
.card-header-actions .edit-btn {
    margin-top: 0;
    padding: 8px 20px;
    font-size: 14px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    border-radius: 8px;
}

.card-header-actions .add-item-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.card-header-actions .save-btn {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
}

.card-header-actions .cancel-btn {
    background: #ffffff;
    color: #495057;
    border: 1.5px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-header-actions .cancel-btn:hover {
    background: #f8f9fa;
    border-color: #ced4da;
    color: #212529;
}

/* 列表项编辑样式 */
.list li.editable {
    cursor: pointer;
    padding: 15px 25px 15px 50px;
    transition: all 0.3s ease;
}

.list li.editable:hover {
    background-color: rgba(211, 84, 0, 0.1);
    transform: translateX(5px);
}

/* 添加项按钮样式 - 简约现代 */
.add-item-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.add-item-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.add-item-btn::before {
    content: '+';
    font-size: 18px;
    font-weight: 300;
}

/* 删除项按钮样式 - 简约现代 */
.remove-item-btn {
    padding: 0;
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    margin-left: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.remove-item-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
    transform: scale(1.1);
}

/* 编辑模式下的列表项样式 */
.list li.editable {
    display: flex;
    align-items: flex-start; /* 顶部对齐，适合多行文本 */
    gap: 15px;
    padding: 15px 25px 15px 50px; /* 保持原有的左侧标记空间 */
}

.edit-item-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #495057;
    margin: 35px 0 20px;
    padding: 12px 0;
    border-bottom: 2px solid #f0f2f5;
    position: relative;
}

.card h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: #d35400;
}

/* 信息网格样式 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fafbfc;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(233, 69, 96, 0.2);
}

.info-item .label {
    font-weight: 500;
    color: #64748b;
    min-width: auto;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 联系方式图标 */
.info-item .label i {
    font-size: 16px;
    color: #e94560;
}

.info-item span:last-child {
    color: #1a1a2e;
    word-break: break-word;
    font-weight: 500;
    font-size: 14px;
}

/* 个人简介样式 - 简约风格 */
.bio {
    background: #fafbfc;
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e94560 0%, transparent 100%);
}

.bio h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #1a1a2e;
    border-bottom: none;
    padding-bottom: 0;
    font-weight: 600;
}

.bio p {
    font-size: 15px;
    line-height: 1.9;
    color: #4a5568;
    text-align: justify;
    font-weight: 400;
    text-indent: 2em;
    margin: 0;
}

/* 招生信息特殊样式 */
.recruit-info {
    color: #d35400 !important;
    font-weight: 600 !important;
    margin-top: 15px !important;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.08) 0%, rgba(211, 84, 0, 0.08) 100%);
    border-left: 3px solid #d35400;
    border-radius: 0 8px 8px 0;
    text-indent: 0 !important;
}

/* 招生信息单独区域 */
.recruitment-section {
    margin: 20px 0;
}

.recruitment-info {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.05) 0%, rgba(233, 69, 96, 0.08) 100%);
    border: 1px solid rgba(233, 69, 96, 0.15);
    border-radius: 10px;
    padding: 18px 25px;
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.recruitment-info i {
    font-size: 18px;
    color: #e94560;
}

.recruitment-info:hover {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.08) 0%, rgba(233, 69, 96, 0.12) 100%);
    border-color: rgba(233, 69, 96, 0.25);
    transform: translateY(-2px);
}

/* 列表样式 */
.list {
    list-style-type: none;
    counter-reset: none;
}

.list li {
    padding: 18px 25px 18px 35px;
    margin-bottom: 12px;
    background: #fafbfc;
    border-left: 3px solid #e94560;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    font-size: 14.5px;
    line-height: 1.8;
    color: #2d3748;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* 教育经历使用渐变色块标记 */
#education {
    counter-reset: none;
}

#education li::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    width: 4px;
    height: 16px;
    background: #d35400;
    border-radius: 2px;
    display: block;
}

#education li {
    padding-left: 40px;
}

/* 主持项目使用标记 */
#projects {
    counter-reset: none;
}

#projects li::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    width: 4px;
    height: 16px;
    background: #d35400;
    border-radius: 2px;
    display: block;
}

#projects li {
    padding-left: 40px;
}

/* 研究方向横向排列 */
#researchAreas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    counter-reset: none;
}

#researchAreas li {
    flex: 0 0 auto;
    padding: 8px 18px;
    margin-bottom: 0;
    border-left: none;
    border-radius: 20px;
    background: rgba(233, 69, 96, 0.08);
    color: #e94560;
    font-weight: 500;
    font-size: 13px;
    border: 1px solid rgba(233, 69, 96, 0.2);
    transition: all 0.3s ease;
    box-shadow: none;
}

#researchAreas li:hover {
    background: rgba(233, 69, 96, 0.15);
    border-color: rgba(233, 69, 96, 0.4);
    color: #d63050;
    transform: translateY(-2px);
}

#researchAreas li::before {
    display: none;
}

/* 列表项样式优化 */
.list li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 22px;
    width: 6px;
    height: 6px;
    background: #e94560;
    border-radius: 50%;
    display: block;
}

.list li:hover {
    background: #ffffff;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #d63050;
}

/* 访客记录表格样式 */
.visitor-modal {
    max-width: 900px !important;
    width: 90% !important;
}

.modal-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.modal-header-flex h2 {
    margin: 0;
}

.visitor-summary {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* 允许在窄屏下换行 */
    align-items: center;
}

#clearVisitsBtn {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#clearVisitsBtn:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.summary-item {
    background: rgba(211, 84, 0, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(211, 84, 0, 0.2);
}

.summary-label {
    color: #4a5568;
    font-weight: 500;
}

.summary-value {
    color: #d35400; /* 安全橙 */
    font-weight: 700;
    font-size: 15px;
}

.download-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff4e6;
    color: #d35400;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 12px;
    border: 1px solid #ffe8cc;
    transition: all 0.2s;
}

.download-btn-small:hover {
    background: #ffe8cc;
    color: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.download-btn-small i {
    font-size: 12px;
}

/* 上传附件区域样式 */
.paper-upload-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1.5px dashed #cbd5e1;
    transition: all 0.3s ease;
}

.paper-upload-container:hover {
    border-color: #e94560;
    background: #fff5f5;
}

.current-file {
    font-size: 13px;
    color: #64748b;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Consolas', monospace;
}

/* 上传按钮样式 */
.upload-btn-new,
button[class*="upload"] {
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.upload-btn-new:hover,
button[class*="upload"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.35);
}

.upload-btn-new i,
button[class*="upload"] i {
    font-size: 12px;
}

/* 上传状态标签 */
.upload-status-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.upload-status-label i {
    font-size: 14px;
}

.upload-status-label i.fa-check-circle {
    color: #10b981;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
}

.visitor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
}

.visitor-table th {
    background: #f1f3f5;
    color: #2c3e50;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.visitor-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f5;
    color: #495057;
}

.visitor-table tr:hover {
    background-color: #fcfdff;
}

/* 分页控制样式 */
.visitor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f3f5;
}

.visitor-pagination #visitorPageInfo {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.btn-sm {
    padding: 6px 15px !important;
    font-size: 13px !important;
    min-width: 80px !important;
}

.visitor-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 列表分页样式 */
.list-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f3f5;
}

.list-pagination .page-info {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.list-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.visitor-table .ip-badge {
    background: #f1f3f5;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    border: 1px solid #e2e8f0;
}

.visitor-table .loc-badge {
    background: #fffaf0;
    color: #c05621;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #feebc8;
}

.total-records-info {
    font-size: 13px;
    color: #718096;
    margin-left: 20px;
}

.total-records-info #totalRecordsCount {
    color: #d35400;
    font-weight: 600;
}

.browser-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.browser-info .os {
    font-weight: 600;
    color: #2d3748;
}

.browser-info .browser {
    font-size: 12px;
    color: #a0aec0;
}

/* 选项卡样式 - 简约风格 */
.tabs-nav-container {
    padding: 0;
    margin-bottom: 25px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 70px;
    z-index: 900;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-item {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 500;
    color: #64748b;
    border-bottom: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex: 1;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.tab-item:hover {
    color: #e94560;
    background: rgba(233, 69, 96, 0.02);
}

.tab-item.active {
    color: #e94560;
    border-bottom-color: #e94560;
    background: #fff;
}

.tab-pane {
    display: none;
    opacity: 0;
}

.tab-pane.active {
    display: block;
    animation: tabSlideUp 0.5s ease forwards;
}

@keyframes tabSlideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .tabs-nav-container {
        top: 55px;
        margin: 0 10px 20px;
    }
    .tab-item {
        padding: 12px 10px;
        font-size: 13px;
    }
}
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.footer p {
    text-align: center;
    font-size: 13px;
    opacity: 1;
    font-weight: 400;
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    line-height: 1.8;
    color: #ffffff;
}

.footer p:last-child {
    font-size: 12px;
    opacity: 1;
    font-weight: 400;
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer p {
        font-size: 12px;
        text-align: left;
        line-height: 1.5;
    }
    
    .footer p:last-child {
        font-size: 11px;
    }
}

.footer p a {
    color: rgba(233, 69, 96, 0.9);
    text-decoration: none;
    border-bottom: none;
    transition: all 0.3s ease;
    padding: 0 2px;
}

.footer p a:hover {
    color: #e94560;
    opacity: 1;
}

/* 新页脚样式 */
.footer-content {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.footer-brand i {
    color: #e94560;
    font-size: 22px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.beian-link:hover {
    background: rgba(233, 69, 96, 0.15);
    border-color: rgba(233, 69, 96, 0.3);
    color: #e94560;
}

.beian-link i {
    font-size: 12px;
    color: #10b981;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.copyright {
    font-size: 17px;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1.5px;
}

.tech-desc {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.domain-info {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.domain-meaning {
    color: #ffffff;
    font-size: 12px;
}

/* 响应式页脚 */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .beian-link {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .divider {
        display: none;
    }
}

/* 悬浮控制按钮已移除 */

/* 响应式设计补丁 - 确保在各种尺寸的电脑屏幕下都显示良好 */

/* 针对中型屏幕 (小屏幕笔记本等) */
@media (max-width: 1100px) {
    .header-content {
        gap: 30px;
    }
    
    .header-info h1 {
        font-size: 40px;
    }
    
    .floating-controls {
        right: 40px; /* 稍微靠边一点，避免遮挡内容 */
    }
}

/* 针对平板和窄屏电脑 */
@media (max-width: 992px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        background: #f1f3f5;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 35px 0;
        margin-bottom: 25px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    
    .header-photo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 130px;
        height: 130px;
    }
    
    .header-photo::before {
        width: 100%;
        height: 100%;
    }
    
    .profile-photo {
        width: 130px;
        height: 130px;
    }
    
    .header-info {
        width: 100%;
    }
    
    .header-info h1 {
        font-size: 32px;
    }
    
    .header-info h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .header-info p {
        font-size: 16px;
    }
    
    .header-info p:last-child {
        font-size: 18px;
    }

    .nav-links {
        display: none; /* 手机端隐藏导航链接，防止乱序 */
    }

    .nav-content {
        justify-content: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .header-actions .btn {
        flex: 1;
        min-width: 110px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .card {
        padding: 25px;
        margin-bottom: 25px;
        border-radius: 15px;
    }
    
    .card h2 {
        font-size: 24px;
    }
    
    .card h2::before {
        left: -12px;
    }
    
    .card h3 {
        font-size: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 25px;
        border-radius: 12px;
    }
    
    .edit-modal {
        width: 98%;
    }
    
    .research-area-item,
    .paper-item,
    .project-item {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .list li {
        padding: 18px 20px 18px 50px;
        font-size: 15px;
        line-height: 1.8;
    }
    
    .list li::before {
        width: 32px;
        height: 32px;
        font-size: 14px;
        left: -16px;
    }
    
    .paper-edit-container {
        padding: 10px;
    }
    
    .paper-upload-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .current-file {
        max-width: 100%;
        text-align: center;
    }
    
    .btn {
        padding: 11px 22px;
        font-size: 14px;
    }
    
    /* 移动端恢复单列布局 */
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* 悬浮控制按钮组响应式调整 */
    .floating-controls {
        right: 30px;
    }

    .floating-btn {
        width: 42px;
        height: 42px;
    }
}