/* Global defaults */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--lightera-offwhite);
}

::-webkit-scrollbar-thumb {
    background: var(--lightera-purple-3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lightera-purple-1);
}

/* Selection color */
::selection {
    background-color: rgba(111, 0, 211, 0.2);
    color: var(--lightera-black);
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--lightera-purple-1);
    color: white;
}

.skip-link:focus {
    top: 0;
}

/* Blazor error UI */
#blazor-error-ui {
    background: #900;
    color: white;
    padding: 0.5rem;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    display: none;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    margin-left: 1rem;
}
