@import '_content/ChatLnk.Shared/ChatLnk.Shared.f5z0dz9gh0.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */

.page[b-p7rs3wzi92] {
   /* position: relative;
    display: flex;
    flex-flow: column;
    height: 100%*/
}

main[b-p7rs3wzi92] {
  /*  flex: 1;
    padding-bottom:1rem;*/
}

header[b-p7rs3wzi92] {
    padding: 1rem 0rem 0;
    aspect-ratio: 1600 / 250;
    background: linear-gradient(180deg,rgba(2,14,19,0) 77.71%,rgba(2,15,21,1.61) 100%), url(_content/ChatLnk.Shared/img/Banner1.webp) center/cover no-repeat;
    /*  box-shadow: 0em .00em 0.920em .0em rgb(4 80 145 / 100%);

    box-shadow: 0em .00em 0.920em .0em rgb(2 15 21 / 60%);*/
    box-shadow: 0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.03)
}


.center-header[b-p7rs3wzi92] {
    min-height: 100%;
    max-width: clamp(360px, 95vw, 800px);
    margin: 0 auto 1rem;
    padding: 0 .65em .5em;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}     
  


.header_logo[b-p7rs3wzi92] {
    
    /* text-shadow: 0 2px 6px rgba(0,0,0,0.7);  читаемость */
    /*height: clamp(3em, 1.8vw, 4em);*/
    height: 3.2em;
    display: inline-flex;
    gap: 8px;
}


.header_manual > p[b-p7rs3wzi92] {
    color: white;
    font-weight: 100;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8), -1px -1px 2px rgba(0,0,0,0.8);
}


.header_manual > h2[b-p7rs3wzi92] {
    margin-top: 1em;
    font-weight: 400;
    line-height: 1.2;
    color: #d7fa00;
}



/*footer {
    z-index: -9;
    padding: 20px;
    text-align: center;
    background: #020F15;
    color: #fff;
}*/



#blazor-error-ui[b-p7rs3wzi92] {
    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-p7rs3wzi92] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/*ПРИМЕР; 
    1920px =1vw=19.2px. Например при ширине экр. 1920px, 1rem=16px=0,83vw

clamp(min, optim, max). указать оптимальную высоту 58px.,
|min: 48px/16 = 3rem | optim:( 58px / 1920px x 100=3.02vw)| max: 64px/16px = 4rem; | */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.bar-wrapeer[b-9orjr0gqh3] {
    display: flex;
    justify-content: space-between;
     align-items: center;
}



/* общее выравнивание содержимого на страницах*/
.align_menu[b-9orjr0gqh3] {
    max-width: 800px;
    margin:auto;
    padding: 15px;
}  


.nav-menu[b-9orjr0gqh3] {
     display: flex;
    gap: 1.3rem;

}


.nav-item[b-9orjr0gqh3] {
    padding: 0.1em 0.8rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.0rem;
    font-weight: 100;
    border-radius: 3px;
    background-color: #0A1B24;
    outline: 1.3px solid #d5f4fb;
}  


    .nav-item:has(a.active)[b-9orjr0gqh3] {
        background-color: #153A4F;
    }    
       
    
   .nav-item:active[b-9orjr0gqh3] {
        transform: scale(0.97);
    }


   
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pybtdfcd92],
.components-reconnect-repeated-attempt-visible[b-pybtdfcd92],
.components-reconnect-failed-visible[b-pybtdfcd92],
.components-pause-visible[b-pybtdfcd92],
.components-resume-failed-visible[b-pybtdfcd92],
.components-rejoining-animation[b-pybtdfcd92] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-retrying[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-failed[b-pybtdfcd92],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-pybtdfcd92] {
    display: block;
}


#components-reconnect-modal[b-pybtdfcd92] {
    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-pybtdfcd92 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-pybtdfcd92 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-pybtdfcd92 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-pybtdfcd92]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-pybtdfcd92 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-pybtdfcd92 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-pybtdfcd92 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-pybtdfcd92 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-pybtdfcd92] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-pybtdfcd92] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-pybtdfcd92] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-pybtdfcd92] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-pybtdfcd92] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-pybtdfcd92] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-pybtdfcd92] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-pybtdfcd92 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-pybtdfcd92] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-pybtdfcd92 {
    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;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */


.p_manual[b-75kkxmyefw] {
    background-color: #FAFAFA;
    padding: 0.7em;
    border-radius: 0.4em;
    margin: .5em 0 2em;
    outline: rgba(0, 0, 0, 0.08) solid 1px;
}

    .p_manual b[b-75kkxmyefw] {
        color: #024b7e;
    }

.cards[b-75kkxmyefw] {
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 1em;
    margin: 4rem auto;
}

/* 3. КАРТОЧКА (комбинируем rem и em) */
.card[b-75kkxmyefw] {
    align-items: center;
    box-shadow: 0 0.4em 1em rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    border-radius: 0.5em;
    overflow: hidden;
    /* Padding в em: если текст в body уменьшится на мобилке, 
     внутренние отступы карточки тоже аккуратно сожмутся */
    padding: 1.2em;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 30em;
    /*max-width: min(90vw, 46rem);*/
    justify-self: center;
}

.card-image[b-75kkxmyefw] {
    width: 20%;
    object-fit: cover;
}


.card h3[b-75kkxmyefw] {
    /* Заголовок чуть больше основного текста */
    font-size: 1.3em;
    /* margin в em: отступ под заголовком пропорционален его размеру */
    margin: 0.5em 0 0em;
}

.card p[b-75kkxmyefw] {
    margin-bottom: 2.0em;
    /*flex-grow: 1;*/
}

/* 4. КНОПКА (идеальный случай для em) */
.btn[b-75kkxmyefw] {
    background: #005fa3;
    color: white;
    border: none;
    line-height: 1;
    padding: 0.6em 1.2em;
    border-radius: 0.4rem;
    cursor: pointer;
    display: flex;
    gap: .5em;
}

    .btn img[b-75kkxmyefw] {
        margin-top: 0.08em;
        width: 0.9em;
    }

    .btn:hover[b-75kkxmyefw] {
        transition: background .8s ease;
        background: #007bff;
    }

        .btn:hover img[b-75kkxmyefw] {
            transition: .3s all;
            transform: scale(1.1);
        }


/*------------------showMessage-----------------*/

.page-lock-overlay[b-75kkxmyefw] {
    z-index: 3147483648;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Полупрозрачный черный фон */
    z-index: 99999; /* Поверх всего сайта */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: wait; /* Курсор ожидания */
}

    .page-lock-overlay h2[b-75kkxmyefw] {
        max-width: 80%;
        font-family: sans-serif;
        color: white;
        align-content: center;
    }



/*.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}*/



