/* 基础变量 */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #f3f4f6;
    --accent-color: #8b5cf6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-sidebar: #f3f4f6;
    --border-color: #e5e7eb;
    --sidebar-width: 280px;
    --navbar-height: 70px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* 布局 */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* 侧边栏 */
#sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.sidebar-header {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.logo h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.sidebar-search {
    padding: 16px 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
}

.search-box i {
    color: var(--text-light);
    margin-right: 8px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 14px;
    color: var(--text-primary);
}

.nav-menu {
    padding: 0;
    margin: 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-category {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 16px 15px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.nav-item {
    margin: 2px 0;
    list-style: none;
}

.nav-item.active > .nav-link {
    background-color: var(--hover-bg);
    color: var(--primary-color);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 8px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.nav-link:hover {
    background-color: var(--hover-bg);
}

.nav-link i {
    font-size: 18px;
    margin-right: 10px;
}

.nav-link span {
    flex: 1;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.dropdown-icon.rotate {
    transform: rotate(90deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.submenu.show {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.submenu a {
    display: block;
    padding: 8px 15px 8px 43px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.submenu a:hover {
    color: var(--text-primary);
    background-color: var(--hover-bg);
}

.submenu a.active {
    color: var(--primary-color);
    background-color: var(--hover-bg);
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.user-role {
    font-size: 12px;
    color: var(--text-light);
}

.btn-settings {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background-color: var(--bg-primary);
    transition: all 0.2s ease;
}

.btn-settings:hover {
    background-color: var(--secondary-color);
    color: var(--text-primary);
}

/* 主面板 */
.main-panel {
    flex: 1;
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部导航栏 */
.top-navbar {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.left-side, .right-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.notification-bell {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-bell:hover {
    background-color: var(--secondary-color);
}

.notification-bell i {
    font-size: 20px;
    color: var(--text-light);
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.btn-help, .btn-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-help {
    color: var(--text-secondary);
}

.btn-help:hover {
    background-color: var(--secondary-color);
}

.btn-premium {
    background-color: var(--primary-color);
    color: white;
}

.btn-premium:hover {
    background-color: var(--primary-hover);
}

/* 内容区域 */
.content-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* 欢迎页面 */
.welcome-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 特性部分 */
.features-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    text-align: center;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.card-icon:hover {
    background-color: var(--primary-color);
}

.card-icon:hover i {
    color: white;
}

.card-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-image {
    margin: 16px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: var(--bg-secondary);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-text {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: all 0.2s ease;
}

.btn-text:hover {
    color: var(--primary-hover);
    gap: 8px;
}

/* 统计部分 */
.stats-section {
    margin-bottom: 60px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stats-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    text-align: center;
}

.stats-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stats-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 评价部分 */
.testimonials-section {
    margin-bottom: 60px;
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 引导层 */
.guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.guide-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.guide-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guide-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.guide-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.guide-close:hover {
    background-color: var(--secondary-color);
    color: var(--text-primary);
}

.guide-body {
    padding: 24px;
}

.guide-step {
    display: none;
    grid-template-columns: auto 1fr;
    gap: 16px;
}

.guide-step.active {
    display: grid;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.guide-img {
    width: 100%;
    border-radius: var(--radius-md);
}

.guide-footer {
    padding: 16px 24px 24px;
}

.guide-progress {
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}

.progress-indicator {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.guide-buttons {
    display: flex;
    justify-content: space-between;
}

.hidden {
    display: none !important;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 动态内容区域 */
.active-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端样式 */
.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .feature-cards, .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        background: var(--bg-sidebar);
        width: 280px;
        transform: translateX(0);
        transition: transform 0.3s ease-in-out;
    }

    #sidebar.show {
        transform: translateX(280px);
    }

    .mobile-only {
        display: block;
    }
    
    .main-panel {
        margin-left: 0;
        width: 100%;
    }
    
    .welcome-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
        order: -1;
        padding: 0 24px;
    }
    
    .hero-img {
        max-width: 80%;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    
    .card-image {
        margin: 12px 0;
    }
    
    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .hero-img {
        max-width: 100%;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .guide-step {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        margin-bottom: 8px;
    }
}

/* AI教师助手和AI技能助手页面特定样式 */
.app-container {
    display: flex;
    min-height: 100vh;
    background-color: #F5F7FA;
}

/* 侧边栏样式 */
#sidebar {
    width: 280px;
    background-color: #FFFFFF;
    border-right: 1px solid #E5E6EB;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #E5E6EB;
}

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

.logo h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.sidebar-search {
    padding: 16px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    height: 36px;
    padding: 0 36px;
    border: 1px solid #E5E6EB;
    border-radius: 6px;
    font-size: 14px;
    background-color: #F5F7FA;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
}

/* 导航菜单样式 */
.nav-menu {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.nav-category {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item {
    margin: 4px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: #F5F7FA;
    color: #2B5BF9;
}

.nav-link.active {
    background-color: #E6F7FF;
    color: #2B5BF9;
    border-left: 3px solid #2B5BF9;
}

.nav-link i {
    font-size: 18px;
    margin-right: 12px;
}

/* 侧边栏底部用户信息 */
.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #E5E6EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    font-size: 14px;
}

.user-name {
    font-weight: 500;
    color: #333333;
}

.user-role {
    font-size: 12px;
    color: #999999;
}

.btn-settings {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background-color: #F5F7FA;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-settings:hover {
    background-color: #E6F7FF;
    color: #2B5BF9;
}

/* 主面板样式 */
.main-panel {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-navbar {
    height: 64px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E6EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.left-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
}

.right-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-bell {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #FF4D4F;
    color: #FFFFFF;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.header-divider {
    width: 1px;
    height: 24px;
    background-color: #E5E6EB;
}

.btn-help,
.btn-premium {
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-help {
    background-color: #F5F7FA;
    color: #666666;
}

.btn-premium {
    background-color: #2B5BF9;
    color: #FFFFFF;
}

.btn-help:hover {
    background-color: #E6F7FF;
}

.btn-premium:hover {
    background-color: #4D7BFA;
}

/* 内容区域样式 */
.content-area {
    padding: 24px;
    display: flex;
    gap: 24px;
}

/* AI助手对话区域 */
.ai-chat-section {
    flex: 1;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.model-selector {
    padding: 16px;
    border-bottom: 1px solid #E5E6EB;
    display: flex;
    align-items: center;
    gap: 12px;
}

.model-select {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #E5E6EB;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    background-color: #FFFFFF;
}

.btn-settings-model {
    width: 36px;
    height: 36px;
    border: 1px solid #E5E6EB;
    border-radius: 6px;
    background-color: #FFFFFF;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-settings-model:hover {
    background-color: #F5F7FA;
    color: #2B5BF9;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.message {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.message.system {
    background-color: #F5F7FA;
    border-radius: 8px;
    padding: 16px;
}

.message-content {
    font-size: 14px;
    line-height: 1.6;
}

.message-content ul {
    margin-top: 8px;
    padding-left: 20px;
}

.chat-input {
    padding: 16px;
    border-top: 1px solid #E5E6EB;
    display: flex;
    gap: 12px;
}

.input-container {
    flex: 1;
    position: relative;
}

textarea {
    width: 100%;
    height: 80px;
    padding: 12px;
    border: 1px solid #E5E6EB;
    border-radius: 6px;
    font-size: 14px;
    resize: none;
}

.input-tools {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.tool-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    color: #999999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tool-btn:hover {
    background-color: #F5F7FA;
    color: #2B5BF9;
}

.btn-send {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 6px;
    background-color: #2B5BF9;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-send:hover {
    background-color: #4D7BFA;
}

/* 工具区域样式 */
.tools-section {
    width: 280px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
}

.section-header {
    padding: 16px;
    border-bottom: 1px solid #E5E6EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.btn-expand {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-expand:hover {
    background-color: #F5F7FA;
    color: #2B5BF9;
}

.tools-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tool-card {
    height: 80px;
    border: 1px solid #E5E6EB;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-card:hover {
    border-color: #2B5BF9;
    background-color: #F5F7FA;
}

.tool-card i {
    font-size: 24px;
    color: #666666;
}

.tool-card span {
    font-size: 12px;
    color: #666666;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .tools-section {
        display: none;
    }
}

@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    #sidebar.show {
        transform: translateX(0);
    }

    .main-panel {
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-only {
        display: block;
    }
}

/* 移动端特定样式 */
.mobile-menu-btn {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background-color: transparent;
    color: #666666;
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* AI学情分析页面样式 */
.skill-overview {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-selector {
    display: flex;
    gap: 8px;
}

.btn-date {
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-date.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0;
}

.stat-value .unit {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.stat-trend.up {
    color: #22c55e;
}

.stat-trend.down {
    color: #ef4444;
}

.stat-trend.neutral {
    color: var(--text-secondary);
}

.skill-radar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.radar-container {
    height: 400px;
    position: relative;
}

.btn-refresh {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    background: var(--bg-light);
}

.learning-behavior {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.behavior-filters {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.behavior-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.chart-container {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    height: 300px;
}

.chart-container h3 {
    margin: 0 0 16px 0;
    color: var(--text-primary);
    font-size: 16px;
}

.career-advice {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.advice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.advice-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.advice-card.recommended {
    border: 2px solid var(--primary-color);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.recommendation-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.match-rate {
    margin: 16px 0;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 8px;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.match-rate span {
    font-size: 14px;
    color: var(--text-secondary);
}

.skill-matches {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.skill-matches li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.skill-matches li i {
    font-size: 18px;
}

.skill-matches li i.ri-checkbox-circle-line {
    color: #22c55e;
}

.skill-matches li i.ri-close-circle-line {
    color: #ef4444;
}

.btn-detail {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .overview-cards {
        grid-template-columns: 1fr;
    }
    
    .behavior-charts {
        grid-template-columns: 1fr;
    }
    
    .advice-cards {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .date-selector,
    .behavior-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }
}

.main-content {
    flex: 1;
    padding: 24px;
    height: calc(100vh - 60px);
    overflow: auto;
}

#content-container {
    height: 100%;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

#default-content {
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
}

#default-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

#iframe-container {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

#content-iframe {
    background: white;
}