:root{
    --colorMessage: #E6E6E6;
    --colorFont: #1E1E1E;
}
.wrapper-routes .redes .idiomas ,
#navbar .content-nav .wrapper-links {
    display: none;
}
.wrapper-routes {
    justify-content: center;
}
main .titles {
    text-align: center;
    margin: 64px 0;
}
main .titles h2 {
    font-size: 2.2rem;
    margin-bottom: 48px;
}
main .titles h3 {
    color: var(--azul);
    font-size: 2rem;
}
main .titles h4 {
    color: var(--cinzaFontNav);
    font-size: 1.2rem;
    margin-top: 12px;
}
main .input {
    display: flex;
    justify-content: center;
    margin-bottom: 96px;
}
main .input input {
    outline: #d5d5d5 1px solid;
    box-shadow: 0 0 11px #d3d3d3;
    border-radius: 10px 0px 0px 10px;
    background-color: #ffffff !important;
    font-size: 16px;
    padding: 8px !important;
    width: 62%;
    border: none;
}
main .input input:focus{
    border: none;
}
main .input button {
    cursor: pointer;
    border: none;
    border-radius: 0px 10px 10px 0px;
    outline: 1px solid var(--azul);
    background-color: var(--azul);
    color: #fff;
    width: 38px;
}
section.chat{
    margin-bottom: 87px;
}
.modal-delete-message.active{
    display: flex !important;
}
.modal-delete-message{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
}
.modal-delete-message .modal-content{
    z-index: 102;
    border-radius: 7px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
}
.modal-delete-message .modal-content .body-modal{
    padding: 30px 20px;
}
.modal-delete-message .modal-content .footer-modal{
    display: flex;
    flex-wrap: wrap;
}
.modal-delete-message .modal-content .footer-modal button,
.modal-delete-message .modal-content .footer-modal p{
    border: none;
    cursor: pointer;
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background-color: var(--azul);
    color: #fff;
}
.modal-delete-message .modal-content .footer-modal button:hover{
    filter: brightness(1.1);
}
.modal-delete-message .modal-content .footer-modal p.openModalDeleteMessage:hover{
    filter: brightness(0.9);
}
.modal-delete-message .modal-content .footer-modal p.openModalDeleteMessage{
    background-color: #e8e8e8;
    color: #1E1E1E;
}
.modal-delete-message .overlay{
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    width: 100%;
    height: 100%;
}
section.chat .wrapper-chat {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: #D3D3D3 1px solid;
    padding-bottom: 80px;
}
section.chat .wrapper-chat .header {
    display: flex;
    padding: 5px 20px;
    background-color: #373737;
    color: #fff;
    align-items: center;
    gap: 20px;
}
section.chat .wrapper-chat .header .icon {
    background-color: var(--azul);
    padding: 15px;
    clip-path: circle();
}
section.chat .wrapper-chat .header .title {
    font-size: 16.67px;
    display: flex;
    align-items: center;
    gap: 5px;
}
section.chat .wrapper-chat .header .body {
    height: 480px;
}
.body{
    background-color: #fff;
    height: 50vh;
    overflow-y: auto;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    row-gap: 35px;
}
.empty-text{
    padding: 40px 0px;
    font-size: 25px;
}
.previewImage,
.previewPdf{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
}
.previewImage .close,
.previewPdf .close{
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16.67px;
    margin: 40px;
    color: var(--azul);
    font-weight: bold;
}
.previewImage .footer-form,
.previewPdf .footer-form{
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    margin: 20px;
}
.previewImage .footer-form button,
.previewPdf .footer-form button{
    cursor: pointer;
    background-color: var(--azul);
    color: #fff;
    font-size: 16.67px;
    font-weight: bold;
    padding: 5px 10px;
    border: none;
    border-radius: 7px;
}
.previewImage img{
    z-index: 4;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    width: 250px;
    height: auto;
}
.previewPdf iframe{
    z-index: 4;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    width: auto;
    height: 300px;
}
.wrapper-chat .body .message{
    display: flex;
    flex-direction: column;
}
.wrapper-chat .body .message.right {
    align-items: end;
}
.wrapper-chat .body span#date{
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
}
.wrapper-chat .body .message.right .item{
    flex-direction: row-reverse;
}
.wrapper-chat .body .message.right .item .user{
    background-color: var(--colorFont);
}
.wrapper-chat .body .message.right .item .text{
    color: #fff;
    background-color: var(--azul);
}
.wrapper-chat .body .message.right .item .text p a {
    text-decoration: underline;
    color: #fff;
}
.wrapper-chat .body .message .item{
    display: flex;
    gap: 12px;
    align-items: end;
}
.wrapper-chat .body .message .item .user{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    background-color: var(--azul);
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    clip-path: circle();
}
.wrapper-chat .body .message .item .text{
    position: relative;
    max-width: 800px;
    font-size: 16.67px;
    background-color: var(--colorMessage);
    color: var(--colorFont);
    padding: 10px;
    border-radius: 10px;
}
.wrapper-chat .body .message .item .text p.image-message{
    position: relative;
}
.wrapper-chat .body .message .item .text p#pdf-message{
    white-space: nowrap;                  
    overflow: hidden;
    max-width: 450px;
    text-overflow: ellipsis;
}
.wrapper-chat .body .message .item .text p#pdf-message a {
    display: flex;
    align-items: center;
    gap: 7px;
}
.wrapper-chat .body .message .item .text p#pdf-message a img{
    width: 25px;
    height: auto;
    object-fit: contain;
} 
.wrapper-chat .body .message .item .text .actions{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    right: -100px !important;
    top: 50%;
    transform: translateY(-50%);
}
.wrapper-chat .body .message.right .item .text .actions{
    right: calc(100% + 30px) !important;
}
.wrapper-chat .body .message .item .text .item-action{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    cursor: pointer;
    color: #fff;
    border-radius: 7px;
    padding: 12px;
    background-color: var(--azul);
    width: 50px;
    height: 50px;
}
.wrapper-chat .body .message .item .text .item-action.download{
    background-color: #E6E6E6;
}
.wrapper-chat .body .message .item .text .item-action.download a{
    padding: 12px;
    text-decoration: none;
    color: var(--azul);
}
.wrapper-chat .body .message .item .text .item-action:hover{
    filter: brightness(0.9);
}
.wrapper-chat .body .message .item .text p a {
    text-decoration: underline;
    color: var(--azul);
}
.wrapper-chat .body .message .item .text p a img{
    width: 300px;
    height: auto;
    object-fit: contain;
}
.wrapper-chat .footer{
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 77px;
}
.wrapper-chat .footer .icons-file{
    color: #1E1E1E;
    font-size: 28px;
    display: flex;
    gap: 12px;
}
.wrapper-chat .footer .icons-file p {
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    display: inline-block;
}
/* .wrapper-chat .footer .icons-file p:hover .tooltip{
    display: block;
}
.wrapper-chat .footer .icons-file .tooltip{
    z-index: 10;
    font-size: 16.67px;
    position: absolute;
    left: 0;
    top: 10px;
    max-width: 100px;
    padding: 10px;
    height: auto;
    background-color: red;
    color: #fff; */
/* } */
.wrapper-chat .footer .icons-file label {
    cursor: pointer;
    position: relative;
}
.wrapper-chat .footer .icons-file input[type="file"] {
    display: none;
}
.wrapper-chat .footer .icons-file .icon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all; /* Isso permite clicar através do ícone */
}
.wrapper-chat .footer .wrapper-input{
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.wrapper-chat .footer .wrapper-input textarea{
    outline: 1px solid #B8B8B8;
    font-size: 16.67px;
    color: var(--colorFont);
    border-radius: 10px;
    border: none;
    padding: 15px;
    padding-right: 80px;
    width: 100%;
    height: auto;
}
.wrapper-chat .footer .wrapper-input textarea::placeholder{
    color: #9C9C9C;
}
.wrapper-chat .footer .wrapper-input p#btn-send_message{
    cursor: pointer;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle();
    background-color: var(--azul);
    position: absolute;
    right: -10px;
    transition: all .5s ease-in-out;
}
.wrapper-chat .footer .wrapper-input p#btn-send_message:hover{
    filter: brightness(1.1);
}
.wrapper-chat .footer .wrapper-input p#btn-send_message img{
    width: auto;
    height: 30px;
    object-fit: contain;
    filter: invert(99%) sepia(100%) saturate(1%) hue-rotate(254deg) brightness(108%) contrast(100%);
}
footer,
.byEngenho{
    display: none;
}

@media(max-width: 1000px){
    .content-size{
        padding: 0 10px;
    }
    main .input input {
        width: 80%;
    }
    .body{
        row-gap: 50px;
        padding: 30px 10px;
    }
    .wrapper-chat .body .message .item .text{
        max-width: 200px;
    }
    .wrapper-chat .body .message .item .text p a img{
        width: 150px;
    }
    .wrapper-chat .body .message .item .text .actions{
        right: -70px !important;
    }
    .wrapper-chat .body .message .item .text .item-action{
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .wrapper-chat .body .message.right .item .text .actions{
        right: calc(100% + 10px) !important;
    }
    .wrapper-chat .footer{
        padding: 0 10px;
        gap: 10px;
    }
    .wrapper-chat .footer .wrapper-input textarea{
        padding-right: 70px;
    }
    .previewImage img{
        width: 150px;
    }
}
@media(max-width:860px) {
    .section-banner {
        max-height: unset !important;
    }
}