/* Styles moved out of inline <style> blocks in _Layout.cshtml so the layout
   markup is W3C-valid (a <style> element is only allowed in <head>) and
   CSP-nonce clean. Both selectors are unique to their component, so relocating
   the rules here is behaviour- and cascade-identical. */

/* Scroll-to-top floating button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1030;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--button-primary);
    color: white;
    border: 2px solid var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

    #scrollToTopBtn:hover {
        background-color: var(--primary-color);
    }

/* Highlight effect for a specific card reached via the sitemap link */
.sitemap-card-highlight {
    border: 3px solid #0d6efd !important;
    background-color: #f0f7ff !important;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.25), 0 8px 30px rgba(13, 110, 253, 0.12) !important;
    border-radius: 12px !important;
    transition: all 0.5s ease-in-out;
    transform: scale(1.03);
}
