/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

/* 顶部导航栏 */
.top-nav {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.top-nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.top-nav-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 20px;
    margin: 0 5px;
}

.top-nav-link:hover,
.top-nav-link.active {
    color: #fff;
    background-color: #007bff;
}

/* 面包屑导航 - 仅用于子页面 */
.breadcrumb-nav {
    background-color: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item::after {
    content: ' > ';
    margin: 0 8px;
    color: #999;
}

.breadcrumb-item:last-child::after {
    content: '';
}

.breadcrumb-item.active {
    color: #007bff;
    font-weight: 600;
}

/* 头部样式 */
.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.site-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.site-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 主导航 */
.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 18px 24px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background-color: #f8f9ff;
}

/* 主要内容区 */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* 功能卡片区域 */
.features-section {
    margin-bottom: 50px;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
}

/* 快速开始区域 */
.quick-start-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.quick-start-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.start-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    margin-bottom: 20px;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 页脚 */
.main-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-link {
        text-align: center;
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-right-color: #007bff;
        border-bottom-color: transparent;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .site-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .start-steps {
        grid-template-columns: 1fr;
    }
    
    .welcome-section {
        padding: 20px;
    }
    
    .quick-start-section {
        padding: 20px;
    }
    
    /* 移动端题库页面优化 */
    .question-filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    /* 移动端笔记页面优化 */
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    /* 移动端复习计划页面优化 */
    .task-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .task-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    /* 移动端考试技巧页面优化 */
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    /* 移动端月历优化 */
    .calendar-grid {
        font-size: 12px;
    }
    
    .schedule-header {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 移动端顶部导航栏优化 */
    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .top-nav-link {
        padding: 8px 15px;
        font-size: 14px;
        margin: 3px;
    }
    
    /* 移动端面包屑导航优化 */
    .breadcrumb {
        font-size: 12px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-header {
        padding: 40px 0;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .welcome-section h2,
    .features-section h2,
    .quick-start-section h2 {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-content {
    padding: 20px 0 40px;
}

.content-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 状态提示样式 */
.status-message {
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.5;
}

.no-data {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 2px dashed #dee2e6;
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: #adb5bd;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px dashed #f5c6cb;
}

.error-message i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: #f5c6cb;
}

/* 笔记网格容器样式 */
.notes-container {
    min-height: 300px;
    position: relative;
}

/* 子页面额外样式 */
.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #007bff;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.tab-container {
    position: relative;
    display: inline-block;
}

.tab-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #555;
    padding-right: 35px; /* 为删除按钮留出空间 */
    white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

/* 标签删除按钮 */
.tab-delete-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: none;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    font-weight: bold;
}

.tab-container:hover .tab-delete-btn {
    opacity: 1;
}

.tab-delete-btn:hover {
    background-color: #dc3545;
    opacity: 1;
}

.tab-btn.active + .tab-delete-btn {
    background-color: rgba(255, 255, 255, 0.3);
}

.tab-btn.active + .tab-delete-btn:hover {
    background-color: #dc3545;
}

/* 搜索框 */
.notes-search {
    display: flex;
    margin-bottom: 30px;
    max-width: 400px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #007bff;
}

.search-btn {
    padding: 12px 20px;
    background: #007bff;
    border: 2px solid #007bff;
    border-left: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 16px;
    color: white;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #0056b3;
}

/* 笔记卡片 */
.notes-grid,
#notes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 电脑端一行3个卡片 */
    gap: 25px;
}

/* 响应式布局 - 平板端 */
@media (max-width: 1024px) {
    .notes-grid,
    #notes-container {
        grid-template-columns: repeat(2, 1fr); /* 平板端一行2个卡片 */
    }
}

/* 响应式布局 - 手机端 */
@media (max-width: 768px) {
    .notes-grid,
    #notes-container {
        grid-template-columns: 1fr; /* 手机端一行1个卡片 */
        gap: 15px;
    }
    
    .note-card {
        padding: 15px 15px 65px 15px;
        min-height: 200px;
    }
}

.note-card {
    background: white;
    padding: 25px 25px 75px 25px; /* 增加底部内边距，给固定按钮留出空间 */
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative; /* 确保绝对定位的子元素相对于卡片定位 */
    min-height: 220px; /* 确保短内容时卡片也有足够高度显示按钮 */
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.note-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.subject-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.subject-tag.math { background-color: #ff6b6b; }
.subject-tag.physics { background-color: #4ecdc4; }
.subject-tag.chemistry { background-color: #45b7d1; }
.subject-tag.biology { background-color: #96ceb4; }
.subject-tag.cs { background-color: #feca57; }
.subject-tag.english { background-color: #ff9ff3; }

.date {
    color: #666;
}

.note-preview {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 添加笔记区域 */
.add-note-section {
    text-align: center;
    margin-top: 40px;
}

/* 笔记管理按钮样式已移除 */

/* 笔记卡片操作按钮区域 - 固定在右下角 */
.note-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95); /* 半透明白色背景，增强可见性 */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1; /* 确保按钮在最上层 */
}

.note-actions button {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 笔记详情页操作按钮区域 */
.note-detail-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* 删除按钮样式 */
.delete-btn {
    background-color: #ff4d4f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.delete-btn:hover {
    background-color: #ff7875;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}

.delete-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 77, 79, 0.3);
}

/* 响应式按钮布局 */
@media (max-width: 768px) {
    /* 卡片调整 */
    .note-card {
        padding: 20px 20px 120px 20px; /* 移动端增加底部内边距 */
        min-height: 200px;
    }
    
    /* 固定按钮区域 - 移动端调整 */
    .note-actions {
        flex-direction: column;
        bottom: 15px;
        right: 15px;
        left: 15px; /* 占满宽度，便于操作 */
        gap: 5px;
    }
    
    .note-actions button {
        width: 100%;
        margin-bottom: 5px;
    }
    
    /* 详情页按钮 */
    .note-detail-actions {
        flex-direction: column;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* 学科选择容器样式 */
.subject-select-container {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.subject-select-container select {
    flex: 1;
}

/* 小按钮样式 */
.small-btn {
    padding: 6px 12px;
    font-size: 14px;
    min-width: auto;
}

/* 添加科目表单样式 */
.add-subject-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.new-subject-input,
.new-subject-key {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.new-subject-input:focus,
.new-subject-key:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

/* 笔记详情模态框样式 */
.note-detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.note-detail-content {
    margin-bottom: 25px;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.note-detail-content h4 {
    color: #007bff;
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.note-detail-content h4:first-child {
    margin-top: 0;
}

.note-detail-content p {
    margin-bottom: 10px;
}

.note-detail-content ul, .note-detail-content ol {
    margin: 10px 0 10px 25px;
}

.note-detail-content li {
    margin-bottom: 5px;
}

.note-detail-content pre {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.note-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.note-detail-content th, .note-detail-content td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

.note-detail-content th {
    background-color: #f2f2f2;
    font-weight: 600;
}

.note-detail-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

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

/* 样式已更新 */

/* 实用工具页面样式 */
.tools-section {
    margin-top: 30px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.tool-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 工具模态框样式扩展 */
#tool-content {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 工具内容样式 */
.tool-inner-content {
    width: 100%;
    max-width: 500px;
}

/* 计时器工具样式 */
.timer-display {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
    color: #333;
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .tool-card {
        padding: 25px;
    }
    
    .timer-display {
        font-size: 2.5rem;
    }
}

/* 复习计划样式 */
.schedule-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 30px;
}

.calendar-day {
    aspect-ratio: 1;
    border: 1px solid #e9ecef;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.has-task {
    background: #007bff;
    color: white;
}

.calendar-day.today {
    background: #28a745;
    color: white;
}

.task-list {
    margin-top: 30px;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #007bff;
}

.task-item.completed {
    opacity: 0.6;
    text-decoration: line-through;
}

.task-info h4 {
    margin-bottom: 5px;
    color: #333;
}

.task-info p {
    color: #666;
    font-size: 14px;
}

.task-actions {
    display: flex;
    gap: 10px;
}

.task-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.task-btn.edit {
    background: #ffc107;
    color: #333;
}

.task-btn.delete {
    background: #dc3545;
    color: white;
}

.task-btn.complete {
    background: #28a745;
    color: white;
}

/* 考试技巧样式 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tip-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.tip-card h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.tip-list {
    list-style: none;
}

.tip-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.tip-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.tip-list li:last-child {
    border-bottom: none;
}

/* 复习计划输入框样式 */
.task-input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.task-input:focus {
    border-color: #007bff;
}