:root {
    --azul: #3963ac;
    --roxo: #786cae;
}

html, body {
    height: 100%;
    font-size: 15px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

.btn-primary {
    color: #fff;
    background-color: #5b73e8 !important;
    border-color: #5b73e8 !important;
}

.content {
    padding: 1.1rem;
    background-color: #f5f6f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.form-signin-body {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-floating {
    margin-bottom: 1rem;
}

    .form-floating > label::after {
        background-color: transparent !important;
    }

.form-control:focus {
    border-color: #9e9e9e;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(205 205 205)
}

.form-signin {
    width: 100%;
    padding-right: var(--bs-gutter-x, .625rem);
    padding-left: var(--bs-gutter-x, .625rem);
    margin-right: auto;
    margin-left: auto;
}

.gradiente-color {
    background-image: linear-gradient(180deg, #3963ac 0%, #786cae 70%);
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.container-fluid.center {
    justify-content: center !important;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header-profile-user {
    height: 37px;
    width: 37px;
    background-color: black;
    padding: 1px;
}

.footer {
    bottom: 0;
    padding: 20px 30px;
    position: relative;
    right: 0;
    color: #74788d;
    height: 60px;
    -webkit-box-shadow: 0 0 4px rgba(15, 34, 58, .12);
    box-shadow: 0 0 4px rgba(15, 34, 58, .12);
}

.page-title-box {
    padding-bottom: 0.7rem;
}

    .page-title-box h4 {
        font-weight: 600;
        font-size: 18px !important;
    }

.page-title-right {
    align-content: end;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: #495057;
}

.breadcrumb-item > a {
    color: #495057 !important;
    text-decoration: none !important;
}

.breadcrumb .breadcrumb-item.active {
    color: #74788d !important;
}

.form-control {
    min-width: 20rem !important;
}

.progress-bar {
    will-change: width;
    height: 100%;
}

.a-card {
    text-decoration: none;
    color: initial;
}

.card-border {
    border: 1px solid rgba(0, 0, 0, .125) !important;
    margin-bottom: 1rem;
    font-size: smaller;
}

    .card-border .card-body, .card-border .card-footer {
        padding: 0.6rem;
    }

.row-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-bottom: 20px;
}

.col-custom {
    flex: 1 1 calc(20% - 1rem);
    max-width: calc(20% - 1rem);
    min-width: 150px;
}

.card-dashboard {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    padding: 15px;
}

    .card-dashboard:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

.card-body-dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-dashboard {
    font-size: 2rem;
    margin-bottom: 10px;
}

.title-dashboard {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.text-dashboard {
    font-size: 1rem;
    color: #6c757d;
}

.row-dash-activity {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 20px;
}

.col-dash-activity,
.col-dash-positivacoes {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
}

.card-activity {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: left;
}

.card-body-activity {
    padding: 10px;
}

.title-activity, .title-positivacoes {
    font-size: 18px;
    margin-bottom: 15px;
}

.activity-feed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feed-item-activity {
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.card-positivacoes {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: left;
}

.card-body-positivacoes {
    padding: 10px;
}

.name-column-positivacoes {
    font-weight: bold;
    font-size: 1rem;
}

.number-column-positivacoes {
    text-align: right;
    font-size: 0.9rem;
    color: #6c757d;
}

.thumb-sem-imagem {
    background-color: black;
    padding: 5px;
    width: 200px
}

    .thumb-sem-imagem > img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.overflow-grid {
    display: grid;
    gap: 0.5rem;
    max-height: 360px;
    overflow-y: auto;
}

.feedback-card {
    border-radius: 0.7rem;
    padding: 1em;
    font-size: 1em;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
    border: 1px solid #f4f4f4;
}

    .feedback-card .feedback-footer {
        font-size: 0.85em;
        margin-top: 0.6em;
        border-top: 1px solid #3335;
        padding-top: 0.4em;
        word-break: break-word;
    }

#modal-imagem {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.switch-danger:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    box-shadow: none !important;
}

.switch-success:not(:checked) {
    background-color: #e2e3e5 !important;
    border-color: #e2e3e5 !important;
    box-shadow: none !important;
}

.icon-alert {
    color: #dc3545 !important;
    margin-left: 5px;
    font-size: 1rem;
}

.icon-ok {
    color: #28a745 !important;
    margin-left: 5px;
    font-size: 1rem;
}

.badge-container {
    overflow: hidden;
}

    .badge-container .badge {
        flex: 0 1 auto;
        white-space: normal;
        word-break: break-word;
        min-width: 0;
    }

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #FFC107;
    color: #000;
    border: none;
    border-radius: 50%;
    padding: 10px 13px;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    display: none;
}

    #backToTop:hover {
        background-color: #e0a800;
    }

.dark .card {
    background-color: #121212;
    color: white;
}

.dark .feedback-card,
.dark .feedback-block {
    background-color: #121212;
    color: white;
}

.dark .text-dark,
.dark .text-black,
.dark .text-primary,
.dark .text-muted,
.dark .text-secondary,
.dark .bg-light {
    color: white !important;
    background-color: #121212 !important;
}

#midias-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 576px) {
    #midias-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    #midias-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 992px) {
    #midias-container {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1200px) {
    #midias-container {
        grid-template-columns: repeat(7, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #333;
    height: 250px;
}

    .gallery-item:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

    .image-wrapper img {
        position: relative;
        z-index: 1;
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        margin: auto;
        display: block;
        border-radius: 10px;
    }

.background-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    z-index: 0;
    transform: scale(1.1);
    opacity: 0.6;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #222;
}

    .video-wrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

.gallery-info {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.4rem;
    font-size: 0.8rem;
    text-align: center;
    z-index: 3;
    bottom: 0;
}

.gallery-item:hover .gallery-info {
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    text-align: center;
    z-index: 2;
}

.abrir-positivacao {
    display: inline-block;
    margin-top: 0.3em;
    font-weight: bold;
    font-size: 0.95em;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
}

.open-imagem {
    display: flex; /* FLEX, NÃO BLOCK */
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #3963ac !important;
    color: #FFF !important;
    border-color: #d9bc00;
}

.nav-pills .nav-link {
    background-color: #f4f4f4 !important;
    color: #000 !important;
    border-radius: 8px;
    margin: 2px;
    border: 1px solid #444;
}

#imagens-tab.nav-link {
    border-radius: 8px 0 0 8px !important;
}

#videos-tab.nav-link {
    border-radius: 0 8px 8px 0 !important;
}

.card {
    margin-bottom: 0.5rem
}

.nav .nav-item {
    font-weight: 500
}

.tab-content .card-tab {
    border-top: none;
    border-radius: inherit
}

/* ========================================
   Galeria Modal - Modal XL com navegacao
   ======================================== */

#galeriaModal .modal-content {
    background-color: #1a1a2e;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.galeria-modal-header {
    background-color: #1a1a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.galeria-contador {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.galeria-modal-body {
    background-color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
    min-height: 400px;
    max-height: 75vh;
}

.galeria-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-height: 100%;
    padding: 0 3rem;
}

    .galeria-image-container img {
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
        border-radius: 8px;
    }

.galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.25rem;
    z-index: 10;
}

    .galeria-nav:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-50%) scale(1.05);
    }

.galeria-prev { left: 1rem; }
.galeria-next { right: 1rem; }

@media (max-width: 768px) {
    .galeria-modal-body { min-height: 300px; }
    .galeria-image-container { padding: 0 2.5rem; }
    .galeria-nav { width: 40px; height: 40px; font-size: 1rem; }
    .galeria-prev { left: 0.5rem; }
    .galeria-next { right: 0.5rem; }
}

/* ========================================
   POSITIVACOES TABLE - Listagem moderna
   ======================================== */

.pv-table-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    overflow: hidden;
}

.pv-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .pv-table thead th {
        background: #f8fafb;
        padding: 0.75rem 1rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 2px solid #f0f0f0;
        white-space: nowrap;
        text-align: left;
    }

        .pv-table thead th:first-child { padding-left: 1.25rem; }
        .pv-table thead th:last-child { padding-right: 1.25rem; }

    .pv-table tbody tr {
        transition: background-color .18s ease;
        cursor: pointer;
    }

        .pv-table tbody tr:hover { background-color: rgba(57, 99, 172, .04); }

    .pv-table tbody td {
        padding: 0.85rem 1rem;
        border-bottom: 1px solid #f5f5f5;
        vertical-align: middle;
        color: #374151;
    }

    .pv-table tbody tr:last-child td { border-bottom: none; }
    .pv-table tbody td:first-child { padding-left: 1.25rem; }
    .pv-table tbody td:last-child { padding-right: 1.25rem; }

.pv-campanha {
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pv-metrics { display: flex; gap: 0.35rem; flex-wrap: wrap; }

.pv-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}

.pv-metric--img { background: rgba(57, 99, 172, .1); color: #3963ac; }
.pv-metric--vid { background: rgba(245, 158, 11, .1); color: #d97706; }
.pv-metric--aud { background: rgba(120, 108, 174, .1); color: #786cae; }
.pv-metric--msg { background: rgba(99, 102, 241, .1); color: #6366f1; }
.pv-metric i { font-size: 0.85rem; }

.pv-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.pv-status--done { background: rgba(57, 99, 172, .1); color: #3963ac; }
.pv-status--ongoing { background: rgba(245, 158, 11, .1); color: #d97706; }

.pv-status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pv-status--done .pv-status-dot { background: #3963ac; }
.pv-status--ongoing .pv-status-dot { background: #f59e0b; animation: pv-pulse 2s infinite; }

@keyframes pv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.pv-ocultar { margin-left: 0.35rem; font-size: 0.9rem; }

.pv-datas { font-size: 0.88rem; line-height: 1.6; white-space: nowrap; }
.pv-data-label { color: #9ca3af; }

.pv-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #9ca3af;
    transition: all .2s ease;
}

.pv-table tbody tr:hover .pv-action { background: rgba(57, 99, 172, .15); color: #3963ac; }

.pv-table a.pv-row-link { display: contents; text-decoration: none; color: inherit; }

@media (max-width: 992px) {
    .pv-table, .pv-table thead, .pv-table tbody,
    .pv-table th, .pv-table td, .pv-table tr { display: block; }
    .pv-table thead { display: none; }
    .pv-table tbody tr { padding: 0.85rem 1rem; border-bottom: 1px solid #f0f0f0; }
    .pv-table tbody td { padding: 0.25rem 0; border-bottom: none; }
    .pv-table tbody td:first-child { padding-left: 0; }
    .pv-table tbody td:last-child { padding-right: 0; }
    .pv-table a.pv-row-link { display: block; text-decoration: none; color: inherit; }
}

/* ========================================
   Empty State
   ======================================== */

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94A3B8;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    color: #CBD5E1;
}

.empty-state-text {
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   WhatsApp Mensagens Viewer
   ======================================== */

/* ===== CONTAINER ===== */
/* Lock viewport when WhatsApp chat page is open */
main:has(.wa) {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

main:has(.wa) > .content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

main:has(.wa) > .footer {
    display: none;
}

.wa {
    display: flex;
    flex: 1;
    min-height: 0;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    position: relative;
    z-index: 0;
}

/* ===== SIDEBAR ===== */
.wa-side {
    width: 340px;
    min-width: 340px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e9edef;
}

.wa-side-header {
    padding: .625rem .75rem;
    background: #f0f2f5;
    border-bottom: 1px solid #e9edef;
    display: flex;
    align-items: center;
    gap: .5rem;
}

    .wa-side-header h6 {
        margin: 0;
        font-size: .85rem;
        color: #54656f;
    }

.wa-side-search {
    padding: .5rem .625rem;
    background: #f0f2f5;
}

    .wa-side-search input {
        border-radius: 8px;
        border: none;
        background: #fff;
        font-size: .82rem;
        padding: .45rem .75rem;
    }

        .wa-side-search input:focus {
            box-shadow: none;
            border: none;
        }

.wa-side-list {
    flex: 1;
    overflow-y: auto;
}

.wa-contact {
    display: flex;
    align-items: center;
    padding: .65rem .75rem;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f2f5;
    transition: background .12s;
    cursor: pointer;
}

    .wa-contact:hover {
        background: #f5f6f6;
        color: inherit;
    }

    .wa-contact.active {
        background: #f0f2f5;
    }

.wa-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.wa-avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.wa-contact-body {
    flex: 1;
    min-width: 0;
}

.wa-contact-name {
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111b21;
}

.wa-contact-phone {
    font-size: .72rem;
    color: #667781;
}

.wa-contact-preview {
    font-size: .8rem;
    color: #667781;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.wa-contact-time {
    font-size: .68rem;
    color: #667781;
    align-self: flex-start;
    white-space: nowrap;
    padding-top: 2px;
}

/* ===== CHAT AREA ===== */
.wa-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

#chatContainer {
    display: contents;
}

.wa-chat-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #efeae2;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M20 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM6 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM34 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM20 34a2 2 0 1 1 0 4 2 2 0 0 1 0-4z' fill='%23d5cfc4' fill-opacity='.45'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23p)'/%3E%3C/svg%3E");
    opacity: .6;
}

.wa-chat-header {
    position: relative;
    z-index: 1;
    background: #f0f2f5;
    padding: .5rem .75rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    border-bottom: 1px solid #d1d7db;
}

.wa-chat-header-info {
    flex: 1;
}

.wa-chat-header-name {
    font-weight: 600;
    font-size: .95rem;
    color: #111b21;
}

.wa-chat-header-phone {
    font-size: .75rem;
    color: #667781;
}

.wa-messages {
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    padding: .75rem 3rem;
}

/* ===== BUBBLES ===== */
.wa-row {
    display: flex;
    margin-bottom: 2px;
}

.wa-row-out {
    justify-content: flex-end;
}

.wa-row-in {
    justify-content: flex-start;
}

.wa-bubble {
    max-width: 65%;
    padding: .375rem .5rem .125rem;
    border-radius: .5rem;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,.13);
    word-wrap: break-word;
}

.wa-bubble-out {
    background: #d9fdd3;
    border-top-right-radius: 0;
}

.wa-bubble-in {
    background: #fff;
    border-top-left-radius: 0;
}

.wa-bubble-tail-out,
.wa-bubble-tail-in {
    position: absolute;
    top: 0;
    width: 8px;
    height: 13px;
}

.wa-bubble-tail-out {
    right: -8px;
}

    .wa-bubble-tail-out::before {
        content: '';
        position: absolute;
        border-left: 8px solid #d9fdd3;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        top: 0;
    }

.wa-bubble-tail-in {
    left: -8px;
}

    .wa-bubble-tail-in::before {
        content: '';
        position: absolute;
        border-right: 8px solid #fff;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        top: 0;
    }

.wa-text {
    font-size: .875rem;
    line-height: 1.4;
    color: #111b21;
    white-space: pre-wrap;
}

    .wa-text strong {
        font-weight: 700;
    }

    .wa-text em {
        font-style: italic;
    }

    .wa-text s {
        text-decoration: line-through;
    }

    .wa-text code {
        font-family: monospace;
        background: rgba(0,0,0,.05);
        padding: 1px 4px;
        border-radius: 3px;
        font-size: .82rem;
    }

.wa-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3px;
    margin-top: 1px;
    padding-left: 2.5rem;
}

.wa-meta-time {
    font-size: .68rem;
    color: #667781;
}

.wa-meta-check {
    font-size: .72rem;
    color: #53bdeb;
}

.wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: .7rem;
    color: #667781;
    margin-bottom: 2px;
}

    .wa-badge i {
        font-size: .75rem;
    }

/* ===== MEDIA ===== */
.wa-media {
    margin-bottom: 4px;
}

    .wa-media img {
        width: 280px;
        height: 280px;
        max-width: 100%;
        border-radius: 6px;
        display: block;
        cursor: pointer;
    }

    .wa-media video {
        max-width: 100%;
        border-radius: 6px;
        display: block;
    }

    .wa-media audio {
        width: 100%;
        min-width: 240px;
        margin-top: 2px;
    }

/* ===== DATE SEP ===== */
.wa-date {
    text-align: center;
    margin: .75rem 0 .375rem;
}

    .wa-date span {
        display: inline-block;
        background: #e1f2fb;
        color: #54656f;
        font-size: .72rem;
        padding: .3rem .75rem;
        border-radius: .5rem;
        box-shadow: 0 1px 1px rgba(0,0,0,.08);
        font-weight: 500;
    }

/* ===== POSITIVACAO BADGE ===== */
.wa-positivacao {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: .65rem;
    color: #0d6efd;
    background: rgba(13,110,253,.08);
    padding: 1px 6px;
    border-radius: 4px;
    margin-bottom: 2px;
    font-weight: 600;
}

    .wa-positivacao i {
        font-size: .7rem;
    }

/* ===== EMPTY ===== */
.wa-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.wa-empty-inner {
    text-align: center;
    color: #667781;
}

    .wa-empty-inner i {
        font-size: 4rem;
        color: #25d366;
        opacity: .35;
    }

    .wa-empty-inner p {
        margin-top: .75rem;
        font-size: .9rem;
    }

/* ===== SCROLLBAR ===== */
.wa-side-list::-webkit-scrollbar, .wa-messages::-webkit-scrollbar {
    width: 6px;
}

.wa-side-list::-webkit-scrollbar-thumb, .wa-messages::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 3px;
}