/* 今天待办模块的CSS样式 - 所有样式都使用todo_前缀 */

/* 浮动按钮样式 */
.todo_floating-button {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.todo_floating-button:hover {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

/* 任务列表样式 */
.todo-tasks-list {
    margin-top: 20px;
}

.todo-task-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

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

.todo-task-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.todo-task-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.todo-task-pending .todo-task-status {
    background: #ffeb3b;
    color: #333;
}

.todo-task-completed .todo-task-status {
    background: #4caf50;
    color: white;
}

.todo-task-description {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.todo-task-meta {
    font-size: 12px;
    color: #999;
}

.todo-task-time {
    display: inline-block;
    margin-right: 10px;
}

.todo-empty-state {
    text-align: center;
    color: #666;
    padding: 40px 20px;
}

.todo-error-state {
    text-align: center;
    color: #d32f2f;
    padding: 20px;
}

.todo-retry-button {
    margin-top: 10px;
    padding: 8px 16px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.todo-retry-button:hover {
    background: #1976d2;
}

/* 隐藏类 */
.todo_hidden {
    display: none !important;
}