
/* Bidayat Hulm — Scroll To Top refinement */

/* Astra's native scroll-to-top button */
#ast-scroll-top,
.ast-scroll-top-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease !important;
}

/* Keep the arrow perfectly centered */
#ast-scroll-top svg,
#ast-scroll-top i,
#ast-scroll-top span,
.ast-scroll-top-icon svg,
.ast-scroll-top-icon i,
.ast-scroll-top-icon span {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
}

/* Small premium hover motion */
#ast-scroll-top:hover,
.ast-scroll-top-icon:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.20) !important;
}

/* Cleaner mobile size */
@media (max-width: 767px) {
    #ast-scroll-top,
    .ast-scroll-top-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        border-radius: 13px !important;
    }
}
