/**
 * 布局样式模块
 * 包含：面板头部、面板内容区、滚动条、当前任务信息、新建任务按钮
 */

/* 面板头部 */
.panel-header {
    padding: 20px;
    border-bottom: 1px solid #e4e7ed;
    background-color: #ffffff;
}

.panel-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
}

/* 左栏头部布局 */
.header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 新建任务按钮 */
.btn-new-task {
    padding: 8px 16px;
    background-color: #409eff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-new-task:hover {
    background-color: #66b1ff;
}

.btn-new-task:active {
    background-color: #3a8ee6;
}

/* 当前任务信息 */
.current-task-info {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #ecf5ff;
    border-radius: 4px;
    font-size: 14px;
}

.task-badge {
    color: #606266;
    font-weight: 500;
}

.task-name {
    color: #409eff;
    font-weight: 600;
}

/* 面板内容区 */
.panel-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* 占位文字样式 */
.placeholder-text {
    color: #909399;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    margin-top: 20px;
}

/* 滚动条美化 */
.panel-content::-webkit-scrollbar {
    width: 6px;
}

.panel-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.panel-content::-webkit-scrollbar-thumb {
    background: #c0c4cc;
    border-radius: 3px;
}

.panel-content::-webkit-scrollbar-thumb:hover {
    background: #909399;
}

/* 面板底部（危险操作区域） */
.panel-footer {
    padding: 15px 20px;
    border-top: 1px solid #e4e7ed;
    background-color: #f5f7fa;
}

/* 清除全部记录按钮 */
.btn-clear-all {
    width: 100%;
    padding: 10px 16px;
    background-color: #fff;
    color: #f56c6c;
    border: 1px solid #f56c6c;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-clear-all:hover {
    background-color: #f56c6c;
    color: #ffffff;
    border-color: #f56c6c;
}

.btn-clear-all:active {
    background-color: #f23737;
    border-color: #f23737;
}

