/* ============================================
   DataAcuity site-specific tweaks
   Loaded AFTER tgn-design-system.css and dataacuity.css overlay.
   Keep this file thin — most styling lives in component .razor.css siblings.
   ============================================ */

/* Blazor Server error UI — matches TGN aesthetic */
#blazor-error-ui {
    background: var(--tgn-danger);
    color: var(--tgn-text-inverse);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    text-align: center;
    font-size: var(--tgn-text-sm);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    background: transparent;
    border: 0;
    color: var(--tgn-text-inverse);
    font-size: 1.25rem;
    line-height: 1;
}

#blazor-error-ui .reload {
    color: var(--tgn-text-inverse);
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Smooth scrolling for anchor links inside the marketing site */
html {
    scroll-behavior: smooth;
}

/* Selection — brand-tinted */
::selection {
    background: rgba(33, 150, 243, 0.25);
    color: var(--tgn-text-primary);
}
