/* weekly.css - 华文教师工作平台 周课表专用样式 (紧凑一小时版) */
:root {
    --sidebar-width: 260px;
    --primary: #2C5AA0;
    --primary-light: #eff6ff;
    --accent: #4F46E5;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --hour-height: 60px;  /* 每小时高度60px，更紧凑 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Noto Sans SC', sans-serif; 
    background: var(--bg-body); 
    color: var(--text-main); 
    min-height: 100vh; 
    overflow-x: hidden; 
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

/* --- SIDEBAR & NAVIGATION --- */
.sidebar {
    width: var(--sidebar-width);
    background: #ffffff;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.brand {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.brand i {
    font-size: 1.5rem;
}

.brand-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-group {
    padding: 12px;
    flex: 1;
    overflow-y: auto;
}

.nav-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 10px 12px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 0.95rem;
    transition: 0.2s;
}

.nav-item i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 12px;
    color: var(--text-muted);
}

.nav-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-item.active {
    background: var(--primary);
    color: white;
}

.nav-item.active i {
    color: white;
}

.nav-subitem {
    display: flex;
    align-items: center;
    padding: 10px 12px 10px 48px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.nav-subitem i {
    width: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
}

.nav-subitem:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: var(--danger);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.logout-btn:hover {
    background: #fee2e2;
}

/* --- LAYOUT STRUCTURE --- */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin 0.3s ease;
}

.top-bar {
    height: 70px;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 90;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-main);
    margin-right: 15px;
}

.search-container {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    width: 300px;
}

.search-container input {
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
    width: 100%;
    font-size: 0.9rem;
}

.content-area {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

/* --- HEADER ACTIONS --- */
.notification-dropdown {
    position: relative;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
}

.notification-icon i {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    z-index: 100;
}

.notification-panel.show {
    display: block;
}

.notification-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mark-all-read {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.notification-item.unread {
    background: var(--primary-light);
}

.notification-item i {
    font-size: 1rem;
}

.quick-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
}

.quick-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.quick-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.2s;
}

.user-profile:hover {
    background: #f1f5f9;
}

.avatar {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info .user-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.user-status {
    font-size: 0.75rem;
    color: var(--success);
}

/* --- PAGE HEADER --- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

.page-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.page-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* --- SCHEDULE CONTROLS --- */
.schedule-controls {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.week-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.week-display {
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-week {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
}

.week-range {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.nav-buttons {
    display: flex;
    gap: 8px;
}

.nav-btn {
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.nav-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.nav-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    color: var(--text-main);
    min-width: 150px;
}

/* --- WEEKLY SCHEDULE TABLE (紧凑一小时版) --- */
.schedule-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.schedule-header {
    display: grid;
    grid-template-columns: 100px repeat(5, 1fr);
    background: var(--primary);
    color: white;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 5;
}

.time-header {
    padding: 15px;
    border-right: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.day-header {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.day-name {
    font-size: 1rem;
}

.day-date {
    font-size: 0.85rem;
    opacity: 0.9;
}

.today .day-date {
    background: white;
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 700;
}

.schedule-body {
    max-height: 700px;  /* 适应更多时段 */
    overflow-y: auto;
    background: white;
}

.time-row {
    display: grid;
    grid-template-columns: 100px repeat(5, 1fr);
    border-bottom: 1px solid var(--border);
    min-height: var(--hour-height); /* 每小时高度固定 */
}

.time-row:last-child {
    border-bottom: none;
}

.time-slot {
    padding: 10px 5px;
    border-right: 1px solid var(--border);
    text-align: center;
    font-weight: 500;
    color: var(--text-main);
    background: #f8fafc;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.day-slot {
    padding: 0;
    border-right: 1px solid var(--border);
    min-height: var(--hour-height);
    position: relative;
    background-color: #ffffff;
}

.day-slot:last-child {
    border-right: none;
}

.class-event {
    position: absolute;
    left: 4px;
    right: 4px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    overflow: hidden;
    z-index: 10;
    cursor: pointer;
    transition: 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.class-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    z-index: 20;
}

.event-primary {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    color: var(--primary);
}

.event-success {
    background: #dcfce7;
    border-left: 4px solid var(--success);
    color: #15803d;
}

.event-warning {
    background: #fef3c7;
    border-left: 4px solid var(--warning);
    color: #b45309;
}

.event-danger {
    background: #fee2e2;
    border-left: 4px solid var(--danger);
    color: #dc2626;
}

.event-title {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-class {
    font-size: 0.75rem;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-time {
    font-size: 0.7rem;
    opacity: 0.7;
    white-space: nowrap;
}

/* --- STATISTICS CARDS --- */
.schedule-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.lecture {
    background: linear-gradient(135deg, var(--primary), #1e40af);
}

.stat-icon.class {
    background: linear-gradient(135deg, var(--success), #059669);
}

.stat-icon.student {
    background: linear-gradient(135deg, var(--warning), #d97706);
}

.stat-icon.hours {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.stat-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- QUICK ACTIONS --- */
.quick-actions-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.quick-actions-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.quick-actions-section h3 i {
    color: var(--primary);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.action-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.action-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* --- FOOTER --- */
.main-footer {
    margin-top: auto;
    padding: 20px 24px;
    background: white;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 25px rgba(0,0,0,0.1);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px 24px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.2s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.1);
}

.modal-body {
    padding: 24px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: 0.2s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-footer {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #f1f5f9;
}

.btn-danger {
    background: var(--danger);
    color: white;
}
.btn-danger:hover {
    background: #b91c1c;
}

/* --- 课程详情模态框 --- */
.class-details-modal .modal {
    max-width: 600px;
}

.class-details {
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.detail-label {
    width: 120px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    flex: 1;
    font-size: 0.9rem;
}

/* --- 加载状态 --- */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- ANIMATIONS --- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 顶部右侧区域样式 (补充) */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 通知中心样式 (补充) */
.notification-dropdown {
    position: relative;
}

.notification-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-icon:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.notification-icon i {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
}

/* 快速操作按钮样式 (补充) */
.quick-actions {
    display: flex;
    gap: 10px;
}

.quick-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quick-btn:hover {
    background: var(--primary);
    color: white;
}

.quick-btn i {
    font-size: 1.2rem;
}

/* 用户信息样式 (补充) */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid transparent;
}

.user-profile:hover {
    background: #f1f5f9;
    border-color: var(--border);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    white-space: nowrap;
}

.user-status {
    font-size: 0.7rem;
    color: var(--success);
    font-weight: 500;
}

.user-profile i {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- MOBILE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .main-wrapper {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .schedule-header,
    .time-row {
        grid-template-columns: 80px repeat(5, 1fr);
    }
    
    .time-slot {
        padding: 8px 4px;
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: 15px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .page-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .week-navigation {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .schedule-header,
    .time-row {
        grid-template-columns: 60px repeat(5, 1fr);
    }
    
    .time-slot {
        font-size: 0.7rem;
        padding: 6px 2px;
    }
    
    .day-header {
        padding: 10px 5px;
    }
    
    .day-name {
        font-size: 0.8rem;
    }
    
    .day-date {
        font-size: 0.7rem;
    }
    
    .class-event {
        padding: 3px 4px;
    }
    
    .event-title {
        font-size: 0.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .top-bar {
        padding: 0 15px;
    }
    
    .search-container {
        width: 180px;
    }
    
    .quick-actions {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .user-info {
        display: none;  /* 移动端隐藏用户名只留头像 */
    }
}

@media (max-width: 480px) {
    .search-container {
        display: none;
    }
    
    .schedule-stats {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-select {
        min-width: 100%;
    }
    
    .nav-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
    }
}

/* 打印样式 */
@media print {
    .sidebar, .top-bar, .schedule-controls, .page-actions, .quick-actions-section, .main-footer, .modal-overlay {
        display: none !important;
    }
    .main-wrapper {
        margin-left: 0;
    }
    .schedule-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}