/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Framework-Level Responsive Guards & Dynamic Layout Seal inside MainLayout CSS Isolation */

/* Dynamic width and fluid flex for navbar elements */
[b-vkfnlcltec] .nav-left {
    flex: 1 1 auto !important;
    max-width: 45vw !important;
}

[b-vkfnlcltec] .nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(6px, 1.5vw, 12px) !important;
    flex: 1 1 auto !important;
    max-width: 50vw !important;
    flex-wrap: nowrap !important;
}

[b-vkfnlcltec] .lang-switcher {
    display: flex !important;
    flex-direction: row !important;
    gap: clamp(4px, 1vw, 8px) !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    max-width: 20vw !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

[b-vkfnlcltec] .lang-link {
    font-size: clamp(12px, 3.5vw, 14px) !important;
    font-weight: 700 !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

/* Responsive Guard for W < 992px */
@media (max-width: 991px) {
    [b-vkfnlcltec] .container, 
    [b-vkfnlcltec] .container-fluid, 
    [b-vkfnlcltec] .company-detail-page, 
    [b-vkfnlcltec] .detail-card-container, 
    [b-vkfnlcltec] .contact-container, 
    [b-vkfnlcltec] .about-container, 
    [b-vkfnlcltec] .branches-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: clamp(12px, 4vw, 24px) !important;
        padding-right: clamp(12px, 4vw, 24px) !important;
        box-sizing: border-box !important;
    }

    /* Prevent overlap by forcing vertical layout on columns */
    [b-vkfnlcltec] .detail-card-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 15px !important;
    }

    [b-vkfnlcltec] .info-cards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }

    [b-vkfnlcltec] .info-card {
        width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 15px !important;
    }

    /* Stats Grid stackable column setup */
    [b-vkfnlcltec] .stats {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 25px !important;
        padding: 40px 15px !important;
        box-sizing: border-box !important;
    }

    [b-vkfnlcltec] .stat-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mb3jj7yr1p],
.components-reconnect-repeated-attempt-visible[b-mb3jj7yr1p],
.components-reconnect-failed-visible[b-mb3jj7yr1p],
.components-pause-visible[b-mb3jj7yr1p],
.components-resume-failed-visible[b-mb3jj7yr1p],
.components-rejoining-animation[b-mb3jj7yr1p] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-retrying[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-failed[b-mb3jj7yr1p],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mb3jj7yr1p] {
    display: block;
}


#components-reconnect-modal[b-mb3jj7yr1p] {
    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-mb3jj7yr1p 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mb3jj7yr1p 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mb3jj7yr1p 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mb3jj7yr1p]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mb3jj7yr1p 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mb3jj7yr1p {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mb3jj7yr1p {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mb3jj7yr1p {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mb3jj7yr1p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mb3jj7yr1p] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mb3jj7yr1p] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mb3jj7yr1p] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mb3jj7yr1p] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mb3jj7yr1p] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mb3jj7yr1p] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mb3jj7yr1p 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mb3jj7yr1p] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mb3jj7yr1p {
    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;
    }
}
