:root {
  --primary-color: #1B2430;
  --secondary-color: #51557E;
  --menu--color: #816797;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.50% !important;
}

::placeholder {
  font-size: 1.4rem;
}

p {
  font-size: 1.6rem;
  margin-bottom: 0;
}

a {
  font-size: 1.6rem;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: 1.6rem !important;
  line-height: inherit;
}

body {
  min-height: 100vh;
  font-size: 1.6rem !important;
  font-family: sans-serif;
  max-width: 1400px;
  margin: 0 auto;
}

dl,
ol,
ul {
  margin-top: 0;
  margin-bottom: 0rem;
}

li {
  font-size: 1.6rem;
}

hr {
  opacity: .25;
  height: 10px;
  background: #004eff;
}

h2 {
  padding: 1rem 0;
}

.h5,
h5 {
  font-size: 1.25rem;
  border-bottom: solid 5px #fff;
}

.btn {
  font-size: 1.6rem;
}

.main-container--creditos {
  padding: 7rem 2rem;
}

.fa,
.fa-brands,
.fa-duotone,
.fa-light,
.fa-regular,
.fa-solid,
.fa-thin,
.fab,
.fad,
.fal,
.far,
.fas,
.fat {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  font-size: 16px;
}

.body-login {
  background-image: url(../assets/img/fondo.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
input[type="number"]
{
    -webkit-appearance: textfield !important;
    margin: 0;
    -moz-appearance:textfield !important;
}

/* css login */
.main-container--login {
  width: 350px;
}

.grafico-login {
  width: 70%;
}

.login-title {
  text-align: center;
}

.rigth-section--login {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.img-login--admin {
  width: 80px;
  display: block;
  margin: 0 auto;
}

.login-container {
  display: grid;
  grid-template-columns: 100%;
  justify-items: center;
  align-items: center;
  z-index: 1;
  position: relative;
  padding-bottom: 20px;
}

.title-welcome {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
}

form.form-login {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group--login {
  display: flex;
  gap: 10px;
  flex-direction: column;
  position: relative;
}

.hotel-icon--login {
  width: 100%;
}

.form-control--login {
  padding-left: 20px;
  border: none;
  border-bottom: 2px solid;
  height: 30px;
  outline: none;
}

.form-control--login~.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3a4ec4;
  transition: 0.4s;
}

.form-control--login:focus~.focus-border {
  width: 100%;
  transition: 0.4s;
}

.icon-login--form {
  position: absolute;
  top: 15%;
}

.btn-login {
  background-color: #3a4ec4;
  border-radius: 50px;
  border: none;
  height: 40px;
  color: #fff;
  cursor: pointer;
}

.btn-login:hover {
  -webkit-box-shadow: 3px 2px 9px 4px #3A4EC4;
  box-shadow: 3px 2px 9px 4px #3A4EC4;
}

/* form registro */
.btn-register {
  background-color: #252454;
  text-align: center;
  border-radius: 50px;
  height: 40px;
  padding-top: 10px;
  text-decoration: none;
  color: #fff;
}

.btn-register:hover {
  -webkit-box-shadow: 3px 2px 9px 4px #252454;
  box-shadow: 3px 2px 9px 4px #252454;
}

.password-reset {
  color: #000;
  font-weight: 600;
  text-align: right;
  font-size: 1.4rem;
}

.error-login {
  position: relative;
  z-index: 1;
}

.icon-register--form {
  position: absolute;
  top: 41px;
}

/* header css */
img.logo-header {
    width: 100px;
}

/* ========================================================= */
/* AQUI ESTÁ LA CORRECCIÓN QUE ANCLA LA CABECERA AL TECHO    */
/* ========================================================= */
.header-container {
  padding: 0 2rem;
  background-color: var(--primary-color);
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;          /* <-- Evita la franja blanca arriba */
  left: 0;         /* <-- Se alinea perfectamente a la izquierda */
  z-index: 9999;
  width: 100%;
}
/* ========================================================= */

.menu-item a {
  text-decoration: none;
  color: #fff;
}

.menu-container {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.user-icons {
  color: #fff;
}

.btn-user {
  background-color: #283f67;
  border: none;
}

.btn-header {
  gap: 20px;
  display: flex;
  align-items: center;
}

.btn-creditos--header {
  position: relative;
}

.blobs-container {
  display: flex;
}

.blob {
  background: black;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  margin: 10px;
  height: 15px;
  width: 15px;
  transform: scale(1);
  animation: pulse-black 2s infinite;
}

@keyframes pulse-black {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.blob.orange {
  background: rgba(255, 121, 63, 1);
  box-shadow: 0 0 0 0 rgba(255, 121, 63, 1);
  animation: pulse-orange 2s infinite;
  position: absolute;
  top: -50%;
  left: 87%;
}

@keyframes pulse-orange {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 121, 63, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 121, 63, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 121, 63, 0);
  }
}

.btn-user-mobile {
  display: none;
}

/* css sidebar menu */
.side-bar {
  background: var(--secondary-color);
  backdrop-filter: blur(15px);
  width: 290px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -100%;
  overflow-y: auto;
  transition: 0.6s ease;
  transition-property: left;
  z-index: 9999;
}

/* coloca al sidebar hasta la izquierda */
.side-bar.active {
  left: 0px;
}

.side-bar .menu {
  width: 100%;
  margin-top: 60px;
}

.side-bar .menu .item {
  position: relative;
  cursor: pointer;
}

.side-bar .menu .item a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: block;
  padding: 5px 30px;
  line-height: 60px;
}

.side-bar .menu .item a:hover {
  background: var(--menu--color);
  transition: 0.3s ease;
}

/* margen iconos sidebar menu */
.side-bar .menu .item i {
  margin-right: 15px;
}

/* position iconos submenu sidebar */
.side-bar .menu .item a .dropdown {
  position: absolute;
  right: 0px;
  margin: 20px;
  transition: 0.3s ease;
}

.side-bar .menu .item .sub-menu {
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

/* relleno izquierda submenu */
.side-bar .menu .item .sub-menu a {
  padding-left: 80px;
}

.rotate {
  transform: rotate(90deg);
}

.close-btn {
  position: absolute;
  color: #fff;
  font-size: 20px;
  right: 0;
  margin: 25px;
  cursor: pointer;
}

.menu-btn {
  position: absolute;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.logo-container {
  margin-left: 30px;
  color: #fff;
}

.nav-container {
  margin-left: 70%;
}

/* css dashboard */
.main-container--dashboard,
.main-container--productos {
  padding: 7rem 1rem 1rem 1rem;
}

.page-item:not(:first-child) .page-link {
  margin-left: -1px;
  font-size: 16px;
}

.page-item:first-child .page-link {
  font-size: 16px;
}

#header-users {
  background-color: #283f67;
  color: #fff;
}

.user-activo {
  background-color: #313376;
  color: #fff;
  width: 60px;
  text-align: center;
  border-radius: 5px;
}

.user-inactivo {
  background-color: #c75050;
  color: #fff;
  width: 60px;
  text-align: center;
  border-radius: 5px;
}

.creditos-pendiente {
  background-color: #2b2e54;
  border-radius: 5px;
  text-align: center;
  width: 85%;
  color: #fff;
}

.creditos-pagado {
  background-color: #5f5a9c;
  border-radius: 5px;
  text-align: center;
  width: 85%;
  color: #fff;
}

.grafico-1 {
  position: relative;
  width: 80%;
}

.grafico-2 {
  position: relative;
  width: 80%;
}

section.section-graficos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-editar--perfil {
  width: 60%;
  margin: 0 auto;
}

.columnas-estadisticas {
  color: #fff;
  position: relative;
  height: 150px;
  background-color: #283f67;
  border-radius: 5px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.row.contenedor-estadisticas {
  gap: 50px;
  padding: 0 1rem;
}

.bg-usuarios {
  position: absolute;
  right: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 10%;
}

.icons-dashboard{
  width: 40px;
}
a.link-reportes {
  font-weight: 600;
  color: #bbc1ff;
}
/* css modals */
.form-group--actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.form-control--actions {
  outline: none;
  background-color: #0000001f;
  border: none;
}

.form-control--actions:focus~.focus-border {
  width: 100%;
  transition: 0.4s;
}

.form-control--actions~.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3a4ec4;
  transition: 0.4s;
}

.label-form--actions {
  padding-top: 5px;
}

.ocultar-inputs {
  border: none;
  background: #fff0;
  outline: none;
  width: 250px;
}

.container-datos-eliminar {
  display: flex;
  align-items: flex-start;
  align-content: center;
  flex-direction: row;
  gap: 5px;
}

#productos-eliminar {
  width: 200px;
}

.tabla-imagen {
  position: relative;
}

.icono-editar--imagen {
  width: 20px;
}

.editar-imagen {
  position: absolute;
  background-color: #dc35468a;
  border: none;
  border-radius: 0px;
  left: 0;
}

/* css productos usuarios */
.container--productos {
  padding: .5rem;
}

.container--productos--lista {
  padding: 1rem 2rem;
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  gap: 15px;
  justify-content: center;
}

.img-productos--usuarios {
  width: 100%;
  height: 250px;
  padding-bottom: 10px;
}

.productos {
  width: auto;
  height: 420px;
  border: solid 1px #e5e5e5;
  border-radius: 5px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.descripcion-productos {
    text-align: center;
}

.btn-creditos {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: .2rem;
}

.btn-cantidad {
  background-color: var(--menu--color);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: .2rem;
}

ol.list-group.list-group-numbered {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

li.list-group-item.d-flex.justify-content-between.align-items-start {
  background-color: #252a4e;
  color: #fff;
}

section.info-productos {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.control-comprar {
  border: none;
}

.resumen-compras {
  background-color: #11173e;
  color: #ffffff;
  margin-top: 20px;
  padding: 1rem;
}

.contenedor-tablas {
  position: relative;
}

.row {
  --bs-gutter-x: 1.5rem;
  overflow-x: auto;
}

.seccion-form--usuarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* css forms editar */
.forms-editar {
  width: 60%;
  margin: 0 auto;
}

.btn-form--editar {
  text-align: end;
  padding-top: 20px;
  padding-bottom: 20px;
}
a.btn.btn-modificar {
  background-color: #322940;
  color: #fff;
}
/* paginas errores */
.main-errores {
  background-color: #2F3242;
}
svg {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -250px;
  margin-left: -400px;
}
.message-box {
  height: 200px;
  width: 380px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: 50px;
  color: #FFF;
  font-family: sans-serif;
  font-weight: 300;
}
.message-box h1 {
  font-size: 60px;
  line-height: 46px;
  margin-bottom: 40px;
}
.buttons-con .action-link-wrap {
  margin-top: 40px;
}
.buttons-con .action-link-wrap a {
  background: #68c950;
  padding: 8px 25px;
  border-radius: 4px;
  color: #FFF;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s linear;
  cursor: pointer;
  text-decoration: none;
  margin-right: 10px
}
.buttons-con .action-link-wrap a:hover {
  background: #5A5C6C;
  color: #fff;
}

#Polygon-1 , #Polygon-2 , #Polygon-3 , #Polygon-4 , #Polygon-4, #Polygon-5 {
  animation: float 1s infinite ease-in-out alternate;
}
#Polygon-2 {
  animation-delay: .2s; 
}
#Polygon-3 {
  animation-delay: .4s; 
}
#Polygon-4 {
  animation-delay: .6s; 
}
#Polygon-5 {
  animation-delay: .8s; 
}

@keyframes float {
	100% {
    transform: translateY(20px);
  }
}
/* footer css */
footer.footer-container {
  padding: 0 2rem;
  background: var(--primary-color);
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons--footer {
  display: flex;
  gap: 20px;
}

i.fa-brands {
  color: #fff;
  font-size: 20px;
}

.coopy {
  color: #fff;
}

/* css reportes */
p.solucionado-no {
  color: #dc3545;
  font-weight: 700;
}

p.solucionado-si {
  color: #27ad9a;
  font-weight: 700;
}

/* responsive */
@media(max-width:776px) {
  .offcanvas {
    background-color: var(--primary-color);
  }

  .offcanvas.show:not(.hiding),
  .offcanvas.showing {
    transform: none;
    width: 40%;
  }

  section.section-graficos {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-mobile {
    display: initial;
    background-color: #283f67;
    border: none;
  }

  .btn-user {
    display: none;
  }

  .btn-user-mobile {
    display: initial;
    background-color: #283f67;
    border: none;
  }

  .btn-user-mobile:hover {
    display: initial;
    background-color: #152033;
    border: none;
  }

  .btn-creditos--header {
    display: none;
  }

  ul.menu-mobile {
    color: #fff;
    list-style: none;
    margin-left: -20px;
    margin-top: 20px;
  }

  a.dropdown-item {
    padding-bottom: 20px;
  }

  ol.list-group.list-group-numbered {
    display: grid;
    grid-template-columns: 1fr;
  }

  .container--productos--lista {
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: 100%;
    gap: 15px;
    justify-content: center;
  }
}

@media (max-width:576px) {
  footer.footer-container {
    padding: 1rem 2rem;
    background: var(--primary-color);
    height: 150px;
    gap: 10px;
    display: grid;
    grid-template-columns: 100%;
  }

  .coopy {
    color: #fff;
    order: 2;
    display: inline-block;
    font-size: 15px;
  }

  .row.contenedor-estadisticas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 1rem;
}
.grafico-1 {
  position: relative;
  width: 100%;
}
.grafico-2 {
  position: relative;
  width: 100%;
}
img.logo-header {
    width: 80px;
}
}