@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400&display=swap');
@import url(./_styles/buttons.css);
@import url(./_styles/fonts.css);
@import url(./_styles/margins.css);
@import url(./_styles/animations.css);
@import url(./_styles/flex.css);
@import url(./_styles/grid.css);
@import url(./_styles/borders.css);
@import url(./_styles/avatar.css);
@import url(./_styles/sizes.css);
@import url(./_styles/form.css);
@import url(./_styles/paddings.css);
@import url(./_styles/progress.css);
@import url(./_styles/themes.css);
@import url(./_styles/tooltip.css);
@import url(./_styles/badges.css);
@import url(./_styles/shadows.css);
@import url(./_styles/quill.css);
@import url(./_styles/toaster.css);
@import url(./_styles/dashboard.css);
@import url(./_styles/wizard.css);
@import url(./_styles/modal.css);
@import url(./_styles/table.css);
@import url(./_styles/calendar.css);
@import url(./_styles/cardmenu.css);
@import url(./_styles/images.css);
@import url(./_styles/flags.css);
@import url(./_styles/pdfLike.css);
@import url(./_styles/accordion.css);
@import url(./_styles/chat.css);
@import url(./_styles/print.css);

@font-face {
    font-family: "Signature";
    src: url("./_assets/Robertson-Alternate.ttf");
}

:root{
    --sz-1 : 3px;
    --sz-2 : 5px;
    --sz-3 : 8px;
    --sz-4 : 13px;
    --sz-5 : 21px;
    --sz-6 : 29px;
    --sz-7 : 34px;
    --sz-8 : 47px;
    --sz-9 : 55px;
    --sz-10 : 68px; 
    --sz-11 : 89px; 
    
    --wd-0: 0;
    --wd-1: 576px;
    --wd-2: 768px;
    --wd-3: 992px;
    --wd-4: 1200px;
    --wd-5: 1400px;

    --nav-height : 44px;
    --page-width: 210mm;
    --font-size: 11px
    --zoom: 1
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
  
img{
    max-width: 100%;
}

.inner-bg-surface > *{
    background-color: var(--bg-surface);
}

.bg-surface{
    background-color: var(--bg-surface);
    transition: background-color .1s linear;
    animation:bottom 0.3s;
}

.bg-elevated{
    background-color: var(--bg-elevated);
    transition: background-color .2s linear;
}

.bg-opac{
    background-color: var(--bg-opac);
    transition: background-color .3s linear;
}

.bg-opac-2{
    background-color: var(--bg-opac-2);
}

.bg-gray{
    background-color: #ddd;
}

body.dark-mode .bg-gray{
    background-color: #666666;
}

.bg-accent{
    background-color: #e5e5e533;
}

.circle.bg-gray{
    background-color: #ddd;
    border: 1px solid #888;
}
.circle.bg-green{
    background-color: #11fb15;
    border: 1px solid #0dc13d;
}
.circle.bg-yellow{
    background-color: #ffed4a;
    border: 1px solid #ffed4a;
}
.circle.bg-red{
    background-color: #e3342f;
    border: 1px solid #e3342f;
}

.icon.btn {
    cursor: pointer;
    transition:  backdrop-filter .2s linear;
    border-radius: 50%;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard{
    display: flex;
    flex-direction: column;
    padding: var(--dashboard-padding);
    gap: var(--dashboard-gap);
}


.grids{
    gap: 21px;
    display: grid;
    grid-template-columns: 1fr;
}


.grids.type-1{
    grid-template-areas:
    "a";
}

.grids.type-1-a{
    grid-template-columns: 1fr;
    grid-template-areas:
    "a";
}

.grids.type-2{
    grid-template-areas:
    "a""b";
}

.grids.type-2-b{
    grid-template-areas:
    "a""b";
}

.grids.type-3-a{
    grid-template-areas:
    "a" "b" "c";
}

.grids.type-3-b{
    grid-template-areas:
    "a""b""c";
}

.grids.type-4-a{
    grid-template-areas:
    "a""b""c""d";
}

.grids.type-4-b{
    grid-template-areas:
    "a""b""c""d";
}


@media(min-width: 600px){
    .grid.type-1-a{
        grid-template-columns: repeat(2, 1fr);
    }

    .grid.type-3-a{
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "a a"
        "b b"
        "c c";
    }

    .grid.type-4-a{
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "a b"
        "c d";
    }

    .grid.type-4-b{
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "a a"
        "b b"
        "c d";
    }
}

@media(min-width: 760px){
    .grid.type-3-a{
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
        "a a a"
        "b b b"
        "c c c"
        ;
    }

    .grid.type-3-b{
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "a b"
        "c c";
    }
}


@media(min-width: 1080px){

    .grid.type-1-a{
        grid-template-columns: repeat(4, 1fr);
    }
    
    .grid.type-2{
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
        "a b";
    }

    .grid.type-2-b{
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
        "a a b";
    }
    
    .grid.type-3-a{
        grid-template-columns: repeat(8, 1fr);
        grid-template-areas:
        "a a a a a b b b"
        "a a a a a c c c";
    }

    .grid.type-3-b{
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
        "a b c";
    }

    .grid.type-4-a{
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
        "a b c d"
    }

    .grid.type-4-b{
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
        "a a b b"
        "a a c d";
    }

}

.grid-a{
    grid-area: a;
}
.grid-b{
    grid-area: b;
}
.grid-c{
    grid-area: c;
}
.grid-d{
    grid-area: d;
}
.grid-e{
    grid-area: e;
}
.grid-f{
    grid-area: f;
}

.grids > div{
    display: flex;
    max-height: 460px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
                rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    background-color: var(--card-bg-color);
    border-radius: var(--card-border-radius);
    color: var(--card-main-color);
}

.card-1{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-1 .info{
    display: flex;
    flex-direction: column;
    padding: 21px;
    font-weight: bold;
}

.card-2{
    padding: var(--card-padding);
    display: flex;
    gap: 21px;
    align-items: center;
}

.card-2 .icon{
    padding: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 2rem;
}

.card-2 .info{
    display: flex;
    flex-direction: column;
    font-weight: bold;
    gap: 3px;
}


div.card-3{
    padding: var(--card-padding);
    display: flex;
    gap: 21px;
    background-color: MidnightBlue;
    color: #ddd;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
                rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.card-3 .icon{
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 5rem;
}

.card-3 .info{
    display: flex;
    flex-direction: column;
    font-weight: bold;
    gap: 3px;
    font-size: 1.3rem;
}


div.card-5{
    padding: var(--card-padding);
    display: flex;
    gap: 21px;
    background-color: darkgreen;
    background-image: url(./imagens/billingBackground.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: #ddd;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
                rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.card-5 .icon{
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 5rem;
}

.card-5 .info{
    display: flex;
    flex-direction: column;
    font-weight: bold;
    gap: 3px;

}



div.card-4{
    padding: var(--card-padding);
    flex-direction: column;
    gap: 13px;
}

.icon.blue{
    color: white;
    background-color: hsl(228, 81%, 59%) ;
}
.icon.darkblue{
    color: white;
    background-color: MidnightBlue;
}
.icon.red{
    color: white;
    background-color: crimson;
}

.icon.green{
    color: white;
    background-color: SpringGreen;
}

.text-light{
    opacity: var(--text-opacity);
}

.welcome{
    display: flex;
    justify-content: space-between;
    padding: 21px;
}

.welcome > div:first-child{         
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.patial{
    display: flex;
    justify-content: center;
    padding: 21px;
}

.patial > div{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fdd;
    color: red;
    box-shadow: 0 0 0 1px red;
    gap: 13px;
    padding: 8px 34px;
    border-radius: 8px;
}

.banner{
    background-color: wheat;
    color: brown;
    width: 100%;
    padding: 13px;
    font-weight: bold;
    font-size: 1.3rem;
    border-bottom: 1px solid;
    flex-shrink: 0;
    overflow: hidden;
}

.payment{
    background-color: #d8ffdc;
    color: darkgreen;
    width: 100%;
    padding: 13px;
    font-weight: bold;
    font-size: 1.3rem;
    border-bottom: 1px solid;
}

.clickable{
    cursor: pointer;
    transition: transform .2s linear;
}

.clickable:hover{
    transform: translateY(-3px);
}


.pointer{
    cursor: pointer;
}

.scrolling-text {
    width: fit-content;
    white-space: nowrap;
    animation: scroll 25s linear infinite;
}

@keyframes scroll {
    0% {
        margin-left: 100%;
        transform: translateX(0);
    }
    100% {
        margin-left: 0;
        transform: translateX(-100%); 
    }
}


.searchbar{
    display: flex;
    border: 1px solid var(--lines);
    border-radius: 5px;
    max-width: 440px;
    overflow: hidden;
    flex-shrink: 0;
}

.searchbar input{
    width: 100%;
    border: none;
    border-radius: 0;
    outline: none;
}

.searchbar button{
    border-left: 1px solid var(--lines);
}

.search-table{
    max-height: 0;
    transition: max-height 0.5s, overflow 0s linear 0.5s;
    overflow: auto;
}

.search-table.open{ 
    max-height: 550px;
}

::-webkit-scrollbar {
	width: 0px;
	height: 0px;
}



::-webkit-scrollbar-track {
	background-color: #999;
}

::-webkit-scrollbar-thumb {
	background-color: var(--theme);
	border-radius: 100px;
}


.scrollbar::-webkit-scrollbar {
	width: 0px;
	height: 5px;
}

.scrollbarY::-webkit-scrollbar {
	width: 5px;
	height: 0px;
}

html{
    font-size: 13px;
    color: var(--color);
    user-select: none;
    height: 100svh;
    font-family: "Poppins", sans-serif;
    touch-action: manipulation !important;
}



.viewport{
    position: relative;
    inset: 0;
    height: 100svh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    touch-action: manipulation !important;
    flex: 1;
}

.viewport > section > nav{
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
    padding: 8px 13px;
    justify-content: space-between;
    z-index: 1;
    color: var(--nav-color);
    background-color: rgba(37,38,40,.40);
    background-image: radial-gradient(circle at 25%,hsla(0,0%,100%,.2),rgba(50,50,50,.2) 80%);
    backdrop-filter: blur(3px);
    position: sticky;
    top: 0;
    height: var(--nav-height);
    min-height: 44px;
    width: 100%;
    overflow: auto;
}

.viewport section{
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}

.viewport .main-menu-container{
    --menu-width: 280px;
    display: flex;
    backdrop-filter: blur(5px);
    z-index: 2;
    margin-left: calc(var(--menu-width) * -1);
    transition: margin-left .3s ease;
}

.helper-container{
    width: 377px;
    display: flex;
}

.helper-container .helper-nav{
    width: 100%;
    height: 47px;
    background-color: #6d859c;
    backdrop-filter: blur(5px);
    justify-items: start;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.helper-container iframe{
    width: 100%;
    height: 100%;
    border-radius: var(--frame-border);
    background-color: var(--frame-bg-color);
    margin-inline: auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, 
                rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.viewport .main-menu-container.open{
    margin-left: 0;
}

.viewport .main-menu-container .main-menu{
    width: 280px;
    position: relative;
    transition: max-width .3s ease-out;
}

.viewport .main-menu-container .main-menu > div{
    background-color: var(--bg-surface);
    width: var(--menu-width);
    display: flex;
    flex-direction: column;
    gap: 21px;
    align-items: center;
    position: absolute;
    right: 0;
    height: 100%;
}

.viewport .main-menu-container .main-menu nav{
    height: var(--nav-height);
}

.viewport .main-menu-container .main-menu-overlay{
    flex: 1;
    background-color: #0005;
    display: none;
}


@media (max-width: 1200px){
    .viewport .main-menu-container{
        transition: position;
        transition-delay: .4s;
        position: fixed;

    }
    .viewport .main-menu-container.open{
        inset: 0;  
        z-index: 3;
    }
    
    .viewport .main-menu-container .main-menu{
        max-width: 0px;
        width: 100%;
    }

    .viewport .main-menu-container.open .main-menu{
        max-width: 280px;
    }

    .viewport .main-menu-container .main-menu > div{
        background-color: var(--bg-elevated);
        flex-shrink: 0;
        backdrop-filter: blur(3px);
    }
    
    .viewport .main-menu-container .main-menu nav{
        height: var(--nav-height);
    }
    
    .viewport .main-menu-container.open .main-menu-overlay{
        display: initial;
    }
    
}

.viewport main{
    flex: 1;
    height: 100%;
    position: relative;
}


.side-menu{
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 0;
    position: absolute;
    transition: max-width .3s ease-out;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    /* z-index: var(--side-menu-z-index); */
    background-color: var(--sidemenu-bg-color);
    color: var(--sidemenu-color);
    backdrop-filter: blur(21px) brightness(1.3);
}

.side-menu > div{
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-light);
    width: 100vw;
    max-width: var(--side-menu-width);
    position: absolute;
    right: 0;
}

.side-menu.active{
    max-width: var(--side-menu-width);
}

.spinner{
    position: fixed;
    inset: 0;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner span{
    background-color: white;
    color: rgb(5, 102, 5);
    padding: 3px 8px;
    border: 1px solid;
    border-radius: 8px;
    bottom: 25%;
    position: absolute;
}

@keyframes spinner {
    to {transform: rotate(360deg);}
}
   
.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    width: 120px;
    height: 120px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border-top: 5px solid rgb(119, 157, 255);
    border-right: 5px solid transparent;
    animation: spinner .6s linear infinite;
} 

.main-container{
    flex: 1;
    margin-inline: auto;
    width: 100%;
    display: flex;
    padding: var(--frame-padding);
    position: relative;
    overflow: hidden;
}

.main-container .main-overlay{
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    animation: animateopacity 0.4s;
    /* z-index: var(--main-overlay-z-index); */
}

.overlay{
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    top: 100%;
    opacity: 0;
    transition: top 0s linear .2s, opacity .2s linear;
}

.overlay.show{
    transition: top 0s linear, opacity .2s linear, backdrop-filter .1s linear .2s;
    z-index: 3;
    top: 0;
    opacity: 1;
    backdrop-filter: blur(1px)
}


.overlay:last-child{
    opacity: 0;
    transition: opacity .2s linear;
}

.main-container iframe{
    width: 100%;
    height: 100%;
    border-radius: var(--frame-border);
    background-color: var(--frame-bg-color);
    margin-inline: auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, 
                rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.desk{
    width: 100%;
    height: 100%;
    border-radius: var(--frame-border);
    background-color: var(--desk-bg-color);
    margin-inline: auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, 
                rgba(0, 0, 0, 0.23) 0px 3px 6px;
    overflow: hidden;
}

.info-container{
    display: flex;
    flex-direction: column;
    padding: 21px;
    font-size: 1.3rem;
    font-weight: bold;
}

.options-container{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px;
    overflow: auto;
    scrollbar-gutter: stable;
    gap: 5px;
    width: 100%;
    padding-bottom: 89px;
}

.options-container .arr-container{
    display: flex;
    flex-direction: column;
}

.options-container .arr-body{
    transition: height .35s ease-out, margin-block .35s ease-out;
    overflow: hidden;
    margin-left: 16px;
    padding-left: 5px;
    border-left: 1px solid #334155;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-block: 5px;
}

.options-container .option{
    padding: 8px;
    cursor: pointer;
    transition: background-color .3s linear;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.options-container .option.arrow .section{
    font-size: 1.1rem;
}
.options-container .option.selected{
    background-color: var(--active);
}

.options-container .arr-btn .arrow{
    transform: rotate(90deg);
    transition: transform .3s linear;
}

.options-container .arr-btn.active .arrow{
    transform: rotate(0deg);
}

.options-container .option .text{
    flex: 1;
    padding: 3px;
}

.options-container .option .icon{
    font-size: 1.4rem;
    padding: 0;
}

.options-container .option:hover{
    background-color: var(--active);
}

.options-container .option.red:hover{
    background-color: #fdd;
}

.previousStep{position:relative;animation:animateleft 0.4s}
.nextStep{position:relative;animation:animateright 0.4s}
@keyframes animateright{
    from{transform: translateX(15px);opacity:0} to{transform: translateX(0px);opacity:1}
}
@keyframes animateleft{
    from{transform: translateX(-15px);opacity:0} to{transform: translateX(0px);opacity:1}
}


.hide{
    display: none !important;
}

.hide-empty:empty {
  display: none;
}


.dropdown-container{
    position: relative;
}
.dropdown-btn{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-box{
    background-color: var(--dropdown-bg);
    color: var(--dropdown-color);
    position: absolute;
    right: 13px;
    bottom: -5px;
    transform: translateY(100%);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(110,121,133,.1), 0 10px 20px rgba(110,121,133,.1);
    width: max-content;
    min-width: 144px;
    max-height: 320px;
    max-width: 400px;
    overflow: auto;
    animation:animatebottom 0.4s
}


.animateopacity{
    animation: animateopacity .2s ease-in;
}
@keyframes animateopacity{
    from{opacity:0} 
    to{opacity:1}
}

@keyframes animatebottom{
    from{transform: translateY(110%);opacity:0} 
    to{transform: translateY(100%);opacity:1}
}

.dropdown-box > span{
    padding: 8px;
    border-radius: 5px;
    transition: background-color .5s linear;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-box > span .icon{
    padding: 0;
    font-size: 1.3rem;
}

.dropdown-box > span.red{
    color: crimson;
}
.dropdown-box > span:hover{
    background-color: var(--hover);
}

.chat-btn{
    position: absolute;
    z-index: 999;
    bottom: min(34px, 3%);
    right: min(55px, 5%);
    width: 55px;
    height: 55px;
    background-image: linear-gradient(to bottom, hsl(204, 63%, 62%) 0%,hsl(212, 66%, 56%) 100%);
    box-shadow: 0 3px 13px 0 rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    animation: float 3s infinite;
}

.chat-btn > div{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-btn > div .bullet{
    width: 1rem;
    height: 1rem;
    background-color: #f72918;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    right: 0px;
    display: none;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.6);
}

.chat-btn.alert > div .bullet{
    display: initial;
}

@keyframes float {
    0% {transform: translateY(0);}
    50% {transform: translateY(-8px);}
    100% {transform: translateY(0);}
}

.chat-container{
    background-color: var(--bg-light);
    flex: 1;
    display: flex;
    height: 100%;
    overflow: hidden;
}

.chat-container > div{
    width: 100%;
    min-height: 100%;
}


.chat-container .chats-list{
    display: flex;
    flex-direction: column;
    position: relative;
}

.chat-container .chats-list .searchbox{
    padding: 8px;
}

.chat-container .chats-list .searchbox > div{
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    padding: 8px 13px;
    border: 1px solid;
    border-radius: 8px;
    gap: 8px;
}

.chat-container .chats-list .searchbox > div input{
    flex: 1;
    border: none;
}
.chat-container .chats-list .searchbox > div input:focus{
    outline: none;
}

.chat-container .chats-list .list{
    overflow: auto;
    position: relative;
    height: 100%;
}

.chat-container .chats-list .list > div{
    height: 72px;
    transition: order 5s ease;
    position: absolute;
    background-color: #fff;
    transition: transform .4s ease;
}

.chat-container .chats-list .float-btn{
    position: absolute;
    bottom: 21px;
    right: 21px;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    animation: float 3s infinite;
    transition: width .2s linear, height .2s linear;
    cursor: pointer;
    border: none;
}

@keyframes float {
    0% {transform: translateY(0);}
    50% {transform: translateY(-8px);}
    100% {transform: translateY(0);}
} 


.chat-container .new-chat{
    display: flex;
    flex-direction: column;
    position: relative;
}

.right-drawer{
	position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center; 
	z-index: 3;
	backdrop-filter: none;
    width: 100vw;
    overflow: hidden;
    pointer-events: none;
    pointer-events: all;
    transform: translate(0);
    transition: transform .3s cubic-bezier(0, 0.32, 0.33, 1.14)
}

.right-drawer main{
    overflow: hidden;
}

.right-drawer.collapse{
    transform: translateX(100%)
}

.right-drawer > div{
	width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.right-drawer nav{
    display: flex;
    padding: 13px;
    border-bottom: 1px solid var(--lines);
    justify-content: space-between;
    align-items: center;
    /* z-index: 30; */
}

.right-drawer nav .name{
    font-weight: bolder;
    font-size: 1.2rem;
}
.right-drawer nav .icon{
    cursor: pointer;
}

.right-drawer main{
    width: 100%;
    flex: 1;
    overflow: auto;
}

@media (min-width: 576px) {
    .right-drawer{
        max-width: 386px;
        padding: 13px;
    }
    .right-drawer > div{
        border-radius: 8px;
        box-shadow: var(--box-shadow);
    }

}
.right-drawer{
	position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center; 
	z-index: 3;
	backdrop-filter: none;
    width: 100vw;
    overflow: hidden;
    pointer-events: none;
    pointer-events: all;
    transform: translate(0);
    transition: transform .3s cubic-bezier(0, 0.32, 0.33, 1.14)
}

.right-drawer main{
    overflow: hidden;
}

.right-drawer.collapse{
    transform: translateX(100%)
}

.right-drawer > div{
	width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.right-drawer nav{
    display: flex;
    padding: 13px;
    border-bottom: 1px solid var(--lines);
    justify-content: space-between;
    align-items: center;
    /* z-index: 30; */
}

.right-drawer nav .name{
    font-weight: bolder;
    font-size: 1.2rem;
}
.right-drawer nav .icon{
    cursor: pointer;
}

.right-drawer main{
    width: 100%;
    flex: 1;
    overflow: auto;
}

@media (min-width: 576px) {
    .right-drawer{
        max-width: 386px;
        padding: 13px;
    }
    .right-drawer > div{
        border-radius: 8px;
        box-shadow: var(--box-shadow);
    }

}

.bg-blue{
    background-color: mediumblue;
    color: white;
}

.font-bruno{
    font-family: 'Bruno' !important;
}

.student-info{
    padding: 13px;
    width: 100%;
    font-size: 1.1rem;
    display: flex;
    gap: 13px;
    align-items: center;
}

.student-info .info{
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
    white-space: nowrap;
    overflow: hidden;
}

.student-info .info span{
    overflow: hidden;
    text-overflow: ellipsis;
}

.student-info .icon.hat{
    padding: 13px;
    font-size: 2.8rem;
    border: 1px solid #3f51b5;
    background-color: #eee;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.student-info .icon{
    align-self: center;
    font-size: 1.5rem;
}

.arr-body.collapse{
	height: 0px;
    overflow: hidden;
    margin-block: 0 !important;
}

#accordeonContainer{
    display: flex;
    flex-direction: column;
    overflow: auto;
    position: relative;
    height: 100%;
}
#accordeonContainer span{
    width: 100%;
    padding: 13px;
    border-bottom: var(--border);
}

#accordeonContainer span.first-layer{
    background-color: #3f51b5;
    color: #fff;
}

#accordeonContainer span.second-layer{
    background-color: #eef;
    color: #3f51b5;
    padding-left: 21px;
}
#accordeonContainer div div span{
    padding-left: 34px;
}

#accordeonContainer div{
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: height .45s ease;
    overflow: hidden;
}

#accordeonContainer div.collapse{
    height: 0;
}

.acordeon-divider{
    font-weight: bolder;
    text-transform: uppercase;
    opacity: 0.45;
    padding: 8px;
    margin-top: 8px;
}


.tray{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    transition: transform .3s cubic-bezier(0, 0.32, 0.33, 1.14), display 0s;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    height: 100svh;
    background-color: #0004;
    padding: 8px 8px 0 8px;
}


.tray > div{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-image: url('./_assets/wallpaper.webp');
    background-image: url('./_assets/bg.png');
    border-radius: 13px 13px 0 0;
    background-size: cover;
}

.bg-overlay{
    background-image: url('./_assets/bg.png');
    background-size: cover;
}

@media (max-width: 576px){
    .tray{
        padding: 8px 0px 0 0px;
    }
}

.viewport .tray:not(.collapse):last-child{
    display: flex;
}

.tray.collapse{
    display: flex;
    transform: translateY(100%);
    transition: transform .7s cubic-bezier(0.7, -0.6, 0.3, 1.3), display 0s;
} 

.tray > div > nav{
    display: flex;
    padding: 8px 13px;
    border-bottom: 1px solid var(--lines);
    justify-content: space-between;
    align-items: center;
    /* z-index: 30; */
    background-color: var(--bg-opac);
}

.tray > div > nav .name{
    font-weight: bolder;
    font-size: 1.2rem;
}

.tray > div > nav .icon{
    cursor: pointer;
}

.tray > div > main{
    width: 100%;
    flex: 1;
    overflow: auto;
}

body.dark-mode .tray > div > main{
    backdrop-filter: brightness(.55);
}

.page-title{
    padding: 21px;
    border-bottom: 1px solid #ddd;
}

.grid-container{
    --grid-space: 21px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: var(--grid-space);
    gap: var(--grid-space);
    padding-bottom: 89px;
}

.grid-container .card{
    background-color: white;
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transition: transform .2s ease-out, box-shadow .2s ease-out;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;
    /* z-index: 3; */
}

.grid-container .card > div{
    padding: 8px;
}

.grid-container .card .title{
    background-color: var(--color);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.grid-container .card .description{
    display: flex;
    gap: 8px;
    align-items: center;
    text-align: justify;
}
.grid-container .card .description .icon{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color);
    padding: 8px;
    border-right: 1px solid #ddd;
    font-size: 2.5rem;
}

.btn-container {
    display: flex;
    justify-content: flex-end;
}

.grid-container .card .btn-container button{
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    background-color: var(--color);
    color: white;
    padding: 8px 13px;
    cursor: pointer;
}

.grid-container .card:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px 2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transform: translateY(-3px);
}

.ribbon {
    width: 127px;
    height: 75px;
    overflow: hidden;
    position: absolute;
    padding: 0 !important;
}

.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid DarkCyan;
}


.ribbon span{
    position: absolute;
    display: block;
    width: 144px;
    padding: 5px 0;
    background-image: linear-gradient(LightSeaGreen, CadetBlue);
    color: #fff;
    font: 700 18px/1 'Lato', sans-serif;
    text-shadow: 1px 1px 1px rgba(0,0,0,.8);
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 3px 2px 0 rgba(0,0,0,0.4);
}

/* top right*/
.ribbon-top-right {
    top: -5px;
    right: -8px;
}

.ribbon-top-right::before {
    top: 0;
    left: 10px;
}
.ribbon-top-right::after {
    bottom: 7px;
    right: -3px;
}

.ribbon-top-right span {
    left: 8px;
    top: 16px;
    transform: rotate(30deg);
}


.image-viewer{
	position: fixed;
    inset: 0;
    flex-direction: column;
	justify-content: center;
	align-items: center; 
	z-index: var(--viewer-z-index); 
	backdrop-filter: none;
	background-color: #fff;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    transition: opacity 0.2s linear;
}

.image-viewer nav{
    padding: 8px;
    border-bottom: 1px solid #ddd;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.image-viewer nav .title{
    font-weight: bolder;
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--theme-dark);
}

.image-viewer canvas{
    flex: 1;
    width: 100%;
    background-color: #222;
}

.bolder{
    font-weight: bolder;
}

.pinch-zoom-container {
    background-color: #222;
}
.pinch-zoom-parent {
    height: 80vh;
    width: 90vw;
}

@media (max-width: 901px) {
    #imagem{
        display: none;
    }
}

@media (min-width: 900px) {
    .image-viewer{
        display: flex;
    }
    .pinch-zoom-container{
        display: none;
    }
}



.pdf-viewer{
	position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center; 
	z-index: var(--viewer-z-index); 
	transition: right .5s ease;
	backdrop-filter: none;
	background-color: #fff;
    width: 100vw;
    overflow: hidden;
    transition: opacity 0.2s linear;
}

.pdf-viewer > div{
	width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}


.pdf-viewer nav{
    padding: 8px;
    border-bottom: 1px solid #ddd;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.pdf-viewer nav .title{
    font-weight: bolder;
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--theme-dark);
}

.pdf-viewer iframe{
    width: 100%;
    flex: 1;
    overflow: scroll;
    background-color: #ddd;
}


.pdf-viewer iframe.loading{
    position: relative;
}

.pdf-viewer iframe.loading::before{
    content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
    background-color: #fff;
}

.pdf-viewer iframe.loading::after{
    content: "";
	position: absolute;
	width: 34px;
	height: 34px;
	top: 55px;
	left: 0;
	right: 0;
	margin: auto;
	border: 3px solid #000;
	border-right-color: #fff;
	border-radius: 50%;
	animation: spin .6s infinite linear;
}


.home.main-container{
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
    padding-bottom: 110px;
    margin: auto;
    max-width: 1200px;
}

@media (max-width: 600px){
    .home.main-container{
        background-color: #fff;
    }
}

.user-container{
    background-color: var(--bg-light);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--box-shadow);
}

@media (min-width: 600px) {
    .user-container{
        border-radius: 8px;
        overflow: hidden;
    }
}

.user-container .background{
    height: 60vw;
    max-height: 200px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 13px;
}


.user-container .logo{
    width: 100px;
    height: 100px;
    border: 2px solid;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: #fff;
}

.user-container .data{
    width: 100%;
    border-block: var(--border);
    position: relative;
}

.user-container .data .photo{
    width: 100px;
    height: 100px;
    border: 2px solid var(--theme-dark);
    border-radius: 50%;
    background-color: #eee;
    background-position: top center;
    background-size: cover;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    display: flex;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.user-container .data .photo .icon{
    font-size: 5rem;
    width: 100%;
    font-weight: normal;
}

.user-container .data .name{
    padding: 13px;
    text-align: center;
    padding-top: 60px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Options */

#optionsGrid.options-container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 13px;
    padding: 13px;
    background-color: #fff;
    grid-auto-rows: 1fr;
}

@media (min-width: 600px) {
    #optionsGrid.options-container{
        border-radius: 8px;
        overflow: hidden;
        box-shadow: var(--box-shadow);
    }
}

#optionsGrid.options-container .options{
    color: var(--theme-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--theme-light);
    border-radius: 8px;
    padding: 8px;
    position: relative;
    box-shadow: var(--box-shadow-light);
    cursor: pointer;
    border: 1px solid var(--theme-medium);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

#optionsGrid.options-container .options:hover{
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#optionsGrid.options-container .options[data-alert]::after{
    content: attr(data-alert);
    position: absolute;
    top: 13px;
    right: 13px;
    background-color: tomato;
    border-radius: 50%;
    font-size: 0.8rem;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    height: 1rem;
    min-width: 1rem;
}

#optionsGrid.options-container .options.new{
    font-weight: bold;
}


#optionsGrid.options-container .options.new::before{
    content: "Novo";
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 3px;
    font-size: 0.8rem;
    background-color: var(--theme-dark);
    font-weight: bold;
    border-radius: 5px;
    color: var(--bg-light);
}

#optionsGrid.options-container .options .icon{
    font-size: 2.5rem;
    padding: 8px;
}

#floatArrivingBtn, #floatArrivedBtn {
    position: fixed;
    bottom: 89px;
    right: 21px;
    width: 76px;
    height: 76px;
    border-radius: 8px;
    background-color: #eee;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    animation: float 3s infinite;
    z-index: 7;
    background-image: url('../../images/caminho.png');
    background-size: cover;
    background-origin: center;
    transition: width .2s linear, height .2s linear;
    cursor: pointer;
}

#floatArrivedBtn{
    background-image: url('../../images/cheguei.png');
}

@media (min-width: 600px){
    #floatArrivingBtn, #floatArrivedBtn{
        bottom: 34px;
        right: 34px;
    }
}


.modal-list{
	position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center; 
	z-index: 999; 
	transition: right .5s ease;
	backdrop-filter: none;
	background-color: var(--bg-light);
    width: 100vw;
    overflow: hidden;
    transition: opacity 0.2s linear;
}

.modal-list > div{
	width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.modal-list > div .student-info{
	padding: 8px;
    border-bottom: var(--border);
}

.modal-list nav{
    padding: 13px;
    border-bottom: 1px solid #ddd;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    display: flex;
    width: 100%;
}

.modal-list nav .name{
    font-weight: bolder;
    font-size: 1.2rem;
    color: var(--theme-dark);
}

.modal-list main{
    width: 100%;
    flex: 1;
    overflow: scroll;
}


.modal-list main.loading{
    position: relative;
}

.modal-list main.loading::before{
    content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
    background-color: var(--bg-light);
}

.modal-list main.loading::after{
    content: "";
	position: absolute;
	width: 34px;
	height: 34px;
	top: 55px;
	left: 0;
	right: 0;
	margin: auto;
	border: 3px solid var(--theme-dark);
	border-right-color: var(--bg-light);
	border-radius: 50%;
	animation: spin .6s infinite linear;
}

.context-container .student-info{
    cursor: pointer;
}
.context-container .student-info:hover{
    background-color: #eee;
}
.context-container .student-info > button{
    transition: transform .3s ease-out;
    transform-origin: center;
}
.context-container .student-info.active > button{
    transform: rotate(-90deg);
}

.context-container .accordeon-content{
    overflow: hidden;
    transition: height .3s ease-in-out;
}

.context-container .accordeon-content > div{
    display: flex;
    flex-direction: column;
    padding: 13px;
    border-bottom: var(--border);
    cursor: pointer;
}
.context-container .accordeon-content > div:hover{
    background-color: #eee;
}

.context-container .load-more{
    width: 100%;
    max-width: 466px;
    margin-inline: auto;
    margin-block: 13px;
    transition: transform .5s ease;
}

.context-container .load-more:hover{
    transform: translateY(-3px);
}

#goingDrawer{
    padding: 55px 21px;
    gap: 34px;
    font-size: 1.2rem;
}

#goingDrawer > div{
    width: 100%;
}

#goingDrawer .message{
    text-align: center;
}

#goingDrawer .range-container{
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-block: 21px;
}

#goingDrawer .btn-container{
    display: flex;
    justify-content: flex-end;
    gap: 13px;
}

#photoAlbumBtn{
    width: 100%;
    padding: 13px;
    background-color: var(--theme-light);
    background-image: url("../../images/fundo_chat30.png");
}

@media (min-width: 600px) {
    #photoAlbumBtn{
        border-radius: 8px;
        overflow: hidden;
        box-shadow: var(--box-shadow);
    }
}

#photoAlbumBtn .album-card {
    max-width: 600px;
    margin: auto;
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid green;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    display: flex;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    max-height: 300px;
}

#photoAlbumBtn .card-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 0.2s linear;
}

#photoAlbumBtn .album-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.2s linear;
    color: var(--bg-light);
    text-shadow: 0px 1px 1px rgb(0 0 0);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

#photoAlbumBtn .title {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0px 3px 3px rgb(0 0 0);
}
#photoAlbumBtn .title .icon{
    font-size: 2rem;
}


.bottom-drawer{
	position: absolute;
    bottom: -100%;
    right: 50%;
    display: flex;
    flex-direction: column;
	align-items: center; 
	z-index: 3;
	transition: bottom .2s ease;
	backdrop-filter: none;
	background-color: var(--bg-opac);
    width: 100%;
    height: fit-content;
    box-shadow: var(--box-shadow);
    border-radius: 21px 21px 0 0;
    overflow: hidden;
    max-width: 466px;
    transform: translateX(50%);
}

.bottom-drawer.active{
    bottom: 0;
    transform: translate(50%);
} 

.bottom-drawer > div{
    display: flex;
    width: 100%;
    cursor: pointer;
    padding: 13px;
    align-items: center;
    gap: 13px;
}

.bottom-drawer > div:not(:last-child){
    border-bottom: 1px solid var(--lines);
}

.bottom-drawer > div.red{
    color: crimson;
    font-weight: bold;
}

.bottom-drawer > div .icon{
    font-size: 1.6rem;
}

.bottom-drawer > div .language-container{
    display: flex;
    width: 100%;
    padding: 0px;
    gap: 21px;
}

.bottom-drawer > div .language-container span{
    width: 30px;
    height: 30px;
    background-color: #ddd;
    border-radius: 50%;
    background-position: center;
    background-size: contain;
}

.bottom-drawer > div .language-container span.active{
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--theme-dark) ;
}

.bottom-drawer > div .language-container span[data-option="lang-pt"]{
    background-image: url('../images/bra.png');
}
.bottom-drawer > div .language-container span[data-option="lang-en"]{
    background-image: url('../images/unk.png');
}
.bottom-drawer > div .language-container span[data-option="lang-es"]{
    background-image: url('../images/esp.png');
}

@media (min-width: 600px) {
    .bottom-drawer{
        border-radius: 21px;
    }
    .bottom-drawer.active{
        bottom: 34px;
    }

}

/*END BOTTOM DRAWER */

.user-menu-btn{
    background-color: #eee; 
    border-radius: 50%; 
    width: 2rem; 
    aspect-ratio: 1/1;
    cursor: pointer;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.text-theme{
    color: var(--theme-color);
}

.modal{
    position: fixed;
    top: 63px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    width: 100%;
    animation: animateopacity .2s ease-out ;
    max-height: 100%;
    overflow: auto;
    width: 100%;
    max-width: 420px;
}

.modal > *{
    position: relative;
    width: 100%;
}


.alert-modal .confirm-container{
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.alert-modal .confirm-container p{
    padding: 34px;
    font-size: 1.3rem;
}

.alert-modal .confirm-container .btn-container{
    display: flex;
    gap: 13px;
    justify-content: flex-end;
    padding: 13px;
}


.image-previewer{
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #222222;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 8px;
    background-origin: content-box;
    transition: all 0.2s linear;
    max-height: 268px;
}

.classGrid.student-info{
    border-bottom: var(--border);
}

.card{
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    box-shadow: var(--box-shadow);
    align-items: stretch;
}

.card > *{
    padding: 13px;
}

.card .card-header{
    font-size: 1.5rem;
    border-bottom: 1px solid #dce1e7;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn{
    cursor: pointer;
    transition: color .35s linear;
    color: #999;
    font-size: 1.8rem;
}

.close-btn:hover{
    color: black;
}

body.dark-mode .close-btn:hover{
    color: white;
}

.card .card-footer{
    font-size: 1.6rem;
    border-top: 1px solid #dce1e7;
}

.keyply-small{
    background-image: url('./_assets/Keyply_logo_small.png');
    background-size: cover;
}
.keyply-logo-small{
    background-image: url('./_assets/logosm.png');
    background-size: cover;
}

.disable{
    pointer-events: none;
}


.multi-tab-container{
    display: flex;
}

.multi-tab-container.vertical{
    flex-direction: column;
}

.multi-tab-container > nav{
    display: flex;
    flex-direction: column;
    overflow: auto;
    gap: 8px;
    width: 100%;
    max-width: min(240px, 30%);
    flex-shrink: 0;
    gap: var(--sz-2);
    padding: var(--sz-3);
}

.multi-tab-container.vertical > nav{
    flex-direction: row;
    border-right: none;
    max-width: initial;
    padding-bottom: 0;
    gap: 2px;
    padding-right: var(--sz-3);
}


.multi-tab-container > nav button{
    padding: var(--sz-4);
    text-align: left;
    transition: background-color .3s linear;
    border-radius: 8px; 
    text-wrap: nowrap;
}

.multi-tab-container.vertical > nav button{
    border-radius: 8px 8px 0 0; 
}

.multi-tab-container > nav button:hover{
    background-image: var(--active-bg);
}

.multi-tab-container > nav button.active{
    background-image: var(--active-bg);
    font-weight: bolder;
}

.multi-tab-container > nav:has(button:only-child){
    display: none;
}

.multi-tab-container > main{
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: auto;
    background-image: var(--active-bg);
}

@media (max-width: 768px){
    .multi-tab-container{
        flex-direction: column;
    }

    .multi-tab-container > nav{
        flex-direction: row;
        max-width: initial;
        flex-direction: row;
        border-right: none;
        max-width: initial;
        padding-bottom: 0;
        gap: 2px;
        padding-right: var(--sz-3);
    }

    .multi-tab-container > nav button{
        border-radius: 8px 8px 0 0; 
    }
    
}

.divider{
    width: 100%;
    padding-block: var(--sz-4) ;
    border-bottom: 1px solid;
}


.bg-user{
    background-image: url('./_assets/user_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;    
}


.tab{
    color: inherit;
}

@media (min-width: 992px){
    .hide-wd-3{
        display: none;
    }
}
@media (min-width: 1200px){
    .hide-wd-4{
        display: none;
    }
}

.absolute{
    position: absolute;
}

.absolute.rigth{
    right: 0;
}

.absolute-0{
    position: absolute;
    inset: 0;
}

.sticky{
    position: sticky;
}
.sticky.left{
    left: 0
}
.sticky.top{
    top: 0
}

.hover-bg{
    transition: background-color .2s linear;
}
.hover-bg:hover{
    background-color: rgba(0,0,0,0.1);
}

.hover-up{
    transition: transform .2s linear;
}

.hover-up:hover{
    transform: translateY(-8px);
}

#accessControlGrid{
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 13px;
}


#accessControlGrid  > div{
    display: grid;
    grid-template-columns: 3fr repeat(4, 1fr) ;
    grid-gap: 13px;
    border-bottom: 1px solid var(--lines);
    padding-block: 8px;
    font-size: 1.3rem;
}

#accessControlGrid  .group{
    display: flex;
    align-items: center;
    margin-top: 0;
}

#accessControlGrid  .group:not(:nth-child(1)){
    margin-top: 34px;
}

 
@media screen and (max-width: 576px) {
    #accessControlGrid  > div {
        grid-template-columns: repeat(4, 1fr);
        font-size: 1rem;
    }
    
    #accessControlGrid span{
        grid-column: 1 / -1;
    }

    #accessControlGrid  .resource{
        font-size: .9rem;
    }
}
@media screen and (max-width: 320px) {
    #accessControlGrid  > div {
        grid-template-columns: repeat(2, 1fr);
        font-size: 1rem;
    }
}


.phone-input-container{
    display: flex;
    border-radius: 5px;
    border: 1px solid var(--theme-dark);
    overflow: hidden;
    position: relative;
    background-color: var(--bg-elevated);
    border: 1px solid #999;
}

.phone-input-container input{
    padding: 8px 5px;
    border: 1px solid var(--theme-dark);
    font-size: 1.1rem;
    transition: padding-left .2s linear;
    border-radius: 5px;
    width: 100%;
    border: none !important;
}

.country-selection{
    position: fixed;
    inset: 0;
    z-index: 70;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
}

.country-selection > div{
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    overflow: hidden;
}

.country-selection > div > div{
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.country-selection > div > div > div{
    display: flex;
    gap: 13px;
    border-bottom: 1px solid;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    transition: padding-left .2s linear ;
}

.country-selection > div > div > div:hover{
    padding-left: 13px;
}

.phone-input-container button{
    background-color: #eee;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    cursor: pointer;
}


body.dark-mode .phone-input-container button{
    background-color: #555;
    color: white;
}

.phone-country-flag{
    width: 26px;
    height: 18px;
    background-repeat: no-repeat;
    background-image: url('./_assets/flags.png');
    background-color: #ddd;
}
 
.phone-input-container .filter{
    border-radius: 0;
}

.phone-input-container button .arrow{
    transform: rotate(90deg);
    font-size: 10px;
}

.rec-info{
    opacity: .6;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin-inline: auto;
}

info{
    display: none;
}

hr{
    border: 1px solid var(--lines);
    border-bottom: 0
}


.eSign{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 8px;
    padding: 13px;
    width: 100%;
}

.eSign button{
    padding: 8px;
    background-color: #DDD;
    border: 1px solid;
    border-radius: 5px;
    font-weight: bold;
}

.overflow-auto{
    overflow: auto;
}

.overflow-hidden{
    overflow: hidden;
}

.overflow-x-hidden{
    overflow-x: hidden;
}
.overflow-y-hidden{
    overflow-y: hidden;
}

.relative{
    position: relative;
}

.scroll-behavior-smooth{
    scroll-behavior: smooth;
}

.icon.table-ord{
    padding: 0;
    font-size: 1rem;
    opacity: .5;
    line-height: 0.7;
}

div.asc .icon.asc{
    opacity: 1;
} 
div.desc .icon.desc{
    opacity: 1;
} 

body:not(.dev) .dev{
    display: none !important
}
body.dev .dev{
    outline: 3px dashed orange;
}
/* 
ul, ol {
    list-style: none;
} */

.ck-content ul {
    list-style-type: disc;
}

.loader {
    display: flex;
    gap: 5px;
    color: white;
}

.letter {
    font-size: 2em;
    font-weight: bold;
    animation: bounce 1s infinite;
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


.ck-powered-by-balloon{
    display: none !important;
}

.fullscreen{
    position: fixed;
    inset: 0;
}

.can-select{
    user-select:text;
}


html {
    touch-action: manipulation;
}
  
button {
    touch-action: manipulation;
}

body{
    width: 100svw;
    height: 100svh;
    touch-action: manipulation !important;
}

.container-size{
    container-type: inline-size;
    height: 100%;
    overflow: auto;
}


#rightDrawer main{
    overflow: hidden;
}
#chatContainer{
    background-color: var(--bg-light);
    flex: 1;
    display: flex;
    min-height: 100%;
    height: 100%;
}

#chatContainer > div{
    width: 100%;
    min-height: 100%;
}


#chatContainer .chats-list{
    display: flex;
    flex-direction: column;
    position: relative;
}

#chatContainer .chats-list .searchbox{
    padding: 8px;
}

#chatContainer .chats-list .searchbox > div{
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    padding: 8px 13px;
    border: 1px solid;
    border-radius: 8px;
    gap: 8px;
}

#chatContainer .chats-list .searchbox > div input{
    flex: 1;
    border: none;
}
#chatContainer .chats-list .searchbox > div input:focus{
    outline: none;
}

#chatContainer .chats-list .list{
    overflow: auto;
    position: relative;
    height: 100%;
}

#chatContainer .chats-list .list > div{
    height: 72px;
    transition: order 5s ease;
    position: absolute;
    background-color: #fff;
    transition: transform .4s ease;
}

#chatContainer .chats-list .float-btn{
    position: absolute;
    bottom: 21px;
    right: 21px;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    animation: float 3s infinite;
    z-index: 7;
    transition: width .2s linear, height .2s linear;
    cursor: pointer;
}



#chatContainer .new-chat{
    display: flex;
    flex-direction: column;
    position: relative;
}
/* ================================= */

#accordeonContainer{
    display: flex;
    flex-direction: column;
    overflow: auto;
    position: relative;
    height: 100%;
}
#accordeonContainer span{
    width: 100%;
    padding: 13px;
    border-bottom: var(--border);
}

#accordeonContainer span.first-layer{
    background-color: var(--theme-dark);
    color: #fff;
}

#accordeonContainer span.second-layer{
    background-color: var(--theme-light);
    color: var(--theme-dark);
    padding-left: 21px;
}
#accordeonContainer div div span{
    padding-left: 34px;
}

#accordeonContainer div{
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: height .45s ease;
    overflow: hidden;
}

#accordeonContainer div.collapse{
    height: 0;
}

.color-inherit{
    color: inherit;
}


.connection-block{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0;
    color: white;
    background-color: #000000df;
    font-size: 2rem;
    z-index: 99999;
    flex-direction: column;
    gap: 8px;
}

.status{
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 5px;
    border-radius: 5px;
    font-size: .85rem;
    color: white;
    background-color: #333;
    border: 1px solid #000;
    display: none;
}

.status-show{
    position: relative;
    filter: grayscale(1);
}

.status-show .status{
    display: initial;
}


.close .close-hide{
    display: none;
}

.close-rotate{
    transition: transform .2s linear;
}
.close .close-rotate{
    transform: rotate(-90deg);
}

.disp{
    text-decoration: line-through;
}

.decoration-none{
    text-decoration: none;
}

.grab-scroll{
    scroll-behavior: initial;
}


.flip-card-container {
    perspective: 1000px;
}
.flip-card {
    width: 200px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}
.flip-card.flipped {
    transform: rotateX(180deg);
}
.flip-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}


.flip-card-face.front {
    rotate: 90deg;
}

.flip-card-face.back {
    rotate: -90deg;
    transform: rotateX(-180deg);
}

@media (min-width: 768px){
    .flip-card.flipped {
        transform: rotateY(180deg);
    }
    .flip-card-face.front {
        rotate: 0deg;
    }

    .flip-card-face.back {
        rotate: -180deg;
    }
}

.page-break{
    page-break-after: always;
}

.report{
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.asterisc:not(:empty)::before{
    content: "*";
}

