/* Global bottom-right shortcut for returning to the top of long pages. */
.denline-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50%;
    background: var(--denline-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.92);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, background-color 0.18s ease;
}
.denline-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.denline-back-to-top:hover,
.denline-back-to-top:focus-visible {
    background: var(--denline-primary-dark, #084298);
    color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(11,94,215,0.2), 0 8px 24px rgba(15,23,42,0.28);
}
.denline-back-to-top i { font-size: 17px; line-height: 1; }

@media (max-width: 576px) {
    .denline-back-to-top { right: 12px; bottom: 12px; width: 38px; height: 38px; }
}
@media print {
    .denline-back-to-top { display: none !important; }
}
