/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 120px;
    height: 50px;
    background-color: #4285f4;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(66, 133, 244, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.4);
}

.slogan {
    font-size: 18px;
    color: #555;
}

.system-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
    border: 1px solid transparent;
    margin-left: auto;
}

.system-title:hover {
    background-color: #f0f7ff;
    border: 1px solid #d0e3ff;
    color: #4285f4;
}

.login-tip {
    padding: 8px 15px;
    background-color: #ffffdd;
    border: 1px solid #e5e5ca;
    color: #666;
    border-radius: 4px;
    font-size: 14px;
}

/* 导航菜单 */
.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 25px;
}

.nav-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-item:hover {
    background-color: #f5f5f5;
    border-bottom: 3px solid #ddd;
}

.nav-item.active {
    background-color: #ffff99;
    border-bottom: 3px solid #ffcc00;
    font-weight: bold;
}

/* 内容区域 */
.content-section {
    margin-bottom: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-content {
    min-height: 150px;
}

.section-content p {
    color: #555;
    line-height: 1.6;
}

/* 详情按钮样式 */
.section-title {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #4285f4;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-title:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    margin-top: 50px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-copyright {
    font-size: 14px;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-copyright p {
    margin: 5px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .system-title {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .login-tip {
        display: none;
    }
    
    .nav-item {
        flex: 0 0 50%;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section {
    animation: fadeIn 0.5s ease-out;
}

.content-section:nth-child(2) {
    animation-delay: 0.1s;
}

.content-section:nth-child(3) {
    animation-delay: 0.2s;
} 