/* 定时任务管理视图 */
.schedule-container {
    /* 移除 max-width: 960px 与 margin: 0 auto，让内容占满右侧 */
    padding: 24px;
}

.schedule-header {
    margin-bottom: 16px;
}

.schedule-title {
    font-size: 22px;
    margin: 0 0 6px;
}

.schedule-subtitle {
    color: var(--text-secondary, #666);
    font-size: 13px;
    margin: 0;
}

.schedule-toolbar {
    margin-bottom: 16px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-empty {
    color: var(--text-secondary, #888);
    font-size: 14px;
    padding: 32px;
    text-align: center;
    border: 1px dashed var(--border-color, #ccc);
    border-radius: 8px;
}

.schedule-item {
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 10px;
    padding: 16px;
    background: var(--card-bg, #fff);
}

.schedule-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.schedule-item-title {
    font-weight: 600;
    font-size: 15px;
}

.schedule-status {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
}

.status-active { background: rgba(0, 229, 255, 0.15); color: #00a5c0; }
.status-running { background: rgba(255, 193, 7, 0.18); color: #b8860b; }
.status-done { background: rgba(76, 175, 80, 0.15); color: #2e7d32; }
.status-paused { background: rgba(158, 158, 158, 0.18); color: #757575; }

.schedule-item-meta {
    font-size: 13px;
    color: var(--text-secondary, #555);
    line-height: 1.7;
    margin-bottom: 12px;
}

.schedule-item-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 4px 12px;
    font-size: 12px;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.18);
}
