.dashboard-page-title {
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

:root {
    --bs-topbar-height: 48px;
    --bs-startbar-width: 240px;
    --bs-startbar-collapsed-width: 64px;
}

.topbar,
.topbar .topbar-custom {
    min-height: 48px !important;
    height: 48px !important;
    background-color: #ffffff !important;
}

.topbar {
    border-bottom: 0 !important;
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

.topbar .topbar-custom {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: rgba(15, 23, 42, 0.08);
    pointer-events: none;
}

.topbar .nav-icon i,
.topbar .mobile-menu-btn i {
    font-size: 18px !important;
}

.topbar .topbar-item .ia-topbar-trigger.btn {
    padding: 0.35rem 1rem !important;
    min-height: 34px !important;
    height: 34px !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    background: #2363eb !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(35, 99, 235, 0.35) !important;
    transition: all 0.2s ease !important;
}

.topbar .topbar-item .ia-topbar-trigger.btn:hover {
    background: #1b53cc !important;
    box-shadow: 0 4px 12px rgba(35, 99, 235, 0.45) !important;
}

.topbar .topbar-item .ia-topbar-trigger.btn i {
    font-size: 15px !important;
    color: #ffffff !important;
}

.topbar .topbar-item .ia-topbar-trigger.btn span {
    font-size: 13px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

img.thumb-md {
    object-fit: cover;
    flex-shrink: 0;
}

.topbar .topbar-item .thumb-md.rounded-circle {
    width: 27px !important;
    height: 27px !important;
}

.topbar-divider {
    width: 1px;
    height: 28px;
    background-color: #d5d9e2;
    margin: 0 12px;
}

.topbar-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.topbar-user-name {
    font-size: 13px;
    font-weight: 300;
    color: #1e2139;
}

.topbar-user-role {
    font-size: 11px;
    font-weight: 400;
    color: #8b8fa3;
}

.page-wrapper .page-content {
    padding-top: 20px !important;
}

.page-wrapper .page-content > .container-fluid {
    padding-top: 14px !important;
    width: 100% !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.app-head-card {
    border: 1px solid #e4e9f2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.app-head-card .card-body {
    padding: 1.1rem 1.3rem;
}

.app-head-card .card-body > .d-flex,
.comex-head-card .card-body > .d-flex {
    align-items: center !important;
}

.app-head-subtitle {
    color: #62708a;
    font-size: 14px;
    font-weight: 300 !important;
    line-height: 1.35;
    margin: 0;
}

.page-header-card-clean {
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.page-header-card-clean .card-body {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.page-wrapper .page-content > .container-fluid.banco-talentos-page {
    width: 100% !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.periodo-trigger {
    min-width: 0;
    width: auto;
    justify-content: flex-start;
    white-space: nowrap;
    padding-inline: 0.9rem;
}

.periodo-preset {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--bs-body-color);
}

.periodo-preset:hover,
.periodo-preset.active {
    background: var(--bs-tertiary-bg);
}

.startbar,
.startbar .brand,
.startbar .startbar-menu,
.startbar .startbar-collapse {
    background-color: #151832 !important;
}

.startbar .brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html,
body,
.page-wrapper,
.page-content {
    overflow-x: hidden !important;
    max-width: 100%;
}

.topbar,
.topbar .container-fluid,
.topbar .topbar-custom {
    overflow: visible !important;
}

.startbar .navbar-nav .nav-link span {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.startbar .startbar-menu .menu-icon {
    color: #8b8fa3 !important;
    opacity: 1 !important;
}

.startbar .navbar-nav .nav-link span {
    color: #8b8fa3 !important;
}

.logo-sm-text {
    display: none;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #f1f5f9;
    line-height: 1;
}

.startbar .brand .logo .startbar-logo-wordmark {
    color: #ffffff;
    font-size: 17px !important;
    font-weight: 500;
    letter-spacing: 3.5px;
    line-height: 1;
    text-transform: uppercase;
}

.startbar .brand .logo .startbar-logo-mini {
    display: none;
    color: #ffffff;
    font-size: 17px !important;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1;
    text-transform: uppercase;
}

.startbar .startbar-menu .navbar-nav .menu-label span {
    font-size: 11px !important;
}

.startbar .navbar-nav .collapse .nav-link {
    font-size: 14px !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
}

/* Bolinhas dos submenus removidas */

.startbar .navbar-nav .nav-link:hover,
.startbar .navbar-nav .nav-link:focus {
    background-color: rgba(35, 99, 235, 0.10) !important;
}

.startbar .navbar-nav .nav-link.active,
.startbar .navbar-nav .show > .nav-link {
    background-color: rgba(35, 99, 235, 0.15) !important;
    color: #ffffff !important;
    border-left: 2px solid #2363eb;
    border-radius: 8px;
}

.startbar .navbar-nav .nav-link[aria-expanded="true"] {
    background-color: rgba(35, 99, 235, 0.15) !important;
    color: #ffffff !important;
    border-left: 2px solid #2363eb;
    border-radius: 8px;
}

.startbar .navbar-nav .collapse .nav-link.active {
    background-color: rgba(35, 99, 235, 0.12) !important;
    color: #2363eb !important;
    border-left: 2px solid #2363eb;
    border-radius: 8px;
}

.startbar {
    --bs-menu-link-active-bg-color: rgba(35, 99, 235, 0.15) !important;
}

.startbar .navbar-nav .nav-link.active,
.startbar .navbar-nav .nav-link[aria-expanded="true"],
.startbar .navbar-nav .collapse .nav-link.active {
    box-shadow: none !important;
}

.startbar .navbar-nav .nav-link.active .menu-icon,
.startbar .navbar-nav .nav-link[aria-expanded="true"] .menu-icon {
    color: #2363eb !important;
}

.startbar .navbar-nav .collapse .nav-link.active .menu-icon {
    color: #2363eb !important;
}

.startbar .navbar-nav .nav-link:hover .menu-icon,
.startbar .navbar-nav .nav-link:focus .menu-icon {
    color: #93b4f5 !important;
}

.startbar .navbar-nav .nav-link:hover span,
.startbar .navbar-nav .nav-link:focus span {
    color: #93b4f5 !important;
}

.startbar .navbar-nav .nav-link.active span,
.startbar .navbar-nav .nav-link[aria-expanded="true"] span {
    color: #ffffff !important;
}

.startbar .navbar-nav .collapse .nav-link.active span {
    color: #2363eb !important;
}

.startbar .navbar-nav .nav-link[aria-expanded="true"] span,
.startbar .navbar-nav .nav-link[aria-expanded="true"] .menu-arrow,
.startbar .navbar-nav .nav-link[aria-expanded="true"] i {
    color: #ffffff !important;
}

.startbar .navbar-nav .nav-link[data-bs-toggle="collapse"]::after {
    color: #8b8fa3 !important;
    border-color: #8b8fa3 !important;
}

.startbar .navbar-nav .nav-link[data-bs-toggle="collapse"][aria-expanded="true"]::after {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* 3º nível do menu (netos) — indentação e estilos */
.startbar .startbar-menu .navbar-nav .nav-item .nav .nav-item .nav {
    margin-left: 12px;
}

.startbar .startbar-menu .navbar-nav .nav-item .nav .nav-item .nav:before {
    left: 14px;
}

.startbar .startbar-menu .navbar-nav .nav-item .nav .nav-item .nav .nav-item {
    margin-left: 24px;
}

.startbar .startbar-menu .navbar-nav .nav-item .nav .nav-item .nav .nav-item .nav-link {
    font-size: 13px !important;
    padding: 5px 12px;
}

.startbar-footer-note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    color: #cbd5e1;
    opacity: 0.45;
    pointer-events: none;
}

.startbar .startbar-collapse {
    padding-bottom: 42px !important;
}

.startbar-footer-note i {
    font-size: 13px;
    vertical-align: -1px;
}

.startbar-footer-heart {
    font-size: 11px;
    vertical-align: 1px;
}

@media (min-width: 1200px) {
    body[data-sidebar-size="collapsed"] .startbar:not(:hover) .brand .logo .startbar-logo-wordmark {
        display: none;
    }

    body[data-sidebar-size="collapsed"] .startbar:not(:hover) .brand .logo .startbar-logo-mini {
        display: inline-block;
    }

    body[data-sidebar-size="collapsed"] .startbar:not(:hover) .startbar-footer-note {
        display: none;
    }
}

table.datatable_novo > tbody > tr > td,
table.datatable_novo > thead > tr > th,
.datatable-wrapper .datatable-table > tbody > tr > td,
.datatable-wrapper .datatable-table > thead > tr > th {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

table > thead > tr > th,
.datatable-wrapper .datatable-table > thead > tr > th,
.dataTable-wrapper .dataTable-table > thead > tr > th {
    font-weight: 400 !important;
    font-size: 12px !important;
    letter-spacing: 0.6px;
    color: #64748b !important;
    background-color: #f3f5f9 !important;
    vertical-align: middle !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #d7deea !important;
    text-transform: uppercase;
}

.datatable-wrapper .datatable-table > thead,
.dataTable-wrapper .dataTable-table > thead,
table.datatable_novo > thead,
.datatable-wrapper .datatable-table > thead > tr,
.dataTable-wrapper .dataTable-table > thead > tr,
table.datatable_novo > thead > tr,
.datatable-wrapper .datatable-table > thead > tr > th,
.dataTable-wrapper .dataTable-table > thead > tr > th,
table.datatable_novo > thead > tr > th {
    background-color: #f3f5f9 !important;
}

.datatable-wrapper .datatable-table > thead > tr > th > button.datatable-sorter {
    padding: 0 !important;
    margin: 0 !important;
}

.datatable-wrapper .datatable-table > tbody > tr > td,
table.datatable_novo > tbody > tr > td {
    font-size: 14px;
    color: #475569;
    font-weight: 300 !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #e4e9f2 !important;
}

.dataTable-dropdown,
.datatable-dropdown {
    display: none !important;
}

.datatable-wrapper .datatable-bottom,
.dataTable-wrapper .dataTable-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    padding-top: 10px !important;
}

.datatable-wrapper .datatable-info,
.dataTable-wrapper .dataTable-info {
    margin-top: 0 !important;
    color: #64748b;
    font-size: 14px;
    font-weight: 400 !important;
}

.datatable-wrapper .datatable-top,
.dataTable-wrapper .dataTable-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.datatable-top,
.dataTable-top {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.datatable-wrapper .datatable-top > div,
.datatable-wrapper .datatable-top > nav,
.dataTable-wrapper .dataTable-top > div,
.dataTable-wrapper .dataTable-top > nav {
    float: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.datatable-wrapper .datatable-top .datatable-search,
.dataTable-wrapper .dataTable-top .dataTable-search {
    order: 1;
    width: 320px !important;
    min-width: 280px !important;
    flex: 0 0 320px !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-left: 0 !important;
}

.datatable-search,
.dataTable-search {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.datatable-search .datatable-input,
.dataTable-search .dataTable-input,
.datatable-search input,
.dataTable-search input {
    margin-left: 0 !important;
}

.datatable-wrapper .datatable-top > :first-child,
.dataTable-wrapper .dataTable-top > :first-child,
.datatable-wrapper .datatable-top label,
.dataTable-wrapper .dataTable-top label {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.datatable-actions {
    order: 2;
    margin-left: auto;
    display: inline-flex;
    align-items: stretch;
    gap: 10px;
}

.datatable-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px !important;
    padding: 0 12px;
    border: 1px solid #1f2937;
    border-radius: 7px;
    background: #ffffff;
    color: #111827;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.datatable-export-btn i {
    font-size: 13px;
}

.datatable-export-btn span {
    font-size: 12px;
}

.datatable-export-btn:hover {
    background: #f8fafc;
}

.datatable-wrapper,
.datatable-wrapper .datatable-container,
.datatable-wrapper .datatable-table,
.dataTable-wrapper,
.dataTable-wrapper .dataTable-container,
.dataTable-wrapper .dataTable-table {
    width: 100% !important;
}

.datatable-wrapper .datatable-top .datatable-input,
.dataTable-wrapper .dataTable-top .dataTable-input {
    width: 100%;
    min-width: 280px !important;
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    border: 1px solid #d4dbe7 !important;
    background-color: #f5f7fb !important;
    color: #475569;
    padding-left: 14px !important;
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23929ab0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
    margin-left: 0 !important;
}

.datatable-wrapper .datatable-container,
.dataTable-wrapper .dataTable-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.datatable-wrapper .datatable-table > thead > tr > th,
.dataTable-wrapper .dataTable-table > thead > tr > th,
table.datatable_novo > thead > tr > th {
    border-radius: 0 !important;
    border-top: 1px solid #d7deea !important;
}

.datatable-wrapper .datatable-table > thead > tr > th:first-child,
.dataTable-wrapper .dataTable-table > thead > tr > th:first-child,
table.datatable_novo > thead > tr > th:first-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.datatable-wrapper .datatable-table > thead > tr > th:last-child,
.dataTable-wrapper .dataTable-table > thead > tr > th:last-child,
table.datatable_novo > thead > tr > th:last-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.datatable-wrapper .datatable-table > thead > tr > th > button.datatable-sorter,
.dataTable-wrapper .dataTable-table > thead > tr > th > button.datatable-sorter {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    padding-right: 0 !important;
    line-height: 1.2 !important;
}

.datatable-sorter::before,
.dataTable-sorter::before {
    content: none !important;
    border: 0 !important;
    display: none !important;
}

.datatable-sorter::after,
.dataTable-sorter::after {
    display: inline-block !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    content: "⇅" !important;
    border: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    color: #64748b !important;
    vertical-align: middle !important;
}

.datatable-wrapper .datatable-top .datatable-input::placeholder,
.dataTable-wrapper .dataTable-top .dataTable-input::placeholder {
    color: #7c8ba1;
}

.datatable-wrapper .datatable-pagination,
.dataTable-wrapper .dataTable-pagination {
    margin-left: auto !important;
}

.datatable-wrapper .datatable-pagination ul,
.dataTable-wrapper .dataTable-pagination ul {
    gap: 6px;
}

.datatable-wrapper .datatable-pagination a,
.datatable-wrapper .datatable-pagination button,
.dataTable-wrapper .dataTable-pagination a,
.dataTable-wrapper .dataTable-pagination button {
    border-radius: 8px !important;
    min-width: 36px;
    height: 36px;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent;
    color: #334155 !important;
    font-weight: 300 !important;
    padding: 0 !important;
    text-align: center !important;
}

.datatable-wrapper .datatable-pagination .active a,
.datatable-wrapper .datatable-pagination .active button,
.dataTable-wrapper .dataTable-pagination .active a,
.dataTable-wrapper .dataTable-pagination .active button {
    border-color: #cfd8e5 !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.datatable-wrapper.no-footer .datatable-container,
.dataTable-wrapper.no-footer .dataTable-container {
    border-bottom: 0 !important;
}

@media (max-width: 991.98px) {
    .datatable-wrapper .datatable-top .datatable-search,
    .dataTable-wrapper .dataTable-top .dataTable-search {
        width: 100% !important;
        min-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .datatable-wrapper .datatable-bottom,
    .dataTable-wrapper .dataTable-bottom {
        flex-wrap: wrap;
    }

    .datatable-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.historico-lead-table {
    --bs-table-cell-padding-y: 0.85rem !important;
    --bs-table-cell-padding-x: 0.9rem !important;
}

.historico-lead-table > thead > tr > th,
.historico-lead-table > tbody > tr > td {
    padding: 0.85rem 0.9rem !important;
}

.historico-lead-table.table-sm > :not(caption) > * > * {
    padding: 0.85rem 0.9rem !important;
}

.lead-detail-card-v2 {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.lead-detail-v2-top {
    border-top: 6px solid #111827;
    background: #ffffff;
    padding: 1.35rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lead-detail-v2-top-main {
    min-width: 0;
}

.lead-detail-v2-name {
    font-size: 22px;
    line-height: 1.05;
    color: #172136;
    font-weight: 500 !important;
}

.lead-chip-id {
    background: #eaf1ff !important;
    border-color: #d2dffd !important;
    color: #2f66de !important;
    padding: 3px 10px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
}

.lead-chip-status {
    background: #f1f6ff !important;
    border-color: #c3d3fb !important;
    color: #2f66de !important;
    padding: 3px 10px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
}

.lead-detail-v2-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.35rem;
    color: #66768e;
    font-size: 14px;
    font-weight: 300;
}

.lead-detail-v2-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lead-detail-v2-contact a {
    color: inherit;
    text-decoration: none;
}

.lead-detail-v2-contact i {
    color: #8a98ad;
    font-size: 17px;
}

.lead-detail-v2-top-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #f8fbff;
    min-width: 390px;
}

.lead-detail-v2-side-item {
    padding: 14px 18px;
}

.lead-detail-v2-side-item + .lead-detail-v2-side-item {
    border-left: 1px solid #dbe3ef;
}

.lead-detail-v2-side-item small {
    display: block;
    font-size: 12px;
    color: #6a7b94;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
    font-weight: 400 !important;
}

.lead-detail-v2-side-item strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #172136;
    font-weight: 500 !important;
}

.lead-detail-v2-side-item strong i {
    color: #7f8da3;
    font-size: 17px;
}

.lead-detail-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #dbe3ef;
}

.lead-detail-v2-col {
    padding: 1.5rem 1.8rem 1.6rem;
}

.lead-detail-v2-col + .lead-detail-v2-col {
    border-left: 1px solid #dbe3ef;
}

.lead-detail-v2-col h5 {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 1.4rem;
    color: #172136;
    font-size: 16px;
    font-weight: 500 !important;
}

.lead-detail-v2-col h5 i {
    color: #2f66de;
    font-size: 19px;
    margin-right: 0 !important;
}

.lead-detail-v2-col label,
.lead-detail-v2-form label {
    display: block;
    margin: 0 0 4px;
    color: #66768e;
    letter-spacing: 0.3px;
    font-size: 12px;
    font-weight: 400 !important;
}

.lead-detail-v2-col p {
    margin-bottom: 18px;
    color: #1d2a40;
    font-size: 18px;
    font-weight: 400 !important;
}

.lead-detail-v2-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead-detail-v2-progress-wrap > span {
    color: #63748d;
    font-size: 14px;
    font-weight: 500 !important;
}

.lead-detail-v2-progress {
    height: 12px;
    width: 100%;
    border-radius: 999px;
    background: #edf2f9;
    overflow: hidden;
}

.lead-detail-v2-progress .progress-bar {
    background: #2f66de;
}

.lead-detail-v2-response {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7b879a !important;
    font-style: italic;
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.lead-detail-v2-response .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f4a1ad;
    display: inline-block;
}

.lead-detail-v2-form .form-select,
.lead-detail-v2-form .form-control {
    min-height: 42px;
    border: 1px solid #d2dcea;
    border-radius: 10px;
    background: #ffffff;
    margin-bottom: 14px;
}

.lead-detail-v2-form .btn {
    min-height: 40px;
    font-size: 15px;
    border-radius: 9px;
}

.lead-detail-card-v2 > .sac-oc-chat-card {
    margin: 1.25rem 1.6rem 0;
}

.lead-detail-v2-history {
    border-top: 1px solid #dbe3ef;
    padding: 1.5rem 1.8rem 1.9rem;
}

.lead-detail-v2-history h4 {
    margin-bottom: 14px;
    color: #172136;
    font-size: 16px;
    font-weight: 500 !important;
}

.lead-detail-v2-history .table-responsive {
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    overflow: hidden;
}

.lead-detail-v2-history .table-light > tr > th,
.lead-detail-v2-history .table-light > th {
    background-color: #f3f7fd !important;
}

.lead-detail-v2-history .historico-lead-table thead th {
    font-size: 13px;
    color: #627492;
    font-weight: 500 !important;
    letter-spacing: 0.4px;
    border-top: 0 !important;
}

.lead-detail-v2-history .historico-lead-table tbody td {
    font-size: 14px;
    color: #2a3950;
    font-weight: 300 !important;
}

.lead-detail-v2-history .text-muted {
    color: #7789a2 !important;
    font-size: 15px;
}

.lead-detail-v2-history .text-muted i {
    font-size: 20px !important;
}

@media (max-width: 991.98px) {
    .lead-detail-v2-top {
        flex-direction: column;
        align-items: stretch;
    }

    .lead-detail-v2-top-side {
        min-width: 100%;
    }

    .lead-detail-v2-grid {
        grid-template-columns: 1fr;
    }

    .lead-detail-v2-col + .lead-detail-v2-col {
        border-left: 0;
        border-top: 1px solid #dbe3ef;
    }

    .lead-detail-card-v2 > .sac-oc-chat-card {
        margin: 1rem 1rem 0;
    }
}

/* =============================================
   Lead Detail Tabs - Redesign com Abas
   ============================================= */

/* Score IA em largura total */
.lead-detail-v2-score-bar {
    border-top: 1px solid #dbe3ef;
    padding: 1rem 2rem;
    background: #fff;
}
.lead-detail-v2-score-bar label {
    display: block;
    font-size: 12px;
    color: #66768e;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    font-weight: 500 !important;
    text-transform: uppercase;
}

/* Container das abas */
.lead-tabs-wrapper {
    border-top: 1px solid #dbe3ef;
    padding: 1rem 2rem 0;
    background: #fff;
}
.lead-tabs-nav {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.lead-tabs-nav::-webkit-scrollbar {
    display: none;
}
.lead-tabs-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: transparent;
    border: 1px solid #dbe3ef;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.lead-tabs-nav .nav-link:hover {
    background: #f3f7fd;
    color: #111827;
}
.lead-tabs-nav .nav-link.active {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}
.lead-tabs-nav .nav-link i {
    font-size: 16px;
}

/* Badge de contagem nas abas */
.lead-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1;
}
.lead-tabs-nav .nav-link.active .lead-tab-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Conteudo das abas */
.lead-tabs-content {
    background: #fff;
}
.lead-tabs-content > .tab-pane {
    padding: 1.5rem 2rem 2rem;
}

/* Secoes genericas de tab */
.lead-tab-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #edf2f9;
}
.lead-tab-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
.lead-tab-section-title {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 1.2rem;
    color: #172136;
    font-size: 16px;
    font-weight: 500 !important;
}
.lead-tab-section-title i {
    color: #2f66de;
    font-size: 19px;
    margin-right: 4px;
}
.lead-tab-value {
    color: #1d2a40;
    font-size: 15px;
    font-weight: 400 !important;
    margin-bottom: 8px;
    line-height: 1.55;
}
.lead-tab-motivo {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.55;
    margin-top: 12px;
}

/* Timeline Vertical - Historico de Status */
.lead-timeline {
    position: relative;
    padding-left: 28px;
}
.lead-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #dbe3ef;
    border-radius: 999px;
}
.lead-timeline-item {
    position: relative;
    padding-bottom: 22px;
}
.lead-timeline-item:last-child {
    padding-bottom: 0;
}
.lead-timeline-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #2f66de;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #dbe3ef;
    z-index: 1;
}
.lead-timeline-content {
    padding-left: 4px;
}
.lead-timeline-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.lead-timeline-date {
    font-size: 13px;
    color: #6b7280;
    font-weight: 300;
}
.lead-timeline-obs {
    margin-top: 4px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 300;
    line-height: 1.4;
}

/* Email Cards - Tab E-mails */
.lead-emails-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
}
.lead-emails-header h5 {
    font-size: 18px;
    color: #111827;
    font-weight: 500 !important;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lead-emails-legend {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
}
.lead-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 4px;
    vertical-align: middle;
}
.lead-legend-dot--sent {
    background: #10b981;
}
.lead-legend-dot--received {
    background: #9ca3af;
}

.lead-email-card {
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
    background: #fff;
    transition: box-shadow 0.15s ease;
}
.lead-email-card:hover {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.lead-email-card:last-child {
    margin-bottom: 0;
}
.lead-email-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.lead-email-card-sender {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}
.lead-email-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #e8eefc;
    color: #2f64ea;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lead-email-card--received .lead-email-avatar {
    background: #f3f4f6;
    color: #6b7280;
}
.lead-email-card-sender strong {
    display: block;
    font-size: 14px;
    color: #111827;
    font-weight: 500;
}
.lead-email-card-sender small {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 300;
}
.lead-email-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.lead-email-date {
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}
.lead-email-card-body {
    font-size: 14px;
    color: #374151;
    line-height: 1.55;
    font-weight: 300;
}
.lead-email-card-attachments {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f3f8;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lead-email-card-attachments .sac-oc-anexo-item {
    background: #f8fafc;
    color: #1f2937;
}
.lead-emails-composer {
    border-top: 1px solid #e5eaf2;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}
.lead-emails-empty {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}
.lead-emails-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

/* Qualificacao Cards Numerados */
.lead-qual-header {
    margin-bottom: 1.5rem;
}
.lead-qual-header h5 {
    font-size: 18px;
    color: #111827;
    font-weight: 500 !important;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lead-qual-header p {
    font-size: 14px;
    color: #6b7280;
    font-weight: 300;
    margin-bottom: 4px;
}
.lead-qual-timestamps {
    font-size: 12px;
    color: #9ca3af;
}
.lead-qual-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lead-qual-item {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    background: #fff;
}
.lead-qual-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eef3fb;
    color: #2f66de;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lead-qual-content {
    flex: 1;
    min-width: 0;
}
.lead-qual-question-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.lead-qual-question {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
    line-height: 1.4;
}
.lead-qual-answer {
    margin-top: 6px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 300;
    line-height: 1.4;
}
.lead-qual-empty {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}
.lead-qual-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

/* WhatsApp IA Chat */
.lead-wa-header {
    margin-bottom: 1rem;
}
.lead-wa-header h5 {
    font-size: 18px;
    color: #111827;
    font-weight: 500 !important;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lead-wa-header p {
    font-size: 14px;
    color: #6b7280;
    font-weight: 300;
    margin: 0;
}
.lead-wa-chat {
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9bfb0' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-radius: 12px;
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b7c3d7 #e5ddd5;
}
.lead-wa-chat::-webkit-scrollbar {
    width: 8px;
}
.lead-wa-chat::-webkit-scrollbar-track {
    background: #ddd6c9;
    border-radius: 999px;
}
.lead-wa-chat::-webkit-scrollbar-thumb {
    background: #b5a99a;
    border-radius: 999px;
}
.lead-wa-msg {
    margin-bottom: 10px;
    display: flex;
}
.lead-wa-msg:last-child {
    margin-bottom: 0;
}
.lead-wa-msg--in {
    justify-content: flex-start;
}
.lead-wa-msg--out {
    justify-content: flex-end;
}
.lead-wa-bubble {
    max-width: 72%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}
.lead-wa-msg--in .lead-wa-bubble {
    background: #fff;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}
.lead-wa-msg--out .lead-wa-bubble {
    background: #dcf8c6;
    color: #1e293b;
    border-bottom-right-radius: 4px;
}
.lead-wa-sender {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
}
.lead-wa-msg--in .lead-wa-sender {
    color: #6b7280;
}
.lead-wa-msg--out .lead-wa-sender {
    color: #2e7d32;
}
.lead-wa-text {
    font-weight: 400;
    word-break: break-word;
}
.lead-wa-time {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #8696a7;
    margin-top: 4px;
}
.lead-wa-empty {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}
.lead-wa-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

/* Responsividade das tabs */
@media (max-width: 767.98px) {
    .lead-tabs-wrapper {
        padding: 0.75rem 1rem 0;
    }
    .lead-tabs-nav .nav-link {
        padding: 6px 14px;
        font-size: 13px;
    }
    .lead-tabs-content > .tab-pane {
        padding: 1.2rem 1rem 1.5rem;
    }
    .lead-email-card {
        padding: 14px 16px;
    }
    .lead-email-card-header {
        flex-direction: column;
    }
    .lead-email-card-meta {
        flex-direction: row;
        align-items: center;
    }
    .lead-qual-question-row {
        flex-direction: column;
        gap: 6px;
    }
    .lead-wa-bubble {
        max-width: 88%;
    }
    .lead-detail-v2-score-bar {
        padding: 0.75rem 1rem;
    }
}

.badge {
    font-weight: 500 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid transparent;
    padding: 4px 11px;
    border-radius: 8px;
}

.small-badge {
    font-size: 0.8em !important;
}

.badge.badge-prioridade-sm {
    font-size: 10px !important;
    line-height: 1.1 !important;
    padding: 3px 8px !important;
}

.datatable-card-unified > .card-body.datatable-card-body-unified {
    padding: 0 !important;
}

.datatable-card-unified {
    --datatable-card-gutter-x: 24px;
}

.datatable-card-unified .datatable-top,
.datatable-card-unified .dataTable-top {
    padding-top: 20px !important;
    padding-left: var(--datatable-card-gutter-x) !important;
    padding-right: var(--datatable-card-gutter-x) !important;
}

.datatable-card-unified .datatable-bottom,
.datatable-card-unified .dataTable-bottom {
    padding-left: var(--datatable-card-gutter-x) !important;
    padding-right: var(--datatable-card-gutter-x) !important;
    padding-top: 8px !important;
    padding-bottom: 10px !important;
}

.tecnologia-chamados-page .datatable-card-unified .datatable-bottom,
.tecnologia-chamados-page .datatable-card-unified .dataTable-bottom {
    padding-top: 6px !important;
    padding-bottom: 8px !important;
}

.datatable-card-unified .datatable-container,
.datatable-card-unified .dataTable-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.datatable-card-unified table.datatable_novo > thead > tr > th,
.datatable-card-unified .datatable-wrapper .datatable-table > thead > tr > th,
.datatable-card-unified .dataTable-wrapper .dataTable-table > thead > tr > th,
.datatable-card-unified table.datatable_novo > tbody > tr > td,
.datatable-card-unified .datatable-wrapper .datatable-table > tbody > tr > td,
.datatable-card-unified .dataTable-wrapper .dataTable-table > tbody > tr > td {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

table.datatable_novo .badge.bg-warning-subtle.text-warning,
.datatable-wrapper .datatable-table .badge.bg-warning-subtle.text-warning {
    background-color: #fff3d6 !important;
    color: #a14b00 !important;
    border-color: #f0d89a !important;
}

table.datatable_novo .badge.bg-primary-subtle.text-primary,
.datatable-wrapper .datatable-table .badge.bg-primary-subtle.text-primary {
    background-color: #dbe9ff !important;
    color: #1e40af !important;
    border-color: #b8d0ff !important;
}

table.datatable_novo .badge.bg-success-subtle.text-success,
.datatable-wrapper .datatable-table .badge.bg-success-subtle.text-success {
    background-color: #d8f5e9 !important;
    color: #0f6d4f !important;
    border-color: #9be7c9 !important;
}

table.datatable_novo .badge.bg-danger-subtle.text-danger,
.datatable-wrapper .datatable-table .badge.bg-danger-subtle.text-danger {
    background-color: #ffe2e8 !important;
    color: #c61f49 !important;
    border-color: #ffc0d0 !important;
}

table.datatable_novo .badge.bg-dark-subtle.text-dark,
.datatable-wrapper .datatable-table .badge.bg-dark-subtle.text-dark {
    background-color: #e9edf4 !important;
    color: #344054 !important;
    border-color: #cfd8e5 !important;
}

.status-badge.bg-warning-subtle.text-warning {
    background-color: #fff3d6 !important;
    color: #a14b00 !important;
    border-color: #f0d89a !important;
}

.status-badge.bg-primary-subtle.text-primary {
    background-color: #dbe9ff !important;
    color: #1e40af !important;
    border-color: #b8d0ff !important;
}

.status-badge.bg-success-subtle.text-success {
    background-color: #d8f5e9 !important;
    color: #0f6d4f !important;
    border-color: #9be7c9 !important;
}

.status-badge.bg-danger-subtle.text-danger {
    background-color: #ffe2e8 !important;
    color: #c61f49 !important;
    border-color: #ffc0d0 !important;
}

.status-badge.bg-secondary-subtle.text-secondary {
    background-color: #eceff4 !important;
    color: #546274 !important;
    border-color: #d4dbe6 !important;
}

.sac-ocorrencias-page .app-head-card .btn {
    min-height: 38px;
}

.sac-kpi-card {
    border: 1px solid #dee6f2;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.sac-kpi-card .card-body {
    padding: 1.4rem 1.5rem;
    font-weight: 300 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
}

.sac-kpi-card .card-body > .d-flex:first-child {
    margin-bottom: 0 !important;
}

.sac-kpi-card .card-body > .d-flex:last-child {
    align-items: baseline !important;
}

.sac-kpi-card-danger {
    border-color: #ff5d5d !important;
    background: #fffafa;
}

.sac-kpi-title {
    color: #5f7089;
    font-size: 16px;
    font-weight: 300 !important;
}

.sac-kpi-value {
    font-size: 28px;
    line-height: 1;
    color: #0f172a;
    font-weight: 500 !important;
}

.sac-kpi-danger-text {
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 300 !important;
    line-height: 1;
    margin-bottom: 0 !important;
}

.sac-kpi-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.sac-kpi-icon i {
    font-size: 14px;
}

.sac-kpi-icon-primary {
    background: #edf3ff;
    color: #2563eb;
}

.sac-kpi-icon-warning {
    background: #fff6e8;
    color: #d97706;
}

.sac-kpi-icon-success {
    background: #e7f9ee;
    color: #16a34a;
}

.sac-kpi-icon-danger {
    background: #ffe9ea;
    color: #ef4444;
}

.sac-ocorrencias-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 30px;
    border-bottom: 1px solid #dbe3ef;
}

.sac-ocorrencias-table-head h5 {
    font-size: 16px;
    color: #111827;
    font-weight: 500 !important;
}

.sac-ocorrencias-table-head p {
    font-size: 14px;
    color: #66768e;
    font-weight: 300 !important;
}

.sac-kpi-month {
    color: #7a8aa3 !important;
    font-size: 14px;
    font-weight: 300 !important;
    line-height: 1;
    margin-bottom: 0 !important;
}

.sac-kpi-card .status-badge {
    font-size: 11px !important;
    line-height: 1 !important;
    padding: 4px 10px !important;
}

.sac-ocorrencia-detalhe-page .page-header-card-clean {
    border: 1px solid #dce3ef;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.sac-oc-shell-col {
    width: 100%;
}

@media (min-width: 1600px) {
    .sac-oc-shell-col {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

.sac-ocorrencia-detalhe-page .dashboard-page-title {
    font-size: 34px;
}

.sac-oc-tag-danger {
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500 !important;
}

.sac-oc-status-select {
    width: 180px;
    border: 1px solid #ccd6e5;
    min-height: 40px;
}

.sac-oc-header-actions {
    flex-wrap: nowrap;
}

.sac-oc-save-btn {
    white-space: nowrap;
}

.sac-oc-chat-card,
.sac-oc-side-card {
    border: 1px solid #dce3ef;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.sac-oc-chat-card {
    display: flex;
    flex-direction: column;
}

.sac-oc-client-card .card-body {
    padding-top: 10px;
}

.sac-oc-client-card .sac-oc-card-header h5 {
    font-weight: 400 !important;
}

.sac-oc-detalhes-card .card-body {
    padding-top: 10px;
}

.sac-oc-chat-card .sac-oc-card-header h5,
.sac-oc-detalhes-card .sac-oc-card-header h5 {
    font-weight: 400 !important;
}

.sac-oc-detalhes-card .card-body p,
.sac-oc-detalhes-card .card-body small,
.sac-oc-detalhes-card .card-body a {
    font-weight: 300 !important;
}

.sac-oc-card-header {
    background: #fff;
    border-bottom: 1px solid #e6edf5;
    padding: 18px 20px;
}

.sac-oc-card-header h5 {
    color: #111827;
    font-size: 18px;
    font-weight: 500 !important;
}

.sac-oc-card-header p {
    color: #66768e;
    font-size: 14px;
    font-weight: 300 !important;
}

.sac-oc-chat-body {
    background: #f8fafc;
    padding: 18px 20px;
    flex: 1;
    overflow-y: auto;
}

.sac-oc-chat-body:hover {
    overflow-y: auto;
}

.sac-oc-chat-body::-webkit-scrollbar {
    width: 8px;
}

.sac-oc-chat-body::-webkit-scrollbar-track {
    background: #e8edf5;
    border-radius: 999px;
}

.sac-oc-chat-body::-webkit-scrollbar-thumb {
    background: #b7c3d7;
    border-radius: 999px;
}

.sac-oc-chat-body::-webkit-scrollbar-thumb:hover {
    background: #8ea0bc;
}

.sac-oc-chat-body {
    scrollbar-width: thin;
    scrollbar-color: #b7c3d7 #e8edf5;
}

.sac-oc-msg-wrap + .sac-oc-msg-wrap {
    margin-top: 18px;
}

.sac-oc-msg-meta {
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 6px;
    font-weight: 300 !important;
}

.sac-oc-msg-meta span {
    color: #64748b;
    margin-left: 6px;
    font-size: 13px;
    font-weight: 300 !important;
}

.sac-oc-msg {
    width: fit-content;
    max-width: 96%;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300 !important;
}

.sac-oc-msg-client {
    background: #e9eef5;
    border: 1px solid #d4dde8;
    color: #1f2937;
}

.sac-oc-alert-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff8e7;
    border: 1px solid #f5d27c;
    color: #b45309;
    border-radius: 10px;
    padding: 12px 14px;
    max-width: 96%;
    font-weight: 300 !important;
}

.sac-oc-alert-msg i {
    margin-top: 2px;
    font-size: 16px;
}

.sac-oc-msg-wrap-agent .sac-oc-msg-meta {
    text-align: right;
}

.sac-oc-msg-agent {
    margin-left: auto;
    background: #2f64ea;
    border: 1px solid #2f64ea;
    color: #fff;
}

.sac-oc-msg-wrap-system {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.sac-oc-msg-wrap-system .sac-oc-msg-meta {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.sac-oc-msg-system {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    max-width: 80%;
}

.sac-oc-anexos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sac-oc-anexo-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #d5deec;
    padding: 8px 10px;
    font-size: 13px;
    width: 100%;
}

.sac-oc-anexo-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.sac-oc-anexo-item small {
    margin-left: auto;
    opacity: 0.85;
    font-size: 11px;
}

.sac-oc-msg-agent .sac-oc-anexo-item {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.sac-oc-msg-client .sac-oc-anexo-item,
.sac-oc-msg-system .sac-oc-anexo-item {
    background: #ffffff;
    color: #1f2937;
}

.sac-oc-anexo-item:hover {
    filter: brightness(0.98);
}

.sac-oc-anexos-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sac-oc-anexo-preview-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef3fb;
    border: 1px solid #d4deed;
    border-radius: 999px;
    color: #334155;
    padding: 5px 10px;
    font-size: 12px;
}

.sac-oc-chat-footer {
    background: #f8fafc;
    border-top: 1px solid #e6edf5;
    padding: 16px;
}

.sac-oc-chat-footer .form-check-label {
    color: #64748b;
}

/* Audio player - tela detalhes ocorrência */
.sac-oc-audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    margin-bottom: 6px;
    min-width: 200px;
    max-width: 280px;
}

.sac-oc-audio-player audio {
    display: none;
}

.sac-oc-audio-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}

.sac-oc-audio-btn:hover {
    background: #2563eb;
}

.sac-oc-audio-btn i {
    font-size: 14px;
    line-height: 1;
}

.sac-oc-msg-agent .sac-oc-audio-btn {
    background: rgba(255, 255, 255, 0.25);
}

.sac-oc-audio-progress-wrap {
    flex: 1;
    min-width: 0;
    cursor: pointer;
    padding: 4px 0;
}

.sac-oc-audio-progress {
    height: 3px;
    background: rgba(15, 23, 42, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.sac-oc-msg-agent .sac-oc-audio-progress {
    background: rgba(255, 255, 255, 0.2);
}

.sac-oc-audio-bar {
    height: 100%;
    width: 0%;
    background: #3b82f6;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.sac-oc-msg-agent .sac-oc-audio-bar {
    background: #fff;
}

.sac-oc-audio-time {
    font-size: 11px;
    color: #64748b;
    min-width: 30px;
    text-align: right;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.sac-oc-msg-agent .sac-oc-audio-time {
    color: rgba(255, 255, 255, 0.7);
}

.sac-oc-msg img {
    max-width: 100%;
    border-radius: 8px;
}

.sac-oc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #e8eefc;
    color: #2f64ea;
    font-size: 20px;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sac-oc-client-head {
    gap: 10px !important;
}

.sac-oc-client-name {
    font-size: 18px;
    line-height: 1.1;
}

.sac-oc-client-tier {
    font-size: 14px;
    line-height: 1.1;
    font-weight: 300 !important;
}

.sac-oc-side-list li {
    color: #1f2937;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300 !important;
}

.sac-oc-side-list li i {
    color: #64748b;
    font-size: 16px;
}

@media (max-width: 1199.98px) {
    .sac-ocorrencia-detalhe-page .dashboard-page-title {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .sac-oc-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sac-oc-status-select {
        width: 100%;
    }
}

.site-vagas-page .site-vagas-logo {
    filter: brightness(0) saturate(100%);
}

.site-vagas-list-page .list-group-item h6 {
    font-size: calc(1.05rem - 2px);
    font-weight: 400 !important;
}

.site-vagas-list-page .list-group-item small {
    font-size: calc(0.95rem - 2px);
    font-weight: 400 !important;
}

.app-form-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.app-form-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    margin-top: 0;
}

.app-form-back-btn i {
    font-size: 20px;
}

.app-form-back-btn:hover {
    background: #eef2f8;
    color: #475569;
}

.app-form-card {
    border: 1px solid #dce3ef;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.app-form-body {
    padding: 22px 22px 18px 22px !important;
}

.app-form-card .form-label {
    font-size: 16px;
    font-weight: 400 !important;
    color: #334155;
    margin-bottom: 8px;
}

.app-form-card .form-control,
.app-form-card .form-select {
    border: 1px solid #ccd6e5;
    min-height: 42px;
    font-size: 16px;
    color: #334155;
}

.app-form-card .form-control::placeholder {
    color: #9aa6b5;
}

.app-form-textarea {
    min-height: 126px !important;
    resize: vertical;
}

.app-upload-box {
    border: 2px dashed #d2dcea;
    border-radius: 12px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    color: #64748b;
    cursor: pointer;
    background: #fff;
}

.app-upload-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #eef2f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    margin-bottom: 4px;
}

.app-upload-icon-wrap i {
    font-size: 20px;
}

.app-upload-title {
    display: block;
    font-size: 16px;
    font-weight: 400 !important;
    color: #334155;
}

.app-upload-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 300 !important;
    color: #64748b;
}

.app-form-footer {
    background: #f6f9fe;
    border-top: 1px solid #e3e9f3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 14px 22px !important;
}

/* Padrão reutilizável para páginas de formulário */
.app-form-page {
    --app-form-title-size: 21px;
    --app-form-subtitle-size: 14px;
    --app-form-label-size: 16px;
    --app-form-input-size: 16px;
    --app-form-upload-title-size: 16px;
    --app-form-upload-subtitle-size: 14px;
    --app-form-button-size: 16px;
}

.app-form-shell-col {
    width: 100%;
}

@media (min-width: 1600px) {
    .app-form-shell-col {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

.app-form-page .dashboard-page-title {
    font-size: var(--app-form-title-size) !important;
}

.app-form-page .app-head-subtitle {
    font-size: var(--app-form-subtitle-size) !important;
}

.app-form-page .app-form-card .form-label {
    font-size: var(--app-form-label-size) !important;
}

.app-form-page .app-form-card .form-control,
.app-form-page .app-form-card .form-select {
    font-size: var(--app-form-input-size) !important;
}

.app-form-page .app-upload-title {
    font-size: var(--app-form-upload-title-size) !important;
}

.app-form-page .app-upload-subtitle {
    font-size: var(--app-form-upload-subtitle-size) !important;
}

.app-form-page .app-form-footer .btn {
    font-size: var(--app-form-button-size) !important;
}

.permissoes-page .permissao-label {
    font-weight: 300 !important;
    text-transform: uppercase;
}

.permissoes-page .form-check-input:checked {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
}

.permissoes-page .form-check-input:focus {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 0.25rem rgba(22, 163, 74, 0.2) !important;
}

.form-check-input:checked.reclame_aqui:checked {
    background-color: #a31616 !important;
    border-color: #a31616 !important;
}

.form-check-input:checked.reclame_aqui:focus {
    background-color: #a31616 !important;
    border-color: #a31616 !important;
}

/* Versão compacta para reduzir tipografia */
.app-form-page--compact {
    --app-form-title-size: 20px;
    --app-form-subtitle-size: 14px;
    --app-form-label-size: 14px;
    --app-form-input-size: 14px;
    --app-form-upload-title-size: 15px;
    --app-form-upload-subtitle-size: 13px;
    --app-form-button-size: 14px;
}

/* Placeholder global sem negrito */
input::placeholder,
textarea::placeholder,
.form-control::placeholder {
    font-weight: 300 !important;
    opacity: 1 !important;
}

/* Botões globais sem negrito */
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    font-weight: 400 !important;
}

#appToastContainer .toast,
#appToastContainer .toast .toast-body {
    font-weight: 400 !important;
}

/* Options de select com peso leve global */
select option {
    font-weight: 300 !important;
}

.site-vaga-detalhes-texto .mb-3 > div,
.site-vaga-detalhes-texto .mb-0 > div {
    font-size: 0.9rem;
    font-weight: 400 !important;
}

.site-vaga-detalhes-texto small {
    font-size: 0.875rem !important;
}

.login-soft-page h4,
.login-soft-page .form-label,
.login-soft-page .form-check-label,
.login-soft-page p,
.login-soft-page a,
.login-soft-page .btn {
    font-weight: 400 !important;
}

.login-soft-page .login-dev-note {
    display: block;
    width: 100%;
    border-top: 1px solid #e8edf5;
    margin-top: 10px;
    padding-top: 16px;
    color: #97a0b3;
    font-weight: 400 !important;
}

.login-soft-page .login-dev-wrap {
    border-top: 0;
    padding-top: 0;
}

.u-d-none {
    display: none !important;
}

.u-max-h-230 {
    max-height: 230px;
}

.ia-curriculo-texto {
    font-weight: 400 !important;
}

.th-w-180 {
    width: 180px;
}

.th-w-160 {
    width: 160px;
}

.th-w-2 {
    width: 2%;
}

.th-w-10 {
    width: 10%;
}

.vendedor-email-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.olho-senha-offset {
    margin-top: 1.2%;
    margin-right: 1%;
}

.login-offset-top-bottom {
    margin-top: 10%;
    margin-bottom: 15%;
}

.timer-codigo {
    font-size: 18px;
    font-weight: 600;
}

.metric-value {
    font-size: calc(1.5rem + 5px);
}

.metric-color-black {
    color: #111111 !important;
}

.metric-color-danger {
    color: var(--bs-danger) !important;
}

.metric-color-warning {
    color: var(--bs-warning) !important;
}

.metric-color-success {
    color: var(--bs-success) !important;
}

.metric-icon-wrap {
    width: 52px;
    height: 52px;
}

.metric-border-black {
    border-color: #111111 !important;
}

.metric-border-danger {
    border-color: var(--bs-danger) !important;
}

.metric-border-warning {
    border-color: var(--bs-warning) !important;
}

.metric-border-success {
    border-color: var(--bs-success) !important;
}

.card-border-right-black {
    border-right: 5px solid #111111;
}

.card-border-right-danger {
    border-right: 5px solid var(--bs-danger);
}

.card-border-right-warning {
    border-right: 5px solid var(--bs-warning);
}

.card-border-right-success {
    border-right: 5px solid var(--bs-success);
}

.cursor-pointer {
    cursor: pointer;
}

.text-no-underline {
    text-decoration: none !important;
}

.gauge-efficiency-wrap {
    width: 100%;
    max-width: 230px;
    height: 120px;
}

.pie-loading-wrap {
    position: relative;
    width: 100%;
    max-width: 280px;
    height: 250px;
}

.pie-loader-absolute {
    position: absolute;
    inset: 0;
    display: flex;
}

.pie-canvas-hidden {
    visibility: hidden;
}

.marketplace-card {
    border-right-width: 5px;
    border-right-style: solid;
}

.marketplace-card-shopify {
    border-right-color: #95BF47;
}

.marketplace-card-mercadolivre {
    border-right-color: #FFE600;
}

.marketplace-card-shopee {
    border-right-color: #EE4D2D;
}

.marketplace-card-tiktok {
    border-right-color: #111111;
}

.marketplace-card-amazon {
    border-right-color: #FF9900;
}

.marketplace-card-magalu {
    border-right-color: #0086FF;
}

.marketplace-card-belezanaweb {
    border-right-color: #7C3AED;
}

.marketplace-card-b2b {
    border-right-color: #1F2937;
}

.marketplace-icon-wrap {
    width: 52px;
    height: 52px;
}

.marketplace-border-shopify {
    border-color: #95BF47 !important;
}

.marketplace-border-mercadolivre {
    border-color: #FFE600 !important;
}

.marketplace-border-shopee {
    border-color: #EE4D2D !important;
}

.marketplace-border-tiktok {
    border-color: #111111 !important;
}

.marketplace-border-amazon {
    border-color: #FF9900 !important;
}

.marketplace-border-magalu {
    border-color: #0086FF !important;
}

.marketplace-border-belezanaweb {
    border-color: #7C3AED !important;
}

.marketplace-border-b2b {
    border-color: #1F2937 !important;
}

.marketplace-color-shopify {
    color: #95BF47 !important;
}

.marketplace-color-shopee {
    color: #EE4D2D !important;
}

.marketplace-color-tiktok {
    color: #111111 !important;
}

.marketplace-color-amazon {
    color: #FF9900 !important;
}

.marketplace-color-magalu {
    color: #0086FF !important;
}

.marketplace-color-belezanaweb {
    color: #7C3AED !important;
}

.marketplace-color-b2b {
    color: #1F2937 !important;
}

.marketplace-logo-mercadolivre {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.marketplace-chart-wrap {
    height: 360px;
}

@media (min-width: 1200px) {
    .page-wrapper .page-content > .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .page-wrapper .page-content > .container-fluid.banco-talentos-page {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

#calendar .fc .fc-timegrid-slot {
    height: 3em !important;
}

#calendar .fc .fc-timegrid-slot,
#calendar .fc .fc-timegrid-slot-lane {
    min-height: 52px !important;
}

#calendar .fc {
    --fc-timegrid-slot-min-height: 52px;
}

#calendar .fc .fc-daygrid-day-frame {
    min-height: 140px !important;
}

#calendar .fc .fc-timegrid-allday,
#calendar .fc .fc-timegrid-divider {
    display: none !important;
}

#calendar .fc .fc-scrollgrid-section.fc-scrollgrid-section-all-day,
#calendar .fc .fc-scrollgrid-section.fc-scrollgrid-section-all-day > td {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Placeholder global forçado para peso 300 (evita sobrescrita do tema) */
input.form-control::placeholder,
textarea.form-control::placeholder,
.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
    font-weight: 300 !important;
    opacity: 1 !important;
}

input.form-control::-webkit-input-placeholder,
textarea.form-control::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    font-weight: 300 !important;
}

input.form-control::-moz-placeholder,
textarea.form-control::-moz-placeholder,
.form-control::-moz-placeholder,
input::-moz-placeholder,
textarea::-moz-placeholder {
    font-weight: 300 !important;
    opacity: 1 !important;
}

input.form-control:-ms-input-placeholder,
textarea.form-control:-ms-input-placeholder,
.form-control:-ms-input-placeholder,
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    font-weight: 300 !important;
}

input.form-control::-ms-input-placeholder,
textarea.form-control::-ms-input-placeholder,
.form-control::-ms-input-placeholder,
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    font-weight: 300 !important;
}

/* Fallback extra para temas/plugins que sobrescrevem placeholder */
html body input[placeholder]::placeholder,
html body textarea[placeholder]::placeholder,
html body .form-control[placeholder]::placeholder {
    font-weight: 300 !important;
    font-variation-settings: "wght" 300;
    opacity: 1 !important;
}

html body input[placeholder]::-webkit-input-placeholder,
html body textarea[placeholder]::-webkit-input-placeholder,
html body .form-control[placeholder]::-webkit-input-placeholder {
    font-weight: 300 !important;
    font-variation-settings: "wght" 300;
}

/* Selectr (padrão global estilo form-select) */
.selectr-container {
    width: 100% !important;
}

.selectr-container .selectr-selected {
    min-height: 42px;
    border: 1px solid #ccd6e5;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 400 !important;
    padding: 9px 36px 9px 14px;
    display: flex;
    align-items: center;
}

.selectr-container .selectr-placeholder {
    color: #8b97ab;
    font-weight: 300 !important;
}

.selectr-container.open .selectr-selected {
    border-color: #b7c7e1;
    box-shadow: 0 0 0 0.2rem rgba(49, 103, 243, 0.12);
}

.selectr-container .selectr-options-container {
    border: 1px solid #d9e2f0;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.selectr-container .selectr-input {
    border: 1px solid #d6dfec;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400 !important;
}

.selectr-container .selectr-option {
    font-size: 14px;
    font-weight: 300 !important;
    color: #334155;
    padding: 8px 12px;
}

.selectr-container .selectr-option.selected {
    background: #eef3fd;
    color: #1e3a8a;
    font-weight: 400 !important;
}

.selectr-container .selectr-option.active {
    background: #3167f3;
    color: #fff;
}

.db-config-listagem,
.db-config-listagem th,
.db-config-listagem td,
.db-config-listagem span,
.db-config-listagem p,
.db-config-listagem a,
.db-resend-page,
.db-resend-page th,
.db-resend-page td,
.db-resend-page span,
.db-resend-page p,
.db-resend-page a,
.db-resend-page label,
.db-resend-page pre {
    font-weight: 300 !important;
}

.db-config-status-icon {
    font-size: 1.1rem;
    vertical-align: middle;
}

.db-resend-code {
    white-space: pre-wrap;
    word-break: break-word;
    background: #fbfcfe;
    border: 1px solid rgba(122, 130, 177, 0.18);
    border-radius: 14px;
    padding: 1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.db-resend-page .form-check-input.js-campo-tabela {
    margin-left: 0 !important;
}

.db-sync-response-card {
    border: 1px solid rgba(122, 130, 177, 0.18);
    border-radius: 14px;
    background: #fbfcfe;
    padding: 1rem 1.1rem;
}

.db-sync-response-card ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

/* Campo visualmente desabilitado (native select/input + select2) */
.campo-desabilitado,
.campo-desabilitado:disabled {
    background-color: #eef2f7 !important;
    border-color: #d3dbe7 !important;
    color: #7b8798 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

.campo-desabilitado:disabled {
    -webkit-text-fill-color: #7b8798;
}

select.campo-desabilitado + .select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #eef2f7 !important;
    border-color: #d3dbe7 !important;
    cursor: not-allowed !important;
}

select.campo-desabilitado + .select2-container--default.select2-container--disabled .select2-selection__rendered {
    color: #7b8798 !important;
}

select.campo-desabilitado + .select2-container--default.select2-container--disabled .select2-selection__arrow {
    opacity: 0.55;
}

/* Selectr dropdown visível dentro de modais Bootstrap */
#novoLeadManualModal .modal-content {
    overflow: visible;
}
#novoLeadManualModal .modal-body {
    overflow: visible;
}
#novoLeadManualModal .selectr-options-container {
    z-index: 1061 !important;
}
