:root {
    color-scheme: light;
}

@font-face {
    font-family: "PoppinsExtraBoldCustom";
    src: url("fonts/Poppins-ExtraBold-custom.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

.brand-title-font {
    font-family: "PoppinsExtraBoldCustom", "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
}

a.active {
    background-color: rgb(226 232 240);
    color: rgb(15 23 42);
}

.lf-markdown a {
    color: rgb(3 105 161);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lf-markdown a:hover {
    color: rgb(12 74 110);
}

#blazor-error-ui {
    background: rgba(15, 23, 42, 0.68);
    display: none;
    inset: 0;
    position: fixed;
    z-index: 2000;
}

#blazor-error-ui .blazor-error-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.35);
    left: 50%;
    max-width: 420px;
    padding: 1.25rem 1.5rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
}

#blazor-error-ui .blazor-error-compass {
    animation: lorefind-compass-spin 2.4s linear infinite;
    border: 2px solid rgba(148, 163, 184, 0.45);
    border-radius: 9999px;
    height: 56px;
    margin: 0 auto 0.9rem auto;
    position: relative;
    width: 56px;
}

#blazor-error-ui .blazor-error-compass::before,
#blazor-error-ui .blazor-error-compass::after {
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

#blazor-error-ui .blazor-error-compass::before {
    background: linear-gradient(180deg, rgb(167, 27, 27), rgb(157, 157, 157));
    border-radius: 2px;
    height: 30px;
    width: 4px;
}

#blazor-error-ui .blazor-error-compass::after {
    background: rgb(15, 23, 42);
    border-radius: 9999px;
    height: 10px;
    width: 10px;
}

#blazor-error-ui .blazor-error-title {
    color: rgb(15, 23, 42);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

#blazor-error-ui .blazor-error-message {
    color: rgb(71, 85, 105);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0.6rem 0 1rem 0;
    text-align: center;
}

#components-reconnect-modal {
    display: none !important;
}

@keyframes lorefind-compass-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
