* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  zoom: 0.85;
}

.base {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #f6f5ee;
  padding: 15px;
}

.layout {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border: solid 1px #ddd;
  border-radius: 9px;
}

.logo-sis {
  border-radius: 9px 0px 0px 0px;
  border-right: solid 0.5pt #ddd;
  border-bottom: solid 0.5pt #ddd;
}

.topo-sis {
  border-bottom: solid 0.5pt #ddd;
}

.opt-menu {
  padding-top: 5px;
  padding-left: 15px;
  padding-bottom: 5px;
  border-radius: 5px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: 0.75s ease all;
}

.opt-menu:hover {
  background-color: #dbeafe;
  color: #0d6efd;
  transition: 0.5s ease all;
}

.opt-chat-a {
  border-radius: 3px 0px 0px 3px;
}

.opt-chat-active {
  background-color: #dbeafe;
}

.opt-chat-left {
  cursor: pointer;
}

.fundo-atendimento {
  border-radius: 0px 9px 9px 9px;
  border-right: solid 0.5pt #ddd;
  border-top: solid 0.5pt #ddd;
}

.opt-active {
  background-color: #dbeafe !important;
  color: #0d6efd !important;
}

:has(>:is(.modalidade-btn,.esp-btn)+.input-group-append),/** botões de modalidade e especialidade */
:is(.modalidade-btn,.esp-btn):not(:has(+.input-group-append)),/** botões 'todos' das modalidades e especialidades */
#busca_convenio+div>:is(input, div),/** botões da listagem dos convênios */
#busca_plano+div>:is(input, div)/** botões da listagem dos planos */ {
  transition: 0.75s all;
  &:hover {
    background-color: #dbeafe !important;
    color: #0d6efd !important;
    transition: 0.5s all;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
  }
}

.fundo-menu {
  border-right: solid 0.5pt #ddd;
  width: 14%;
  padding: 5px;
}

.mode-active {
  background-color: #dbeafe !important;
}

.fundo-dados {
  border-left: solid 0.5pt #ddd;
}

.ia-mode {
  border-radius: 5px 0px 0px 5px;
  cursor: pointer;
  background-color: #efefef;
  font-size: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.fa-solid {
  cursor: pointer;
}
.ma-mode {
  cursor: pointer;
  background-color: #efefef;
  font-size: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.mu-mode {
  border-radius: 0px 5px 5px 0px;
  cursor: pointer;
  background-color: #efefef;
  font-size: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.toggle {
  margin-top: 5px;
  display: flex;
  justify-content: center;
}
.toggle > input {
  display: none;
}

.toggle > label {
  position: relative;
  display: block;
  height: 20px;
  width: 44px;
  background: #898989;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.toggle > label:after {
  position: absolute;
  left: -2px;
  top: -3px;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
  content: '';
  transition: all 0.3s ease;
}

.toggle > label:active:after {
  transform: scale(1.15, 0.85);
}
.toggle > input:checked ~ label {
  background: #6fbeb5;
}
.toggle > input:checked ~ label:after {
  left: 20px;
  background: #179588;
}
.toggle > input:disabled ~ label {
  background: #d5d5d5;
  pointer-events: none;
}
.toggle > input:disabled ~ label:after {
  background: #bcbdbc;
}

/*     Table Agenda Layout  */

@media screen and (max-width: 1400px) {
  /* Estilos para telas menores */
  tr.tbRow th {
    font-size: 14px;
  }
}

.bt-icon {
  font-size: 1.128rem;
  margin-top: 2px;
}
/* Section Agenda AI Elements Style */

.pointer-div {
  cursor: pointer;
  transition: 0.5s ease all;
  border-radius: 10px;
}

.pointer-div:hover {
  transition: 0.5s ease all;
}

.pointer-div-primary:hover {
  background-color: #cfe2ff;
}
.pointer-div-success:hover {
  background-color: #d1e7dd;
}
.pointer-div-warning:hover {
  background-color: #fff3cd;
}
/*.pointer-div-danger
{
    color: white;
}*/
.pointer-div-danger:hover {
  background-color: #f8d7da;
}
.pointer-div-dark:hover {
  background-color: #ced4da;
}
.week-filter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

/* Estilo da Mensagem  de Validação */
.validation-message {
  margin-top: 1.25rem;
  padding: 0.9375rem;
  background-color: #f8d7da;
  color: rgb(75, 72, 72);
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  font-size: 1.25em;
  display: none;
  text-align: center;
}

.validation-message.show {
  display: block;
}

.validation-message::before {
  content: '!';
  display: inline-block;
  font-size: 1.2em;
  width: 1.5em;
  min-width: 1.5em;
  height: 1.5em;
  margin: 0 0.625em;
  border-radius: 50%;
  background-color: #f27474;
  color: #fff;
  font-weight: 600;
  line-height: 1.5em;
  text-align: center;
}

/*                          */
/* classes do bootstrap 5.3 */
/*                          */
.bg-primary-subtle {
  background-color: #cfe2ff !important;
}
.bg-secondary-subtle {
  background-color: #e2e3e5 !important;
}
.bg-success-subtle {
  background-color: #d1e7dd !important;
}
.bg-warning-subtle {
  background-color: #fff3cd !important;
}
.bg-danger-subtle {
  background-color: #f8d7da !important;
}
.bg-dark-subtle {
  background-color: #ced4da !important;
}
.bg-purple {
  background-color: #6f42c1 !important;
}
.bg-purple-subtle {
  background-color: #a98eda !important;
}
/*                          */
/*                          */
/*                          */

/*                          */
/* animações de show up btn */
/*                          */
.input-group:has(> input:is([id^='listMd'], [id^='listEsp'])) {
  /*
  */
  --cor-criacao: #d1e7dd; /*
  */
  --cor-alteracao: #dbeafe; /*
  */
  --cor-exclusao: #f8d7da; /*
  */
  &[class*=animacao-]/*
  */ {
    /*
      */
    animation: animacao 1s forwards cubic-bezier(0.77, 0, 0.18, 1); /*
      */
    background-repeat: no-repeat; /*
      */
    background-size: 200% 100%; /*
      */
    background-position-x: -100px; /*
  */
  } /*
  */
  &.animacao-1/*
  */ {
    /*
      */
    color: #155724; /*
      */
    background-image: linear-gradient(115deg, transparent 4%, var(--cor-criacao) 5%, var(--cor-criacao) 7%, transparent 8%); /*
  */
  } /*
  */
  &.animacao-2/*
  */ {
    /*
      */
    color: #004085; /*
      */
    background-image: linear-gradient(115deg, transparent 4%, var(--cor-alteracao) 5%, var(--cor-alteracao) 7%, transparent 8%); /*
  */
  } /*
  */
  &.animacao-3/*
  */ {
    /*
      */
    color: #721c24; /*
      */
    background-image: linear-gradient(115deg, transparent 4%, var(--cor-exclusao) 5%, var(--cor-exclusao) 7%, transparent 8%); /*
  */
  }
}
@keyframes animacao {
  /*
  */
  from/*
  */ {
    /*
      */
    background-position-x: -100px; /*
  */
  } /*
  */
  to/*
  */ {
    /*
      */
    background-position-x: 600px; /*
  */
  }
}
/*                          */
/*                          */
/*                          */

/*                          */
/* estilização da scrollbar */
/* funciona no chrome       */
/*                          */

*::-webkit-scrollbar {
  width: 1ch;
  background: white;
}
*::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border: 1px solid white;
  border-radius: 999rem;
}
*::-webkit-scrollbar-button:single-button {
  height: 2ch;
  background-repeat: no-repeat;
  background-position: center;
}
*::-webkit-scrollbar-button:single-button:decrement {
  background-image: url(../assets/icons/caret-up-solid.svg);
}
*::-webkit-scrollbar-button:single-button:increment {
  background-image: url(../assets/icons/caret-down-solid.svg);
}
/*                          */
/*                          */
/*                          */

#caixa-procedimentos-unidade > div {
  transition: background-color 0.2s ease-in-out;
}
#caixa-procedimentos-unidade > div:hover {
  background-color: #f8f9fa;
}

/* Reset Password */

.logo-doctorbot {
  height: auto;
}

/* Lista Procedimentos Effect */

.rotate {
  transition: transform 0.3s ease;
}

.rotate.down {
  transform: rotate(0deg);
}

.rotate.up {
  transform: rotate(180deg);
}

.fa-chevron-down,
.fa-chevron-up {
  cursor: pointer;
}

.inputLogin {
  border: 1px solid aqua;
  border-radius: 5px;
}

/* Ícone com transição e rotação */
.toggle-filtros i {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border: 1px solid #007bff;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.25);
  transition: 0.5s ease all;
}

/* Rotate on Change  */
.icon-rotate.fa-plus {
  transform: rotate(180deg);
}

#painel-filters {
  transition: all 0.5s ease;
}

#tab_procedimentos {
  transition: all 0.75s ease;
}

.filtro-body {
  display: block;
}

.config-icon {
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Aside Right Menu */

.asideLink:hover {
  background-color: #dbeafe;
  color: #0d6efd;
  transition: 0.5s ease all;
}

.mode-active {
  font-weight: bold;
  border-bottom: 2px solid #007bff;
}
.asideLink {
  cursor: pointer;
  padding: 5px 0.5px;
  border-radius: 0.3rem;
  border: 1px solid rgba(0, 255, 255, 0.137);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInRight {
  animation: fadeInRight 0.4s ease;
}

/* Requisição Paciente Aside*/

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

.icon {
  font-size: 1rem;
  font-weight: bold;
}

.aside-container,
.aside-content {
  border-top: 1px solid #dee2e6;
}

.container-convenio {
  height: 200px;
  overflow-y: scroll;
  border: 2px solid #dee2e6;
  border-radius: 10px;
}

/* ---- Aside Toggle ---- */

.asideToggle > input {
  display: none;
}

.asideToggle > label {
  position: relative;
  display: block;
  height: 20px;
  width: 44px;
  background: #898989;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.asideToggle > label:after {
  position: absolute;
  left: -2px;
  top: -3px;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
  content: '';
  transition: all 0.3s ease;
}

.asideToggle > label:active:after {
  transform: scale(1.15, 0.85);
}

.asideToggle > input:checked ~ label {
  background: #007bff;
}

.asideToggle > input:checked ~ label:after {
  left: 20px;
  background: #fff;
  border: 1px solid #0d6efd;
}

.asideToggle > input:disabled ~ label {
  background: #d5d5d5;
  pointer-events: none;
}

.asideToggle > input:disabled ~ label:after {
  background: #bcbdbc;
}

/* Rotate ON Change*/
.toggleConvContainer i {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border: 1px solid #007bff;
  border-radius: 55%;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.25);
  transition: 0.5s ease all;
}

/* Rotate on Change  */
.icon-rotate.fa-plus {
  transform: rotate(180deg);
}

.labelConvPlan {
  font-size: 1em;
}

/* Select Personalizado */
.form-select {
  position: relative;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23007bff' viewBox='0 0 16 16' height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  transition: all 0.3s ease;
  border: 0.1px solid #33333336;

  font-weight: 500;
  color: #333;
}

.form-select:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

.form-select option {
  margin-top: 10px;
  padding: 10px;
}
/* Animação fade no container */
#ConvPlanList {
  animation: fade-in 0.5s ease-in-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#usuario-container {
  position: absolute;
  right: 20px;
}

/*  Click Event Container Mod, Proced, Conv e Plan */
.modalidade-btn:focus,
.esp-btn:focus,
.convenio-btn:focus,
.planos-btn:focus {
  box-shadow: none;
}

/* Aside Direita Container */

#aside-direita {
  overflow-y: scroll;
  max-height: 60.5rem;
  padding-right: 16px;
}

.displayNone {
  display: none !important;
}

@media (max-width: 1400px) {
  .containerButtons {
    display: flex;
  }

  #aside-direita {
    max-height: 40rem;
  }

  .asideLinks {
    display: flex;
  }

  .asideLink {
    width: 5.9375rem;
  }

  .ma-mode {
    width: 9.0625rem;
  }
}
