/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-7cjq2s3zoz] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-7cjq2s3zoz] {
    flex: 1;
}

article[b-7cjq2s3zoz] {
    padding: 1.5rem 2rem !important;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    article[b-7cjq2s3zoz] {
        padding: 1rem !important;
    }
}

#blazor-error-ui[b-7cjq2s3zoz] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-7cjq2s3zoz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* === Top navbar (horisontell CRM-stil) === */

.top-navbar[b-zz2cidx824] {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    padding: 0 1rem;
    height: 3.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-navbar .container-fluid[b-zz2cidx824] {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 0;
}

.navbar-brand[b-zz2cidx824] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white !important;
    white-space: nowrap;
    margin-right: 1.5rem;
    text-decoration: none;
}

/* Nav links container */
.nav-links[b-zz2cidx824] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
}

.nav-links[b-zz2cidx824]  .nav-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 450;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.15s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 2.25rem;
}

.nav-links[b-zz2cidx824]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-links[b-zz2cidx824]  .nav-link.active {
    background-color: rgba(255,255,255,0.18);
    color: white;
    font-weight: 600;
}

/* Mobile hamburger */
.navbar-toggler[b-zz2cidx824] {
    display: none;
}

.navbar-toggler-label[b-zz2cidx824] {
    display: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    margin-left: auto;
}

.toggler-icon[b-zz2cidx824] {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: rgba(255,255,255,0.8);
    position: relative;
}
.toggler-icon[b-zz2cidx824]::before,
.toggler-icon[b-zz2cidx824]::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.8);
    left: 0;
}
.toggler-icon[b-zz2cidx824]::before { top: -6px; }
.toggler-icon[b-zz2cidx824]::after { top: 6px; }

/* Mobile responsive */
@media (max-width: 768px) {
    .navbar-toggler-label[b-zz2cidx824] {
        display: flex;
    }

    .nav-links[b-zz2cidx824] {
        display: none;
        position: absolute;
        top: 3.5rem;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.125rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .navbar-toggler:checked ~ .nav-links[b-zz2cidx824] {
        display: flex;
    }

    .nav-links[b-zz2cidx824]  .nav-link {
        width: 100%;
        padding: 0.6rem 1rem;
    }
}

/* User menu */
.user-menu[b-zz2cidx824] {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0.25rem;
}

.user-name[b-zz2cidx824] {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    white-space: nowrap;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-absm3u394y],
.components-reconnect-repeated-attempt-visible[b-absm3u394y],
.components-reconnect-failed-visible[b-absm3u394y],
.components-pause-visible[b-absm3u394y],
.components-resume-failed-visible[b-absm3u394y],
.components-rejoining-animation[b-absm3u394y] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-absm3u394y],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-absm3u394y],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-absm3u394y],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-absm3u394y],
#components-reconnect-modal.components-reconnect-retrying[b-absm3u394y],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-absm3u394y],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-absm3u394y],
#components-reconnect-modal.components-reconnect-failed[b-absm3u394y],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-absm3u394y] {
    display: block;
}


#components-reconnect-modal[b-absm3u394y] {
    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-absm3u394y 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-absm3u394y 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-absm3u394y 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-absm3u394y]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-absm3u394y 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-absm3u394y {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-absm3u394y {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-absm3u394y {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-absm3u394y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-absm3u394y] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-absm3u394y] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-absm3u394y] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-absm3u394y] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-absm3u394y] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-absm3u394y] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-absm3u394y 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-absm3u394y] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-absm3u394y {
    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/Pages/Pipeline.razor.rz.scp.css */
.pipeline-board[b-kbjh0t7mcq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    width: 100%;
}

.pipeline-column[b-kbjh0t7mcq] {
    min-width: 0;
}

/* Drag & drop */
.draggable-card[b-kbjh0t7mcq] {
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.draggable-card:active[b-kbjh0t7mcq] {
    cursor: grabbing;
}

.draggable-card.dragging[b-kbjh0t7mcq] {
    opacity: 0.4;
    transform: scale(0.95);
}

.draggable-card:hover[b-kbjh0t7mcq] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

[b-kbjh0t7mcq] .drop-highlight {
    outline: 2px dashed var(--bs-primary, #4f46e5);
    outline-offset: -2px;
    background-color: rgba(79, 70, 229, 0.04);
}

@media (max-width: 768px) {
    .pipeline-board[b-kbjh0t7mcq] {
        grid-template-columns: 1fr;
    }
}
