.center-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; 使容器的高度为视口高度 */
}

/* 类型选项容器 */
#type-options-container {
    /* display: flex;
    flex-wrap: wrap; */
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch; /* 优化移动端滚动体验 */
}

/* 类型选项基础样式 */
.type-option {
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 15px;
    background: #faf7f5;
    border: 1px solid #ddd;
    transition: all 0.3s;
    user-select: none;
    font-size: 14px;
    color: #666;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 阴影效果 */
    margin-bottom: 10px;
    margin-left: 10px;
    margin-top: 5px;
}

/* 悬停状态 */
.type-option:hover {
    background: #fcf4f4;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* 激活状态 */
.type-option.active {
    background: #feece1;
    border-color: #d3d8e0;
    color: rgb(85, 81, 81);
}


/* 自定义滚动条样式 */
#type-options-container::-webkit-scrollbar {
    height: 8px; /* 滚动条高度 */
}

#type-options-container::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* 滚动条轨道背景色 */
    border-radius: 4px; /* 轨道圆角 */
}

#type-options-container::-webkit-scrollbar-thumb {
    background-color: #d0cfcf; /* 滚动条滑块颜色 */
    border-radius: 4px; /* 滑块圆角 */
}

#type-options-container::-webkit-scrollbar-thumb:hover {
    background-color: #7d7d7d; /* 鼠标悬停时滑块颜色 */
}

/* 兼容 Firefox */
#type-options-container {
    scrollbar-width: thin;
    scrollbar-color: #d0cfcf #f1f1f1;
}


#slider-container {
    position: relative;
    margin-bottom: 20px;
}

/* 箭头样式 */
/* 箭头样式优化 */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(194, 189, 189, 0.7);
    color: white;
    border: none;
    padding: 15px 1px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    border-radius: 3px;
    display: none;
}

.arrow-left {
    left: -10px; /* 左侧距离容器边缘10px */
}

.arrow-right {
    right: -15px; /* 右侧距离容器边缘10px */
}

.arrow:hover {
    background: rgba(75, 75, 75, 0.8);
}

/* 移动端适配 */
@media (max-width: 640px) {
    .type-option {
        padding: 5px 12px;
        font-size: 13px;
    }
}


/* 向上箭头按钮样式 */
.scroll-to-top-btn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
}

.scroll-to-top-btn:hover {
    background-color: #0056b3;
}


.image-container {
    width: 100px; /* 正方形容器的宽度 */
    height: 100px; /* 正方形容器的高度 */
    overflow: hidden; /* 隐藏超出容器的部分 */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 让图片覆盖整个容器 */
    object-position: center; /* 将图片的中心部分对齐到容器的中心 */
    border-radius: 15px;
}


.custom-btn {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background-color: #faf5ef; /* 更淡雅的蓝色，可按需调整 */
    border-color: #eff7fc;
    color: #9c8f8f;
}

.custom-btn:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    background-color: #f1ebe3; /* 鼠标悬浮时颜色稍有加深，可按需调整 */
    border-color: #e0e7eb;
    color: #867d7d;
}

.custom-btn:active {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    background-color: #f1ebe3; /* 鼠标悬浮时颜色稍有加深，可按需调整 */
    border-color: #e0e7eb;
    color: #867d7d;
}

.custom-btn:focus {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    background-color: #f1ebe3; /* 鼠标悬浮时颜色稍有加深，可按需调整 */
    border-color: #e0e7eb;
    color: #867d7d;
}

#ori-img-btn{
    display: none;
}

#ori-img-p{
    display: none;
}


/* 自定义按钮加载状态的颜色 */
.am-btn.am-active,
.am-btn:active {
    background-color: #f1ebe3; /* 鼠标悬浮时颜色稍有加深，可按需调整 */
    border-color: #e0e7eb;
}

.am-btn[disabled],
fieldset[disabled] .am-btn {
    background-color: #f1ebe3; /* 鼠标悬浮时颜色稍有加深，可按需调整 */
    border-color: #e0e7eb;
}

.modal-footer-p{
    color: white;
}