:root {
  /* === THEME TOKENS (Standardized) === */
  --color-bg-base: #eaeef3;
  --color-bg-surface: #ffffff;
  --color-bg-accent: #bd9a43;
  --color-text-primary: #222222;
  --color-text-secondary: #555555;
  --color-border: #dee2e6;
  --color-success: #3a6604;
  --color-danger: #955251;

  /* === EXISTING VARIABLES === */
  --bg-color: var(--color-bg-base);
  --surface-color: var(--color-bg-surface);
  --text-primary: var(--color-text-primary);
  --text-secondary: var(--color-text-secondary);
  --accent-color: var(--color-bg-accent);
  --accent-light: #faf6c5;
  --accent-dark: #614809;
  --bg-menu: #beaa76;
  --bg-submenu: #f2efce;
  --border-color: #dee2e6;
  --bg-glass-form: rgba(255, 255, 255, 0.45);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --violet: #6b5b95;
  --marsala: #955251;
  --blue-brand: #34568b;
  --sorbet: #d2386c;
  --rust: #b55a30;
  --willow: #a0997e;
  --willow-dark: #9a8b4f;
  --verde: #3a6604;
  --verde-dark: #345a06;
}

/* Global Header Fixes (Restoring ERP standard height) */
.avatar-header {
  width: 45px !important;
  height: 45px !important;
  object-fit: cover;
}

.navbar {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  z-index: 10000 !important;
  overflow: visible !important;
}

.navbar-custom-gradient {
  background-image: linear-gradient(
    to bottom right,
    var(--accent-light),
    var(--accent-color)
  ) !important;
}

.sidebar-toggle-link {
  padding: 10px 15px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 70px;
}

.navbar-nav .nav-link {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.header-logo-svg {
  width: 300px;
  height: 50px;
}

.preloader-inner-logo {
  width: 50px;
}

.preloader-logo-svg {
  height: 70px;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow: hidden;
  background-color: var(--bg-color);
  background-image: radial-gradient(
    ellipse at top,
    var(--accent-light) 0%,
    var(--bg-color) 60%
  ) !important;
  color: var(--text-primary);
}

@media only screen and (max-width: 700px) {
  body {
    background-size: 50%;
  }
}

/*!Sobrescrevendo o modal do bootstrap*/
.modal-large,
.modal-xl {
  max-width: 95vw;
 
}

.modal-header {
  color: var(--text-secondary);
  font-size: 25px;
  text-transform: uppercase;
}

/*?INÍCIO DA CUSTOMIZAÇÃO NAVBAR SITE ***/

ul {
  list-style: none;
}

nav a:link {
  text-decoration: none;
}

.nav-list {
  text-decoration: none;
  display: flex;
}

.nav-list li {
  line-height: 1.1rem;
  position: relative;
}

/*
.sidebarSite {
    border-radius: 15px 3px 15px;
    background: rgb(250, 246, 197);
    background: linear-gradient(90deg, rgba(250, 246, 197, 1) 10%, rgba(189, 154, 67, 1) 90%);
}
    */

.menu-shop {
  border-radius: 30px;
  background-color: var(--bg-menu);
  transition: all 0.4s ease-out !important;
}

.menu-shop:hover {
  color: var(--bg-submenu);
  background-color: var(--accent-color);
}

.nav-list a {
  display: block;
  color: var(--text-primary);
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 650ms;
}

.sub-menu {
  width: 15rem;
  display: block;
  position: absolute;
  border-top: 3px solid var(--accent-dark);
  border-left: 3px solid var(--accent-dark);
  background-color: var(--bg-submenu);
  top: 16rem;
  opacity: 0;
  visibility: hidden;
  transition: all 650ms ease;
  z-index: 1;
}

.sub-menu li {
  background-color: var(--bg-submenu);
  z-index: auto;
}

/*triangulo superior*/
.sub-menu::before {
  content: "";
  position: absolute;
  top: -2rem;
  border: 1.2rem solid transparent;
  /*border-color: #28a745;*/
  border-bottom-color: var(--accent-dark);
  border-left-width: 60px;
  border-right-width: 60px;
  border-top-width: 1.4rem;
  border-bottom-width: 1.6rem;
  z-index: -1;
}

/*Trinângulo esquerdo do menu*/
.sub-menu .sub-menu::before {
  top: 0rem;
  left: -2rem;
  border: 1rem solid transparent;
  border-right-color: var(--accent-dark);
}

.sub-menu .sub-menu {
  border-top: none;
  border-left: 3px solid var(--accent-dark);
  top: 0;
  left: 160%;
}

.sub-menu li {
  line-height: 1.2rem;
}

.sidebarSite {
  background-color: var(--surface-color);
  height: 100vh;
}

@media only screen and (min-width: 700px) {
  .nav-list li:hover > .sub-menu {
    top: 2.5rem;
    opacity: 1;
    visibility: visible;
  }

  .sub-menu li:hover {
    margin-left: -2.5rem;
    padding-left: 2.5rem;
    background-color: var(--accent-color);
  }

  .sub-menu li:hover > .sub-menu {
    top: 0;
    left: 100%;
  }

  .sidebarSite ul a {
    margin-left: -40px;
  }
}

@media only screen and (max-width: 700px) {
  .sidebarSite {
    background-color: var(--surface-color);
    height: 100vh;
  }

  .level-first {
    top: 100vh;
  }

  .nav-list li > .sub-menu {
    opacity: 1;
  }

  .sub-menu .sub-menu {
    left: -50%;
    transition: all 5ms ease;
  }

  .sub-menu .level-second {
    top: 0;
    left: -50%;
    transition: all 50ms ease;
  }

  .sub-menu .level-third {
    transition: all 50ms ease;
  }

  .sub-menu li:hover > .sub-menu {
    top: 0;
    left: 0;
    visibility: visible;
    position: relative;
    transition: all 650ms ease;
  }

  .sub-menu li:hover {
    background-color: var(--accent-color);
    animation: sub-back 650ms ease;
  }

  .sub-menu::before {
    opacity: 0;
    transition: all 5ms ease;
  }

  @keyframes sub-back {
    from {
      background-color: var(--accent-light);
    }

    to {
      background-color: var(--accent-color);
    }
  }
}

/*?FINAL DA CUSTOMIZAÇÃO NAVBAR SITE ***/

/***INÍCIO DAS CORES PERSONALIZADAS DOS BOTÕES***/

.violet {
  color: var(--violet) !important;
  border: 1px solid var(--violet);
  background-color: transparent;
}

.violet:hover {
  background-color: var(--violet);
  color: white !important;
}

.marsala {
  color: var(--marsala) !important;
  border: 1px solid var(--marsala);
  background-color: transparent;
}

.marsala:hover {
  background-color: var(--marsala);
  color: white !important;
}

.blue {
  color: var(--blue-brand) !important;
  border: 1px solid var(--blue-brand);
  background-color: transparent;
}

.blue:hover {
  background-color: var(--blue-brand);
  color: white !important;
}

.sorbet {
  color: var(--sorbet) !important;
  border: 1px solid var(--sorbet);
  background-color: transparent;
}

.sorbet:hover {
  background-color: var(--sorbet);
  color: white !important;
}

.rust {
  color: var(--rust) !important;
  border: 1px solid var(--rust);
  background-color: transparent;
}

.rust:hover {
  background-color: var(--rust);
  color: white !important;
}

.willow {
  color: var(--willow) !important;
  border: 1px solid var(--willow-dark);
  background-color: transparent;
}

.willow:hover {
  background-color: var(--willow-dark);
  color: white !important;
}

.verde {
  color: var(--verde) !important;
  border: 1px solid var(--verde-dark);
  background-color: transparent;
}

.verde:hover {
  background-color: var(--verde-dark);
  color: white !important;
}

/***FINAL DAS CORES PERSONALIZADAS DOS BOTÕES***/

/**Início do Loader de carregamento**/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--accent-light);
  /* cor do background que vai ocupar o body */
  z-index: 999;
  /* z-index para jogar para frente e sobrepor tudo */
}

#preloader .inner {
  position: absolute;
  top: 50%;
  /* centralizar a parte interna do preload (onde fica a animação)*/
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader {
  color: var(--accent-color);
  font-size: 1em;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin: 2px auto;
  position: relative;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation:
    load6 1.7s infinite ease,
    round 1.7s infinite ease;
  animation:
    load6 1.7s infinite ease,
    round 1.7s infinite ease;
}

@-webkit-keyframes load6 {
  0% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em,
      0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em,
      0 -0.83em 0 -0.477em;
  }

  5%,
  95% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em,
      0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em,
      0 -0.83em 0 -0.477em;
  }

  10%,
  59% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      -0.087em -0.825em 0 -0.42em,
      -0.173em -0.812em 0 -0.44em,
      -0.256em -0.789em 0 -0.46em,
      -0.297em -0.775em 0 -0.477em;
  }

  20% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      -0.338em -0.758em 0 -0.42em,
      -0.555em -0.617em 0 -0.44em,
      -0.671em -0.488em 0 -0.46em,
      -0.749em -0.34em 0 -0.477em;
  }

  38% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      -0.377em -0.74em 0 -0.42em,
      -0.645em -0.522em 0 -0.44em,
      -0.775em -0.297em 0 -0.46em,
      -0.82em -0.09em 0 -0.477em;
  }

  100% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em,
      0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em,
      0 -0.83em 0 -0.477em;
  }
}

@keyframes load6 {
  0% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em,
      0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em,
      0 -0.83em 0 -0.477em;
  }

  5%,
  95% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em,
      0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em,
      0 -0.83em 0 -0.477em;
  }

  10%,
  59% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      -0.087em -0.825em 0 -0.42em,
      -0.173em -0.812em 0 -0.44em,
      -0.256em -0.789em 0 -0.46em,
      -0.297em -0.775em 0 -0.477em;
  }

  20% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      -0.338em -0.758em 0 -0.42em,
      -0.555em -0.617em 0 -0.44em,
      -0.671em -0.488em 0 -0.46em,
      -0.749em -0.34em 0 -0.477em;
  }

  38% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      -0.377em -0.74em 0 -0.42em,
      -0.645em -0.522em 0 -0.44em,
      -0.775em -0.297em 0 -0.46em,
      -0.82em -0.09em 0 -0.477em;
  }

  100% {
    box-shadow:
      0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em,
      0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em,
      0 -0.83em 0 -0.477em;
  }
}

@-webkit-keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/**Final do Loader de carregamento**/

.menu-header {
  color: var(--surface-color) !important;
}

.sidebar {
  background-color: var(--accent-light);
  min-width: 250px;
  max-width: 250px;
  min-height: calc(100vh - 56px);
  transition: all 0.3s;
}

.sidebar ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
}

.sidebar ul li a:hover,
.sidebar ul .active a {
  color: var(--text-primary);
  background-color: var(--accent-color);
}

.sidebar ul ul a {
  padding-left: 2.5rem;
  background-color: var(--bg-submenu);
}

/*Seletor utilizado para ativar o botão ocultar menu em PC*/
.sidebar.toggled {
  margin-left: -250px;
}

.menu-header-light,
.menu-header,
.wrapper,
.main-header {
  z-index: 10000 !important;
  overflow: visible !important;
}

.dashboard-wrapper {
  background: transparent !important;
}

.dropdown-menu {
  z-index: 9999 !important;
  position: absolute !important;
}

.sidebar [data-toggle="collapse"] {
  position: relative;
}

.sidebar [data-toggle="collapse"]:before {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
}

.sidebar [aria-expanded="true"] {
  background-color: var(--accent-light);
}

.sidebar [aria-expanded="true"]:before {
  content: "\f0d8";
}

.sidebar .submenu [aria-expanded="true"]:before {
  content: "";
}

.submenu-dropdown {
  padding: 0 0 0 0;
  margin: 0 250px;
}

.submenu {
  float: left;
  left: 250px;
}

.content {
  width: 100%;
}

.titulo {
  font-size: 2rem !important;
}

.tabPainel {
  position: absolute;
  top: 0px;
}

.tablist .active a {
  background-color: var(--accent-color) !important;
}

.sidebar ul li a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: all 0.2s ease-out;
}

.sidebar ul li a:hover::after {
  transform: scaleX(1);
}

.sidebar ul li a {
  content: "";
  position: relative;
}

.sidebar ul li ul li a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: all 0.2s ease-out;
}

.sidebar l li ul li a:hover::after {
  transform: scaleX(1);
}

.hamburger {
  grid-area: mnu;
  display: grid;
  align-content: center;
  position: relative;
  width: 28px;
  height: 2px;
  transition: all 0.4s ease-out;
}

.hamburger-extra {
  width: 90%;
  background-color: var(--accent-dark) !important;
  margin: 10px 5px -10px 5px;
  z-index: 1;
}

.hamburger-extra::after,
.hamburger-extra::before {
  background-color: var(--accent-dark) !important;
}

.hamburger::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease-out;
}

.hamburger::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease-out;
}

.max-hamburger,
.max-hamburger::before,
.max-hamburger::after {
  background-color: var(--text-primary);
}

.close-btn {
  width: 32px;
  transform: rotateZ(45deg);
}

.close-btn::before,
.close-btn::after {
  top: 0;
  transform: rotateZ(90deg);
}

/*Início do código para aparecer Imagens para ordernar as tabelas */
table.tablesorter thead tr .header {
  background-image: url("../../assets/imagens/icone/bg.gif");
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}

table.tablesorter thead tr .headerSortUp {
  background-image: url("../../assets/imagens/icone/asc.gif");
}

table.tablesorter thead tr .headerSortDown {
  background-image: url("../../assets/imagens/icone/desc.gif");
}

/*FIM do código para aparecer Imagens para ordernar as tabelas */
/*CSS para tabelas*/
.carregandoConta {
  color: #f0ad4e;
  display: none;
}

.carregandoEstoque {
  color: #f0ad4e;
  display: none;
}

.carregandoPag {
  color: #f0ad4e;
  display: none;
}

.cabecalho {
  font-weight: 500;
  text-align: center;
  font-size: 0.9em;
}

.linhas {
  width: 15%;
  display: inline;
  margin: 0 0 0 5px;
  min-width: 100px;
}

.container-full {
  padding-right: 0;
  padding-left: 0;
}

/*INÍCIO - CSS para as tabelas*/

/*
.grade table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

.grade table  caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

.grade table tr {
    padding: .35em;
}

.grade table  th,
.grade table  td {
    padding: .625em;
    text-align: center;
}*/

table {
  text-align: center;
}

/* Fix for table-dark in light theme (invisible white text) */
body:not(.theme-dark) .table-dark,
body:not(.theme-dark) .table-dark td,
body:not(.theme-dark) .table-dark th {
  background-color: var(--bg-color) !important;
  color: var(--text-secondary) !important;
  border-color: var(--border-color) !important;
}

table th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/*Css para espaçamento dos botões*/

.btn {
  margin: 0.2em 0.2em;

  /*  max-height: 40px;*/
}

.removeBackGround tr th,
.removeBackGround tbody tr:nth-of-type(odd),
.removeBackGround td {
  background-color: transparent;
  border: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.grade .cabecalhoTd a,
.grade .cabecalhoTd label {
  text-transform: none;
}

@media screen and (max-width: 600px) {
  .grade .ocultar {
    display: none;
  }

  .grade .cabecalhoTd {
    text-transform: uppercase;

    font-weight: bold;
  }

  .grade table {
    border: 0;
  }

  .container-full #produto {
    display: block;
    width: 100%;
  }

  .container-full #desconto_geral {
    display: block;
    width: 100%;
  }

  .grade table caption {
    font-size: 1.3em;
  }

  .grade table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    padding: 0;
    width: 2px;
  }

  .grade table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  .grade table td {
    border-bottom: 1px solid var(--border-color);
    display: block;
    font-size: 0.8em;
    text-align: right;
    min-height: 2.5rem;
  }

  .grade table td::before {
    /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
  }

  .grade table td:last-child {
    border-bottom: 0;
  }

  .grade .cabecalhoTd td[data-label="Pedido"] span {
    width: 30%;
    font-size: 0.8rem;
  }

  .grade .cabecalhoTd tr {
    font-size: 0.9rem;
  }
}

/**FIM - CSS para as tabelas**/

.modal_produtos {
  max-width: 95%;
}

.resultado {
  /* background-color: white;*/
  margin-top: 15px;
  padding: 0 20px 0 20px;
  font-size: large;
}

.header {
  padding: 10px 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 200px;
  right: 30px;
  z-index: 10;
}
.header,
.card-header,
.modal-header {
  z-index: 10000 !important;
  overflow: visible !important;
}

@media screen and (max-width: 600px) {
  .header {
    padding: 10px 16px;
  }

  .sticky {
    position: fixed;
    top: 0;
    width: 200px;
    right: 30px;
    z-index: 10;
  }
}

.modal_produtos {
  max-width: 95%;
}

.resultado {
  /* background-color: white;*/
  margin-top: 15px;
  padding: 0 20px 0 20px;
  font-size: large;
}

@media screen and (max-width: 100px) {
  .header {
    padding: 10px 16px;
  }

  .sticky {
    position: fixed;
    top: 0;
    width: 200px;
    right: 500px;
    z-index: 10;
  }
}

/**Início das classes para Slide Show**/

.GalleryImgPrincipal {
  display: block;
  max-height: 350px;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  object-fit: cover;
}

.GalleryImg {
  vertical-align: middle;
  align-content: center;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 15%;
  max-width: 100%;
  max-height: 100%;
  /*border: outset 5px;*/
  /*border-radius: 45%;*/
}

/* Position the image container (needed to position the left and right arrows) */
.GalleryContainer {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.GalleryCursor {
  cursor: pointer;
}

/* Next & previous buttons */
.GalleryPrev,
.GalleryNext {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.GalleryNext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.GalleryPrev:hover,
.GalleryNext:hover {
  background-color: var(--shadow-md);
}

/* Number text (1/3 etc) */
.GalleryNumberText {
  color: var(--bg-color);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.GalleryCaptionContainer {
  text-align: center;
  background-color: var(--surface-color);
  padding: 2px 16px;
  color: black;
}

.GalleryRow {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.GalleryRow:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.GalleryColumn {
  float: left;
  width: 33.33%;
  /*background-color: black;*/
}

/* Add a transparency effect for thumnbail images */
.GalleryDemo {
  opacity: 0.4;
}

.active,
.GalleryDemo:hover {
  opacity: 1;
}

/*fim - Usado para input de type range*/

.ImgPedidoProd {
  vertical-align: middle;
  align-content: center;
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 15%;
  max-width: 100%;
  max-height: 100%;
  /*border: outset 5px;*/
  /*border-radius: 45%;*/
}

.flipLogo {
  -webkit-animation-name: spinner;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 2s;
  animation-name: spinner;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;

  -webkit-transform-origin: center center;
  transform-origin: center center;
  /* Chrome, Safari */
}

.flipLogoGeral {
  -webkit-animation-name: spinner;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 3s;
  animation-name: spinner;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;

  -webkit-transform-origin: center center;
  transform-origin: center center;
  /* Chrome, Safari */
}

/* WebKit and Opera browsers */
@-webkit-keyframes spinner {
  from {
    -webkit-transform: rotateY(0deg);
  }

  to {
    -webkit-transform: rotateY(-360deg);
  }
}

/* all other browsers */
@keyframes spinner {
  from {
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }

  to {
    -moz-transform: rotateY(-360deg);
    -ms-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
  }
}

/**Desabilitando links no telefone**/
a[href^="tel"] {
  color: inherit;
  /* Inherit text color of parent element. */
  text-decoration: none;
  /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
  pointer-events: none;
}

.circle {
  position: absolute;
  border: none;
  background: linear-gradient(
    0deg,
    var(--accent-color) 0%,
    var(--accent-dark) 100%
  );
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  border: none;
  overflow: visible;
  float: left;
  box-sizing: border-box;
  margin: 20px auto 0 0;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  box-shadow:
    1px 1px 1px #000000,
    0px 0px 1px #0d0d0d;
  border: 0.2px solid #000000;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 10px;
  background: linear-gradient(to bottom, #3399ff 0%, #6ac2e2 100%);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-shadow:
    2px 2px 5px #000000,
    0px 0px 2px #0d0d0d;
  border: 0.2px solid #000000;
  height: 25px;
  width: 15px;
  border-radius: 7px;
  background: #d4edf7;
  cursor: pointer;
  margin-top: -10px;
  position: relative;
  z-index: 1;
}

/*
       input[type=range]:focus::-webkit-slider-runnable-track {
        background: red;
    }*/

/*? Classe do input type Range **/
.fillRange {
  height: 10px;
  box-shadow:
    1px 1px 1px #000000,
    0px 0px 1px #0d0d0d;
  border: 0.2px solid #000000;
  border-radius: 3px;
  background: linear-gradient(to bottom, #3399ff 0%, #6ac2e2 100%);
  opacity: 0.8;
  margin-top: 25px;
  margin-right: 20px;
  position: relative;
  box-sizing: border-box;
}

.buttonClick {
  background-color: var(--verde);
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  border: none;
  color: var(--surface-color);
  padding: 5px 5px;
  margin: 5px 5px 5px 5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-sizing: border-box;
  cursor: pointer;
}

.btnNegativo {
  background-color: var(--marsala);
}

.borderBottom {
  width: 100%;
  float: left;
  margin: 2px auto;
  border-radius: 5px;
  align-content: center;
  vertical-align: middle;
  height: fit-content;
  border-bottom: 0.1px solid #f2f2f2;
  border-left: 0.1px solid #f2f2f2;
  border-top: 0.3px solid #f2f2f2;
  /* border: 3px solid green;*/
  border-style: outset;
  padding: 10px;
}

.borderBottom input[type="checkbox"],
.borderBottom ul {
  margin: 0px 5px 0px 5px !important;
  position: relative;
  padding-inline-start: 0px;
}

input[type="checkbox"] {
  margin: 0 10px 0 10px !important;
  all: unset;
  border: 1px solid var(--text-primary);
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 0.2rem;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: var(--blue-brand);
  width: 12px;
  height: 12px;
  box-shadow: 0.1rem 0.1rem var(--border-color);
}

input[type="radio"] {
  margin: 0 10px 0 10px !important;
  position: relative;
  padding-inline-start: 0px;
}

input[type="radio"] {
  all: unset;
  border: 1px solid var(--text-primary);
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 0.2rem;
  cursor: pointer;
}

input[type="radio"]:checked {
  background-color: var(--blue-brand);
  width: 12px;
  height: 12px;
  box-shadow: 0.1rem 0.1rem var(--border-color);
}

.striped div:nth-of-type(even) {
  background: var(--bg-submenu);
}

/**início da Customização do datepicker  **/

.ui-datepicker {
  text-align: center;
}

.ui-datepicker-trigger {
  margin: 0 0 0 5px;
  vertical-align: text-top;
}

.ui-datepicker {
  font-family:
    Open Sans,
    Arial,
    sans-serif;
  margin-top: 2px;
  padding: 0 !important;
  border-color: var(--accent-light) !important;
  width: 256px;
  z-index: 20;
}

.openemr-calendar .ui-datepicker {
  width: 191px;
}

.ui-datepicker table {
  width: 256px;
  table-layout: fixed;
}

.openemr-calendar .ui-datepicker table {
  width: 191px;
  table-layout: fixed;
}

.ui-datepicker-header {
  background-color: var(--accent-color) !important;
  background-image: none !important;
  border-radius: 0;
}

.openemr-calendar .ui-datepicker-header {
  background-color: var(--accent-light) !important;
  border-width: 1px;
  border-color: var(--accent-light);
  border-style: solid;
}

.ui-datepicker-title {
  line-height: 35px !important;
  margin: 0 10px !important;
}

.openemr-calendar .ui-datepicker-title {
  line-height: 20px !important;
}

.ui-datepicker-prev span {
  display: none !important;
}

.ui-datepicker-next {
  text-align: center;
}

.ui-datepicker-next span {
  display: none !important;
}

.ui-datepicker-prev {
  background-color: transparent !important;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAMCAYAAACulacQAAAAUklEQVQYlXWPwQnAMAwDj9IBOlpH8CjdJLNksuujFIJjC/w6WUioFBcqJ7sGEAD5Y/hpqLRghRv4YQlUjqXI3Kql2MixraGbEhVcDXcFUR/1egEHNuTBpFW0NgAAAABJRU5ErkJggg==") !important;
  height: 12px !important;
  width: 7px !important;
  margin: 14px 12px;
  display: inline-block;
  left: 0 !important;
  top: 0 !important;
}

.openemr-calendar .ui-datepicker-prev {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAOCAYAAAD9lDaoAAAAuUlEQVQokXXRsUtCYRAA8J8pDQ1CVIgIgtBU2NDiZIuDS4uLf6WDS1O0tLREEE8icBNKS3lTs8/B78XHw3dwcHA/juOuqjzucYJVrQQMcYctvo4OgEFIeMK6iPphCjzjEWLUC3vACx7yRo5uMUIFr5gii1EL41AvMIkBVPGH04DrSLEsIvjEOZq4wi9+iijDR0ANXOMbmxjlcIY2LtANO6YxymGCDs5wg/ciYv+KBJeY4+2A+Y9j4Y47RtUkrNXeDxUAAAAASUVORK5CYII=") !important;
  height: 14px !important;
  width: 9px !important;
  margin: 5px !important;
}

.ui-datepicker-next {
  cursor: pointer;
}

.ui-datepicker-prev {
  cursor: pointer;
}

.ui-datepicker-next {
  background-color: transparent !important;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAMCAYAAABfnvydAAAAVUlEQVQYlXWQ0Q3AIAhEL07gKI7kKN2kI3Wk1w9to3KQEELucQEECOizhhTQGHFnwOdgobWx0GkZILfYBhXl0STVbPoBarbkL7ozN/F8VBBXh8uJgF5r2hrI4GHUkAAAAABJRU5ErkJggg==") !important;
  height: 12px !important;
  width: 8px !important;
  margin: 14px 12px;
  display: inline-block;
  right: 0 !important;
  top: 0 !important;
}

.openemr-calendar .ui-datepicker-next {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAtElEQVQYlXXQsUpCcRQH4I97EQyHa1pgIEE0hBGYL+BjNLRFjxXh4rM4F21BS4S4FAgqQioOngt/RM/6+zi/w4EanlA4MDkecYsO3vG/D8a4Rx03eMMqBQt8oodTXAdalwBm+IpNDVxG3aYEMMU3ujjDBT5SAH9R2cE58mwPFOgneJSCGp7RjLoXTEtQjbCFOV7xCxkqdp9sYxnhpFyb4QFXdh8c4Cc9Ko++OwzjFwfn5FiwBVeuI/K2UCkSAAAAAElFTkSuQmCC") !important;
  height: 14px !important;
  width: 8px !important;
  margin: 5px;
}

.ui-datepicker-month {
  border-radius: 2px;
  background-color: var(--accent-color);
  width: 110px !important;
  height: 22px;
  /* font-family: Open Sans !important;*/
  color: var(--surface-color);
  font-size: 14px !important;
  font-weight: 600;
  text-align: left;
  border: none !important;
  margin-right: 17px !important;
  vertical-align: text-top;
}

.openemr-calendar .ui-datepicker-month {
  font-family:
    Open Sans,
    Arial,
    sans-serif;
  color: rgba(34, 34, 34, 0.87);
  font-size: 12px !important;
  font-weight: 700;
  text-align: center;
  transform: scaleX(1.0029);
}

.ui-datepicker-year {
  border-radius: 2px;
  background-color: var(--accent-color);
  width: 61px !important;
  height: 22px;
  border: none !important;
  color: var(--surface-color);
  font-size: 14px !important;
  font-weight: 600;
  text-align: left;
  vertical-align: text-top;
}

.openemr-calendar .ui-datepicker-year {
  font-family:
    Open Sans,
    Arial,
    sans-serif;
  color: rgba(34, 34, 34, 0.87);
  font-size: 12px !important;
  font-weight: 700;
  text-align: center;
  transform: scaleX(1.0029);
}

.ui-datepicker-month option,
.ui-datepicker-year option {
  color: var(--accent-color) !important;
  background-color: var(--surface-color) !important;
  font-size: 14px !important;
  font-weight: 600;
}

.ui-datepicker-month option[selected],
.ui-datepicker-year option[selected] {
  background-color: #e5edf0 !important;
}

.ui-datepicker .ui-state-hover {
  /*background: none !important;*/
  border: 0 !important;
}

.ui-datepicker td {
  vertical-align: top;
}

.ui-datepicker .ui-state-default {
  border-radius: 2px;
  border-color: var(--border-color) !important;
  width: 24px;
  height: 24px;
  padding: 0 !important;
  line-height: 24px;
  text-align: center !important;
  font-family:
    Open Sans,
    Arial,
    sans-serif;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400 !important;
  margin: 7px 0 0 4px;
}

.ui-datepicker .ui-state-default.ui-state-highlight {
  border-color: var(--accent-dark) !important;
  background-color: var(--accent-light) !important;
  color: var(--accent-dark) !important;
}

.openemr-calendar .ui-state-default {
  font-size: 10px;
  margin: 0;
}

.ui-datepicker td {
  width: 33px;
}

.openemr-calendar .ui-datepicker td {
  width: 26px;
}

.openemr-calendar .ui-state-default {
  width: 26px;
  height: 20px;
  line-height: 20px;
}

.ui-state-default.ui-state-hover {
  border-color: var(--border-color);
  background-color: var(--accent-color) !important;
}

.ui-datepicker .ui-state-active {
  border-color: var(--border-color);
  background-color: var(--accent-color) !important;
  color: var(--accent-dark) !important;
}

.ui-datepicker-calendar thead tr th {
  font-family:
    Open Sans,
    Arial,
    sans-serif;
  color: var(--accent-color);
  /**refeito*/
  font-size: 12px;
  font-weight: 400;
  padding: 0.45em 0.3em !important;
  /*   width: 15px !important; */
}

.openemr-calendar .ui-datepicker-calendar thead tr th {
  font-size: 10px;
}

.ui-datepicker-close {
  display: none;
}

.ui-datepicker thead {
  background-color: var(--bg-color);
}

.openemr-calendar .ui-datepicker thead {
  background: none;
}

.ui-state-default.ui-datepicker-current {
  float: none !important;
  font-family:
    Open Sans,
    Arial,
    sans-serif;
  color: var(--surface-color);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  border-width: 0 !important;
  border: none;
  vertical-align: top;
  margin: 0 !important;
  background-color: transparent !important;
}

.ui-datepicker-buttonpane.ui-widget-content {
  text-align: center;
  background-color: var(--accent-color);
  margin: 0 !important;
  height: 28px;
  padding: 0 !important;
}

.openemr-calendar .ui-datepicker-year {
  background-color: transparent;
}

.openemr-calendar .ui-datepicker-month {
  background-color: transparent;
}

.openemr-calendar .ui-state-default {
  border: 0 !important;
}

.openemr-calendar .ui-datepicker-month {
  margin-right: 10px !important;
}

/**Final da Customização do datepicker  **/


#formPedido,
.container-fluid, 
.formAdaptado,
.formAdaptado .list-group-item,
.container-fluid .list-group-item {
  background-color: var(--bg-glass-form) !important; /* Branco semi-transparente para Glassmorphism light */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color) !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  padding: 2.2rem !important;
  margin-bottom: 20px !important;
  box-shadow: var(--shadow-md) !important;
  width: 100% !important;
  display: block !important;
  color: var(--text-primary) !important; /* Texto escuro para tema light */
}

/*Customização input time*/
input[type="time"] {
  cursor: pointer;
}

.fix {
  position: fixed;
  top: 10px;
  right: 15px;
  background-color: var(--surface-color);
  border-radius: 7px;
  border: 1px solid var(--border-color);
  padding: 10px 15px 0 15px;
  box-shadow: 5px 10px 18px var(--text-secondary);
  opacity: 80%;
  z-index: 2000;
  /* Animation */
  transition: transform 1.2s;
  transform: rotate(360deg);
  /**Desabilita o mouse sobre a div*/
  pointer-events: none;
}

.fixOut {
  /* Animation */
  transition: transform 1.2s;
  transform: rotate(-360deg);
}

.labelFocus {
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50px;
  margin: auto;
  background-color: var(--surface-color);
  border-radius: 7px;
  border: 1px solid var(--border-color);
  padding: 10px 15px 0 15px;
  box-shadow: 5px 10px 18px var(--text-secondary);
  opacity: 85%;
  z-index: 2001;
  pointer-events: none;
  display: none;
}

@media screen and (max-width: 600px) {
  .labelFocus {
    top: 10px;
    left: 15px;
    transform: translate(0);
  }
}

/* Ajustado z index para autocomplete sobrescrever as folhas de baixo*/
.ui-autocomplete {
  z-index: 1050;
}
