/* ================================================================
   scrolltop.css — Bouton scroll-to-top isbaQ
   Scope : .isbaq-scrolltop* + .top-button-icon
================================================================ */

.top-button-icon {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.isbaq-scrolltop {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #141F39;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(20, 31, 57, 0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease, visibility 0.3s;
}

.isbaq-scrolltop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.isbaq-scrolltop:hover {
    background: #FF6B00;
    box-shadow: 0 12px 32px rgba(255, 107, 0, 0.35);
}

.isbaq-scrolltop:hover .isbaq-scrolltop__ring-progress {
    stroke: #fff;
}

.isbaq-scrolltop i {
    color: #fff;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
    transition: transform 0.25s ease;
}

.isbaq-scrolltop:hover i {
    transform: translateY(-2px);
}

.isbaq-scrolltop__ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.isbaq-scrolltop__ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2.5;
}

.isbaq-scrolltop__ring-progress {
    fill: none;
    stroke: #FF6B00;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s ease-out, stroke 0.25s ease;
}

@media (max-width: 767px) {
    .top-button-icon { bottom: 18px; right: 18px; }
    .isbaq-scrolltop { width: 46px; height: 46px; }
    .isbaq-scrolltop__ring { width: 46px; height: 46px; }
    .isbaq-scrolltop i { font-size: 1.1rem; }
}