html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* 定义滚动条轨道 */
::-webkit-scrollbar {
    width: 5px; /* 滚动条宽度 */
    border-radius:15px;
}

/* 定义滚动条轨道的轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* 轨道背景颜色 */
}

/* 定义滚动条的滑块 */
::-webkit-scrollbar-thumb {
    background: #888; /* 滑块颜色 */
    border-radius: 15px;
}

    /* 当鼠标悬停在滚动条上时，定义滚动条的滑块样式 */
    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* 滑块悬停时的颜色 */
        border-radius: 15px;
    }

/* 定义水平滚动条 */
::-webkit-scrollbar {
    height: 10px; /* 滚动条高度 */
}

/* 定义水平滚动条的轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* 轨道背景颜色 */
}

/* 定义水平滚动条的滑块 */
::-webkit-scrollbar-thumb {
    background: #888; /* 滑块颜色 */
}

    /* 当鼠标悬停在水平滚动条上时，定义水平滚动条的滑块样式 */
    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* 滑块悬停时的颜色 */
    }

/* 指定水平滚动条的样式 */
::-webkit-scrollbar-horizontal {
    background-color: #f1f1f1; /* 水平滚动条背景颜色 */
}





/* 自定义热点样式（可选） */
.custom-hotspot {
    min-width: 35px;
    min-height: 35px;
    /*background: rgba(76, 175, 80, 0.8);
    border: 2px solid #fff;
    border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /*transition: all 0.2s ease;*/
}

    .custom-hotspot:hover {
        transform: scale(1.1);
       /* background: rgba(76, 175, 80, 1);*/
    }

    .custom-hotspot i {
        color: #fff;
        font-size: 16px;
    }

/* 自定义提示框样式 */
.my-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%); 
    color: #fff;
    padding: 15px 16px;
    border-radius: 8px; 
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, .65);
    width: auto;
    min-width: 100px;
    max-width:280px;
    text-align: center;
}
@media (max-width: 768px) {
    .my-tooltip {
        padding: 5px 10px;
    }
    .custom-hotspot{
        transform:scale(.7)
    }
}
    /* 提示框小三角 */
    .my-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: rgba(0, 0, 0, 0.6);
    }
/* 鼠标悬浮热点时显示提示框 */
.custom-hotspot:hover .my-tooltip {
    opacity: 1;
}

/* 提示框内的自定义样式 */
.tooltip-title {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.tooltip-content {
    margin-top: 6px;
    font-size: 13px;
    color:#c5c5c5;
    line-height: 1.4;
}

.tooltip-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 8px;
}
.card-img, .card-img-bottom, .card-img-top {
    width: auto;
    height: 120px;
}





/* 公共图片占位统一样式 */
.object-cover {
    object-fit: cover;
    width: 100%;
}

/* =========================================
           方案一：现代卡片缩略图风格 (Modern Card Grid)
           ========================================= */
.style1-card {
    border: 1px solid rgba(0,0,0,0.05); /* 极淡的边框 */
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); /* 初始柔和阴影 */
}

    .style1-card:hover {
        transform: translateY(-5px); /* 悬浮上移 */
        box-shadow: 0 12px 24px rgba(0,0,0,0.08); /* 阴影加深 */
    }

    .style1-card .card-img-top {
      width:100%;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

.style1-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color:#474747
}

.style1-subtitle {
    font-size: 0.85rem;
    color: #888;
}

.style1-actions {
    background-color: #fcfcfc;
    border-top: 1px solid rgba(0,0,0,0.03);
}
.btn-group .btn-light:hover {
    background-color: #ededed !important
}
/* =========================================
           方案二：SaaS级极简横向列表 (SaaS Inline List)
           ========================================= */
.style2-list-item {
    border: 1px solid #ebedf0;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s ease;
    background: #fff;
    margin-bottom: 12px;
}

    .style2-list-item:hover {
        border-color: #c9d0d8;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04);
        background: #fafafa;
    }

.style2-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    flex-shrink: 0;
}

.style2-btn {
    border-radius: 6px;
    font-weight: 500;
}

/* =========================================
           方案三：沉浸式悬浮遮罩风格 (Immersive Hover Overlay)
           ========================================= */
.style3-card {
    border: none;
    background: #f8f9fa;
    height: 185px;
    border-radius: 15px;
}

.style3-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    height: 120px;
}

    .style3-img-wrapper img {
        height: 100%;
        transition: transform 0.5s ease;
    }

.style3-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    backdrop-filter: blur(2px); /* 毛玻璃效果 */
}

.style3-card:hover .style3-img-wrapper img {
    transform: scale(1.05); /* 图片缓慢放大 */
}

.style3-card:hover .style3-overlay {
    opacity: 1; /* 遮罩显现 */
}

.style3-actions {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    gap: 12px;
}

.style3-card:hover .style3-actions {
    transform: translateY(0);
    opacity: 1;
}
/* 方案三按钮优化为圆形图标 */
.style3-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    color: #333;
    border: none;
    transition: background 0.2s;
}

    .style3-btn:hover {
        background: #fff;
        transform: scale(1.1);
    }

    .style3-btn.primary {
        background: #0d6efd;
        color: #fff;
    }

        .style3-btn.primary:hover {
            background: #0b5ed7;
        }

    .style3-btn.danger {
        background: #dc3545;
        color: #fff;
    }

        .style3-btn.danger:hover {
            background: #bb2d3b;
        }

.card-body{
    padding:.7rem;
}