/* 主题切换按钮样式 */
.theme-switcher {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.theme-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.theme-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.theme-btn.active {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* 男生青年主题 */
.theme-male-youth {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --background-color: #f8f9fa;
    --text-color: #333;
    --header-bg: linear-gradient(135deg, #4CAF50, #2196F3);
    --card-bg: #ffffff;
    --hover-color: #e8f5e9;
}

.theme-btn.male.youth {
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    color: white;
}

/* 女生青年主题 */
.theme-female-youth {
    --primary-color: #FF4081;
    --secondary-color: #E91E63;
    --background-color: #fff5f8;
    --text-color: #333;
    --header-bg: linear-gradient(135deg, #FF4081, #E91E63);
    --card-bg: #ffffff;
    --hover-color: #fce4ec;
}

.theme-btn.female.youth {
    background: linear-gradient(135deg, #FF4081, #E91E63);
    color: white;
}

/* 男生成年主题 */
.theme-male-adult {
    --primary-color: #3F51B5;
    --secondary-color: #303F9F;
    --background-color: #f5f6fa;
    --text-color: #2c3e50;
    --header-bg: linear-gradient(135deg, #3F51B5, #303F9F);
    --card-bg: #ffffff;
    --hover-color: #e8eaf6;
}

.theme-btn.male.adult {
    background: linear-gradient(135deg, #3F51B5, #303F9F);
    color: white;
}

/* 女生成年主题 */
.theme-female-adult {
    --primary-color: #9C27B0;
    --secondary-color: #7B1FA2;
    --background-color: #f8f5ff;
    --text-color: #2c3e50;
    --header-bg: linear-gradient(135deg, #9C27B0, #7B1FA2);
    --card-bg: #ffffff;
    --hover-color: #f3e5f5;
}

.theme-btn.female.adult {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
}

/* 应用主题变量 */
body {
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    background: var(--header-bg);
}

.student-info {
    background-color: var(--card-bg);
}

h2 {
    color: var(--primary-color);
}

.info-group {
    transition: background-color 0.3s;
}

.info-group:hover {
    background-color: var(--hover-color);
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    :root {
        --card-bg: #2d2d2d;
        --text-color: #e0e0e0;
        --background-color: #1a1a1a;
    }
} 