/* =====================================================
   Ad Banner Control – Frontend Slider CSS v2.0
   ===================================================== */

/* ---- SLIDER WRAPPER ---- */
.abc-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    user-select: none;
}

/* ---- SLIDES TRACK ---- */
.abc-slides-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

/* ---- INDIVIDUAL SLIDE ---- */
.abc-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: block;
    position: relative;
}

.abc-slide .abc-ad-wrap {
    width: 100%;
}

.abc-slide .abc-ad-wrap img,
.abc-slide .abc-ad-wrap a {
    display: block;
    width: 100%;
}

/* ---- FADE EFFECT ---- */
.abc-effect-fade .abc-slides-track {
    display: block;
    position: relative;
}

.abc-effect-fade .abc-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    min-width: 0;
}

.abc-effect-fade .abc-slide.abc-slide-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* ---- ARROWS ---- */
.abc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    outline: none;
}

.abc-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.1);
}

.abc-arrow-prev { left: 10px; }
.abc-arrow-next { right: 10px; }

/* ---- DOTS ---- */
.abc-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 0 6px;
}

.abc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
    outline: none;
}

.abc-dot:hover {
    background: #999;
    transform: scale(1.2);
}

.abc-dot.abc-dot-active {
    background: #2271b1;
    transform: scale(1.3);
}

/* ---- Pause indicator (optional visual feedback) ---- */
.abc-slider.abc-paused .abc-arrow-next::after {
    content: '⏸';
    font-size: 10px;
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    color: #999;
    white-space: nowrap;
}
