@font-face {
  font-family: r;
  src: url(../../rg/fonts/m/Montserrat-Regular.otf);
  font-display: swap;
}
@font-face {
  font-family: b;
  src: url(../../rg/fonts/m/Montserrat-Bold.otf);
  font-display: swap;
}
@font-face {
  font-family: n;
  src: url(../../rg/fonts/m/Montserrat-ExtraBold.otf);
  font-display: swap;
}
@font-face {
  font-family: bl;
  src: url(../../rg/fonts/m/Montserrat-Black.otf);
  font-display: swap;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  overflow: hidden;
}
html {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
div.bg {
  display: flex;
  flex-direction: row;
  position: relative;
}
ul.navegacion-mobile {
  display: none;
}
nav {
  background-color: #29aee7;
  width: 64px;
  height: 100vh;
}
div.secciones {
  height: 90%;
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  padding-bottom: 22px;
  justify-content: space-between;
}
button {
  cursor: pointer;
  background: transparent;
  border: none;
}
button.salir {
  width: 36px;
  height: 36px;
}
.logo-principal {
  width: 64px;
  height: 64px;
}
.logo-contenedor {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
}
.centrar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
header {
  background-color: #904db4;
  height: 64px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: 16px;
  padding-right: 16px;
}
ul.navegacion {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
h1 {
  font-family: b;
  font-size: 20px;
}
h1.titulo-pagina {
  color: white;
}
h1.empresa {
  color: #7ad7ff;
}
div.nombre-pagina {
  display: flex;
  gap: 8px;
}
div.nombre-empresa {
  display: flex;
  gap: 8px;
}
main {
  background-color: #f3f2f4;
  height: calc(100vh - 64px);
  color: #904db4;
  padding: 10px;
  font-family: r;
  overflow-y: auto;
  overflow-x: hidden;
}
main::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
main::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
}
main::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
main::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}
main::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, 0.9);
}

p {
  font-family: r;
}
div.contenedor-almacenamiento {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
div.datos-almacenamiento {
  display: flex;
  flex-direction: row;
  gap: 36px;
}
div.cargando {
  width: 196px;
  height: 8px;
  background-color: #f3f2f4;
  border-radius: 16px;
}
div.carga {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}
div.carga-util {
  width: 76px;
  height: 8px;
  z-index: 10;
  background-color: #29aee7;
  border-radius: 16px;
}
div.contenido {
  width: 100%;
}
div.tablas-contenedor {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, 49.6%);
  grid-template-rows: repeat(2, auto);
  grid-gap: 8px;
}
div.tabla-contenedor {
  margin: 8px;
}
div.encabezado {
  height: 46px;
  display: flex;
  align-items: center;
}
div.separador {
  justify-content: space-between;
}
div.ingresos-fecha {
  display: flex;
  gap: 12px;
}
h4.titulo-tabla {
  font-family: b;
  font-size: 18px;
  margin-left: 16px;
  font-weight: 500;
}
table {
  border-collapse: collapse;
  border-spacing: 0 10px;
  background-color: white;
  border: #f3f2f4;
  margin-bottom: 38px;
  position: relative;
}
table tr {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f3f2f4;
}
table td {
  padding: 14px 32px;
  font-size: 14px;
}
table.citas-hoy td:nth-child(3n) {
  padding-inline: 80px;
}
table.proximas-citas td:nth-child(3n) {
  padding-inline: 76px;
}
table.ingresos td:nth-child(4n) {
  padding-left: 130px;
}
table.insumos-dentales td:nth-child(2n) {
  padding-left: 120px;
}
p.cantidad-almacenamiento {
  font-size: 18px;
  font-family: b;
  font-weight: 500;
}
tbody::before {
  content: "";
  background-color: #f3f2f4;
  width: 100%;
  height: 2px;
  position: absolute;
}
section {
  border-radius: 6px;
  background-color: white;
}
section.almacenamiento {
  background-color: white;
  height: 68px;
  display: flex;
  padding: 8px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
header.mobile {
  display: none;
}

@media (min-width: 1367px) {
  p {
    font-size: 18px;
  }
  section.almacenamiento {
    padding: 16px 14px;
  }
  ul.navegacion {
    gap: 66px;
  }
  div.secciones {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  div.tabla-contenedor {
    padding: 10px;
  }
  p.cantidad-almacenamiento {
    font-size: 24px;
  }
  h1 {
    font-size: 34px;
  }
  div.logo-principal {
    width: 112px;
    height: 112px;
  }
  img {
    transform: scale(1.38);
  }
  header {
    height: 112px;
  }
  nav {
    width: 112px;
  }
  div.encabezado {
    height: 62px;
  }
  h4.titulo-tabla {
    font-size: 26px;
    margin-left: 12px;
  }
  table td {
    padding: 20px 36px;
    font-size: 26px;
  }
  table.citas-hoy td:nth-child(3n) {
    padding-inline: 40px;
  }
  table.proximas-citas td:nth-child(3n) {
    padding-inline: 40px;
  }
  table.ingresos td:nth-child(4n) {
    padding-left: 50px;
  }
  table.insumos-dentales td:nth-child(2n) {
    padding-left: 54px;
  }
}
@media (min-width: 1281px) and (max-width: 1366px) {
}
@media (min-width: 1025px) and (max-width: 1280px) {
  div.bg {
    background-color: #29aee7;
  }
  table.insumos-dentales td:nth-child(2n) {
    padding-left: 80px;
  }
  section.almacenamiento {
    padding: 14px;
  }
  nav {
    height: 100vh;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  table td {
    padding: 12px 20px;
    font-size: 15px;
  }
  table.citas-hoy td:nth-child(3n) {
    padding-inline: 14px;
  }
  table.proximas-citas td:nth-child(3n) {
    padding-inline: 14px;
  }
  table.ingresos td:nth-child(4n) {
    padding-left: 14px;
  }
  table.insumos-dentales td:nth-child(2n) {
    padding-left: 46px;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  div.tablas-contenedor {
    grid-template-columns: 1fr;
  }
  main {
    overflow-y: auto;
    height: calc(100% - 80px);
  }
  nav {
    position: -webkit-sticky;
  }
  table td {
    padding: 16px 18px;
    font-size: 14px;
  }
}
@media (min-width: 320px) and (max-width: 480px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
  nav {
    display: none;
  }
  header.pc {
    display: none;
  }
  header.mobile {
    height: 66px;
    padding-inline: 16px;
    align-items: center;
    display: flex;
    width: 100vw;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  div.tablas-contenedor {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 5px;
  }
  h4.titulo-tabla {
    font-size: 15px;
    margin-left: 12px;
  }
  h4.ingresos-titulo {
    display: none;
  }
  table td {
    padding: 16px 14px;
    font-size: 14px;
  }
  table.citas-hoy td:nth-child(3n) {
    padding-inline: 20px;
  }
  table.proximas-citas td:nth-child(3n) {
    padding-inline: 20px;
  }
  table.ingresos td:nth-child(4n) {
    padding-left: 20px;
  }
  table.insumos-dentales td:nth-child(2n) {
    padding-left: 20px;
  }
  p.cantidad-almacenamiento {
    font-size: 14px;
  }
  div.datos-almacenamiento {
    gap: 12px;
  }
  p.cantidad-carga {
    font-size: 14px;
  }
  div.mas-container {
    width: 36px;
    height: 36px;
  }
  img.mas {
    width: 24px;
    height: 24px;
  }
  ul.navegacion-mobile {
    list-style-type: none;
    padding: 9px 10px;
    z-index: 99;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    gap: 4px;
    position: fixed;
    background-color: #29aee7;
    width: 100vw;
    bottom: 0px;
  }
  ul.navegacion-mobile li {
    padding: 2px 14px;
  }
}

@media (min-width: 320px) and (max-width: 403px) {
  table td {
    padding: 16px 6px;
  }
}
