h1 {
    font-size: 24px;
    color: #222;
}

h1,
h2 {
    color: var(--blue);
    margin: 10px 0;
}

/* 添加模板按钮 */
.add-button {
    background-color: var(--orange);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.add-button:hover {
    background-color: #e68a00;
}


/* 标签 */
.label-filter {
    display: flex;
    align-items: end;
    margin-top: 18px;
    margin-left: 10px;
}

.label-filter span {
    margin-right: 6px;
    font-size: 14px;
}

.label-filter .label-filter-tags {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px; /* 给滚动条一些空间 */
}

.tag {
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #343536;
    margin-right: 6px;
    font-size: 14px;
    padding: 6px 12px; /* 增加内边距以防止按钮被压缩 */
    flex-shrink: 0; /* 防止按钮被压缩 */
}

.tag:hover {
    background-color: #e0e0e0;
}

.tag input[type="checkbox"] {
    display: none;
}

.tag.selected {
    background-color: #e0e0e0;
    border-color: var(--orange);
    color: var(--orange);
}

/* tab 切换 */
.tab-container {
    width: 100%;
}

.tab-buttons {
    display: flex;
    margin-top: 16px;
}

.tab-btn {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.tab-btn.active {
    border-bottom: 2px solid #ff9900; /* 激活状态的下边框 */
}

.tab-btn:hover {
    border-bottom: 2px solid #ff9900;
    background-color: transparent;
}

button {
    background-color: var(--orange);
    color: var(--white);
    padding: 10px 15px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #e68a00;
}


/* 添加图像流提示项样式 */
.add-template-flow {
    background-color: #f9f9f9;
    border: 2px dashed #ff9900;
    cursor: pointer;
}

.add-template-flow:hover {
    background-color: #fff3e0;
    border-color: #ff9900;
}

.add-flow-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.add-icon {
    font-size: 36px;
    color: #ff9900;
    font-weight: bold;
    margin-bottom: 10px;
}

.add-text {
    font-size: 16px;
    color: #ff9900;
    font-weight: 500;
}

@media (max-width: 768px) {

    body {
        padding: 6px;
    }
}