/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ========================================
   MAIN LAYOUT - Britamontes Visual Identity
   Exact match to visual-identity-demo.html
   ======================================== */

/* ========================================
   NAVBAR - Construction Sunset
   ======================================== */

.pgo-navbar[b-yq8bh0q4tf] {
    background: var(--pgo-gradient-navbar);
    color: var(--pgo-white);
    padding: var(--pgo-space-lg) var(--pgo-space-xl);
    position: relative;
    z-index: 100;
}

/* Subtle construction site texture overlay */
.pgo-navbar[b-yq8bh0q4tf]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    opacity: 0.3;
}

.pgo-navbar-inner[b-yq8bh0q4tf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.pgo-navbar-menu[b-yq8bh0q4tf] {
    display: flex;
    gap: 8px;
}

.pgo-navbar[b-yq8bh0q4tf]  a {
    color: var(--pgo-white);
    text-decoration: none;
    padding: var(--pgo-space-sm) var(--pgo-space-md);
    transition: all 0.3s ease;
    position: relative;
}

.pgo-navbar[b-yq8bh0q4tf]  a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pgo-safety-yellow);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pgo-navbar[b-yq8bh0q4tf]  a:hover::after,
.pgo-navbar[b-yq8bh0q4tf]  a.active::after {
    width: 100%;
}

.pgo-navbar[b-yq8bh0q4tf]  a:hover,
.pgo-navbar[b-yq8bh0q4tf]  a.active {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: var(--pgo-radius-sm);
}

/* ========================================
   LOGO STYLES
   ======================================== */

.pgo-logo[b-yq8bh0q4tf] {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    transition: all 0.15s ease;
}

.pgo-logo img[b-yq8bh0q4tf] {
    width: auto;
    height: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    transition: all 0.15s ease;
}

.pgo-logo:hover img[b-yq8bh0q4tf] {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* ========================================
   PROFILE DROPDOWN
   ======================================== */

.pgo-profile-dropdown[b-yq8bh0q4tf] {
    position: relative;
    margin-left: var(--pgo-space-lg);
}

.pgo-profile-button[b-yq8bh0q4tf] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--pgo-white);
    background: var(--pgo-orange-dark);
    color: var(--pgo-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pgo-profile-button:hover[b-yq8bh0q4tf] {
    background: var(--pgo-orange-primary);
    transform: scale(1.05);
}

.pgo-profile-icon[b-yq8bh0q4tf] {
    font-family: var(--pgo-font-heading);
    font-size: 16px;
    font-weight: 700;
}

.pgo-profile-menu[b-yq8bh0q4tf] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--pgo-white);
    border-radius: var(--pgo-radius-sm);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.pgo-profile-dropdown:hover .pgo-profile-menu[b-yq8bh0q4tf] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pgo-profile-menu[b-yq8bh0q4tf]  .pgo-profile-menu-item,
.pgo-profile-menu .pgo-profile-menu-item[b-yq8bh0q4tf] {
    display: block;
    width: 100%;
    padding: 12px 16px;
    color: var(--pgo-concrete);
    text-decoration: none;
    font-family: var(--pgo-font-body);
    font-size: 14px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pgo-profile-menu[b-yq8bh0q4tf]  .pgo-profile-menu-item:hover,
.pgo-profile-menu .pgo-profile-menu-item:hover[b-yq8bh0q4tf] {
    background: var(--pgo-bg-secondary);
    color: var(--pgo-orange-primary);
}

.pgo-profile-menu[b-yq8bh0q4tf]  .pgo-profile-menu-item::after {
    display: none;
}

.pgo-profile-menu form[b-yq8bh0q4tf] {
    margin: 0;
}

.pgo-logout-button[b-yq8bh0q4tf] {
    border-top: 1px solid var(--pgo-border);
    color: var(--pgo-warning-red);
}

.pgo-logout-button:hover[b-yq8bh0q4tf] {
    background: rgba(230, 57, 70, 0.1);
    color: var(--pgo-warning-red);
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */

.pgo-content[b-yq8bh0q4tf] {
    min-height: calc(100vh - 158px);
    background:
        /* Blueprint graph paper - fine grid */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 19px,
            rgba(25, 130, 196, 0.04) 19px,
            rgba(25, 130, 196, 0.04) 20px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 19px,
            rgba(25, 130, 196, 0.04) 19px,
            rgba(25, 130, 196, 0.04) 20px
        ),
        /* Every 5th line darker (like graph paper) */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 99px,
            rgba(25, 130, 196, 0.08) 99px,
            rgba(25, 130, 196, 0.08) 100px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 99px,
            rgba(25, 130, 196, 0.08) 99px,
            rgba(25, 130, 196, 0.08) 100px
        ),
        #FFFFFF;
}

/* ========================================
   FOOTER - Concrete Base
   ======================================== */

.pgo-footer[b-yq8bh0q4tf] {
    background: var(--pgo-concrete);
    color: white;
    padding: 0 24px;
    height: 50px;
    overflow: hidden;
}

.pgo-footer-inner[b-yq8bh0q4tf] {
    flex-direction: row;
    line-height: 50px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.pgo-footer-title[b-yq8bh0q4tf] {
    font-family: var(--pgo-font-heading);
    font-size: 18px;
}

.pgo-footer-subtitle[b-yq8bh0q4tf] {
    font-size: 14px;
    opacity: 0.8;
}

/* ========================================
   ERROR UI
   ======================================== */

#blazor-error-ui[b-yq8bh0q4tf] {
    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-yq8bh0q4tf] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .pgo-logo-header[b-yq8bh0q4tf] {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .pgo-logo-header[b-yq8bh0q4tf] {
        height: 35px;
        max-width: 120px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-3e3bs0kplh],
.components-reconnect-repeated-attempt-visible[b-3e3bs0kplh],
.components-reconnect-failed-visible[b-3e3bs0kplh],
.components-pause-visible[b-3e3bs0kplh],
.components-resume-failed-visible[b-3e3bs0kplh],
.components-rejoining-animation[b-3e3bs0kplh] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-retrying[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-failed[b-3e3bs0kplh],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3e3bs0kplh] {
    display: block;
}


#components-reconnect-modal[b-3e3bs0kplh] {
    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-3e3bs0kplh 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-3e3bs0kplh 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-3e3bs0kplh 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-3e3bs0kplh]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-3e3bs0kplh 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-3e3bs0kplh {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-3e3bs0kplh {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-3e3bs0kplh {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-3e3bs0kplh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-3e3bs0kplh] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-3e3bs0kplh] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-3e3bs0kplh] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-3e3bs0kplh] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-3e3bs0kplh] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-3e3bs0kplh] {
        position: absolute;
        border: 3px solid var(--pgo-orange-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-3e3bs0kplh 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-3e3bs0kplh] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-3e3bs0kplh {
    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;
    }
}
