:root {
  --customer-blue: #2295ac;
  --customer-blue-hover: #176b7c;
  --custom-ui-background-default-color: #2295ac;
}

.tabela-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabela-scroll table {
  min-width: 1000px; /* largura mínima da tabela para ativar scroll */
  table-layout: fixed; /* força colunas com larguras iguais */
}

.tabela-scroll th,
.tabela-scroll td {
  width: 230px; /* 100% dividido igualmente entre 9 colunas */
}

.w-100 {
  width: 100% !important;
}

.table-custom-scroll-min-width {
  width: 100%; /* Ou uma largura total fixa, se preferir */
  table-layout: fixed; /* Força o navegador a respeitar as larguras definidas */
  border-collapse: collapse;
}

.table-custom-scroll-min-width th, 
.table-custom-scroll-min-width td {
  min-width: 180px !important; /* Define o tamanho mínimo de cada coluna */
  width: 180px;     /* Garante que elas comecem com esse tamanho */
  
  /* Opcional: Garante que textos longos não quebrem o layout */
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap; 
}

html {
  margin: 0px;
  padding: 0px;
  height: 100vh;
  font-family: Calibri, Arial, Helvetica, sans-serif;
  background-color: #eee;
}

body {
  padding: 0px;
  margin: 0px;

  display: flex;
  flex-direction: column;

  height: 100%;
  width: 100%;
  font-family: "Product Sans", Calibri, Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none !important;
}

.box-linha-janela {
  padding: 8px 0px;
  margin: 0 4px;
}

.box-linha-janela.com-linha {
  border-bottom: 1px solid #ccc;
}

.panel > .panel-heading {
  color: #ffffff !important;
  background-color: var(--customer-blue) !important;
}

.panel > .panel-heading i {
  color: #ffffff !important;
}

.md-toolbar-tools {
  color: #ffffff !important;
  background-color: var(--customer-blue) !important;
}

.md-toolbar-tools i {
  color: #ffffff !important;
}

.text-white {
  color: #ffffff !important;
}

.toast-top-center {
  margin-top: 20px;
}

.show-print {
  display: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px;
  height: 60px;
  width: 100%;

  position: sticky;
  z-index: 8;
  top: 0;
  left: 0;

  background-color: #ffffff;
}

.btn-close-sidebar {
  position: absolute;
  top: 15px;
  right: 15px;

  color: var(--customer-blue);
}

.btn-close-sidebar:hover {
  color: var(--customer-blue-hover);
}

.main {
  display: flex;
  width: 100%;

  background-color: #ffffff;
}

.panel > .panel-heading {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel > .panel-heading div {
  gap: 16px;
  display: flex;
  align-items: center;
}

.icone-click {
  cursor: pointer;
}

.icone-click-modal {
  cursor: pointer;
  margin: 0 6px;
}

.row label {
  padding-top: 8px !important;
}

/* Menu Lateral */
.sidebar {
  position: sticky;
  z-index: 9;
  top: 0;

  height: 100vh;
  width: 60px;

  overflow-y: auto;
  transition: 0.3s ease-in-out;

  background-color: #ffffff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.sidebar > a img {
  padding: 8px;
}

.sidebar.active > a img {
  padding: 30px;
}

.sidebar.active {
  width: 300px;
}

.sidebar ul {
  list-style: none;
  padding: 0px;
  margin: 0px;

  width: 100%;
}

.sidebar ul li a {
  height: 55px !important;
  text-decoration: none;
  font-size: 1.6rem;
  padding: 0px 18px;
  height: 100%;
  width: 100%;

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

  color: var(--customer-blue);
}

.sidebar ul li a:hover {
  color: var(--customer-blue-hover);
  background-color: #ededed;
}

.sidebar.active ul li a {
  justify-content: left;
}

.sidebar ul li a span {
  display: none;
}

.sidebar.active ul li a span {
  display: block;
}

.sidebar ul li ul li a {
  padding-left: 35px !important;
}

.sidebar ul li ul {
  display: none;
  background-color: #ebebeb4a;
}

.sidebar ul li ul.active {
  display: block;
}

.sidebar ul li a.active {
  color: var(--customer-blue-hover);
  background-color: #ededed;
}

.conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;

  position: relative;
  min-height: 100vh;
  width: 85%;

  background-color: #f2f2f2;
}

.conteudo.active {
  width: 97%;
}

.conteudo > fieldset {
  padding: 15px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0px 20px;
  width: 100%;
  height: 60px;

  position: absolute;
  bottom: 0;
  left: 0;

  color: #ffffff;
  background-color: #333333;
}

/* Custom */
.d-flex {
  display: flex;
  align-items: center;
}

.data-loading {
  z-index: 1000;
  width: 100%;
  height: 100%;

  text-align: center;
  position: fixed;
  left: 0;
  top: 0;

  background-color: rgba(32, 32, 32, 0.3);
}

.data-loading i {
  position: relative;
  font-size: 144px;
  top: 45%;

  color: var(--customer-blue);
}

.fundo-trader {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  height: 100vh;
  width: 100%;

  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.tooltip {
  position: fixed !important;
}

/* Fale Conosco */
.sidebar.active .box-suporte > li {
  display: none;
}

.sidebar .box-suporte > li {
  display: block;
}

.sidebar.active .box-suporte > div {
  display: block;
}

.sidebar .box-suporte > div {
  display: none;
}

.box-suporte {
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.box-suporte > div {
  margin: 20px;
  padding: 2px 2px 20px 2px;
  border-radius: 8px;
  background-color: rgba(100, 100, 111, 0.2);
}

.box-suporte > div a {
  color: #ffffff;
  text-decoration: none !important;

  padding: 8px 16px;
  border-radius: 50px;
  background-color: var(--customer-blue);
}

.box-suporte > div a:hover {
  color: #f2f2f2f2;
  background-color: var(--customer-blue-hover);
}

.hidden-desktop {
  display: none;
}

md-tabs.md-default-theme .md-tab.md-active,
md-tabs .md-tab.md-active,
md-tabs.md-default-theme .md-tab.md-active md-icon,
md-tabs .md-tab.md-active md-icon,
md-tabs.md-default-theme .md-tab.md-focused,
md-tabs .md-tab.md-focused,
md-tabs.md-default-theme .md-tab.md-focused md-icon,
md-tabs .md-tab.md-focused md-icon {
  color: var(--customer-blue) !important;
}

md-tabs.md-default-theme md-ink-bar,
md-tabs md-ink-bar {
  background: var(--customer-blue) !important;
  color: var(--customer-blue) !important;
}

.cards-grid-custom {
  width: calc(50%);
}

.masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .masonry {
    grid-template-columns: 1fr;
  }
}

.card {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .cards-grid-custom {
    width: calc(100% - 0px);
  }
}

@media (max-width: 820px) {
  .sidebar {
    position: fixed;
    width: 0px;
  }

  .sidebar.active {
    width: 300px;
  }

  .hidden-desktop {
    display: block;
  }
}

/* PRINT */
@media print {
  .no-print,
  .no-print * {
    display: none !important;
  }

  tr {
    font-size: 0.8em !important;
  }

  .show-print {
    display: flex !important;
  }

  .toast {
    display: none !important;
  }
}
/* Custom input select */
.custom-select-box {
  position: relative;
  width: 450px;
}

.custom-dropdown {
  position: fixed;
  width: auto;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 999;
  max-height: 250px;
  overflow-y: auto;
}

.custom-option {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.custom-option:hover {
  background: #e9e9e9;
}

.option-title {
  font-size: 14px;
  font-weight: bold;
  color: #222;
}

.option-detail {
  margin-top: 5px;
  color: #444;
  font-size: 12px;
}

.option-detail small {
  display: block;
  color: #777;
}

.table-responsive-custom {
  overflow-x: visible !important;
}

.label {
  font-weight: 400 !important;
}

.badge {
  font-weight: 400 !important;
}


/* ---------- Step ---------- */
.step-wizard {
  display: table;
  width: 100%;
  position: relative;
}

.step-item {
  display: table-cell;
  text-align: center;
  position: relative;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #d9d9d9;
  color: #999;
  font-size: 18px;
  font-weight: bold;
  line-height: 42px;
  margin: 0 auto 12px;
  position: relative;
  z-index: 2;
}

.step-item.active .step-circle {
  background: var(--customer-blue);
  color: #fff;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: #999;
  margin-bottom: 4px;
}

.step-item.active .step-title,
.step-item.completed .step-title {
  color: #333;
}

.step-subtitle {
  font-size: 12px;
  color: #aaa;
}

.step-line {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #d9d9d9;
  z-index: 1;
}

.step-line-inner {
  height: 100%;
  background: var(--custom-ui-background-default-color);
  width: 0%;
  transition: width .3s ease;
}

.step-line-inner.step1 {
  width: 10% !important;
}

.step-line-inner.step2 {
  width: 30% !important;
}

.step-line-inner.step3 {
  width: 56% !important;
}

.step-line-inner.step4 {
  width: 80% !important;
}

.step-line-inner.step5 {
  width: 100% !important;
}

.has-error input {
  border: 1px solid #a94442 !important;
}

.select2-container--default .select2-selection--single {
  height: 34px !important;
}