/* ==============================
   GG Scroll Navigation PRO
============================== */

.gg-scroll-nav {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    gap: 12px;

    opacity: 0;
    pointer-events: none;

    transition: all 0.3s ease;
}

.gg-scroll-nav.active {
    opacity: 1;
    pointer-events: auto;
}


/* ===== Progress ===== */

.gg-scroll-progress {
    position: relative;
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 600;
    color: #0d6efd;
}

.gg-scroll-progress svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.gg-scroll-progress circle {
    fill: none;
    stroke-width: 4;
    stroke: #e9ecef;
}

#ggProgressCircle {
    stroke: #0d6efd;
    stroke-dasharray: 126;
    stroke-dashoffset: 126;

    transition: stroke-dashoffset 0.2s linear;
}


/* ===== Buttons ===== */

.gg-scroll-btn {
    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;

    font-size: 17px;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.25s ease;
}

.gg-scroll-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.gg-scroll-btn:active {
    transform: scale(0.95);
}


/* ===== Auto hide when focus ===== */

.gg-scroll-nav.hide {
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ===== Mobile ===== */

@media (max-width: 768px) {

    .gg-scroll-nav {
        right: 12px;
        bottom: 15px;
    }

    .gg-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .gg-scroll-progress {
        width: 40px;
        height: 40px;
        font-size: 10px;
    }
}
#btnGoResult {
    border-radius: 20px;
    font-size: 12px;
    padding: 4px 10px;
    transition: all 0.2s ease;
}

#btnGoResult:hover {
    background: #0d6efd;
    color: #fff;
}
