@import '_content/Blazor.Flags/Blazor.Flags.bundle.scp.css';

/* /Components/Layout/Footer.razor.rz.scp.css */
.footer[b-rc1q2z6tew] {
    background: #e9eef5;
    color: #3f5368;
    border-top: 1px solid rgba(3,47,79,0.15);
    position: relative;
}
.footer-inner[b-rc1q2z6tew] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 43px 24px;
}

.footer-links[b-rc1q2z6tew] {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-seperator[b-rc1q2z6tew] {
    opacity: 0.4;
}

.footer-links a[b-rc1q2z6tew] {
    color: #032f4f;
    font-weight: 500;
}

    .footer-links a:hover[b-rc1q2z6tew] {
        color: #4f8bff;
    }

.footer-bottom[b-rc1q2z6tew] {
    margin-top: 16px;
    font-size: 0.8rem;
    opacity: 0.75;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.footer-credit[b-rc1q2z6tew] {
    color: rgba(3, 47, 79, 0.55);
    font-weight: 600;
}

    .footer-credit a[b-rc1q2z6tew] {
        color: rgba(3, 47, 79, 0.72);
        font-weight: 700;
        text-decoration: none;
    }

        .footer-credit a:hover[b-rc1q2z6tew] {
            text-decoration: underline;
        }

.footer-company[b-rc1q2z6tew] {
    opacity: 0.75;
    margin-left: 4px;
}

/* ========================================================================== */
/* DARK MODE // not finished (WIP)                                                        */
/* ========================================================================== */

body.dark-mode .footer[b-rc1q2z6tew] {
    background: #2a2a2a; 
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .footer-links a[b-rc1q2z6tew] {
    color: rgba(255, 255, 255, 0.85);
}

    body.dark-mode .footer-links a:hover[b-rc1q2z6tew] {
        color: #7ab6ff; 
    }

body.dark-mode .footer-seperator[b-rc1q2z6tew] {
    opacity: 0.35;
    color: rgba(255, 255, 255, 0.60);
}

body.dark-mode .footer-bottom[b-rc1q2z6tew] {
    opacity: 0.9; 
}

body.dark-mode .footer-credit[b-rc1q2z6tew] {
    color: rgba(255, 255, 255, 0.35);
}

    body.dark-mode .footer-credit a[b-rc1q2z6tew] {
        color: rgba(255, 255, 255, 0.55);
    }

body.dark-mode .footer-company[b-rc1q2z6tew] {
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.70);
}

body.dark-mode .footer-meta[b-rc1q2z6tew] {
    color: rgba(255, 255, 255, 0.55);
    opacity: 1; 
}

@media (max-width: 575.98px) {
    .footer-inner[b-rc1q2z6tew] {
        padding: 24px 16px; 
    }
    
    .footer-links[b-rc1q2z6tew] {
        gap: 10px;
        font-size: 0.85rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ri3vaoqq8h] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ri3vaoqq8h] {
    flex: 1;
}

.sidebar[b-ri3vaoqq8h] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ri3vaoqq8h] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ri3vaoqq8h]  a, .top-row[b-ri3vaoqq8h]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ri3vaoqq8h]  a:hover, .top-row[b-ri3vaoqq8h]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ri3vaoqq8h]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ri3vaoqq8h] {
        justify-content: space-between;
    }

    .top-row[b-ri3vaoqq8h]  a, .top-row[b-ri3vaoqq8h]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ri3vaoqq8h] {
        flex-direction: row;
    }

    .sidebar[b-ri3vaoqq8h] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ri3vaoqq8h] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ri3vaoqq8h]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ri3vaoqq8h], article[b-ri3vaoqq8h] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ri3vaoqq8h] {
    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-ri3vaoqq8h] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ==============================
   Top Navigation Bar
   ============================== */



.logo-link[b-wm25tzkeq8] {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
}

.logo-white[b-wm25tzkeq8] {
    width: 48px;
    height: auto;
}

.logo-text-white[b-wm25tzkeq8] {
    display: inline-block;
    /* ensure visible on desktop */
    height: 26px;
    width: auto;
}

/* Center and right sections */
.nav-center[b-wm25tzkeq8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 1;
}


/* ==============================
   Nav Link Styling (desktop + mobile)
   ============================== */
.nav-link[b-wm25tzkeq8],
.nav-item[b-wm25tzkeq8],
.login-link[b-wm25tzkeq8],
.logout-link[b-wm25tzkeq8] {
    font-size: 1rem;
    font-weight: 500;
    color: #d7d7d7;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover[b-wm25tzkeq8],
.nav-item:hover[b-wm25tzkeq8],
.nav-item.active[b-wm25tzkeq8],
.login-link:hover[b-wm25tzkeq8],
.logout-link:hover[b-wm25tzkeq8] {
    color: #ffffff;
}

/* Underline animation */
.nav-link[b-wm25tzkeq8]::after,
.nav-item[b-wm25tzkeq8]::after,
.login-link[b-wm25tzkeq8]::after,
.logout-link[b-wm25tzkeq8]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #3da5ff;
    transition: width 0.25s ease;
}

.nav-link:hover[b-wm25tzkeq8]::after,
.nav-item:hover[b-wm25tzkeq8]::after,
.login-link:hover[b-wm25tzkeq8]::after,
.logout-link:hover[b-wm25tzkeq8]::after {
    width: 100%;
}

/* ==============================
   Desktop / Mobile Helpers
   ============================== */
.d-none-mobile[b-wm25tzkeq8] {
    display: flex;
}

.d-show-mobile[b-wm25tzkeq8] {
    display: none !important;
}

/* ==============================
   Hamburger / Toggle Button
   ============================== */
.nav-toggle[b-wm25tzkeq8] {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 42px;
    height: 36px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    z-index: 2100;
}

.nav-toggle .bar[b-wm25tzkeq8] {
    display: block;
    width: 16px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    margin: -1px;
    content: "";
    min-width: 2px;
    min-height: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.hidden[b-wm25tzkeq8] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Animate into X when open */
.nav-toggle[aria-expanded="true"] .bar:nth-child(1)[b-wm25tzkeq8] {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2)[b-wm25tzkeq8] {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3)[b-wm25tzkeq8] {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==============================
   Mobile Slide-in Panel
   ============================== */
.nav-links[b-wm25tzkeq8] {
    display: none;
}

/* ==============================
   Backdrop / Overlay
   ============================== */
.nav-overlay[b-wm25tzkeq8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2050;
    display: none;
    backdrop-filter: blur(2px);
}

.nav-overlay.show[b-wm25tzkeq8] {
    display: block !important;
}

/* ==============================
   Mobile Menu — Fullscreen
   ============================== */
@media (max-width: 991.98px) {
    .d-none-mobile[b-wm25tzkeq8] {
        display: none !important;
    }

    .d-show-mobile[b-wm25tzkeq8] {
        display: inline-flex !important;
    }

    .top-nav[b-wm25tzkeq8] {
        height: 64px;
        padding: 0.5rem 1rem;
    }

    .logo-white[b-wm25tzkeq8] {
        width: 40px;
    }

    .logo-text-white[b-wm25tzkeq8] {
        display: inline-block;
        height: 18px;
    }

    .nav-toggle[b-wm25tzkeq8] {
        display: inline-flex !important;
    }

    /* ---- Fullscreen menu panel ---- */
    .nav-links[b-wm25tzkeq8] {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 3000;
        display: none;
        flex-direction: column;
        overflow-y: auto;
        border: none;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        transition: none;
    }

    .nav-links.open[b-wm25tzkeq8] {
        display: flex !important;
    }

    /* Inner layout fills the screen */
    .nav-panel-inner[b-wm25tzkeq8] {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 100vh;
        padding: 0;
    }

    /* Header bar with logo + close btn */
    .nav-panel-header[b-wm25tzkeq8] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .nav-panel-header .logo-white[b-wm25tzkeq8] {
        width: 36px;
    }

    .nav-panel-header .logo-text-white[b-wm25tzkeq8] {
        height: 18px;
    }

    .wg-close[b-wm25tzkeq8] {
        font-size: 2.2rem;
        background: rgba(255, 255, 255, 0.08);
        border: none;
        color: white;
        cursor: pointer;
        line-height: 1;
        padding: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease;
    }

    .wg-close:hover[b-wm25tzkeq8] {
        background: rgba(255, 255, 255, 0.18);
    }

    /* Nav links — centered, big, tappable */
    .nav-panel-links[b-wm25tzkeq8] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 0.4rem;
        padding: 2rem 1.5rem;
        overflow-y: auto;
    }

    .nav-item[b-wm25tzkeq8] {
        font-size: 1.75rem;
        font-weight: 600;
        padding: 1rem 2.5rem;
        border-radius: 14px;
        color: rgba(255, 255, 255, 0.85);
        letter-spacing: 0.5px;
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: 340px;
        min-height: 56px;
        display: flex;
        align-items: center;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-item[b-wm25tzkeq8]::after {
        display: none;
    }

    .nav-item:hover[b-wm25tzkeq8],
    .nav-item.active[b-wm25tzkeq8] {
        background: rgba(61, 165, 255, 0.15);
        color: #3da5ff;
        transform: none;
    }

    /* Footer area at the bottom */
    .nav-panel-footer[b-wm25tzkeq8] {
        margin-top: auto;
        padding: 1.25rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        background: rgba(0, 0, 0, 0.3);
    }

    .nav-panel-footer .login-link[b-wm25tzkeq8],
    .nav-panel-footer .logout-link[b-wm25tzkeq8] {
        font-size: 1.2rem;
    }

    /* Admin section header */
    .nav-panel-admin-header[b-wm25tzkeq8] {
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.35);
        padding: 0.75rem 0 0.25rem;
        text-align: center;
    }

    /* Divider above admin links */
    .nav-panel-admin-links[b-wm25tzkeq8] {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 0.5rem;
        margin-top: 0.25rem;
        align-items: center;
    }
}
/* /Components/SharedComponents/SimpleCarousel.razor.rz.scp.css */
/*CAROUSEL GET STARTET BUTTON IN app..css*/

.carousel-container[b-0pyykx5er0] {
    position: relative;
    width: 100vw; 
    height: 100vh; 
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
}

.carousel-slide.active[b-0pyykx5er0] {
    opacity: 1;
    z-index: 1;
}

.carousel-slide[b-0pyykx5er0] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
}

.carousel-controls[b-0pyykx5er0] {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 20;
}

.carousel-dot[b-0pyykx5er0] {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border-radius: 50%;
    border: none;
    background-color: dimgrey;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active[b-0pyykx5er0] {
    background-color: #3da5ff
}

.carousel-overlay[b-0pyykx5er0] {
    background: linear-gradient( rgba(0,0,0,0.45), rgba(0,0,0,0.45) );
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    z-index: 2;
    padding: 2rem;
    color: white;
}

[b-0pyykx5er0] .carousel-overlay h2 {
    font-size: 4.5rem;s
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

[b-0pyykx5er0] .carousel-overlay p {
    font-size: 1.6rem;
    color: #dfe6f1;
    max-width: 800px;
    line-height: 1.6;
}

/* /Components/SharedComponents/ViewModeToggle.razor.rz.scp.css */
.viewmode-toggle[b-un9468x89h] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 38px;
    user-select: none;
}

.viewmode-label[b-un9468x89h] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #032f4f;
}

.switch[b-un9468x89h] {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

    .switch input[b-un9468x89h] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider[b-un9468x89h] {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(0,0,0,0.18);
    transition: 0.2s ease;
    border-radius: 999px;
}

    .slider[b-un9468x89h]:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        top: 3px;
        background-color: white;
        transition: 0.2s ease;
        border-radius: 999px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    }

.switch input:checked + .slider[b-un9468x89h] {
    background-color: #2d64d8;
}

    .switch input:checked + .slider[b-un9468x89h]:before {
        transform: translateX(20px);
    }

/* ========================================================================== */
/* DARK MODE // not finished (WIP)                                                        */
/* ========================================================================== */

body.dark-mode .viewmode-label[b-un9468x89h] {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .slider[b-un9468x89h] {
    background-color: rgba(255, 255, 255, 0.18);
}

    body.dark-mode .slider[b-un9468x89h]:before {
        background-color: #f2f2f2;
        box-shadow: 0 2px 8px rgba(0,0,0,0.55);
    }

/* checked state (behåll din blå accent men ge lite glow) */
body.dark-mode .switch input:checked + .slider[b-un9468x89h] {
    background-color: #2d64d8;
    box-shadow: 0 0 0 3px rgba(45, 100, 216, 0.25);
}

