* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    /* 移除overflow-x: hidden，允许水平滚动 */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 顶部导航 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
}

.stats {
    display: flex;
    gap: 30px;
}

/* 高考倒计时样式 */
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

/* 自定义计时器样式 */
.custom-timer-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.custom-timer-container h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 计时器类型选择器 */
.timer-type-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.timer-type-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.timer-type-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.timer-type-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 待办任务关联 */
.todo-association {
    margin: 20px 0;
    text-align: center;
}

.todo-association-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.todo-association-selector {
    display: flex;
    justify-content: center;
}

.todo-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 300px;
    background-color: #fff;
    cursor: pointer;
}

.todo-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* 时间显示 */
.custom-timer-display {
    margin-bottom: 30px;
}

.custom-time {
    font-size: 80px;
    font-weight: 800;
    color: #333;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.timer-status {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

/* 关联待办任务显示 */
.associated-todo {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    display: inline-block;
}

/* 倒计时目标时间设置 */
.target-time-setting {
    margin-bottom: 30px;
}

.target-time-setting label {
    display: block;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.target-time-options {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.target-time-btn {
    padding: 10px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 50px;
}

.target-time-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.target-time-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 标记对话框样式 */
.mark-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.mark-dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.mark-dialog-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1001;
    width: 90%;
    max-width: 450px;
    animation: dialogSlideIn 0.3s ease;
}

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

.mark-dialog-content h3 {
    color: #333;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.mark-input-container {
    margin-bottom: 25px;
}

.mark-input-container label {
    display: block;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mark-input-container input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.mark-input-container input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mark-dialog-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mark-cancel-btn, .mark-confirm-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.mark-cancel-btn {
    background: #f0f0f0;
    color: #666;
}

.mark-cancel-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mark-confirm-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mark-confirm-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 标记列表 */
.marks-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.marks-container h3 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.marks-list {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

.mark-item {
    display: flex;
    align-items: flex-start;
    background: rgba(102, 126, 234, 0.05);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.mark-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.mark-description {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    margin: 0 15px;
}

.mark-time {
    font-weight: 700;
    color: #667eea;
    font-size: 14px;
    margin-right: 15px;
    min-width: 80px;
}

.mark-description {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.mark-interval {
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    margin-left: 15px;
    min-width: 60px;
    text-align: right;
}

/* 控制按钮样式调整 */
.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 120px;
    justify-content: center;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.control-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.control-btn.start-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.control-btn.start-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

.control-btn.pause-btn {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.control-btn.pause-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 112, 154, 0.4);
}

.control-btn.reset-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.control-btn.reset-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.control-btn.mark-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.control-btn.mark-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
}

/* 自定义时间输入样式 */
.custom-time-input {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
    text-align: left;
}

.custom-time-input label {
    display: block;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.custom-time-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-time-input-container input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    min-width: 0;
}

.custom-time-input-container input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.apply-custom-time-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    white-space: nowrap;
}

.apply-custom-time-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.apply-custom-time-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-time {
        font-size: 60px;
    }
    
    .timer-type-selector,
    .target-time-options,
    .controls {
        gap: 10px;
    }
    
    .timer-type-btn,
    .target-time-btn,
    .control-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .custom-timer-container {
        padding: 20px;
    }
    
    .custom-timer-container h2 {
        font-size: 24px;
    }
    
    .mark-dialog-content {
        padding: 20px;
        width: 95%;
    }
    
    /* 响应式自定义时间输入 */
    .custom-time-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .apply-custom-time-btn {
        width: 100%;
    }
}

.countdown-number {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1;
}

.countdown-label {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    line-height: 1;
}

.stat-item {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.stat-item i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #ffd700;
}

/* 异常请求提示样式 */
.pending-requests {
    background: linear-gradient(45deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.pending-requests i {
    font-size: 16px;
    color: white;
    margin-bottom: 0;
}

.pending-requests span {
    font-size: 14px;
    font-weight: 700;
}

/* 番茄钟主体 */
.pomodoro-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 圆形计时器 */
.timer-circle {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
}

.circle-background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#4facfe 0deg, #00f2fe 180deg, #fa709a 180deg, #fee140 360deg);
    animation: rotate 10s linear infinite;
}

.circle-progress {
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    top: 10px;
    left: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
}

.time {
    font-size: 64px;
    font-weight: 700;
    color: #333;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

.mode {
    font-size: 24px;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

/* 控制按钮 */
.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.control-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.start-btn {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.start-btn.active {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
}

.reset-btn {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.4);
}

.skip-btn {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.skip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 模式选择 */
.mode-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.mode-btn {
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mode-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.mode-btn i {
    font-size: 24px;
}

/* 设置面板 */
.settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 有记录的课程特殊样式 */
.class-item.has-record {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8) 0%, rgba(67, 160, 71, 0.8) 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    border: 2px solid rgba(76, 175, 80, 0.9);
}

.class-item.has-record .class-subject {
    color: white;
    font-weight: 700;
}

.class-item.has-record .class-time {
    color: rgba(255, 255, 255, 0.9);
}

.setting-item label {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.setting-item input {
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.setting-item input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.setting-item input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* 通知弹窗 */
.notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.notification-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    max-width: 90%;
    width: 400px;
}

.notification-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.notification-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.notification-content button {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* 动画效果 */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(79, 172, 254, 0.5); }
    50% { box-shadow: 0 0 40px rgba(79, 172, 254, 0.8); }
}

/* 即将到期待办事项的红色发光动画 */
@keyframes glow-red {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.6); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 107, 0.9); }
}

/* 已过截止日期待办事项的深红色发光动画 */
@keyframes glow-deep-red {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 53, 69, 0.6); }
    50% { box-shadow: 0 0 40px rgba(220, 53, 69, 0.9); }
}

/* 加载效果样式 */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: white;
    font-size: 18px;
    margin-left: 15px;
    font-weight: 600;
}

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

/* 内容容器加载状态 */
.content-container {
    position: relative;
}

.content-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    z-index: 10;
}

.content-container.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
}

/* 标签页样式 */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

/* 待办清单样式 */
.todo-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.todo-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.add-todo-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.add-todo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
}

/* 统计信息 */
.todo-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.total-incomplete {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-align: center;
}

.subject-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.subject-stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

/* 课程表样式 */
.timetable-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 98%;
}

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

.timetable-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.timetable-actions {
    display: flex;
    gap: 15px;
}

/* 周切换按钮样式 */
.week-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.week-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.week-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.current-week {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    text-align: center;
}

.add-class-btn, .search-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.add-class-btn {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.search-btn {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.add-class-btn:hover, .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 快速录入表单样式 */
.quick-entry {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-entry-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.quick-entry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-entry-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* 课程表网格布局 */
.timetable-grid {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
}

.timetable-grid table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.timetable-header-row {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.timetable-body {
    /* 表格主体样式由tbody自动处理 */
}

.timetable-row {
    border-bottom: 1px solid #f0f0f0;
}

.timetable-grid th, .timetable-grid td {
    vertical-align: top;
    padding: 4px;
}

.timetable-row:last-child {
    border-bottom: none;
}

.time-column {
    width: 80px;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    background: rgba(240, 240, 240, 0.9);
    border-right: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
}

.day-column {
    min-width: 120px;
    min-height: 80px;
    padding: 6px;
    border-right: 1px solid #e0e0e0;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.day-column:last-child {
    border-right: none;
}

.day-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.day-date {
    font-size: 14px;
    opacity: 0.9;
}

/* 课程单元格样式 */
.class-cell {
    margin-bottom: 2px;
}

.class-item {
    color: #333;
    padding: 2px 4px;
    font-size: 12px;
    text-align: center;
    border-left: 3px solid #667eea;
    background: rgba(102, 126, 234, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.class-item:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.class-subject {
    font-weight: 700;
    font-size: 13px;
    display: block;
}

.class-time {
    font-size: 10px;
    color: #666;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timetable-grid {
        overflow-x: auto;
        font-size: 10px;
        max-width: 100%;
    }
    
    /* 确保表头和表格主体保持相同的宽度计算方式 */
    .timetable-header-row {
        min-width: auto;
        width: 100%;
    }
    
    .timetable-body {
        min-width: auto;
        width: 100%;
    }
    
    .time-column {
        width: 40px;
        padding: 5px 2px;
        font-size: 9px;
        white-space: nowrap;
    }
    
    .day-column {
        min-width: 60px;
        min-height: 40px;
        padding: 2px;
        flex: 1 0 auto;
    }
    
    .day-name {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .day-date {
        font-size: 9px;
        white-space: nowrap;
    }
    
    .class-item {
        padding: 1px 2px;
        font-size: 8px;
    }
    
    .class-subject {
        font-size: 9px;
    }
    
    .class-time {
        font-size: 7px;
    }
    
    .timetable-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .add-class-btn, .search-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .quick-entry {
        padding: 16px;
    }
    
    .quick-entry-header h3 {
        font-size: 16px;
    }
    
    .quick-entry-form .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* 课程操作按钮 */
.class-actions {
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.btn-edit-small {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border: none;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-edit-small:hover {
    background: rgba(102, 126, 234, 0.4);
}

/* 课程记录样式 */
.class-records-container {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 课程记录筛选器样式 */
.class-records-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.class-records-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.class-records-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.class-records-filters {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.class-records-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.class-records-search {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.class-records-filter label,
.search-item label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.class-records-filter select,
.search-item input,
.search-item select {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    min-width: 120px;
}

.class-records-filter select:hover,
.search-item input:hover,
.search-item select:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.class-records-filter select:focus,
.search-item input:focus,
.search-item select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-item input[type="date"] {
    min-width: 150px;
}

/* 日期范围样式 */
.date-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-separator {
    color: #666;
    font-weight: 600;
    font-size: 14px;
}

/* 无记录提示样式 */
.no-records {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    margin-top: 20px;
}

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

.no-records p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.class-records-table {
    overflow-x: auto;
    max-width: 100%;
}

.class-records-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

.class-records-table th,
.class-records-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.class-records-table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #666;
}

.class-records-table td {
    color: #333;
}

.class-records-table tr:hover {
    background: rgba(102, 126, 234, 0.1);
    cursor: pointer;
    transition: background 0.2s ease;
}

/* 课程记录样式 */
.records-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.records-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.records-filter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.records-filter select {
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.records-filter select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

/* 统计概览 */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* 每日记录 */
.daily-records {
    margin-bottom: 40px;
}

.daily-records h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.record-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.record-date {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.record-stats {
    display: flex;
    gap: 20px;
}

.record-time {
    font-size: 16px;
    font-weight: 500;
    color: #4facfe;
}

.record-count {
    font-size: 16px;
    font-weight: 500;
    color: #fa709a;
}

.detailed-records {
    margin-top: 40px;
}

.detailed-records h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.detailed-list {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 恢复计时对话框样式 */
.restore-timer-modal .modal-content {
    max-width: 500px;
    width: 90%;
}

.restore-timer-content {
    text-align: center;
}

.warning-message {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.warning-message i {
    font-size: 24px;
}

.warning-message p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.timer-info {
    background: rgba(102, 126, 234, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
}

.restore-hint {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.detailed-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detailed-item:last-child {
    border-bottom: none;
}

.detailed-item .record-time {
    color: #666;
    font-weight: 400;
}

.detailed-item .record-session {
    font-size: 14px;
    color: #999;
    font-family: monospace;
}

.completed-control {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.completed-control .control-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.completed-control .control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.completed-control .show-all-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    background: rgba(102, 126, 234, 0.2);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.completed-control .show-all-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.4);
}

/* 待办列表 */
.todo-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 待办事项分组样式 */
.todo-group {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.todo-group-header {
    background: #ffffff;
    color: #333;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #4facfe;
}

.todo-group-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #4facfe;
}

.todo-count {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.todo-group-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.todo-group-content .todo-item {
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transition: all 0.3s ease;
}

.todo-group-content .todo-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 今天的日程分组特殊样式 */
.todo-group-today {
    border: 2px solid #4facfe;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.2);
}

.todo-group-today .todo-group-header {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-bottom: none;
}

.todo-group-today .todo-group-header h3 {
    color: white;
}

.todo-group-today .todo-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.todo-group-today .todo-group-content .todo-item {
    border-left: 4px solid #4facfe;
}

/* 已过期的日程分组特殊样式 */
.todo-group-overdue {
    border: 2px solid #ff6b6b;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.2);
}

.todo-group-overdue .todo-group-header {
    background: linear-gradient(45deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    border-bottom: none;
}

.todo-group-overdue .todo-group-header h3 {
    color: white;
}

.todo-group-overdue .todo-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.todo-group-overdue .todo-group-content .todo-item {
    border-left: 4px solid #ff6b6b;
    background: rgba(255, 240, 240, 0.5);
}

.todo-group-overdue .todo-group-content .todo-item:hover {
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.15);
}

.todo-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.todo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 即将到期的待办事项样式 */
.todo-item.todo-upcoming {
    border-left: 5px solid #ff6b6b;
    background: rgba(255, 240, 240, 0.95);
    animation: glow-red 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
}

.todo-item.todo-upcoming:hover {
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.5);
}

/* 已过截止日期的待办事项样式 */
.todo-item.todo-overdue {
    border-left: 5px solid #dc3545;
    background: rgba(255, 220, 220, 0.95);
    animation: glow-deep-red 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.6);
}

.todo-item.todo-overdue:hover {
    box-shadow: 0 6px 30px rgba(220, 53, 69, 0.5);
}

/* 过期动画效果 */
@keyframes pulse-overdue {
    0% {
        background: rgba(255, 220, 220, 0.95);
    }
    50% {
        background: rgba(255, 210, 210, 0.98);
    }
    100% {
        background: rgba(255, 220, 220, 0.95);
    }
}

/* 过期文本样式 */
.overdue-text {
    color: #dc3545;
    font-weight: 600;
    animation: blink 1s infinite alternate;
}

/* 闪烁动画 */
@keyframes blink {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 3px rgba(220, 53, 69, 0.5);
    }
}

/* 延至今晚按钮样式 */
.action-btn.tonight-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.action-btn.tonight-btn:hover {
    background: linear-gradient(135deg, #3a9af0 0%, #00d0fe 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 172, 254, 0.3);
}

.action-btn.tonight-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(79, 172, 254, 0.3);
}

.todo-content {
    display: flex;
    gap: 15px;
    flex: 1;
}

.todo-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 5px;
}

.todo-text {
    flex: 1;
}

.todo-subject {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.subject-语文 {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
}

.subject-数学 {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
}

.subject-英语 {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
}

.subject-物理 {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
}

.subject-化学 {
    background: linear-gradient(45deg, #43e97b 0%, #38f9d7 100%);
}

.subject-政治 {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
}

.subject-其他 {
    background: linear-gradient(45deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.todo-main-content {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.todo-time {
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.todo-time span {
    color: #ff6b6b;
    font-weight: 500;
}

.todo-duration {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.9;
    border: 1px solid rgba(102, 126, 234, 0.2);
    white-space: nowrap;
}

/* 响应式调整 - 平板竖屏状态 */
@media (max-width: 768px) {
    .todo-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .todo-time span {
        display: block;
    }
    
    .todo-duration {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* 待办任务确认对话框样式 */
.todo-confirm-dialog {
    border-radius: 20px !important;
    overflow: hidden !important;
}

.todo-confirm-dialog .el-dialog__header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 20px 24px !important;
    border-bottom: none !important;
}

.todo-confirm-dialog .el-dialog__title {
    color: white !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.todo-confirm-dialog .el-dialog__body {
    padding: 24px !important;
    font-size: 16px !important;
    color: #333 !important;
}

.todo-confirm-dialog .el-dialog__footer {
    padding: 0 24px 24px !important;
    border-top: 1px solid #f0f0f0 !important;
}

.todo-confirm-dialog .el-button {
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.todo-confirm-dialog .el-button--primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    border: none !important;
}

.todo-confirm-dialog .el-button--primary:hover {
    background: linear-gradient(135deg, #3a9af0 0%, #00d0fe 100%) !important;
}

.todo-confirm-dialog .el-button--default {
    background: #f0f0f0 !important;
    color: #666 !important;
    border: none !important;
}

.todo-confirm-dialog .el-button--default:hover {
    background: #e0e0e0 !important;
}

.todo-text.completed .todo-main-content {
    text-decoration: line-through;
    color: #999;
}

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

.action-btn {
    padding: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #333;
}

.edit-btn:hover {
    color: #4facfe;
}

.delete-btn:hover {
    color: #ff6b6b;
}

/* 快速开始计时按钮样式 */
.timer-btn {
    padding: 6px 10px;
    border-radius: 16px;
    background: linear-gradient(45deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-left: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(67, 233, 123, 0.3);
    white-space: nowrap;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timer-btn {
        padding: 5px 8px;
        font-size: 11px;
        margin-left: 3px;
    }
    
    .timer-btn i {
        font-size: 12px;
    }
}

.timer-btn:hover {
    background: linear-gradient(45deg, #38f9d7 0%, #43e97b 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(67, 233, 123, 0.4);
    transform: translateY(-1px);
}

.timer-btn i {
    font-size: 14px;
}

/* 延迟按钮样式 */
.delay-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(45deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
}

.delay-btn:hover {
    background: linear-gradient(45deg, #ffa500 0%, #ff6b6b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 20px;
    opacity: 0.8;
}

/* 专注记录样式 */
.records-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.records-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
}

.records-filter select {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.records-filter select option {
    background: #667eea;
    color: white;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 48px;
    color: #4facfe;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.daily-records h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.record-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.record-date {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.record-stats {
    display: flex;
    gap: 20px;
}

.record-time {
    font-size: 16px;
    font-weight: 500;
    color: #4facfe;
}

.record-count {
    font-size: 16px;
    font-weight: 500;
    color: #fa709a;
}

.detailed-records {
    margin-top: 40px;
}

.detailed-records h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.detailed-list {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.detailed-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detailed-item:last-child {
    border-bottom: none;
}

.detailed-item .record-time {
    color: #666;
    font-weight: 400;
}

.detailed-item .record-session {
    font-size: 14px;
    color: #999;
    font-family: monospace;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.close-btn {
    padding: 8px;
    border: none;
    background: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 24px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-control textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 24px;
    border-top: 1px solid #f0f0f0;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #f0f0f0;
    color: #666;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-primary {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .timer-circle {
        width: 250px;
        height: 250px;
    }
    
    .time {
        font-size: 48px;
    }
    
    .controls {
        flex-wrap: wrap;
    }
    
    .control-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .mode-selector {
        flex-wrap: wrap;
    }
    
    .mode-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .settings {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .todo-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .record-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .detailed-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .timer-circle {
        width: 200px;
        height: 200px;
    }
    
    .time {
        font-size: 36px;
    }
    
    .mode {
        font-size: 20px;
    }
}

/* 时间统计样式 */
.time-stats-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

/* 快速筛选按钮样式 */
.quick-filter-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.quick-filter-buttons .btn-sm {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-filter-buttons .btn-sm:hover {
    background-color: #f0f0f0;
    border-color: #4facfe;
    box-shadow: 0 4px 8px rgba(79, 172, 254, 0.2);
    transform: translateY(-1px);
}

/* 总学习时间样式 */
.total-study-time {
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid #4facfe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.2);
}

.total-study-time-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.total-study-time-value {
    font-size: 20px;
    font-weight: 700;
    color: #4facfe;
    text-shadow: 0 1px 2px rgba(79, 172, 254, 0.3);
}

/* 时间筛选样式 */
.time-stats-filter {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.date-range-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.date-range-selector label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.date-range-selector input[type="date"] {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.date-range-selector input[type="date"]:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

/* 查询按钮样式 */
.time-stats-filter .btn-primary {
    align-self: flex-start;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.time-stats-filter .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* 饼状图容器样式 */
.chart-container {
    margin: 30px 0;
    background-color: white;
    padding: 24px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 详细记录样式 */
.time-stats-records {
    margin-top: 30px;
}

.time-stats-records h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.records-list {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.record-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
}

.record-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.record-item:last-child {
    border-bottom: none;
}

.record-time {
    flex: 1;
    min-width: 140px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.record-duration {
    flex: 0 0 100px;
    font-size: 14px;
    font-weight: 600;
    color: #4facfe;
}

.record-todo {
    flex: 2;
    min-width: 200px;
    font-size: 14px;
    color: #333;
}

.record-subject {
    flex: 0 0 80px;
    font-size: 14px;
    font-weight: 600;
    color: #764ba2;
}

/* 标记信息容器样式 */
.record-marks-container {
    flex: 1 1 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* 标记信息头部（带展开/折叠按钮） */
.record-marks-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.record-marks-header:hover {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 4px;
    padding: 4px 8px;
}

.record-marks-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.record-marks-toggle {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.record-marks-toggle i {
    transition: transform 0.3s ease;
}

/* 标记列表样式 */
.record-marks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-left: 10px;
}

.record-marks-list.collapsed {
    display: none;
}

.mark-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.mark-time {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    min-width: 60px;
}

.mark-description {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.mark-interval {
    font-size: 12px;
    color: #666;
    min-width: 100px;
    text-align: right;
}

/* 无记录提示样式 */
.no-records {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-records i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

.no-records p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .time-stats-container {
        padding: 20px;
    }
    
    .quick-filter-buttons {
        flex-wrap: wrap;
    }
    
    .time-stats-filter {
        align-items: flex-start;
    }
    
    .date-range-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .total-study-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .record-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .record-time,
    .record-duration,
    .record-todo,
    .record-subject {
        flex: 1;
        min-width: 100%;
    }
}

.time-stats-container h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-stats-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.date-range-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range-selector label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.date-range-selector input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.chart-container {
    text-align: center;
    margin-bottom: 30px;
}

.time-stats-records {
    margin-top: 30px;
}

.time-stats-records h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.time-stats-records .records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-stats-records .record-item {
    background: rgba(102, 126, 234, 0.05);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #667eea;
}

.time-stats-records .record-time {
    font-size: 14px;
    color: #666;
    min-width: 120px;
}

.time-stats-records .record-duration {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    min-width: 80px;
}

.time-stats-records .record-todo {
    flex: 1;
    font-size: 14px;
    color: #333;
    margin: 0 15px;
    word-break: break-word;
}

.time-stats-records .record-subject {
    font-size: 14px;
    color: #666;
    min-width: 60px;
    text-align: right;
}

.time-stats-records .no-records {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
}

.time-stats-records .no-records i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #adb5bd;
}

.time-stats-records .no-records p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .time-stats-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .date-range-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .time-stats-records .record-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .time-stats-records .record-time,
    .time-stats-records .record-duration,
    .time-stats-records .record-subject {
        min-width: auto;
        text-align: left;
    }
}