@charset "UTF-8";

html,
body {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

body {
  background-color: #0e141b00 !important;
  background-repeat: no-repeat;
  background-position: center center;
  background-clip: padding-box;
  background-size: cover;
  background-attachment: fixed;
  font-size: 12px;
  font-family: "Quicksand", sans-serif;
}

.container {
  position: relative;
  height: 100%;
  margin: 0 auto;
}

header {
  background: transparent;
  padding: 5px;
  height: 80px;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  color: #fff;
  min-width: 1244px;
}

section {
  position: relative;
  height: auto;
  margin-top: 25px;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #000;
  margin: 1em 0;
  padding: 0;
}

.logo {
  float: left;
  width: 25%;
  max-width: 325px;
  height: 80px;
  text-align: left;
}


.titulo {
  float: left;
  width: 55%;
  color: #fff;
  font-size: 24px;
  padding: 15px 0;
  letter-spacing: 2px;
  font-weight: bold;
  font-family: "Arial", sans-serif;
  margin-left: 45px;
  margin-bottom: 30px;
}

.titulo>span,
.atendente>span {
  font-weight: bold;
}

.usuario {
  /*float: left;*/
  width: 25%;
  margin: 6px 0;
  position: absolute;
  right: 50px;
}

.usuario>.atendente {
  float: left;
  padding: 5px 0 5px 15px;
  line-height: 130%;
}

.usuario>.icone {
  float: left;
  margin-top: 8px;
}

.logout {
  position: absolute;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  right: 5px;
  color: #0e141b00;
  ;
}

.main-box {
  width: calc(100vw - 150px);
  /* Ou ajuste o valor conforme menu lateral */
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  box-sizing: border-box;
  padding: 24px;
  color: white;
  max-width: calc(100vw - 150px);

  /* sem min-height e sem height */
}

.main-box>.header {
  line-height: 15px;
}

.main-box>.header>.titulo>span {
  color: white;
  font-size: 24px;
}

.status {
  font-size: 12px;
  color: #fff;
  text-align: right;
  padding: 0 100px;
  clear: both;
}

.status>span {
  /*padding: 0 5px;*/
  cursor: pointer;
}

.current {
  padding: 5px 20px;
  background: transparent;
  border-radius: 5px;
  border: 1px solid #fff;
}

.filtro-current {
  padding: 0px 20px;
  background: transparent;
  border-radius: 5px;
  border: 1px solid #fff;
}

.v-espaco {
  height: 30px;
  clear: both;
}

.main-box>.data-box {
  height: 460px;
  padding: 0 8%;
  color: #fff;
}

.main-box>.data-box>.row-header {
  margin: 15px;
  font-size: 16px;
}

.main-box>.data-box>.row-header-atendente {
  margin: 15px;
  font-size: 16px;
  width: 1100px;
}

.grid {
  overflow-y: scroll;
  padding-right: 10px;
  height: 250%;
}

.main-box>.data-box>.grid>div {
  height: 74px;
  color: #000;
  font-size: 16px;
  padding: 20px 0px 30px 30px;
}

.bg-none {
  background: transparent;
}

.bg-claro {
  background-color: rgba(220, 220, 220, 0.8);
  border-radius: 10px;
}

.cell-default,
.cell-header {
  text-align: left;
  padding: 8px 10px;
  border-radius: 5px;
  height: auto;
  margin: 4px auto;
}

.cell-default {
  background: rgba(220, 220, 220, 0.8);
  color: #000;
}

.cell-header {
  background: rgba(131, 131, 131, 1);
  color: #fff;
}

a:link {
  text-decoration: none;
  color: #fff;
}

a:visited {
  color: #fff;
}

a:hover {
  color: rgba(55, 125, 255, 0.85);
}

/* Regra base de botões */
button {
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  height: 38px;
  padding: 0 16px;
  cursor: pointer;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
}


.col-menu {
  margin-top: 20px;
  width: 86px;
}

.cliente-menu {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.current-menu {
  background-color: rgba(14, 9, 9, 0.5);
}

.cliente-menu>a>img {
  /*width: 50px;*/
  padding-top: 10px;
}

.bubble {
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  text-align: center;
}

.bubble-on {
  background: #c7c7c7;
  color: #000;
}

.bubble-off {
  background: transparent;
  border: 2px solid #c7c7c7;
  color: #fff;
}

.btn-bubble,
.btn-bubble-on,
.btn-bubble-off {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  float: left;
  margin: 0 7px;
  padding: 0;
  cursor: pointer;
}

.btn-bubble-on,
.btn-bubble-off:hover {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-bubble-off,
.btn-bubble-on:hover {
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
}

.btn-bubble-default-off,
.btn-bubble-default-on:hover {
  color: #000;
  border: 2px solid #fff;
  background: transparent;
}

.btn-bubble-default-on,
.btn-bubble-default-off:hover {
  background-color: #fff;
  border: none;
  color: #000;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="time"],
input[type="email"],
select {
  width: 100%;
  height: 38px;
  margin: 3px;
  border-radius: 5px;
  border: none;
  padding-left: 10px;
  font-size: 1rem;
  color: #495057;
  box-sizing: border-box;
}



input[type="file"] {
  position: absolute;
  width: 0px;
  height: 0px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -moz-opacity: 0;
  -khtml-opacity: 0;
  filter: alpha(opacity=0);
  margin-bottom: 0;
  padding: 0;
  width: 0px;
  color: gray;
  border: none;
}

input[type="text"].bg-logo,
img.bg-logo {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.combobox {
  width: 150px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1;
  border: none;
  border-radius: 5px;
  height: 38px;
  background: url("../img/arrow_down.png") no-repeat right #ddd;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: 110px 0;
  color: gray;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
}

.check-field {
  width: 20px;
  height: 20px;
  background-color: rgb(255, 255, 255);
  float: left;
  margin-right: 20px;
  cursor: pointer;
  color: #000;
  text-align: center;
  font-weight: bold;
}

.select-user-bg {
  padding: 10px;
  cursor: pointer;
  width: 92%;
}

.select-user-screen {
  padding: 10px;
  cursor: pointer;
  width: 84%;
}

.statusbar {
  border: 1px solid #919191;
  height: 30px;
  border-radius: 3px;
}

/*------------------------------*\
    Grid System 3230
\*------------------------------*/
.row,
.column {
  box-sizing: border-box;
}

.row:before,
.row:after {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.column {
  position: relative;
  float: left;
}

.column+.column {
  margin-left: 1.6%;
}

.column-1 {
  width: 6.86666666667%;
}

.column-1-5 {
  width: 9%;
}

.column-2 {
  width: 15.3333333333%;
}

.column-3 {
  width: 23.8%;
}

.column-4 {
  width: 32.2666666667%;
}

.column-5 {
  width: 40.7333333333%;
}

.column-6 {
  width: 49.2%;
}

.column-7 {
  width: 57.6666666667%;
}

.column-8 {
  width: 66.1333333333%;
}

.column-9 {
  width: 74.6%;
}

.column-10 {
  width: 83.0666666667%;
}

.column-11 {
  width: 91.5333333333%;
}

.column-12 {
  width: 100%;
  margin-left: 0;
}

.row {
  margin-bottom: 10px;
}

.row:last-child {
  margin-bottom: 0;
}

#checkbox-dropdown-container {
  background: #99d3de;
  padding: 20px;
}

.custom-select {
  background: #fff url(downward-arrow.png) no-repeat center right 10px;
  display: inline-block;
  padding: 5px 15px;
  border: #80b2bb 1px solid;
  color: #3892a2;
  border-radius: 2px;
  width: 200px;
  cursor: pointer;
}

div#custom-select-option-box {
  background: #fff;
  border: #80b2bb 1px solid;
  color: #3892a2;
  border-radius: 2px;
  position: absolute;
  z-index: 1;
  display: none;
}

button.search.btn {
  background: transparent;
  border: #ffffff 1px solid;
  color: #ffffff;
  border-radius: 9px;
  /* antes: 2px */
  padding: 10px 40px;
  /* margin-top: 10px; */
  font-size: 12px;
}

.custom-select-option {
  width: 200px;
  padding: 5px 15px;
  margin: 1px 0px;
  cursor: pointer;
}

.result-list {
  padding-bottom: 20px;
  color: #4d4d4d;
  line-height: 25px;
}

.result-list-heading {
  font-style: italic;
  color: #717171;
  text-decoration: underline;
}

/* FIM GRID */


/* Tooltips personalizados para críticas */
.critica-tooltip {
  font-size: 13px;
  max-width: 300px;
}

.critica-tooltip .tooltip-inner {
  background-color: #2c3e50;
  color: white;
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
  line-height: 1.4;
}

.critica-tooltip .arrow::before {
  border-top-color: #2c3e50;
}

/* Tooltips específicos por prioridade */
.critica-tooltip.tooltip-critica .tooltip-inner {
  background-color: #e74c3c;
  border-left: 4px solid #c0392b;
}

.critica-tooltip.tooltip-critica .arrow::before {
  border-top-color: #e74c3c;
}

.critica-tooltip.tooltip-alta .tooltip-inner {
  background-color: #377dff;
  border-left: 4px solid #2c69d1;
}

.critica-tooltip.tooltip-alta .arrow::before {
  border-top-color: #377dff;
}

.critica-tooltip.tooltip-media .tooltip-inner {
  background-color: #3b9aff;
  border-left: 4px solid #3b9aff;
}

.critica-tooltip.tooltip-media .arrow::before {
  border-top-color: #3b9aff;
}


/* Botões de Ação Padronizados */
.btn-action {
  padding: 8px 15px;
  font-size: 12px;
  border: none;
  border-radius: 9999px;
  /* antes: 4px */
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 2px;
}

.btn-concluir {
  background-color: #28a745;
  color: white;
}

.btn-concluir:hover {
  background-color: #218838;
  transform: translateY(-1px);
}

.btn-excluir {
  background-color: #dc3545;
  color: white;
}

.btn-excluir:hover {
  background-color: #c82333;
  transform: translateY(-1px);
}

.btn-voltar {
  background-color: #6c757d;
  color: white;
}

.btn-voltar:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
}

/* Headers de Tabela - Azul Padronizado */
table th,
.table-header {
  background: #007bff !important;
  color: white !important;
  height: 20px;
  padding: 12px 8px;
  text-align: center;
  font-weight: 300;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  height: 20px !important;
  font-size: 14px !important;
}

/* Sobrescrever estilo laranja do style-hist.css */
.table-movcad th {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
  color: white !important;
}

/* Responsividade para headers */
@media (max-width: 768px) {

  table th,
  .table-header,
  .cell-header {
    height: 40px;
    padding: 8px 10px;
    font-size: 12px;
  }
}


.material-icons[title="Há novas mensagens"] {
  color: #4caf50;
  /* verde sutil */
}


/* ===== AJUSTE GLOBAL PARA COMBOS (SELECT) ===== */

/* Visual consistente e legível */
select {
  background-color: #ffffff !important;
  /* Fundo claro visível */
  color: #111 !important;
  /* Texto escuro legível */
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  padding: 6px 10px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;

  /* ⚙️ Mantém a seta padrão do sistema */
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;

  /* Remove imagem customizada */
  background-image: none !important;

  transition: all 0.2s ease-in-out;
  z-index: 999 !important;
}

/* Mantém visível em temas escuros e corrige contraste */
select option {
  background-color: #fff !important;
  color: #000 !important;
  font-size: 14px !important;
}

/* Corrige containers que cortam a lista suspensa */
/* .main-box,
.tab-pane,
.modal,
section,
.data-box,
.content {
  overflow: visible !important;
  z-index: auto !important;
} */

/* Realce de foco */
select:focus {
  border-color: #3b9aff !important;
  outline: none !important;
  box-shadow: 0 0 4px rgba(59, 154, 255, 0.4) !important;
}

/* Aparência do cursor e borda no hover */
select:hover {
  background-color: #fdfdfd !important;
  border-color: #bbb !important;
}

/* Corrige visual em tema escuro */
body.dark-mode select,
body.dark-mode select option {
  background-color: #2c2c2c !important;
  color: #f5f5f5 !important;
  border: 1px solid #555 !important;
}



/* ===== Indicador visual de tempo com ícone de relógio ===== */
.clock-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  text-align: center;
  width: 60px;
  cursor: help;
}

/* Ícone do relógio */
.clock-phase i {
  font-size: 28px;
  transition: all 0.3s ease;
}

/* Verde — tempo recente */
.phase-green i {
  color: #4caf50;
  animation: rotateClock 6s linear infinite;
}

/* Amarelo — intermediário */
.phase-yellow i {
  color: #ffc107;
  animation: rotateClock 4s linear infinite;
}

/* Vermelho — crítico */
.phase-red i {
  color: #f44336;
  animation: rotateClock 2s linear infinite;
}

/* Texto da hora */
.clock-phase span {
  color: #fff;
  font-weight: 500;
}

/* ===== Animações ===== */
@keyframes rotateClock {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseClock {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

@keyframes shakeClock {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-2px);
  }

  75% {
    transform: translateX(2px);
  }
}

/* UIkit: força arredondamento quando .uk-button estiver em uso */
.uk-button {
  border-radius: 9999px !important;
}