/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #495057;
    line-height: 1.6;
}

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

/* 标签页容器 */
.tab-container {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 标签页导航 */
.tab-nav {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    background-color: #f8f9fa;
}

.tab-btn {
    padding: 16px 32px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.tab-btn.active {
    color: #007bff;
    background-color: #fff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #007bff;
}

/* 标签页内容 */
.tab-content {
    display: none;
    padding: 24px;
}

.tab-content.active {
    display: block;
}

/* 主内容区域 */
.main-content {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* 周期提醒内容区域 */
.cycle-content {
    display: flex;
    gap: 24px;
}

/* 全宽模块 */
.module-container.full-width {
    width: 100%;
    min-width: 100%;
}

/* 模块容器 */
.module-container {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

/* 确保模块高度一致 */
.todo-section,
.time-section,
.cycle-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.todo-list,
.time-list,
.cycle-list {
    flex: 1;
    overflow-y: auto;
    min-height: 300px;
}



/* 通用模块样式 */
.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #007bff;
    text-align: center;
    letter-spacing: -0.5px;
}

.time-section .section-title {
    color: #11aa47;
}

.cycle-section .section-title {
    color: #ff922b;
}

.section-subtitle {
    font-size: 14px;
    color: #868e96;
    margin-bottom: 24px;
    text-align: center;
}

.icon {
    margin-right: 6px;
    color: #11aa47;
}

/* 待办事项模块 */
.todo-section {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.todo-input-area {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.todo-input-area input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.25s ease;
    background-color: #f8f9fa;
}

.todo-input-area input:focus {
    outline: none;
    border-color: #51cf66;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(81, 207, 102, 0.15);
}

.todo-input-area button {
    padding: 14px 24px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.todo-input-area button:hover {
    background-color: #0069d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.priority-selector {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
}

.priority-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    opacity: 0.6;
}

.priority-btn[data-priority="low"] {
    background-color: #d3f9d8;
    color: #2b8a3e;
}

.priority-btn[data-priority="medium"] {
    background-color: #fff3bf;
    color: #f08c00;
}

.priority-btn[data-priority="high"] {
    background-color: #ffe3e3;
    color: #e03131;
}

.priority-btn:hover {
    opacity: 0.8;
}

.priority-btn.active {
    opacity: 1;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.todo-stats {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}

.stat {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 13px;
}

.stat:hover {
    transform: translateY(-1px);
}

.stat.all {
    background-color: #343a40;
    color: white;
}

.stat.pending {
    background-color: #e7f5ff;
    color: #1971c2;
}

.stat.completed {
    background-color: #ebfbee;
    color: #2f9e44;
}

.stat.active {
    box-shadow: 0 0 0 3px rgba(81, 207, 102, 0.3);
}

#clear-completed {
    margin-left: auto;
    padding: 6px 14px;
    background: none;
    border: none;
    color: #fa5252;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

#clear-completed:hover {
    background-color: #fff5f5;
}

.todo-list {
    margin-top: 16px;
}

.todo-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    margin: 8px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    background-color: #f8f9fa;
    border: 2px solid transparent;
}

.todo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-color: #e9ecef;
    z-index: 10;
}

.todo-item.low {
    background-color: #f0fff4;
    border-left: 4px solid #51cf66;
}

.todo-item.medium {
    background-color: #fffdf5;
    border-left: 4px solid #fcc419;
}

.todo-item.high {
    background-color: #fff5f5;
    border-left: 4px solid #ff6b6b;
}

.todo-item.completed {
    opacity: 0.6;
    background-color: #f8f9fa;
}

.todo-item.completed .todo-content {
    text-decoration: line-through;
    color: #868e96;
}

.todo-item input[type="checkbox"] {
    margin-right: 14px;
    transform: scale(1.3);
    cursor: pointer;
    accent-color: #51cf66;
}

.todo-content {
    flex: 1;
    font-size: 15px;
    color: #212529;
    font-weight: 450;
}

.todo-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.todo-text .todo-tag {
    margin-left: 4px;
    font-size: 12px;
}

.todo-priority {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 10px;
}

.todo-priority.low {
    background-color: #b2f2bb;
    color: #2b8a3e;
}

.todo-priority.medium {
    background-color: #ffe8cc;
    color: #d9480f;
}

.todo-priority.high {
    background-color: #ffc9c9;
    color: #c92a2a;
}

/* 标签样式 */
.todo-tags,
.time-tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.todo-tag,
.time-tag {
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 12px;
}

.todo-tag:hover,
.time-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 标签筛选样式 */
.tag-filters {
    margin: 16px 0;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.tag-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    color: #495057;
}

.tag-clear {
    background: none;
    border: none;
    color: #fa5252;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tag-clear:hover {
    background-color: #fff5f5;
}

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

.tag-filter {
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.tag-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag-filter.active {
    background-color: #51cf66;
    color: white;
    box-shadow: 0 2px 8px rgba(81, 207, 102, 0.3);
}

/* 标签联想样式 */
.tag-autocomplete {
    position: absolute;
    z-index: 1000;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    min-width: 200px;
    margin-top: 8px;
}

.tag-suggestion {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    margin: 4px;
}

.tag-suggestion:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 确保输入框区域有相对定位，以便联想框正确定位 */
.todo-input-area,
.time-input-area {
    position: relative;
}

/* 待办事项操作按钮 */
.todo-actions {
    display: flex;
    gap: 6px;
    margin-left: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.todo-item:hover .todo-actions {
    opacity: 1;
    pointer-events: auto;
}

.todo-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
    font-size: 14px;
}

.todo-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* 周期事务提醒模块 */
.cycle-section {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cycle-input-area {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.cycle-input-area input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.25s ease;
    background-color: #f8f9fa;
}

.cycle-input-area input:focus {
    outline: none;
    border-color: #ff922b;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 146, 43, 0.15);
}

.cycle-input-area button {
    padding: 14px 24px;
    background-color: #ff922b;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.cycle-input-area button:hover {
    background-color: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 146, 43, 0.3);
}

/* 打卡计次选项样式 */
.cycle-checkin-option {
    margin-bottom: 16px;
    padding: 14px;
    background-color: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.cycle-checkin-option input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: #ff922b;
}

.cycle-checkin-option label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
}

/* 周期事务设置区域 */
.cycle-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.setting-item select,
.setting-item input[type="time"] {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
}

.setting-item select:focus,
.setting-item input[type="time"]:focus {
    outline: none;
    border-color: #ff922b;
    box-shadow: 0 0 0 2px rgba(255, 146, 43, 0.2);
}

/* 周期事务统计区域 */
.cycle-stats {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}

#clear-cycle {
    margin-left: auto;
    padding: 6px 14px;
    background: none;
    border: none;
    color: #fa5252;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
}

#clear-cycle:hover {
    background-color: #fff5f5;
}

/* 周期事务列表 */
.cycle-list {
    margin-top: 16px;
}

.cycle-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    margin: 8px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-color: #f8f9fa;
    border: 2px solid transparent;
}

.cycle-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-color: #e9ecef;
    z-index: 10;
}

.cycle-item.enabled {
    background-color: #fff8f0;
    border-left: 4px solid #ff922b;
}

.cycle-item.disabled {
    background-color: #f8f9fa;
    border-left: 4px solid #adb5bd;
    opacity: 0.6;
}

.cycle-item input[type="checkbox"] {
    margin-right: 14px;
    transform: scale(1.3);
    cursor: pointer;
    accent-color: #ff922b;
}

.cycle-content {
    flex: 1;
    font-size: 15px;
    color: #212529;
    font-weight: 450;
}

.cycle-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cycle-interval {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    background-color: #ffe8cc;
    color: #d9480f;
    margin-left: 10px;
}

.cycle-time-range {
    font-size: 11px;
    color: #868e96;
    margin-left: 10px;
}

/* 下次提醒时间样式 */
.cycle-next-reminder {
    font-size: 11px;
    color: #495057;
    margin-left: 10px;
    font-weight: 500;
    background-color: #e3f2fd;
    padding: 2px 8px;
    border-radius: 12px;
}

/* 打卡计次样式 */
.cycle-checkin {
    font-size: 12px;
    color: #495057;
    margin-left: 10px;
    font-weight: 600;
    background-color: #fff3bf;
    padding: 2px 8px;
    border-radius: 12px;
}



/* 周期事务操作按钮 */
.cycle-actions {
    display: flex;
    gap: 6px;
    margin-left: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cycle-item:hover .cycle-actions {
    opacity: 1;
    pointer-events: auto;
}

.cycle-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
    font-size: 14px;
}

.cycle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* 工时记录模块 */
.time-section {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.time-input-area {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.time-input-area input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.25s ease;
    background-color: #f8f9fa;
}

.time-input-area input:focus {
    outline: none;
    border-color: #51cf66;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(81, 207, 102, 0.15);
}

.time-input-area button {
    padding: 14px 24px;
    background-color: #11aa47;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.time-input-area button:hover {
    background-color: #0f9a3e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 170, 71, 0.3);
}

.time-date {
    font-size: 13px;
    color: #adb5bd;
    margin-bottom: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-list {
    margin-top: 16px;
}

/* 时间轴容器 */
.timeline-container {
    position: relative;
    padding-left: 30px;
}

/* 日期组 */
.date-group {
    position: relative;
    margin-bottom: 24px;
}

/* 时间轴项目 */
.timeline-item {
    position: absolute;
    left: -30px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* 时间轴节点 */
.timeline-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #51cf66;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(81, 207, 102, 0.4);
    z-index: 2;
}

/* 时间轴连接线 */
.timeline-line {
    width: 2px;
    flex: 1;
    background-color: #dee2e6;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* 最后一个时间轴连接线 */
.timeline-line-last {
    display: none;
}

/* 日期标题 */
.date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.date-header:hover {
    background-color: #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 日期信息 */
.date-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 日期文本 */
.date-text {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

/* 记录数量 */
.record-count {
    font-size: 13px;
    color: #868e96;
    background-color: #e9ecef;
    padding: 4px 10px;
    border-radius: 12px;
}

/* 展开/折叠按钮 */
.expand-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #868e96;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.expand-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

/* 记录容器 */
.records-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* 展开状态 */
.records-container.expanded {
    max-height: 1000px;
}

.time-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 14px;
    margin-left: 12px;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f8f9fa;
    border: 2px solid transparent;
}

.time-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-color: #e9ecef;
    z-index: 10;
}

.time-info {
    flex: 1;
}

.time-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #212529;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.time-name .time-tag {
    margin-left: 4px;
    font-size: 12px;
}

.time-duration {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 1px;
}

.time-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-actions .time-status {
    order: 999;
}

.time-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-size: 16px;
}

.time-btn:hover {
    transform: scale(1.1);
}

.time-btn:active {
    transform: scale(0.95);
}

.time-btn.start {
    background-color: #51cf66;
    color: white;
}

.time-btn.start:hover {
    background-color: #40c057;
    box-shadow: 0 4px 12px rgba(81, 207, 102, 0.4);
}

.time-btn.stop {
    background-color: #ff6b6b;
    color: white;
}

.time-btn.stop:hover {
    background-color: #fa5252;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.time-btn.edit,
.time-btn.delete {
    background: none;
    color: #868e96;
    width: 34px;
    height: 34px;
}

.time-btn.edit:hover,
.time-btn.delete:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #495057;
}

.time-status {
    font-size: 13px;
    padding: 0 14px;
    border-radius: 8px;
    background-color: #e9ecef;
    color: #868e96;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    font-weight: 500;
}

/* 隐藏操作按钮 */
.todo-btn.hidden-action,
.time-btn.hidden-action {
    display: none;
}

.todo-item:hover .todo-btn.hidden-action,
.time-item:hover .time-btn.hidden-action {
    display: flex;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
        margin: 20px auto;
    }
    
    .todo-section,
    .time-section {
        padding: 20px;
        border-radius: 14px;
    }
    
    .todo-input-area,
    .time-input-area {
        flex-direction: column;
    }
    
    .todo-input-area input,
    .time-input-area input {
        margin-bottom: 0;
    }
    
    .todo-input-area button,
    .time-input-area button {
        width: 100%;
    }
    
    .todo-stats {
        gap: 8px;
    }
    
    .stat {
        flex: 1;
        text-align: center;
        padding: 8px;
    }
    
    #clear-completed {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 8px;
    }
    
    .time-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .time-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .time-duration {
        font-size: 24px;
    }
    
    .cycle-input-area {
        flex-direction: column;
    }
    
    .cycle-input-area input {
        margin-bottom: 0;
    }
    
    .cycle-input-area button {
        width: 100%;
    }
    
    .cycle-settings {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .setting-item {
        width: 100%;
        justify-content: space-between;
    }
    
    .setting-item select,
    .setting-item input[type="time"] {
        flex: 1;
        margin-left: 8px;
    }
    
    .cycle-stats {
        gap: 8px;
    }
    
    .cycle-stats .stat {
        flex: 1;
        text-align: center;
        padding: 8px;
    }
    
    #clear-cycle {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 8px;
    }
    
    .cycle-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cycle-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .module-container {
        width: 100%;
    }
    
    .todo-list,
    .time-list {
        min-height: 250px;
    }
}
