/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid #3498db;
}

.header h1 {
    margin-bottom: 10px;
    font-size: 24px;
}

.header .student-info {
    font-size: 16px;
    opacity: 0.9;
}

/* 菜单样式 */
.menu {
    background-color: #34495e;
    padding: 15px 0;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.menu a:hover {
    background-color: #3498db;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 首页样式 */
.home-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.home-content .logo {
    width: 150px;
    margin-bottom: 20px;
}

.home-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 28px;
}

.home-content p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #555;
}

/* 表单样式 */
.form-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* 申请列表样式 */
.list-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.list-container h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.class-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.class-tab {
    padding: 8px 15px;
    background-color: #ecf0f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.class-tab.active {
    background-color: #3498db;
    color: white;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

.table tr:hover {
    background-color: #f5f5f5;
}

/* 开发者信息样式 */
.dev-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.dev-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #ecf0f1;
}

.dev-info {
    text-align: left;
    margin-top: 20px;
}

.dev-info p {
    margin-bottom: 10px;
    font-size: 18px;
}

.dev-info span {
    font-weight: bold;
    color: #2c3e50;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .table {
        font-size: 14px;
    }

    .table th,
    .table td {
        padding: 8px 10px;
    }
}