:root {
 --template1: #e74e0f;
  --template2: #A6360A;
  --template3: #f2682f;  
}
.field-icon {
  float: right;
  margin-left: -25px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
  margin-right: 8px;
  cursor: pointer;
}
#mensagem-recuperar{
  color: var(--template1) !important;
  font-size: 13px;

}

.select2-selection__rendered {
    line-height: 35px !important;
    border: 1px solid #e3e3e3;
}
.select2-container .select2-selection--single {
    height: 39px !important;
}
.select2-selection__arrow {
    height: 38px !important;
}


hr.separador {
  border: 1px dotted #666;
  border-radius: 5px;
}

.select2-selection__rendered {
    line-height: 35px !important;
}
.select2-container .select2-selection--single {
    height: 39px !important;
}
.select2-selection__arrow {
    height: 38px !important;
}
hr.separador {
  border: 1px dotted #666;
  border-radius: 5px;
}
.text-verde{
  color:#0e9e29;
}
.ocultar{
  display:none;
}
.textareag{
    width:765px;
    height:550px;
}
.side-menu .slide .side-menu__item:hover {
    background: linear-gradient(180deg, #fff7f1 0%, #ffefe5 100%);

}
.main-sidemenu {
    background-color: #ffffff;
}
.app-sidebar {
    background-color: #ffffff !important;
    border-right: 1px solid #f0dfd6;
    box-shadow: 0 18px 35px rgba(166, 54, 10, 0.10);
}

.slide-menu {
    border-left: 4px solid #f1c4b0;
    background-color: #fff7f1 !important;
    color: #6a4c40;
}
.slide-menu .slide-item {
    color: #8a6658 !important;
}
.slide-menu .slide-item .icon,
.app-sidebar .slide-menu .slide-item:before {
    color: #c8774e !important;
}
.slide-menu .slide-item:hover,
.slide-menu .slide-item:focus,
.slide-menu .slide-item.active {
    color: #1f1a17 !important;
    background: rgba(231, 78, 15, 0.08);
    border-radius: 12px;
}
.sub-side-menu__item,
.sub-side-menu__label {
    color: #8a6658 !important;
}
.sub-side-menu__item:hover,
.sub-side-menu__item:focus,
.sub-side-menu__item.active,
.sub-side-menu__item:hover .sub-side-menu__label,
.sub-side-menu__item.active .sub-side-menu__label {
    color: #1f1a17 !important;
}
.side-menu__item a{
    background-color: transparent;
    color: #6a4c40;
}
.side-menu__item > i,
.side-menu__item > svg,
.side-menu__item .side-menu__icon,
.side-menu__item .side-menu__label,
.side-menu__item .angle {
    color: #1f1a17 !important;
    fill: #1f1a17 !important;
}
.side-menu .slide .side-menu__item.active,
.side-menu .slide .side-menu__item:hover,
.side-menu .slide .side-menu__item:focus {
    background: linear-gradient(180deg, #fff3ec 0%, #ffe7da 100%);
    border-right-color: var(--template1);
}
.side-menu .slide .side-menu__item.active .side-menu__label,
.side-menu .slide .side-menu__item.active > i,
.side-menu .slide .side-menu__item.active > svg,
.side-menu .slide .side-menu__item.active .side-menu__icon,
.side-menu .slide .side-menu__item.active .angle {
    color: #1f1a17 !important;
    fill: #1f1a17 !important;
}

.side-menu__item:hover > i,
.side-menu__item:hover > svg,
.side-menu__item:hover .side-menu__icon,
.side-menu__item:hover .side-menu__label,
.side-menu__item:hover .angle {
    color: #1f1a17 !important;
    fill: #1f1a17 !important;

}
.slide-item.active,
.slide-item:hover,
.slide-item:focus {
    text-decoration: none;
    color: #1f1a17 !important;

}
.app-sidebar .side-item.side-item-category {
    color: #a07767;
}
.main-sidebar-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f0dfd6;
}
.main-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0dfd6;
    box-shadow: 0 12px 30px rgba(166, 54, 10, 0.08);
}
.slide-item .app-sidebar .slide-menu .slide-item:before:hover {
    color: var(--template1) !important;
}
.slide.is-expanded .slide-menu a:hover:before {
   color: var(--template1) !important;
}
.slide:hover .side-menu__label,
.slide:hover .side-menu__item > i,
.slide:hover .angle {
    color: #1f1a17 !important;
    fill: #1f1a17 !important;
}
.header-icon-svgs {
    color: #1f1a17;
    fill: #1f1a17;
}
.main-header .nav-link,
.main-header .header-icon,
.main-header .open-toggle i,
.main-header .close-toggle i,
.main-header-profile h6,
.main-header-profile span {
    color: #1f1a17 !important;
}
body:not(.dark-theme) .header-icons .new.nav-link,
body:not(.dark-theme) .main-header-message .nav-link i,
body:not(.dark-theme) .main-header-notification .nav-link i,
body:not(.dark-theme) .nav-item.full-screen .nav-link i,
body:not(.dark-theme) .nav-item.full-screen .nav-link svg,
body:not(.dark-theme) .main-header .dropdown-toggle::after,
body:not(.dark-theme) .main-header .nav-link .fe,
body:not(.dark-theme) .main-header .nav-link .fa,
body:not(.dark-theme) .main-header .nav-link small,
body:not(.dark-theme) .main-header .nav-link span:not(.badge) {
    color: #1f1a17 !important;
    fill: #1f1a17 !important;
}
body:not(.dark-theme) .main-profile-menu .profile-user img {
    border: 2px solid rgba(31, 26, 23, 0.12);
    box-shadow: 0 8px 18px rgba(31, 26, 23, 0.12);
}
body:not(.dark-theme) .main-sidebar-header .desktop-logo,
body:not(.dark-theme) .responsive-logo .logo-1,
body:not(.dark-theme) .logo-horizontal .logo-1 {
    filter: none;
}
.main-content {
    background: linear-gradient(180deg, #fffaf6 0%, #fff3ec 100%);
}
.page {
    background: linear-gradient(180deg, #fffdfb 0%, #fff3ec 100%);
}
.apexcharts-xaxis-label,
.apexcharts-yaxis-label,
.apexcharts-legend-text {
    fill: #8a6658 !important;
    color: #8a6658 !important;
}
.apexcharts-tooltip,
.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip {
    color: #4d3127 !important;
}
.font-size-11{
    font-size: 11px !important;
}

:root {
  --surface-1: #fff7f1;
  --surface-2: #ffffff;
  --surface-3: #fff0e8;
  --border-soft: rgba(166, 54, 10, 0.14);
  --text-main: #4d3127;
  --text-soft: #8a6658;
  --shadow-strong: 0 18px 40px rgba(166, 54, 10, 0.12);
}

.opti-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.opti-page-title h2,
.opti-page-title h3,
.opti-section-title {
  margin: 0;
  color: #1f1a17;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.opti-page-subtitle {
  color: #7f5c4f;
  margin-top: 6px;
}

.opti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.opti-kpi,
.opti-panel,
.opti-mini-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-strong);
}

.opti-kpi-label {
  color: #7f5c4f;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.opti-kpi-value {
  font-size: 30px;
  font-weight: 800;
  color: #1f1a17;
  margin-top: 10px;
}

.opti-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-3);
  color: #7f5c4f;
  font-size: 12px;
}

.opti-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(231, 78, 15, 0.12);
  color: #1f1a17;
  font-size: 12px;
  font-weight: 600;
}

.opti-list {
  display: grid;
  gap: 12px;
}

.opti-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(166, 54, 10, 0.08);
}

.opti-list-item strong {
  color: #1f1a17;
}

.opti-list-item small,
.opti-empty,
.opti-muted {
  color: #7f5c4f;
}

.opti-panel a:not(.btn),
.opti-kpi a:not(.btn),
.opti-mini-card a:not(.btn),
.opti-list-item a:not(.btn) {
  color: #1f1a17;
  font-weight: 600;
}

.opti-panel .text-white,
.opti-kpi .text-white,
.opti-mini-card .text-white,
.opti-list-item .text-white {
  color: #1f1a17 !important;
}

.opti-panel code,
.opti-kpi code,
.opti-mini-card code {
  background: rgba(231, 78, 15, 0.08);
  border-radius: 8px;
  color: var(--template2);
  padding: 2px 6px;
}

.opti-chart {
  min-height: 320px;
}

.breadcrumb-header {
  margin-bottom: 18px;
}

.bg-primary.text-white,
.modal-header.bg-primary.text-white {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .opti-page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .opti-grid {
    grid-template-columns: 1fr;
  }
}

body.dark-theme .main-sidemenu,
body.dark-theme .app-sidebar {
  background: #17212b !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.32);
}

body.dark-theme .main-sidebar-header,
body.dark-theme .main-header {
  background: #17212b !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

body.dark-theme .side-menu__item a,
body.dark-theme .side-menu__item > i,
body.dark-theme .side-menu__item > svg,
body.dark-theme .side-menu__item .side-menu__icon,
body.dark-theme .side-menu__item .side-menu__label,
body.dark-theme .side-menu__item .angle,
body.dark-theme .app-sidebar .side-item.side-item-category {
  color: #d9e3ee !important;
  fill: #d9e3ee !important;
}

body.dark-theme .side-menu .slide .side-menu__item.active,
body.dark-theme .side-menu .slide .side-menu__item:hover,
body.dark-theme .side-menu .slide .side-menu__item:focus {
  background: linear-gradient(180deg, #243344 0%, #1d2b39 100%);
  border-right-color: #ff9c6b;
}

body.dark-theme .side-menu .slide .side-menu__item.active .side-menu__label,
body.dark-theme .side-menu .slide .side-menu__item.active > i,
body.dark-theme .side-menu .slide .side-menu__item.active > svg,
body.dark-theme .side-menu .slide .side-menu__item.active .side-menu__icon,
body.dark-theme .side-menu .slide .side-menu__item.active .angle,
body.dark-theme .side-menu__item:hover > i,
body.dark-theme .side-menu__item:hover > svg,
body.dark-theme .side-menu__item:hover .side-menu__icon,
body.dark-theme .side-menu__item:hover .side-menu__label,
body.dark-theme .side-menu__item:hover .angle {
  color: #ffffff !important;
  fill: #ffffff !important;
}

body.dark-theme .slide-menu {
  background: #1e2b38 !important;
  border-left: 4px solid #ff9c6b;
  color: #d3deea;
}

body.dark-theme .slide-menu .slide-item,
body.dark-theme .sub-side-menu__item,
body.dark-theme .sub-side-menu__label {
  color: #d3deea !important;
}

body.dark-theme .slide-menu .slide-item:hover,
body.dark-theme .slide-menu .slide-item:focus,
body.dark-theme .slide-menu .slide-item.active,
body.dark-theme .sub-side-menu__item:hover,
body.dark-theme .sub-side-menu__item:focus,
body.dark-theme .sub-side-menu__item.active,
body.dark-theme .sub-side-menu__item:hover .sub-side-menu__label,
body.dark-theme .sub-side-menu__item.active .sub-side-menu__label {
  color: #ffffff !important;
  background: rgba(255, 156, 107, 0.14);
}

body.dark-theme .header-icon-svgs,
body.dark-theme .main-header .nav-link,
body.dark-theme .main-header .header-icon,
body.dark-theme .main-header .open-toggle i,
body.dark-theme .main-header .close-toggle i,
body.dark-theme .main-header-profile h6,
body.dark-theme .main-header-profile span {
  color: #edf4fb !important;
  fill: #edf4fb !important;
}

body.dark-theme .page,
body.dark-theme .main-content {
  background: linear-gradient(180deg, #0f1822 0%, #182430 100%);
}

body.dark-theme .opti-kpi,
body.dark-theme .opti-panel,
body.dark-theme .opti-mini-card {
  background: linear-gradient(180deg, #1a2734 0%, #14202c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

body.dark-theme .opti-page-title h2,
body.dark-theme .opti-page-title h3,
body.dark-theme .opti-section-title,
body.dark-theme .opti-kpi-value,
body.dark-theme .opti-list-item strong,
body.dark-theme .opti-panel a:not(.btn),
body.dark-theme .opti-kpi a:not(.btn),
body.dark-theme .opti-mini-card a:not(.btn),
body.dark-theme .opti-list-item a:not(.btn) {
  color: #ffbe99;
}

body.dark-theme .opti-page-subtitle,
body.dark-theme .opti-kpi-label,
body.dark-theme .opti-kpi-trend,
body.dark-theme .opti-list-item small,
body.dark-theme .opti-empty,
body.dark-theme .opti-muted,
body.dark-theme .opti-badge {
  color: #c0cfde;
}

body.dark-theme .opti-kpi-trend,
body.dark-theme .opti-badge {
  background: rgba(255, 156, 107, 0.12);
}

body.dark-theme .opti-list-item {
  background: rgba(17, 27, 37, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .apexcharts-xaxis-label,
body.dark-theme .apexcharts-yaxis-label,
body.dark-theme .apexcharts-legend-text {
  fill: #c0cfde !important;
  color: #c0cfde !important;
}

body.dark-theme .apexcharts-tooltip,
body.dark-theme .apexcharts-xaxistooltip,
body.dark-theme .apexcharts-yaxistooltip {
  background: #223242 !important;
  color: #eef4fb !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.cliente360-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 248, 252, 0.98) 100%);
  border-radius: 18px;
}

.cliente360-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 6px 4px 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.cliente360-header h3 {
  margin: 0;
  font-size: 1.7rem;
  color: #111827;
  font-weight: 700;
}

.cliente360-subtitle {
  margin-top: 6px;
  color: #6b7280;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cliente360-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #cbd5e1;
  display: inline-block;
}

.cliente360-actions,
.cliente360-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cliente360-action,
.cliente360-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f5f7fb;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #0f172a;
  font-size: 0.9rem;
  text-decoration: none;
}

.cliente360-action {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.cliente360-summary.compact {
  margin-top: 0;
}

.cliente360-kpi,
.cliente360-panel {
  height: 100%;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.cliente360-kpi {
  padding: 18px;
}

.cliente360-kpi-label {
  color: #64748b;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cliente360-kpi-value {
  margin-top: 8px;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f172a;
}

.cliente360-kpi-meta {
  margin-top: 6px;
  color: #475569;
  font-size: 0.92rem;
}

.cliente360-panel {
  padding: 18px;
}

.cliente360-panel h4 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.cliente360-subpanel-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.cliente360-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cliente360-list.compact {
  gap: 8px;
}

.cliente360-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.cliente360-item strong {
  color: #0f172a;
}

.cliente360-item-meta {
  font-size: 0.86rem;
  color: #64748b;
  margin-top: 3px;
}

.cliente360-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  margin-top: 6px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #eef2ff;
  color: #4338ca;
}

.badge-danger-soft {
  background: #fef2f2;
  color: #b91c1c;
}

.cliente360-notes {
  padding: 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid rgba(251, 146, 60, 0.18);
}

.cliente360-notes strong {
  color: #9a3412;
  display: block;
  margin-bottom: 6px;
}

.cliente360-notes p {
  margin: 0;
  color: #7c2d12;
}

.cliente360-empty {
  padding: 18px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  color: #64748b;
  text-align: center;
}

body.dark-theme .cliente360-shell,
body.dark-theme .cliente360-kpi,
body.dark-theme .cliente360-panel,
body.dark-theme .cliente360-item,
body.dark-theme .cliente360-empty {
  background: linear-gradient(180deg, #1a2734 0%, #14202c 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #c0cfde;
}

body.dark-theme .cliente360-header {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .cliente360-header h3,
body.dark-theme .cliente360-kpi-value,
body.dark-theme .cliente360-panel h4,
body.dark-theme .cliente360-item strong,
body.dark-theme .cliente360-action,
body.dark-theme .cliente360-chip {
  color: #edf4fb;
}

body.dark-theme .cliente360-subtitle,
body.dark-theme .cliente360-kpi-label,
body.dark-theme .cliente360-kpi-meta,
body.dark-theme .cliente360-item-meta,
body.dark-theme .cliente360-subpanel-title,
body.dark-theme .cliente360-empty {
  color: #c0cfde;
}

body.dark-theme .cliente360-action,
body.dark-theme .cliente360-chip,
body.dark-theme .cliente360-notes {
  background: rgba(255, 156, 107, 0.12);
  border-color: rgba(255, 255, 255, 0.08);
}
