

/* 幻灯片公共样式（所有实例共享） */

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-wrapper .slide {
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.slider-wrapper .slide:nth-of-type(0){
    background-color: #f0ad4e;
}
.slider-wrapper .slide:nth-of-type(1){
    background-color: #00a2d4;
}
.slider-wrapper .slide:nth-of-type(2){
    background-color: #f0ad4e;
}
.slider-wrapper .slide:nth-of-type(3){
    background-color: #99a9bf;
}
.slider-wrapper .slide:nth-of-type(4){
    background-color: #9eea6a;
}
.slider-wrapper .slide:nth-of-type(5){
    background-color: #00A2CA;
}
.slider-wrapper .slide:nth-of-type(6){
    background-color: #00a4ac;
}
.slider-wrapper .slide:nth-of-type(7){
    background-color: #0a62c3;
}
.slider-wrapper .slide:nth-of-type(8){
    background-color: #00A600;
}
.slider-wrapper .slide:nth-of-type(9){
    background-color: pink;
}
.slider-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 20px;
}

.slider-control-btn:hover {
    background-color: rgba(59, 130, 246, 0.9);
    transform: translateY(-50%) scale(1.1);
    color: white;
}

.slider-left-btn {
    left: 15px;
}

.slider-right-btn {
    right: 15px;
}

.slider-dot-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.slider-active {
    background-color: #3b82f6;
    transform: scale(1.1);
}