body {
    font-family: system-ui, -apple-system, sans-serif;
}

.verde-pcontrol {
    background-color: #005b8b;
    color: #ffffff;
}

.verde-pcontrol-hover:hover {
    background-color: #004a72;
    color: #ffffff;
}

.branco-pcontrol {
    background-color: #e8e8e8;
    color: #000000;
}

.contact-item.active {
    background-color: #e5e7eb;
}

#chat::-webkit-scrollbar {
    width: 6px;
}

#chat::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* /css/chat.css */

.msg-me {
    background: #008b8b;
    color: #fff;
}

.msg-other {
    background: #fff;
    color: #111;
}

.conta-status:hover {
    cursor: pointer;
}

.auri-nav-sidebar {
    width: 50px;
    min-width: 50px;
    background: #f0f2f5;
    border-right: 1px solid #d1d7db;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.auri-nav-top,
.auri-nav-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.auri-nav-btn {
    width: 48px;
    border: none;
    background: none;
    /*border-radius: 50%;*/
    color: #54656f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
}

.auri-nav-btn:hover {
    background: #005b8b;
    color: #fff;
}

.auri-nav-btn.active {
    color: #00a884;
}

.auri-nav-btn svg {
    width: 24px;
    height: 24px;
}

.auri-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /*background: #ffd166;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.contact-sidebar {
    width: 400px;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e5e7eb;
}

.contact-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-header {
    flex-shrink: 0;
}

.contact-search {
    flex-shrink: 0;
    padding: 10px;
}

#contact-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}


/**** barra de audio ***/
#barraAudio {
    width: 100%;
}

.barra-audio-conteudo {
    min-height: 52px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 6px 10px;
}

.barra-audio-player {
    flex: 1;
    min-width: 0;
}

.barra-audio-player audio {
    width: 100%;
    height: 38px;
}

.barra-audio-velocidades {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}


/* Botão de velocidade do áudio */
.velocidade-audio {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background-color: #ffffff;
    color: #005b8b;

    border-radius: 4px;

    padding: 5px 9px;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.velocidade-audio:hover,
.velocidade-audio.active {
    background-color: #00476b;
    border-color: #00476b;
    color: #ffffff;
}

/* Botão de fechar (X) — tratado separadamente */
.fechar-barra-audio {
    box-sizing: border-box;
    width: 36px;
    height: 32px;
    padding: 0;
    margin: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;

    background-color: #ffffff;
    color: #005b8b;

    cursor: pointer;
    line-height: 0;
    /* remove influência da linha no alinhamento vertical */

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.fechar-barra-audio:hover {
    background-color: #00476b;
    border-color: #00476b;
    color: #ffffff;
}

/* O ícone dentro do botão: SVG garante centralização perfeita,
   sem depender do glifo "×" da fonte */
.fechar-barra-audio svg {
    display: block;
    width: 10px;
    /* era 14px */
    height: 10px;
    /* era 14px */
    pointer-events: none;
}