:root {
    --icon: #54656f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Impede a barra de rolagem vertical */
}

.wrapper {
    background-color: #f0f2f5;
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    /* Permite posicionar elementos filhos */
    z-index: 1;
    /* Define o z-index da wrapper */
}

.container-fluid {
    width: 100%;
    height: 13%;
    background-color: #f7d935;
}

.content {
    width: 80%;
    height: 90%;
    background-color: #e9edef;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    /* Define o z-index da content */
}

.lista {
    height: 100%;
    width: 28%;
    border-right: 1px solid rgb(218, 218, 218);
    overflow: auto;
    /* Alterado para "auto" para mostrar a barra apenas quando necessário */
}

/* Estilização da barra de rolagem */
.lista::-webkit-scrollbar {
    width: 8px;
    /* Largura da barra de rolagem */
}

.lista::-webkit-scrollbar-thumb {
    background-color: #dadada;
    /* Cor do "ponteiro" da barra de rolagem */
    border-radius: 4px;
    /* Arredondamento do "ponteiro" */
}

.lista::-webkit-scrollbar-track {
    background-color: transparent;
    /* Cor da trilha da barra de rolagem */
}

.list-top {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    background-color: #e9edef;
    border-bottom: 1px solid rgb(218, 218, 218);
    height: 8%;
}

.list-top-items {
    display: flex;
    position: absolute;
    align-items: center;
    gap: 20px;
    top: 50%;
    height: 100%;
    right: -8%;
    transform: translate(-50%, -45%);
    font-size: 20px;
}

.list-top-items>i {
    cursor: pointer;
    color: var(--icon);
}

.img {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-image: url('../img/padrao.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    left: 3%;
}

.search-wrapper {
    width: 100%;
    height: 8%;
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(218, 218, 218);
}

.chat-window {
    width: 100%;
    height: 9%;
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(218, 218, 218);
    display: flex;
    align-items: center;
    padding-left: 2%;
}

.chat-window:hover {
    cursor: pointer;
    background-color: rgb(255, 249, 168);
    transition: 0.3s ease-in-out;
}

.profile-pic {
    width: 60px;
    height: 60px;
    background-image: url('../img/home.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50px;
}

.message-content-1 {
    width: 80%;
    height: 60%;
    margin-left: 15px;
    display: flex;
    justify-content: space-around;
}

.content-left>h1 {
    font-size: 15px;
    font-weight: 800;
}

.content-left>p {
    font-size: 13px;
}

.content-left {
    height: 100%;
    width: 60%;
    line-height: 100%;
}

.content-right {
    height: 100%;
    width: 30%;
    line-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 90%;
}

.content-right>p {
    color: #333;
}

.message-content {
    width: 80%;
    height: 60%;
    margin-left: 15px;
}

.message-content>h1 {
    font-size: 15px;
    font-weight: 800;
}

.notif {
    background-color: #f7d935;
    width: 20px;
    height: auto;
    padding: 3px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: 700;
}

.chat {
    background-color: rgb(255, 245, 233);
    width: 72%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topo-chat {
    background-color: white;
    width: 100%;
    height: 8%;
    border-bottom: 1px solid rgb(218, 218, 218);
    display: flex;
    justify-content: space-between;
}

.topo-info {
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.content-esquerdo {
    display: flex;
    flex-direction: column;
    line-height: 8px;
    margin-top: 5%;
}

.profile-pic-topo {
    width: 50px;
    height: 50px;
    background-image: url('../img/home.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50px;
}

.name-client {
    font-size: 20px;
}

.status {
    font-size: 14px;
    color: #9b9b9b;
}

.topo-items {
    width: 30%;
    height: 100%;
    display: flex;
    font-size: 20px;
    justify-content: flex-end;
    margin-right: 3%;
    line-height: 100%;
    align-items: center;
    gap: 15px;
    color: var(--icon)
}

.topo-items>i {
    cursor: pointer;
}

/* <div class="topo-info"></div>
<div class="topo-items"></div> */

.footer-chat {
    background-color: #e9edef;
    width: 100%;
    height: 7%;
    border-top: 1px solid rgb(218, 218, 218);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-box {
    width: 85%;
    height: 80%;
}

.icones {
    width: 10%;
    display: flex;
    gap: 15px;
    justify-content: center;
    color: var(--icon);
}

.icones>i {
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

@keyframes rotateAnimation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.icones>i:hover {
    color: #f7d935;
    transition: 0.5s ease-in-out;
}


.plus-active {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7d935;
    width: 24px;
    height: 24px;
    transform: rotate(60deg);
}

.audio>i {
    cursor: pointer;
    font-size: 20px;
}

.audio {
    width: 5%;
    display: flex;
    gap: 15px;
    justify-content: center;
    color: var(--icon);
}

.message-caixa {
    width: 100%;
    height: 100%;
    background-color: white;
    border: none;
    padding: 3px;
    border-radius: 10px;
}

.message-caixa::placeholder {
    padding-left: 9px;
}

.message-caixa:focus {
    outline: none;
}

.dropdown-toggle-no-caret::after {
    display: none !important;
}

.dropdown-menu.show {
    width: 13%;
    text-align: left;
}

/* Estilize o menu de contexto */
.context-menu {
    display: none;
    width: max-content;
    text-size-adjust: auto;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.context-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.context-menu-list li {
    padding: 10px;
}

.context-menu-list li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.context-menu-list li:hover {
    background-color: #f0f0f0;
}

 /* Estilos para o desfoque */
 .blurred {
    filter: blur(5px);
    pointer-events: none; /* Impede interações com elementos da página */
}

/* Estilos para o modal */
#lock-modal {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lock-box {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}