/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-151i29vo5e],
.components-reconnect-repeated-attempt-visible[b-151i29vo5e],
.components-reconnect-failed-visible[b-151i29vo5e],
.components-pause-visible[b-151i29vo5e],
.components-resume-failed-visible[b-151i29vo5e],
.components-rejoining-animation[b-151i29vo5e] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-retrying[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-failed[b-151i29vo5e],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-151i29vo5e] {
    display: block;
}


#components-reconnect-modal[b-151i29vo5e] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-151i29vo5e 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-151i29vo5e 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-151i29vo5e 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-151i29vo5e]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-151i29vo5e 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-151i29vo5e {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-151i29vo5e {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-151i29vo5e {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-151i29vo5e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-151i29vo5e] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-151i29vo5e] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-151i29vo5e] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-151i29vo5e] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-151i29vo5e] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-151i29vo5e] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-151i29vo5e 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-151i29vo5e] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-151i29vo5e {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Shared/AnalysisList.razor.rz.scp.css */
.al-list[b-9dt0o4y8lg] {
    display: flex;
    flex-direction: column;
    --al-sector: 9rem;
    --al-country: 7rem;
}

/* Sektor/land er ens for alle rækker på sektor- og landesider. Cellen bevares (skjult, 0 bred),
   så antallet af grid-spor er det samme i alle varianter. */
.al-hide-sector[b-9dt0o4y8lg] { --al-sector: 0px; }
.al-hide-country[b-9dt0o4y8lg] { --al-country: 0px; }
.al-hide-sector .al-col-sector[b-9dt0o4y8lg],
.al-hide-country .al-col-country[b-9dt0o4y8lg] {
    visibility: hidden;
}

/* Kolonner: pil, dato, navn, QS, 1M, sektor, industri, land, temaer */
.al-row[b-9dt0o4y8lg] {
    display: grid;
    grid-template-columns: 1rem 4rem 15rem 3.4rem 4.25rem var(--al-sector) 11rem var(--al-country) minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #2a2f3e;
    font-size: 0.85rem;
    position: relative;
    transition: background 0.15s ease;
}

.al-row:last-child[b-9dt0o4y8lg] {
    border-bottom: none;
}

.al-head[b-9dt0o4y8lg] {
    font-size: 0.65rem;
    color: #9aa0ac;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-top: 0;
}

.al-clickable[b-9dt0o4y8lg] {
    cursor: pointer;
}

.al-clickable:hover[b-9dt0o4y8lg] {
    background: rgba(0, 176, 255, 0.06);
}

.al-clickable:focus-within[b-9dt0o4y8lg] {
    outline: 2px solid #00b0ff;
    outline-offset: -2px;
}

.al-trend[b-9dt0o4y8lg] {
    display: flex;
    justify-content: center;
}

.al-date[b-9dt0o4y8lg] {
    color: #9aa0ac;
    font-size: 0.75rem;
    font-family: 'Consolas', monospace;
    white-space: nowrap;
}

/* Cellen klipper ikke selv (så ejer-tooltippen kan vises); navn og ticker afkortes hver for sig,
   og tickeren giver plads først. */
.al-name[b-9dt0o4y8lg] {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #e8eaed;
    font-weight: 600;
    white-space: nowrap;
}

.al-link[b-9dt0o4y8lg],
.al-name-text[b-9dt0o4y8lg] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.al-link[b-9dt0o4y8lg] {
    color: inherit;
    text-decoration: none;
}

/* Hele rækken er klikbar via linket på navnet. */
.al-link[b-9dt0o4y8lg]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.al-link:focus-visible[b-9dt0o4y8lg] {
    outline: none;
}

.al-ticker[b-9dt0o4y8lg] {
    flex-shrink: 10;
    min-width: 0;
    overflow: hidden;
    margin-left: 0.5rem;
    color: #9aa0ac;
    font-size: 0.7rem;
    font-weight: 500;
    font-family: 'Consolas', monospace;
}

/* Over rækkens klik-overlay, så tooltippen kan vises. */
.al-owned[b-9dt0o4y8lg] {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    display: inline-flex;
    margin-left: 0.4rem;
    color: #00c853;
    font-size: 0.75rem;
    cursor: default;
    outline: none;
}

.al-owned[b-9dt0o4y8lg]::after {
    content: attr(data-tip);
    position: absolute;
    left: calc(100% + 0.4rem);
    top: 50%;
    transform: translateY(-50%);
    padding: 0.2rem 0.5rem;
    border: 1px solid #2a2f3e;
    border-radius: 6px;
    background: #0a0e1a;
    color: #e8eaed;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.al-owned:hover[b-9dt0o4y8lg]::after,
.al-owned:focus-visible[b-9dt0o4y8lg]::after {
    opacity: 1;
}

.al-num[b-9dt0o4y8lg] {
    text-align: right;
    font-family: 'Consolas', monospace;
    font-weight: 600;
    white-space: nowrap;
}

.al-pos[b-9dt0o4y8lg] { color: #00c853; }
.al-neg[b-9dt0o4y8lg] { color: #ff3d00; }
.al-muted[b-9dt0o4y8lg] { color: #9aa0ac; }

.al-qs[b-9dt0o4y8lg] {
    display: inline-block;
    min-width: 2.2rem;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.75rem;
}

/* Op/ned siden forrige analyse. Fast bredde, så scorerne flugter, også uden pil.
   Over rækkens klik-overlay, så tooltippen kan vises. */
.al-qs-change[b-9dt0o4y8lg] {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: 0.8rem;
    margin-left: 0.15rem;
    font-size: 0.6rem;
    text-align: center;
    vertical-align: middle;
    cursor: default;
    outline: none;
}

.al-qs-up[b-9dt0o4y8lg] { color: #00c853; }
.al-qs-down[b-9dt0o4y8lg] { color: #ff3d00; }

/* Tooltippen åbner mod venstre ind over navnekolonnen, så den ikke stikker ud over rækkens
   højre kant på smalle skærme. */
.al-qs-change[data-tip][b-9dt0o4y8lg]::after {
    content: attr(data-tip);
    position: absolute;
    right: calc(100% + 2.6rem);
    top: 50%;
    transform: translateY(-50%);
    padding: 0.2rem 0.5rem;
    border: 1px solid #2a2f3e;
    border-radius: 6px;
    background: #0a0e1a;
    color: #e8eaed;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.al-qs-change[data-tip]:hover[b-9dt0o4y8lg]::after,
.al-qs-change[data-tip]:focus-visible[b-9dt0o4y8lg]::after {
    opacity: 1;
}

.al-qs-excellent[b-9dt0o4y8lg] { background: rgba(0, 200, 83, 0.15); color: #00c853; }
.al-qs-good[b-9dt0o4y8lg]      { background: rgba(100, 221, 23, 0.15); color: #64dd17; }
.al-qs-neutral[b-9dt0o4y8lg]   { background: rgba(255, 214, 0, 0.15); color: #ffd600; }
.al-qs-poor[b-9dt0o4y8lg]      { background: rgba(255, 109, 0, 0.15); color: #ff6d00; }
.al-qs-bad[b-9dt0o4y8lg]       { background: rgba(213, 0, 0, 0.15); color: #ff5252; }

.al-meta[b-9dt0o4y8lg] {
    color: #9aa0ac;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.al-meta-link[b-9dt0o4y8lg] {
    position: relative;
    z-index: 2;
    color: inherit;
    text-decoration: none;
}

.al-meta-link:hover[b-9dt0o4y8lg] {
    color: #00b0ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.al-col-themes[b-9dt0o4y8lg] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    /* mask-image laver en stacking context, så cellen skal over rækkens klik-overlay.
       Tom plads i cellen lader klik gå igennem til aktie-linket. */
    position: relative;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
}

.al-head .al-col-themes[b-9dt0o4y8lg] {
    -webkit-mask-image: none;
    mask-image: none;
}

.al-theme[b-9dt0o4y8lg] {
    pointer-events: auto;
    flex-shrink: 0;
    padding: 0.05rem 0.5rem;
    border: 1px solid #2a2f3e;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #9aa0ac;
    font-size: 0.7rem;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.al-theme:hover[b-9dt0o4y8lg] {
    color: #00b0ff;
    border-color: #00b0ff;
}

.al-theme-more[b-9dt0o4y8lg] {
    pointer-events: auto;
    cursor: help;
    flex-shrink: 0;
    color: #9aa0ac;
    font-size: 0.7rem;
}

/* Trinvis skjulning af kolonner, når der ikke er plads. */
@media (max-width: 1399.98px) {
    .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 1rem 4rem 15rem 3.4rem 4.25rem var(--al-sector) var(--al-country) minmax(0, 1fr);
    }

    .al-col-industry[b-9dt0o4y8lg] {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 1rem 4rem 14rem 3.4rem 4.25rem var(--al-sector) minmax(0, 1fr);
    }

    .al-col-country[b-9dt0o4y8lg] {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 1rem 4rem minmax(0, 1fr) 3.4rem 4.25rem var(--al-sector);
    }

    .al-col-themes[b-9dt0o4y8lg] {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .al-list[b-9dt0o4y8lg] {
        margin-inline: -1rem;
    }

    .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 0.85rem 3.3rem minmax(0, 1fr) 3.1rem 3.6rem;
        gap: 0.4rem;
        padding-inline: 0.5rem;
    }

    .al-row:not(.al-head)[b-9dt0o4y8lg] {
        font-size: 0.78rem;
    }

    .al-col-sector[b-9dt0o4y8lg],
    .al-ticker[b-9dt0o4y8lg] {
        display: none;
    }

    .al-date[b-9dt0o4y8lg] {
        font-size: 0.68rem;
    }
}

/* Strategisider: ekstra nøgletalskolonner efter 1M. Industri vises ikke, og land, sektor og
   temaer giver plads først, så nøgletallene altid er med. */
.al-has-metrics .al-row[b-9dt0o4y8lg] {
    grid-template-columns: 1rem 4rem 15rem 3.4rem 4.25rem var(--al-metrics) var(--al-sector) var(--al-country) minmax(0, 1fr);
}

.al-has-metrics .al-col-industry[b-9dt0o4y8lg] {
    display: none;
}

@media (max-width: 1399.98px) {
    .al-has-metrics .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 1rem 4rem 13rem 3.4rem 4.25rem var(--al-metrics) var(--al-sector) minmax(0, 1fr);
    }

    .al-has-metrics .al-col-country[b-9dt0o4y8lg] {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .al-has-metrics .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 1rem 4rem minmax(0, 1fr) 3.4rem 4.25rem var(--al-metrics);
    }

    .al-has-metrics .al-col-sector[b-9dt0o4y8lg],
    .al-has-metrics .al-col-themes[b-9dt0o4y8lg] {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .al-has-metrics .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 1rem 4rem minmax(0, 1fr) 3.4rem 4.25rem var(--al-metrics-md);
    }

    .al-has-metrics .al-metric:not(.al-metric-0):not(.al-metric-1)[b-9dt0o4y8lg] {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .al-has-metrics .al-row[b-9dt0o4y8lg] {
        grid-template-columns: 0.85rem minmax(0, 1fr) 3.1rem 3.6rem 4.5rem;
    }

    .al-has-metrics .al-col-date[b-9dt0o4y8lg],
    .al-has-metrics .al-metric:not(.al-metric-0)[b-9dt0o4y8lg] {
        display: none;
    }
}
/* /Components/Shared/Pager.razor.rz.scp.css */
.pagination-nav[b-pmmlezu0n7] {
    display: flex;
    justify-content: center;
}

.pagination-list[b-pmmlezu0n7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-link[b-pmmlezu0n7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

a.pagination-link:hover[b-pmmlezu0n7] {
    border-color: var(--accent-color, #0d6efd);
    color: var(--accent-color, #0d6efd);
}

.pagination-link.active[b-pmmlezu0n7] {
    background: var(--accent-color, #0d6efd);
    border-color: var(--accent-color, #0d6efd);
    color: #fff;
    cursor: default;
}

.pagination-gap[b-pmmlezu0n7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 2.5rem;
    color: var(--text-secondary);
}
/* /Components/Shared/TrendArrow.razor.rz.scp.css */
.trend-tip[b-st8uxpksyi] {
    position: relative;
    z-index: 2;
    display: inline-flex;
    padding: 0.15rem;
    cursor: default;
    outline: none;
}

.trend-tip[b-st8uxpksyi]::after {
    content: attr(data-tip);
    position: absolute;
    left: calc(100% + 0.4rem);
    top: 50%;
    transform: translateY(-50%);
    padding: 0.2rem 0.5rem;
    border: 1px solid #2a2f3e;
    border-radius: 6px;
    background: #0a0e1a;
    color: #e8eaed;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

.trend-tip:hover[b-st8uxpksyi]::after,
.trend-tip:focus-visible[b-st8uxpksyi]::after {
    opacity: 1;
}

.trend-arrow[b-st8uxpksyi] {
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1;
    -webkit-text-stroke: 0.5px currentColor;
}

.trend-strong-up[b-st8uxpksyi]   { color: #00e676; transform: rotate(-90deg); }
.trend-up[b-st8uxpksyi]          { color: #69c98a; transform: rotate(-45deg); }
.trend-flat[b-st8uxpksyi]        { color: #9aa0ac; }
.trend-down[b-st8uxpksyi]        { color: #ff8a65; transform: rotate(45deg); }
.trend-strong-down[b-st8uxpksyi] { color: #ff3d00; transform: rotate(90deg); }
