@import "../assets/css/inter.css";

* {
  font-family: "Inter", sans-serif;
}

:root {
  --light-grey: #eeeeee;
  --main-primary: #6204bf;
  --main-dark: #48038c;
  --light-red-1: #fef3f3;
  --background: #f4f4f5;
  --stroke-1: #e6e6e6;
  --stroke-2: #dedede;
  --stroke-red: #fde7d3;
}

div[data-module="business_care"] {
  --main-primary: #6204bf;
  --main-dark: #48038c;
}

div[data-module="service_care"] {
  --main-primary: #ff6600;
  --main-dark: #cf5300;
}

div[data-module="view_care"] {
  --main-primary: #13ad5b;
  --main-dark: #0c6837;
}

/*Tarja Homologação*/

#avisohml {
  position: fixed;
  top: 0px;
  width: 100%;
  background-color: yellow;
  text-align: center;
  z-index: 9;
  height: 45px;
}

/* required*/
.doc-required {
  color: #e70e0e;
}

/*Paineis Principais*/

.main-panel {
  width: 100%;
  margin: auto;
}

body {
  padding-top: 80px;
}

/*Menu Principal*/

@media only screen and (min-width: 768px) and (max-width: 1366px) {
  .navbar .collapse .navbar-nav .nav-item .nav-link {
    font-size: 9px;
  }

  #logo_servicecare {
    width: 100px;
  }
}

#photo2 img {
  margin-left: 15px;
  margin-right: 15px;
  width: 50px;
  cursor: pointer;
}

.dropdown-menu a:active {
  background-color: var(--light-grey) !important;
}

.nav-link {
  padding: 10px 5px !important;
}

/*New SideBar*/

main {
  --header-height: 50px;

  margin: var(--header-height) 0 0 0;
  font-family: "Muli", sans-serif;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fafafa;
  display: flex;
  z-index: 9;
}

.header__button {
  width: var(--header-height);
  flex-shrink: 0;
  background: none;
  outline: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.nav__links {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  height: 100vh;
  width: 250px;
  background: #ffffff;
  transform: translate(-250px, 9%);
  transition: transform 0.3s;
}

.nav--open .nav__links {
  transform: translateX(0);
  transform: translateY(9%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.nav__link {
  display: flex;
  align-items: center;
  color: #666666;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 15px;
  background: transform 0.2s;
}

.nav__link>i {
  margin-right: 15px;
}

.nav__link--active {
  color: #009578;
}

.nav__link--active,
.nav__link:hover {
  background: #eeeeee;
}

.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(2px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav--open .nav__overlay {
  visibility: visible;
  opacity: 1;
}

/*Equipamentos*/

#lista_imagens_equipamentos img {
  height: 140px;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

/*Linhas das tabelas agora são clicaveis*/

tr:hover {
  background-color: #eaeaea !important;
}

/*Custom Checkbox*/

.container-checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover input~.checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked~.checkmark {
  background-color: #e70e0e;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*Custom File Upload*/

#fileToUploadIcms {
  display: none;
}

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 2px;
  cursor: pointer;
  background: #e7e7e7;
  color: black;
}

/*Cards das categorias de produtos e serviços nos clientes*/

.card-categoria {
  background: rgba(218, 218, 218, 0.5);
  width: 25%;
  border: 1px solid rgb(194, 194, 194);
  border-radius: 10px;
  padding: 0.4rem;
  max-height: 2.5rem;
  justify-content: center;
  margin-right: 2%;
}

.card-categoria p {
  text-align: center;
  color: black;
  font-size: 20px;
  cursor: pointer;
}

.card-categoria i {
  cursor: pointer;
  font-size: 17px;
  transform: translate(100%, 12%);
}

/* Logo Contratos */

.row-logo {
  height: 40%;
  background: transparent !important;
}

/* .card-logo {
  background: transparent !important;
  display: grid;
  place-items: center;
}

.card-logo img {
  width: 100px;
} */

#cliente_logo {
  text-align: center;
  justify-content: right;
}

#cliente_logo img {
  max-width: 120px;
}

/* Icone cliente dashboard */

.footer .icon-footer {
  overflow: hidden;
  position: absolute;
  background-size: contain;
  width: 100%;
  left: 97%;
  top: 90%;
}

.icon-footer .icon {
  float: left;
  width: 51px;
  height: 51px;
  position: fixed;
  cursor: pointer;
  background-color: var(--main-primary);
  display: flex;
  text-align: center;
  right: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
}

.alcada-aprovacao {
  cursor: pointer;
  transition: 400ms;
}

.alcada-aprovacao:hover {
  transform: scale(1.4);
}

.side-menu {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 10px;
  background-color: white;
  height: 100vh;
  width: 80px;
  border-right: 2px solid rgba(200, 200, 200, 0.4);
  z-index: 1031;
}

#categorias {
  display: flex;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  height: 180px;
}

.categoriaMenu {
  display: flex;
  height: 50px;
  width: 50px;
  border-radius: 100%;
  /* border: var(--border-2); */
  /* border: 1px solid var(--main-primary) !important; */
  /*     color: var(--main-primary) !important;
  background-color: var(--stroke-red) !important; */
  text-align: center;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

#botao_business_care {
  color: #5300fd;
  background-color: #e0d3fd;
  border: 1px solid #5300fd;
}

#botao_business_care:hover {
  border: 1px solid #5300fd !important;
}

#botao_service_care {
  color: #ff6600;
  background-color: #fde7d3;
  border: 1px solid #ff6600;
}

#botao_service_care:hover {
  border: 1px solid #ff6600 !important;
}

#botao_view_care {
  color: #13ad5b;
  background-color: #d3fddf;
  border: 1px solid #13ad5b;
}

#botao_view_care:hover {
  border: 1px solid #13ad5b !important;
}

.categoriaMenu.desativada {
  /* opacity: 0.4; */
  border: 1px solid var(--gray-30) !important;
  color: var(--gray-40) !important;
  background-color: var(--white) !important;
}

.categoriaMenu:hover {
  border: 1px solid var(--main-primary) !important;
  /* color: var(--main-primary) !important; */
  /* background-color: var(--stroke-red) !important; */
}

.systemversion {
  position: absolute;
  bottom: 10px;
  text-decoration: none;
  color: #aaa;
}

.escondida {
  display: none !important;
}

.menu-desativado {
  display: none !important;
}

#personDiv {
  display: flex;
}

.detectionSwitch {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 2px solid rgb(0, 0, 0, 0.8);
  box-shadow: -2px 3px 5px rgb(0, 0, 0, 0.5);
  /* cursor: pointer; */
}

#detectionZoneDiv,
#detectionSwitchDiv {
  display: grid;
  grid: auto / auto;
  justify-content: center;
  padding-top: 10px;
}

.detectionZone {
  height: 30px;
  width: 30px;
  border-radius: 100%;
  border: 2px solid rgba(0, 0, 0, 0.8);
  text-align: center;
  font-weight: bold;
}

.dzAtivo {
  border: 2px solid rgb(255, 255, 255, 0.2);
  box-shadow: -2px 3px 5px rgb(255, 0, 0, 0.7);
}

#dataGridDeteccao {
  display: grid;
  grid: auto / auto auto;
  gap: 5px;
}

#silhuetaDeteccao {
  width: 33%;
  display: block;
}

#detectionSenseDiv {
  display: grid;
  width: 100%;
  gap: 4px;
  margin-left: 10px;
}

.progress {
  height: 20px !important;
}

.progressRange {
  width: 90% !important;
  padding: 10px 0px !important;
}

#selectMetal {
  text-align: center;
}

#selectMetal option {
  text-align: center;
  text-justify: center;
}

.senseInput {
  width: 17%;
  background-color: transparent;
}

#dataGrid2 .card-header {
  height: 100%;
  width: 100%;
}

.result {
  margin-bottom: 0 !important;
  margin-left: 5px;
}

.graphLegenda {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.graphLegendaCor {
  width: 50px;
  height: 10px;
  margin-bottom: 0.5rem;
  box-shadow: 5px 5px 5px rgb(0, 0, 0, 0.4);
  margin-inline: 10px;
}

#gridSenses {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

#personPicAndData {
  width: 500;
  margin-top: 30px;
  background-repeat: no-repeat;
  background-size: 250px;
  display: grid;
  grid: auto/ auto auto;
  justify-content: space-between;
}

#mainDivPainelVc {
  display: grid;
  grid: auto / 50% auto;
  gap: 10px;
  grid-template-areas:

    "cards1 person";
}

#dataGrid1 {
  display: grid;
  grid-template-columns: 24% auto auto;
  grid-template-areas:
    "cvc1 cvc2 cvc2"
    "cvc3 cvc4 cvc5"
    "cvc6 cvc7 cvc8";
  gap: 10px;
  grid-area: cards1;
}

#dataGrid1 .card {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

#dataGrid2 {
  display: grid;
  grid-template-areas:
    "cvc25 cvc25 cvc26 cvc27";
  gap: 8px;
  margin-bottom: 10px;
}

#dataGrid2 .card {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.dadoGrid {
  text-align: center;
}

.cardDetalhamento {
  text-align: center;
  padding-top: 0px !important;
}

/* RESOLUÇÃO PARA NOTEBOOK */



@media (max-width: 1000px) {
  #mainDivPainelVc {
    display: block !important;
  }

  .header {
    background: green;
  }
}

@media (max-width: 400px) {
  .header {
    background: blue;
  }

  #table-cabecalho-vc {
    display: none;
  }

  #mainDivPainelVc {
    display: block !important;
  }
}

#periodo-grafico {
  display: block;
}

.graficoData {
  color: rgb(175, 175, 175) !important;
}

.dados-grafico {
  display: grid;
  grid: auto / auto auto auto auto;
  gap: 10px;
  margin-top: 5%;
}

.controlador_link:hover {
  cursor: pointer;
  color: #6204bf !important;
}

#myChartControlador {
  width: 50%;
}

.flexDivVC {
  display: flex;
  align-items: center;
  justify-content: right;
}

.flexDivVCItem {
  display: flex;
  /* align-items: center; */
  margin-left: 5px;
}

.flexDivVC i {
  font-size: 1.3rem !important;
}

.flexDivVC h3 {
  color: black;
  margin: 0;
}

.graficoControladorVazio {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.cardEquipGrid {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "entradas saidas bloqueios"
    "desbloqueios bateria tensao";
  /* padding-top: 30px !important; */
  justify-items: center;
  align-items: center;
  /* max-height: 150px; */
}


.cardControlGrid {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template:
    "porta abertura autorizador"
    "taxaComunicacao taxaComunicacao taxaComunicacao";
  /* padding-top: 30px !important; */
  max-height: 150px;
  justify-items: center;
  align-items: center;
}

.cardEquipIndicadorTitle {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.cardEquipIndicadorTitle h5 {
  margin: 0px;
}

.cardEquipIndicadorSLA {
  display: block;
}

.cardEquipIndicadorSLA label {
  margin: 0px;
}

.cardEquipIndicador {
  text-align: center;
  height: 30px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 95px;
}

.cardEquipIndicador h6 {
  margin-top: 10px;
}

.flexContainerControlador {
  display: flex;
  text-align: center;
  justify-content: center;
}

#controladorGrid {
  display: grid;
  grid-template:
    "grid1 grid3"
    "grid2 grid3";
  gap: 50px;
}

body::-webkit-scrollbar {
  width: 12px;
  /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: var(--light-grey);
  /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: var(--main-primary);
  /* color of the scroll thumb */
  border-radius: 20px;
  /* roundness of the scroll thumb */
  border: 3px solid var(--light-grey);
  /* creates padding around scroll thumb */
}

.monitor_card {
  text-decoration: none;
  color: black;
}

.monitor_card:hover {
  color: var(--main-primary);
}

.monitor_card_title {
  text-transform: none;
}

#cards-agencia {
  display: grid;
  grid: auto / 32% 33% 32%;
  justify-content: space-between;
  gap: 1.5%;
}

/* #detectionSenseDiv div {
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
} */

#lista_ocorrencias_dasboard {
  overflow-y: scroll;
  max-width: 100%;
}

.border-bottom {
  border-bottom: 1px solid var(--gray-40);
  padding: 20px 0px;
}

#cadastro_prestadores .top-tabs-container label {
  /* background-color: var(--main-primary); */
  color: #000;
  display: inline-block;
  cursor: pointer;
  padding: 15px 30px;
  font-size: 14px;
  border-radius: 5px 5px 0px 0px;
  cursor: pointer;
  margin: 0px;
  font-weight: 500;
}

#cadastro_prestadores .top-tabs-container {
  background-color: #fff;
  transition: 300ms;
  border: 1px solid #e6e6e6 !important;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0px 8px !important;
}

#cadastro_prestadores .top-tabs-container label:hover {
  background-color: var(--main-primary);
  color: var(--white);
}

#cadastro_prestadores .top-tabs-container label:active {
  color: var(--main-primary);
}

#cadastro_prestadores .tab-radio {
  display: none;
}

#cadastro_prestadores .sub-tab-content {
  padding: 20px;
}

#cadastro_prestadores .sub-tabs-container {
  background-color: var(--white) !important;
  transition: 300ms;
}

#cadastro_prestadores .sub-tab-content,
#cadastro_prestadores .tab-content {
  display: none;
}

#cadastro_prestadores .tab-radio:checked+.tab-content,
#cadastro_prestadores .tab-radio:checked+.sub-tab-content {
  display: block;
  min-height: calc(100vh - 250px);
}

#cadastro_prestadores .sub-tabs-container label {
  color: var(--gray-40);
  padding: 10px 20px;
  margin: 0px 10px 0px 0px;
  font-weight: 500;
  text-align: center;
}

#cadastro_prestadores .sub-tabs-container label:active {
  color: var(--stroke-2) !important;
}

#cadastro_prestadores .sub-tabs-container label:hover {
  cursor: pointer;
}

#cadastro_prestadores .tab-content {
  background-color: var(--white);
  border: 1px solid #ddd;
  border-radius: 0px 0px 8px 8px;
}

.box_rede_atendimento {
  padding: 15px;
  background-color: var(--stroke-red);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.box_rede_content {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 20px;
}

.box_area_rede {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #ff6600;
}

.box_rede_title {
  color: #ff6600 !important;
}

.aprovar {
  color: #13ad5b;
}

.recusar {
  color: #ff7575;
}

.centered-screen-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90vh;
}

#novoParqueAtuacaoModal .form-select-equipment,
#novoParqueAtuacaoModal .form-control-equipment {
  height: 38px;
}

#novoParqueAtuacaoModal .form-select-equipment {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#novoParqueAtuacaoModal .form-control-equipment {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#novoParqueAtuacaoModal .form-control-equipment:disabled {
  background-color: var(--bs-secondary-bg);
  color: var(--bs-disabled-color);
}

#novoParqueAtuacaoModal .form-control-equipment:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.loadingModalBusinessCare {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.2);
}

.loadingModalBusinessCare:before,
.loadingModalBusinessCare:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-width: 0.5rem;
  border-color: transparent;
  border-style: solid;
  border-radius: 50%;
}

.loadingModalBusinessCare:after {
  width: 6rem;
  height: 6rem;
  border-left: 0.5rem solid #6204bf;
  border-top: 0.5rem solid #6204bf;
  animation: rotate 600ms linear infinite;
}

.loadingModalBusinessCare:before {
  width: 2rem;
  height: 2rem;
  border-left: 0.5rem solid #48038c;
  border-top: 0.5rem solid #48038c;
  animation: rotate 1s linear reverse infinite;
}

.top-banner {
    position: fixed;
    bottom: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 1031;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-banner .btn-close {
    opacity: 0.8;
}

.top-banner .btn-close:hover {
    opacity: 1;
}

.banner-close-btn {
    margin-left: auto;
    margin-right: 15px;
    opacity: 0.9;
}

.banner-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.comment-os-item {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-os-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.comment-os-author {
  color: #6c757d;
  font-size: 0.85rem;
}

.comment-os-date {
  color: #6c757d;
  font-size: 0.85rem;
}

.comment-os-text {
  word-wrap: break-word;
  color: #333;
}

.comment-call-item {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.comment-call-author {
  color: #6c757d;
  font-size: 0.85rem;
}

.comment-call-date {
  color: #6c757d;
  font-size: 0.85rem;
}

.comment-call-text {
  word-wrap: break-word;
  color: #333;
}