﻿
/* پوسته مشترک برای بخش‌های دارای اسکرول افقی */
.horizontal-scroll-shell {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* نشانگر حرکت افقی */
.horizontal-scroll-hint {
    position: absolute;
    z-index: 5;
    left: 8px;
    top: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(52, 120, 246, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #3478f6;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .13);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease, background .2s ease;
    -webkit-tap-highlight-color: transparent;
}

    .horizontal-scroll-hint:hover {
        background: #eef5ff;
    }

    .horizontal-scroll-hint i {
        font-size: 13px;
    }

    /* در دسکتاپ یا وقتی اسکرول لازم نیست، نشانگر نمایش داده نشود */
    .horizontal-scroll-hint[hidden] {
        display: none !important;
    }

@media (min-width: 701px) {
    .horizontal-scroll-hint {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .horizontal-scroll-hint {
        transition: none;
    }
}
