/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout.razor.css � Scoped styles for the public site layout.

   Covers: .arctic-site page skeleton, <main> flex fill,
   footer (grid, links, bottom bar), and Blazor #blazor-error-ui.
   Light-theme footer overrides are at the bottom of this file.
*/

/* --- Page Skeleton --- */

.arctic-site[b-auaqr1smuj] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* --- Footer --- */

.arctic-footer[b-auaqr1smuj] {
    background: var(--arctic-dark, #0a0a0a);
    border-top: 1px solid var(--arctic-border, #1a1a1a);
    padding: 4rem 0 0;
    margin-top: auto;
}

.footer-grid[b-auaqr1smuj] {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .footer-logo[b-auaqr1smuj] {
    max-width: 160px;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.2));
}

.footer-brand p[b-auaqr1smuj] {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.footer-links h4[b-auaqr1smuj],
.footer-contact h4[b-auaqr1smuj] {
    font-family: 'Orbitron', sans-serif;
    color: var(--arctic-green, #00FF00);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.footer-links ul[b-auaqr1smuj] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li[b-auaqr1smuj] {
    margin-bottom: 0.6rem;
}

.footer-links ul li a[b-auaqr1smuj] {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links ul li a:hover[b-auaqr1smuj] {
    color: var(--arctic-green, #00FF00);
    padding-left: 6px;
}

.footer-contact p[b-auaqr1smuj] {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.footer-contact p i[b-auaqr1smuj] {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.footer-social[b-auaqr1smuj] {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
}

.footer-social a[b-auaqr1smuj] {
    width: 40px;
    height: 40px;
    border: 1px solid var(--arctic-border, #1a1a1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover[b-auaqr1smuj] {
    border-color: var(--arctic-green, #00FF00);
    color: var(--arctic-green, #00FF00);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.footer-bottom[b-auaqr1smuj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-bottom p[b-auaqr1smuj] {
    font-size: 0.85rem;
    color: var(--text-muted-strong);
    margin: 0;
}

.admin-discreet[b-auaqr1smuj] {
    color: var(--text-muted-strong);
    font-size: 0.85rem;
    opacity: 0.35;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.admin-discreet:hover[b-auaqr1smuj] {
    opacity: 0.7;
    color: var(--text-muted);
}

.back-to-top-link[b-auaqr1smuj] {
    color: var(--text-muted-strong);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-top-link:hover[b-auaqr1smuj] {
    color: var(--arctic-green, #00FF00);
}

@media (max-width: 768px) {
    .footer-grid[b-auaqr1smuj] {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom[b-auaqr1smuj] {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Error UI --- */

#blazor-error-ui[b-auaqr1smuj] {
    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-auaqr1smuj] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* --- Light theme footer overrides --- */

:global([data-theme="light"]) .arctic-footer[b-auaqr1smuj] {
    border-image: linear-gradient(90deg, transparent, var(--arctic-green), var(--arctic-blue), transparent) 1;
}

:global([data-theme="light"]) .footer-brand .footer-logo[b-auaqr1smuj] {
    filter: drop-shadow(0 0 4px rgba(0, 135, 90, 0.15));
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* --- Skip to content (accessibility) --- */

.skip-to-content[b-tragwayim7] {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--arctic-green, #00FF00);
    color: var(--arctic-black, #000000);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1100;
    border-radius: 0 0 4px 4px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus[b-tragwayim7] {
    top: 0;
}

.arctic-navbar[b-tragwayim7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    padding: 0;
    transition: all 0.3s ease;
}

.navbar-inner[b-tragwayim7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand[b-tragwayim7] {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo[b-tragwayim7] {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(0, 255, 0, 0.2));
    transition: filter 0.3s ease;
}

.brand-logo:hover[b-tragwayim7] {
    filter: drop-shadow(0 0 12px rgba(0, 255, 0, 0.4));
}

.navbar-menu[b-tragwayim7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[b-tragwayim7] .nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    background: none;
}

[b-tragwayim7] .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--arctic-green, #00FF00);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

[b-tragwayim7] .nav-link:hover {
    color: var(--arctic-green, #00FF00);
}

[b-tragwayim7] .nav-link:hover::after {
    width: 70%;
}

[b-tragwayim7] .nav-link.active {
    color: var(--arctic-green, #00FF00);
}

[b-tragwayim7] .nav-link.active::after {
    width: 70%;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
}

.nav-cta[b-tragwayim7] {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--arctic-green, #00FF00);
    color: var(--arctic-green, #00FF00);
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.nav-cta:hover[b-tragwayim7] {
    background: var(--arctic-green, #00FF00);
    color: var(--arctic-black, #000000);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.nav-cta-portal[b-tragwayim7] {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--arctic-blue, #0077FF);
    color: var(--arctic-blue, #0077FF);
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.nav-cta-portal:hover[b-tragwayim7] {
    background: var(--arctic-blue, #0077FF);
    color: var(--arctic-black, #000000);
    box-shadow: 0 0 15px rgba(0, 119, 255, 0.3);
}

/* Hamburger */

.navbar-toggler[b-tragwayim7] {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.toggler-bar[b-tragwayim7] {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--arctic-green, #00FF00);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-toggler[b-tragwayim7] {
        display: flex;
    }

    .navbar-menu[b-tragwayim7] {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.97);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid rgba(0, 255, 0, 0.1);
        z-index: 999;
    }

    .navbar-menu.open[b-tragwayim7] {
        transform: translateY(0);
    }

    [b-tragwayim7] .nav-link {
        padding: 1rem;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }

    .nav-cta[b-tragwayim7] {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
        padding: 12px 24px;
    }

    .nav-cta-portal[b-tragwayim7] {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        padding: 12px 24px;
    }
}

/* --- Theme toggle button --- */

.theme-toggle[b-tragwayim7] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--toggle-border);
    background: var(--toggle-bg);
    color: var(--toggle-color);
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Icon swap driven by --toggle-icon-* variables defined in app.css
   (:root for dark, [data-theme="light"] for light) so the scoped
   selector automatically adapts without needing :global(). */
.theme-icon-dark[b-tragwayim7]  { display: var(--toggle-icon-dark);  }
.theme-icon-light[b-tragwayim7] { display: var(--toggle-icon-light); }

.theme-toggle:hover[b-tragwayim7] {
    border-color: var(--arctic-green);
    color: var(--arctic-green);
    background: var(--toggle-hover-bg);
}

@media (max-width: 768px) {
    .theme-toggle[b-tragwayim7] {
        margin-left: 0;
        margin-top: 1rem;
    }
}
/* /Components/Layout/PortalLayout.razor.rz.scp.css */
/* PortalLayout.razor.css — Scoped styles for the client portal layout.

   Covers: .portal-site page skeleton, portal navbar, brand logo,
   nav actions (company name, dashboard link, sign-out), portal footer.
   See app.css for portal page-level styles (cards, forms, badges, etc.).
*/

/* --- Page Skeleton --- */

.portal-site[b-7byd8zn8i0] {
    background: var(--arctic-black, #000000);
    color: #ffffff;
    min-height: 100vh;
}

/* --- Portal Navbar --- */

.portal-navbar[b-7byd8zn8i0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 119, 255, 0.15);
}

.portal-brand[b-7byd8zn8i0] {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* --- Light theme --- */

[data-theme="light"] .portal-navbar[b-7byd8zn8i0] {
    background: rgba(244, 246, 249, 0.95);
    border-bottom-color: rgba(0, 119, 204, 0.12);
}

/* --- Mobile Responsive --- */

@media (max-width: 768px) {
    .portal-navbar .container[b-7byd8zn8i0] {
        flex-wrap: wrap;
        height: auto !important;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-5h9ehcfhr2],
.components-reconnect-repeated-attempt-visible[b-5h9ehcfhr2],
.components-reconnect-failed-visible[b-5h9ehcfhr2],
.components-pause-visible[b-5h9ehcfhr2],
.components-resume-failed-visible[b-5h9ehcfhr2],
.components-rejoining-animation[b-5h9ehcfhr2] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-5h9ehcfhr2 {
    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;
    }
}
