.paikel-container {
    padding: 20px;
}
.filter-bar {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.courses-bar {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.course-tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 3px;
    color: #1890ff;
}
.main-content {
    display: flex;
    gap: 20px;
}
.teachers-panel {
    width: 220px;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-height: 600px;
    overflow-y: auto;
}
.teacher-item {
    padding: 10px;
    margin-bottom: 8px;
    background: #f5f5f5;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
}
.teacher-item:hover {
    background: #e6f7ff;
    border-left: 3px solid #1890ff;
}
.teacher-name {
    font-weight: bold;
    color: #333;
}
.teacher-subject {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}
.kebiao-panel {
    flex: 1;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.kebiao-table th,
.kebiao-table td {
    border: 1px solid #e8e8e8;
    padding: 8px 4px; 
    text-align: center;
}
.kebiao-table th {
    background: #fafafa;
    font-weight: bold;
    color: #333;
}
.kebiao-table td {
    cursor: pointer;
    transition: background 0.2s;
    /*height: 40px; */
    vertical-align: middle;
}
.kebiao-table td:hover {
    background: #e6f7ff;
}
.time-label {
    font-weight: bold;
    color: #666;
    background: #fafafa;
}
.cell-content {
    font-size: 13px;
}
.cell-course {
    font-weight: bold;
    color: #1890ff;
}
.cell-teacher {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}
.lunch-break {
    background: #fff7e6;
    color: #fa8c16;
    font-weight: bold;
}
.teacher-item {
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.teacher-item:hover {
    border-color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.teacher-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.teacher-subject {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.teacher-num {
    font-size: 12px;
    color: #1890ff;
    font-weight: 500;
}

/* 高亮单元格样式 */
.highlighted-cell {
    background-color: #fff7e6 !important;
    border: 2px solid #ffa940 !important;
    box-shadow: 0 0 8px rgba(255, 169, 64, 0.5);
    transition: all 0.3s ease;
}

/* 课程标签样式优化 */
.course-tag {
    cursor: help;
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    margin: 4px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.course-tag:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: pre-line;
    z-index: 1000;
    margin-bottom: 5px;
    min-width: 150px;
    max-width: 300px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 有专用教室的课程标签悬停效果 */
.course-tag[style*="border-color: rgb(82, 196, 26)"]:hover {
    background: #d9f7be !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
}
.class-schedule-block {
    margin-bottom: 25px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    width: 100%;
}

.class-schedule-block:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.class-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.class-info {
    font-size: 12px;
    opacity: 0.9;
}

.class-body {
    padding: 18px;
    background: #fff;
    width: 100%;
    overflow-x: auto;
}

.kebiao-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    table-layout: fixed;
}

.kebiao-table thead th {
    background: #fafafa;
    color: #333;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #e8e8e8;
    word-wrap: break-word;
}

.kebiao-table tbody td {
    border: 1px solid #e8e8e8;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    word-wrap: break-word;
    overflow: hidden;
}
.batch-schedule-panel {
    border: 2px solid #1890ff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
}

.panel-header {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: white;
    padding: 18px 25px;
}

.panel-header h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: bold;
}

.panel-desc {
    font-size: 13px;
    opacity: 0.9;
}

.panel-body {
    padding: 25px;
    background: #fafafa;
}

.assignment-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
}

.assignment-header h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.assignment-hint {
    color: #999;
    font-size: 13px;
}

.assignment-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}

.assignment-row:hover {
    border-color: #91d5ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
}

.assignment-label {
    width: 180px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.banji-count {
    color: #999;
    font-weight: normal;
    font-size: 12px;
}

.assignment-select {
    flex: 1;
}

.teacher-select {
    width: 100%;
}

.action-buttons {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e8e8e8;
}

.action-buttons button {
    margin: 0 10px;
}

.tips-box {
    margin-top: 20px;
    padding: 12px 15px;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.tips-box i {
    color: #faad14;
    margin-right: 5px;
}

.nianji-section {
    margin-bottom: 40px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nianji-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nianji-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
}

.nianji-stats {
    font-size: 14px;
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 20px;
}

.courses-overview {
    padding: 20px 25px;
    background: #fafafa;
    border-bottom: 2px solid #e8e8e8;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1890ff;
}

.subsection-title {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d9d9d9;
}

.course-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.course-tag-item {
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s;
}

.course-tag-item:hover {
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
    border-color: #91d5ff;
}

.course-name {
    font-weight: bold;
    color: #1890ff;
    font-size: 15px;
    margin-bottom: 8px;
}

.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.course-count {
    background: #e6f7ff;
    padding: 2px 8px;
    border-radius: 10px;
    color: #1890ff;
}

.course-teachers {
    color: #999;
}

.classes-container {
    padding: 20px 25px;
    background: white;
}

.class-schedule-block {
    margin-bottom: 25px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.class-schedule-block:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.class-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.class-info {
    font-size: 12px;
    opacity: 0.9;
}

.class-body {
    padding: 18px;
    background: #fff;
}

.teachers-section, .schedule-section {
    margin-bottom: 18px;
}

.teachers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.teacher-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.teacher-tag:hover {
    background: #bae7ff;
    transform: translateY(-2px);
}

.teacher-name {
    color: #1890ff;
    font-weight: 500;
}

.teacher-count {
    color: #666;
    margin-left: 4px;
    font-size: 12px;
}

.kebiao-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.kebiao-table thead th {
    background: #fafafa;
    color: #333;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #e8e8e8;
}

.kebiao-table tbody td {
    border: 1px solid #e8e8e8;
    padding: 10px;
    text-align: center;
    min-height: 60px;
    vertical-align: middle;
}

.time-label {
    background: #fafafa;
    font-weight: bold;
    color: #333;
}

.lunch-break {
    background: #fff7e6;
    color: #fa8c16;
    font-weight: bold;
    text-align: center;
    padding: 12px;
}

.schedule-cell {
    transition: all 0.3s;
}

.filled-cell {
    background: #e6f7ff;
}

.filled-cell:hover {
    background: #bae7ff;
}

.empty-cell {
    background: #fafafa;
}

.empty-text {
    color: #999;
    font-size: 12px;
}

.cell-course {
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 4px;
}

.cell-teacher {
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .course-tags {
        grid-template-columns: 1fr;
    }
    
    .nianji-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .assignment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .assignment-label {
        width: 100%;
    }
    
    .assignment-select {
        width: 100%;
    }
}
