/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: '微软雅黑', sans-serif;
}

body {
    background: url("../../background.png") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 40px;
    max-width: 180px;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: #3498db;
}

/* 内容容器 */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.4em;
}

h1 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

h1 a:hover {
    color: #3498db;
}

/* 表格样式 */
table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

th, td {
    padding: 18px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    text-align: center;
}

th {
    background: rgba(52, 152, 219, 0.1);
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

/* 操作按钮样式 */
.file-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #3498db;
    color: white !important;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 12px rgba(52,152,219,0.3);
    border: 1px solid #2980b9;
    cursor: pointer;
}

.file-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.4);
}

.file-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52,152,219,0.3);
}

/* 提示信息 */
.note {
    text-align: center;
    color: #666;
    margin-top: 30px;
    font-style: italic;
    font-size: 0.9em;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .container {
        width: 95%;
        padding: 25px;
    }

    h1 {
        font-size: 1.8em;
    }

    th, td {
        padding: 12px;
        font-size: 0.9em;
    }

    .file-btn {
        padding: 6px 15px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    table {
        display: block;
        overflow-x: auto;
    }
}

/* 新增返回按钮样式 */
.back-button {
    position: absolute;
    left: 50px;
    top: 80px;
    display: flex;
    align-items: center;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-button::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-left: 2px solid #3498db;
    border-bottom: 2px solid #3498db;
    transform: rotate(45deg);
    margin-right: 8px;
    transition: all 0.3s;
}

.back-button:hover {
    transform: translateX(-5px);
    background: rgba(255,255,255,1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-button:hover::before {
    border-color: #2980b9;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        left: 20px;
        top: 70px;
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .back-button::before {
        width: 10px;
        height: 10px;
        margin-right: 6px;
    }
}
