/* ===== VARIÁVEIS ===== */
:root {
  --bg-body: #f1f3f7;
  --bg-sidebar: #0c1219;
  --bg-sidebar-item: rgba(255, 255, 255, 0.04);
  --bg-sidebar-hover: rgba(255, 255, 255, 0.08);
  --bg-sidebar-active: rgba(13, 148, 136, 0.15);
  --bg-card: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-sidebar: #94a3b8;
  --text-sidebar-active: #e2e8f0;
  --border: #e5e7eb;
  --accent: #0d9488;
  --accent-light: #ccfbf1;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --sidebar-w: 250px;
}

/* ===== BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #c1c7d0;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* body {
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
} */

th,
td {
  white-space: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.navigation,
.navigation .navigation-header,
.header-navbar,
.breadcrumb {
  font-family: "DM Sans", sans-serif;
  /* font-family: "Open Sans", sans-serif; */
}

.btn-default {
  color: #333;
  background-color: #fcfcfc;
  border-color: #ddd;
}

.content-body {
  min-height: 600px;
}

.mt-10 {
  margin-top: 10px;
}

.dt-buttons {
  width: 100%;
  text-align: right;
  display: block;
}

.form-control-position {
  top: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.text-muted {
  color: #999999;
}

.preco,
.quantidade,
.peso {
  text-align: right;
}

.btn {
  position: relative;
}

.text-danger-700 {
  color: #d32f2f !important;
}

.text-warning-600 {
  color: #ff8942 !important;
}

.text-pink-800 {
  color: #ad1457 !important;
}

.fileinput-remove-button {
  display: none !important;
}

.img-preview {
  max-width: 80px;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ddd !important;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #ddd !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #ddd !important;
}

/* ------------------------------------------------------------------------------
 *
 *  # Bootstrap file input
 *
 *  File input styling for Bootstrap 3.0
 *
 *  Version: 1.2
 *  Latest update: Mar 10, 2016
 *
 * ---------------------------------------------------------------------------- */

.area-arquivos {
  margin: 20px 0;
}

.caption h6 {
  height: 60px;
}

.file-input.has-error .form-control {
  border-color: #ddd;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.fileinput-upload-button {
  display: none !important;
}

.select2 {
  width: 100% !important;
}

@media (min-width: 769px) {
  .file-input .btn > [class*="icon-"],
  .file-input .btn > .glyphicon {
    margin-right: 5px;
  }
}

.file-object {
  margin: 0 0 -7px 0;
  padding: 0;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  text-align: right;
  opacity: 0;
  background: none repeat scroll 0 0 transparent;
  cursor: inherit;
  display: block;
}

.file-caption-name {
  display: inline-block;
  overflow: hidden;
  word-break: break-all;
}

.file-caption-name [class*="icon-"],
.file-caption-name .glyphicon {
  margin-right: 7px;
}

.file-input-new .file-caption-name {
  color: #999999;
}

.file-input-new .file-caption-name > [class*="icon-"],
.file-input-new .file-caption-name > .glyphicon {
  display: none;
}

.file-error-message {
  position: relative;
  background-color: #f2dede;
  color: #a94442;
  text-align: center;
  border-radius: 3px;
  padding: 10px;
  margin: 0 5px 5px 5px;
}

.file-drop-zone .file-error-message {
  margin-top: 5px;
}

.file-error-message .close {
  margin-top: 1px;
  color: #a94442;
}

.file-error-message pre,
.file-error-message ul {
  margin: 7px 0;
  text-align: left;
}

.file-caption-disabled {
  background-color: #fafafa;
  cursor: not-allowed;
}

.file-caption-disabled .file-caption-name {
  color: #ccc;
}

.file-preview-detail-modal {
  text-align: left;
}

.file-preview {
  display: table;
  border-radius: 2px;
  border: 1px solid #ddd;
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  text-align: center;
}

.file-preview > .close {
  display: none;
  font-weight: 400;
  font-size: 17px;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  padding: 8px;
  line-height: 0.6;
  border-radius: 3px;
  color: #555;
  opacity: 1;
  filter: alpha(opacity=100);
}

.file-preview-frame {
  margin: 7px;
  margin-right: 0;
  height: 160px;
  display: table;
  float: left;
  vertical-align: middle;
}

.file-drop-zone .file-preview-frame {
  border: 1px solid #ddd;
  border-radius: 3px;
}

.file-preview-image {
  height: 160px;
  vertical-align: middle;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .file-preview-image {
    max-width: 100%;
  }
}

.file-preview-text {
  text-align: left;
  width: 160px;
  margin-bottom: 2px;
  color: #428bca;
  background-color: #fff;
  overflow-x: hidden;
}

.file-preview-other {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  width: 160px;
  height: 160px;
}

.file-preview-other:after {
  content: "\ea0c";
  font-family: "icomoon";
  display: block;
  font-size: 64px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.file-preview-other .glyphicon {
  display: none;
}

.file-preview-status {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #333333;
  background-color: rgba(250, 250, 250, 0.8);
  border-top: 1px solid #ddd;
  padding: 7px 12px;
  font-size: 12px;
  color: #333333 !important;
}

.file-preview-status:empty {
  padding: 0;
  background-color: transparent;
  border: 0;
}

.file-thumb-loading:before,
.file-uploading:before {
  content: "";
  display: inline-block;
  background-color: #263238;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -16px 0 0 -16px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 5px rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 5px rgba(255, 255, 255, 0.5);
}

.file-thumb-loading:after,
.file-uploading:after {
  content: "\eb55";
  font-family: "icomoon";
  display: inline-block;
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  font-size: 16px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-animation: rotation 1s linear infinite;
  -o-animation: rotation 1s linear infinite;
  animation: rotation 1s linear infinite;
}

.file-upload-indicator {
  padding-top: 6px;
  padding-bottom: 6px;
  cursor: default;
  text-align: left;
  padding-left: 8px;
}

.file-input-new .file-preview,
.file-input-new .close,
.file-input-new .glyphicon-file,
.file-input-new .fileinput-remove-button,
.file-input-new .fileinput-upload-button {
  display: none;
}

.file-input-ajax-new .fileinput-remove-button,
.file-input-ajax-new .fileinput-upload-button,
.file-input-ajax-new .fileinput-remove,
.file-input-ajax-new .file-caption-name > [class*="icon-"],
.file-input-ajax-new .file-caption-name > .glyphicon {
  display: none;
}

.file-actions {
  margin-top: 5px;
  border-top: 1px solid #eeeeee;
}

.file-actions .btn > [class*="icon-"],
.file-actions .btn > .glyphicon {
  margin-right: 0;
}

.file-footer-buttons {
  float: right;
}

.file-footer-caption {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 160px;
  text-align: center;
  font-size: 11px;
  padding: 12px 7px 7px 7px;
  margin-left: auto;
  margin-right: auto;
}

.file-preview-error {
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.file-drop-zone {
  display: block;
  border: 1px dashed #ddd;
  border-radius: 3px;
  height: 100%;
  vertical-align: middle;
  margin: 5px;
  padding: 5px;
}

.file-drop-zone-title {
  color: #999999;
  font-size: 21px;
  font-weight: 300;
  padding: 85px 10px;
}

.file-highlighted {
  border-color: #ccc;
  background-color: #fafafa;
}

.file-thumb-progress {
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
}

.file-thumb-progress .progress,
.file-thumb-progress .progress-bar {
  height: 5px;
  border-radius: 0;
  font-size: 0;
}

.kv-upload-progress {
  margin-bottom: 20px;
}

.file-thumbnail-footer {
  position: relative;
}

.btn-file ::-ms-browse {
  width: 100%;
  height: 100%;
}

.hide {
  display: none !important;
}

mark,
.mark {
  padding: 0.2em;
  background-color: #222;
  color: #fff;
}

.btn-whastapp {
  color: #fff;
  border-color: #34b022 !important;
  background-color: #34b022 !important;
}

.navigation li {
  white-space: initial;
}

.thumbnail {
  display: block;
  padding: 3px;
  margin-bottom: 20px;
  line-height: 1.5384616;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  -webkit-transition: border 0.2s ease-in-out;
  -o-transition: border 0.2s ease-in-out;
  transition: border 0.2s ease-in-out;
}

.thumbnail {
  -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
  box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}

.thumb {
  position: relative;
  display: block;
  height: 100px;
  padding-top: 25px;
}

.thumb img:not(.media-preview) {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.thumb:not(.thumb-rounded) img {
  border-radius: 3px;
}

.fc-state-default.fc-corner-right {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.fc-state-default.fc-corner-right + .fc-corner-right {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

.font-size {
  font-size: 14px;
}

html body.bg-full-screen-image {
  background: url(/app-assets/images/backgrounds/bg-2.jpg) no-repeat center
    center fixed;
  -webkit-background-size: cover;
  background-size: cover;
}

.main-menu .navigation > li > a {
  display: flex !important;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.main-menu .navigation > li > a i {
  flex: 0 0 22px;
}

.main-menu .navigation > li > a .menu-title {
  flex: 1;
  min-width: 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  display: block;
}

@media print {
  body,
  table {
    background-color: transparent !important;
  }

  .page-header,
  .sidebar,
  .content-header,
  .main-menu,
  #accordionWrap3 {
    display: none !important;
  }

  body.vertical-layout.vertical-menu.menu-expanded .content,
  body.vertical-layout.vertical-menu.menu-expanded .footer {
    margin-left: 0px;
  }

  .btn,
  .fc-right,
  .fc-left {
    display: none;
  }

  .footer {
    display: none;
  }

  table tr {
    padding: 2px 0 !important;
    margin: 0 !important;
  }

  table tr td {
    font-size: 0.8rem;
    padding: 2px 0 !important;
    margin: 0 !important;
  }

  table tr th {
    font-size: 0.8rem;
    padding: 2px 0 !important;
    margin: 0 !important;
  }

  .panel {
    border: 0px #fff;
  }

  h3,
  h2 {
    font-size: 1rem !important;
    padding: 2px 0 !important;
    margin: 0px !important;
  }
}

.styled {
  cursor: pointer;
}

.p-01 {
  padding: 20px 0;
}

li {
  list-style-type: none;
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none !important;
  }
}

/* ===== PADRÃO VISUAL GLOBAL PARA TELAS DO SISTEMA ===== */
.app-content .content-wrapper {
  padding: 1.4rem 1.6rem;
}

.content-header {
  margin-bottom: 0.75rem;
}

.content-header-title {
  color: #1f2937;
  font-weight: 700;
}

.breadcrumb {
  color: #6b7280;
  font-size: 0.84rem;
}

.content-body > .row > [class*="col-"] > .card,
.content-body section > .row > [class*="col-"] > .card,
.content-body > section > [class*="col-"] > .card,
.content-body .card {
  border: 1px solid #d9dee3;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}

.content-body .card .card-body {
  padding: 1.25rem;
}

.content-body .panel,
.content-body .panel-flat,
.content-body .panel-heading,
.content-body .panel-body {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.content-body fieldset {
  background: #fff;
  /* border: 1px solid #d9dee3; */
  border-radius: 6px;
  margin-bottom: 1rem;
  padding: 1.2rem 1.2rem 1rem;
}

.content-body fieldset > legend {
  align-items: center;
  background: #fff;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  color: #2c303b;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.45rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  width: auto;
}

.content-body .form-group {
  margin-bottom: 0.95rem;
}

.content-body label {
  color: #4f566b;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.content-body .form-control,
.content-body .select2-container--default .select2-selection--single,
.content-body .select2-container--default .select2-selection--multiple,
.content-body .input-group-text {
  border-color: #cfd5df;
  border-radius: 4px;
}

.content-body .form-control:focus,
.content-body .select2-container--default.select2-container--focus .select2-selection--single,
.content-body .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #00b5b8;
  box-shadow: 0 0 0 0.12rem rgba(0, 181, 184, 0.14);
}

.content-body .form-control[readonly],
.content-body .form-control:disabled {
  background-color: #f4f5fa;
  color: #525a6b;
}

.content-body .select2-container {
  width: 100% !important;
}

.content-body .btn {
  border-radius: 4px;
  font-weight: 600;
}

.content-body .btn-xs,
.content-body .btn-sm {
  line-height: 1.35;
}

.content-body .btn-labeled > b {
  border-radius: 4px 0 0 4px;
}

.content-body .table-responsive {
  border: 1px solid #d9dee3;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: auto;
}

.content-body .table {
  margin-bottom: 0;
}

.content-body .table thead th,
.content-body .table thead td {
  background: #f4f5fa;
  border-bottom: 1px solid #d9dee3;
  color: #4f566b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.content-body .table tbody td {
  color: #374151;
  vertical-align: middle;
}

.content-body .table-hover tbody tr:hover {
  background-color: #f7fbfc;
}

.content-body .nav.nav-tabs {
  border-bottom: 1px solid #d9dee3;
  margin-bottom: 1rem;
}

.content-body .nav.nav-tabs .nav-link {
  border-radius: 4px 4px 0 0;
  color: #4f566b;
  font-weight: 600;
}

.content-body .nav.nav-tabs .nav-link.active,
.content-body .nav.nav-tabs .nav-link.show {
  color: #00a5a8;
}

.content-body #accordionWrap3,
.content-body [id^="accordionWrap"] {
  margin-bottom: 1rem;
}

.content-body #accordionWrap3 > .card,
.content-body [id^="accordionWrap"] > .card {
  border: 1px solid #d9dee3;
  border-radius: 6px;
  box-shadow: none;
  overflow: hidden;
}

.content-body #accordionWrap3 .card-header,
.content-body [id^="accordionWrap"] .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.85rem 1rem;
}

.content-body #accordionWrap3 .card-title,
.content-body [id^="accordionWrap"] .card-title {
  font-size: 1rem;
  font-weight: 700;
}

.content-body .alert {
  border-radius: 6px;
}

.content-body .pagination {
  margin-top: 1rem;
}

.content-body .pagination .page-link,
.content-body .pagination > li > a,
.content-body .pagination > li > span {
  border-radius: 4px;
  margin: 0 0.15rem;
}

.sistema-list-toolbar {
  align-items: center;
  background: #f8fbfc;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
}

.sistema-list-toolbar-title {
  color: #1f2937;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.sistema-list-toolbar-subtitle {
  color: #6b7280;
  display: block;
  font-size: 0.84rem;
  margin-top: 0.2rem;
}

.content-body #accordionWrap3 {
  background: #fff;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.content-body #accordionWrap3 > .card,
.content-body #accordionWrap3 .card.collapse-icon {
  border: 0;
  border-radius: 0;
  margin: 0;
}

.content-body #accordionWrap3 .card-header,
.content-body #accordionWrap3 #heading31,
.content-body #accordionWrap3 .bg-info {
  background: #00b5b8 !important;
  border: 0;
  border-radius: 0;
  color: #fff;
  padding: 8px;
}

.content-body #accordionWrap3 .card-title,
.content-body #accordionWrap3 .clientes-filter-header {
  align-items: center;
  color: #fff !important;
  display: flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: space-between;
  margin: 0;
  padding: 0.9rem 1rem;
  text-transform: none;
}

.content-body #accordionWrap3 .card-title::before {
  content: "\e97f";
  font-family: "icomoon";
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.content-body #accordionWrap3 .card-collapse,
.content-body #accordionWrap3 .border-info {
  border: 0 !important;
}

.content-body #accordionWrap3 .card-collapse > .card-content > .card-body,
.content-body #accordionWrap3 .clientes-filter-body {
  background: #fff;
  padding: 1rem;
}

.content-body #accordionWrap3 .form-group {
  margin-bottom: 0.85rem;
}

.content-body #accordionWrap3 .btn {
  min-width: 104px;
}

.content-body .sistema-form-padrao,
.panel-body > .sistema-form-padrao {
  background: #fff;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  padding: 1.15rem 1.15rem 0.25rem;
}

.content-body .sistema-form-padrao > .row:first-child,
.panel-body > .sistema-form-padrao > .row:first-child {
  border-top: 0;
  padding-top: 0;
}

.content-body .sistema-form-padrao > .row,
.panel-body > .sistema-form-padrao > .row {
  border-top: 1px solid #edf0f4;
  padding-top: 0.85rem;
}

.content-body .sistema-form-padrao fieldset,
.panel-body > .sistema-form-padrao fieldset {
  margin-left: -0.15rem;
  margin-right: -0.15rem;
}

.content-body .sistema-form-padrao .form-group.text-left:last-child,
.content-body .sistema-form-padrao .form-group.text-right:last-child,
.panel-body > .sistema-form-padrao .form-group.text-left:last-child,
.panel-body > .sistema-form-padrao .form-group.text-right:last-child {
  background: #f8fbfc;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  margin-top: 0.5rem;
  padding: 0.9rem;
}

.content-body .sistema-form-padrao p.text-danger,
.panel-body > .sistema-form-padrao p.text-danger {
  background: #fff5f5;
  border: 1px solid #f3c7c7;
  border-radius: 4px;
  color: #b42318 !important;
  display: inline-block;
  margin-bottom: 0;
  padding: 0.45rem 0.65rem;
}

 #accordionWrap3,
#accordionWrap3 > .card,
#accordionWrap3 .card.collapse-icon {
    overflow: visible !important;
}

.picker,
.picker__holder {
    z-index: 10050 !important;
}

@media (max-width: 767px) {
  .app-content .content-wrapper {
    padding: 1rem;
  }

  .content-body .card .card-body {
    padding: 1rem;
  }

  .content-body fieldset {
    padding: 1rem 0.9rem 0.9rem;
  }

  .content-header-right .btn-group {
    float: none !important;
    margin-top: 0.75rem;
  }

  .sistema-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-body #accordionWrap3 .btn {
    margin-bottom: 0.35rem;
    width: 100%;
  }
}
