@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* _content/MetallSvanljung/Components/Layout/Loader.razor.rz.scp.css */
.loading[b-8xdvtficn5] {
    display: none;
    z-index: 1001;
    position: fixed;
    width: 20rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}



.loading-body[b-8xdvtficn5] {
    padding-left: 0.5rem;
}

.loading-visible[b-8xdvtficn5] {
    display: block;
}
.spinner-examples[b-8xdvtficn5] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 10rem;
    grid-gap: 4rem;
   
}

.example[b-8xdvtficn5] {
    display: block;
    height: 10rem;
    position: relative;
    letter-spacing: 0.5px;
}



.spinner[b-8xdvtficn5]::after {
    content: '';
    box-sizing: border-box;
    width: 100px;
    height: 100px;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    border-radius: 50%;
}

.spinner.smooth[b-8xdvtficn5]::after {
    border-top: 4px solid rgba(25, 25, 25, 1.0);
    border-left: 4px solid rgba(25, 25, 25, 1.0);
    border-right: 4px solid rgba(25, 25, 25, 0.0);
    animation: spinner-b-8xdvtficn5 .6s linear infinite;
}


@keyframes spinner-b-8xdvtficn5 {

    to {
        transform: rotate(360deg);
    }
}

/* _content/MetallSvanljung/Components/Layout/MainLayout.razor.rz.scp.css */
/* G�r layouten till en horisontell flex-container */
.layout-container[b-kf7t2eyp6i] {
    display: flex;
    flex-direction: row;
    min-height: 100vh; /* fyll hela sk�rmen */
    overflow: hidden;
}

/* Sidomeny */
.sidebar[b-kf7t2eyp6i] {
    width: 260px;
    flex-shrink: 0;
    background-color: #212529;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Huvudinneh�ll */
.main-content[b-kf7t2eyp6i] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Artikelytan */
.content[b-kf7t2eyp6i] {
    flex: 1;
    padding: 2rem;
}

/* Loader och Toaster ligger ovanp� */
.loader-container[b-kf7t2eyp6i] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blazor standardfelruta */
#blazor-error-ui[b-kf7t2eyp6i] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f44336;
    color: white;
    padding: 0.75rem 1rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 3000;
}

    #blazor-error-ui .dismiss[b-kf7t2eyp6i] {
        cursor: pointer;
        font-weight: bold;
        padding-left: 1rem;
    }

    #blazor-error-ui .reload[b-kf7t2eyp6i] {
        color: white;
        text-decoration: underline;
        margin-left: 1rem;
    }
/* _content/MetallSvanljung/Components/Layout/NavMenu.razor.rz.scp.css */
.layout-container[b-uxvf8polip] {
    display: flex;
    height: 100vh;
    background: #e9eaed; /* ljus bakgrund f�r huvudinneh�ll */
    overflow: hidden;
}

.sidebar[b-uxvf8polip] {
    width: 250px;
    background: linear-gradient(180deg, #5a5a5a, #3f3f3f); /* ljusare gr� gradient */
    color: white;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.4);
}

    .sidebar.collapsed[b-uxvf8polip] {
        width: 70px;
    }

.sidebar-header[b-uxvf8polip] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand[b-uxvf8polip] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn[b-uxvf8polip] {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
}

.sidebar-menu[b-uxvf8polip] {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
}

.menu-item[b-uxvf8polip] {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    transition: background 0.2s;
}

    .menu-item:hover[b-uxvf8polip] {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

    .menu-item.active[b-uxvf8polip] {
        background-color: rgba(255,255,255,0.25);
    }

    .menu-item i[b-uxvf8polip], .icons[b-uxvf8polip] {
        font-size: 1.3rem;
        margin-right: 12px;
        width: 24px;
        text-align: center;
    }

.sidebar.collapsed .menu-item span[b-uxvf8polip] {
    display: none;
}

.sidebar.collapsed .menu-item[b-uxvf8polip] {
    justify-content: center;
}

.sidebar.collapsed .icons[b-uxvf8polip] {
    margin-right: 0;
}

.logout-btn[b-uxvf8polip] {
    background: none;
    border: none;
    color: inherit;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    cursor: pointer;
}

.main-content[b-uxvf8polip] {
    flex: 1;
    background: #f6f7fb;
    overflow-y: auto;
    padding: 1rem 2rem;
    transition: margin-left 0.3s ease;
}

.top-row[b-uxvf8polip] {
    height: 3.5rem;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.05);
    border-bottom: 1px solid #ddd;
    padding: 0 1rem;
}
/* _content/MetallSvanljung/Components/Layout/Toaster.razor.rz.scp.css */
