@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  background-color: #2854da !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
  box-shadow: none !important;
}

body {
  background: url("../assets/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: "Montserrat", sans-serif;
}

.body_no-background {
  background-image: none;
  display: flex;
}

.login {
  height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.login__logo {
  object-fit: contain;
  width: 500px;
  margin-bottom: 2.5rem;
}

.login__section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem 0;
  width: 375px;
}

.login__section form {
  width: 83%;
}

.login__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e7e8ea;
  width: 100%;
  text-align: center;
  color: #1a274e;
  letter-spacing: 0.3rem;
  font-size: 0.9rem;
}

.login__header p{
  margin: 0;
}

.login__header img {
  object-fit: contain;
  width: 30px;
  height: 30px;
  margin-right: 0.5rem;
}

.login__inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.login__inputs input {
  width: 100%;
  background-color: #e8f0fe;
  border: 1px solid #1a274e;
  border-radius: 1.3rem;
  padding: 0.4rem 1rem;
}

.login__inputs div {
  width: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 0.5rem;
}

.login__inputs div img {
  object-fit: contain;
  width: 16px;
  margin-right: 0.3rem;
}

.login__inputs div label {
  color: #1a274e;
  text-transform: uppercase;
}

.login__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2.5rem;
}

.btn__sm {
  background-color: #2854da;
  color: #ffffff;
  padding: 0.7rem 2rem;
  border-radius: 0.5rem;
  border: none;
  text-decoration: none;
  width: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn__sm-mod {
  width: auto;
}

.btn__sm img {
  width: 16px;
  object-fit: contain;
  margin-right: 0.5rem;
}

.btn_sections {
  padding-top: 1rem;
}

footer {
  position: absolute;
  bottom: 0;
  background-color: #f5f5f9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

footer .copyright {
  object-fit: contain;
  width: 11px;
  margin-right: 0.5rem;
}

.footer__icon{
  object-fit: contain;
  width: 25px;
}

footer p {
  margin: 0;
  font-size: 0.8rem;
  color: #1a274e;
  letter-spacing: 0.2rem;
}

/* Estilos sidebar */

.sidebar {
  position: sticky;
  top: 0;
  left: 0;
  bottom: 0;
  width: 305px;
  height: 100vh;
  transition: all;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1.5rem;
}

.sidebar__logo {
  width: 100%;
  object-fit: contain;
}

.sidebar ul {
  width: 100%;
  padding: 0;
  margin-top: 1rem;
}

.sidebar ul li {
  position: relative;
  list-style: none;
  margin: 1rem 0;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: #000000;
}

.sidebar ul li a:hover {
  background-color: #e9eefb;
  border-radius: 0.5rem;
}

.sidebar ul li p {
  margin: 0;
}

.sidebar__img {
  object-fit: contain;
  width: 16px;
  margin-right: 0.5rem;
}

.sidebar__arrow {
  position: absolute;
  right: 1rem;
  object-fit: contain;
  width: 6px;
}

.sidebar__subtn {
  padding: 0.5rem 1rem 0.5rem 2.5rem !important;
}

.submenu1,
.submenu2,
.submenu3,
.submenu4 {
  display: none;
}

.open_submenu {
  display: block;
}

.main-content {
  position: relative;
  width: 100%;
  overflow-y: auto;
}

.header__content {
  background-color: #f5f5f9;
  height: 60px;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2rem;
}

.header__content button {
  border: none;
  background-color: transparent;
}

.header__content button img {
  width: 30px;
  object-fit: contain;
}

.user__info {
  display: none;
  position: absolute;
  width: 325px;
  height: auto;
  right: 2rem;
  background-color: #ffffff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-radius: 0 0 1rem 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.user__info-active {
  display: flex;
  animation: user__info-animation 0.5s;
}

@keyframes user__info-animation {
  from {
    right: -200px;
  }
  to {
    right: 2rem;
  }
}

.user__info_header {
  background-color: #1a274e;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-radius: 1rem 1rem 0 0;
}

.user__info_header div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #ffffff;
}

.user__info_header div img {
  width: 30px;
  object-fit: contain;
  margin-right: 0.5rem;
}

.user__info_header div span {
  font-weight: 700;
}

.user__info_header button {
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.user__info_header button img {
  width: 13px;
  object-fit: contain;
}

.user__info_options {
  width: 85%;
  text-align: center;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  border-radius: 1rem;
  color: #5f696e;
}

.btn__cerrar__sesion {
  width: 85%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  border-radius: 1rem;
  color: #5f696e;
  text-decoration: none;
  margin: 1rem 0;
}

.btn__cerrar__sesion img {
  width: 20px;
  margin-right: 0.5rem;
}

.btn__whatsapp{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F7F6F6;
  color: #5f696e;
  border-radius: 0 0 1rem 1rem;
  padding: 1rem 0;
  text-decoration: none;
}

.btn__whatsapp img{
  object-fit: contain;
  width: 25px;
  margin-right: 0.5rem;
}

.btn_menu_movil {
  display: none;
}

.contenedor {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sections {
  width: 90%;
  padding: 2rem 0 6rem 0;
}

.tittle_sections {
  color: #afb4c1;
  margin: 0;
  font-size: 1.5rem;
}

.tittle_sections span {
  font-weight: 500;
}

.info__sections {
  padding-top: 2rem;
}

.sections__form {
  background-color: #f7f6f6;
  border-radius: 0.5rem;
  margin-top: 1rem;
  padding: 2rem 1.5rem;
}

.input__tittle {
  color: #1a274e;
  font-weight: 500;
  font-size: 1.3rem;
}

.input__rows {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.input__contenedor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.input__contenedor label {
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  color: #1a274e;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.input__contenedor input,
select,
textarea {
  border: 1px solid #1a274e;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.lg__input {
  width: 100%;
}

.md__input {
  width: calc(50% - 10px);
}

.sm__input {
  width: calc(33.33% - 10px);
}

.table__btns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.table__btns a,
.table__btns button {
  text-decoration: none;
  border: none;
  background-color: transparent;
}

.table__btns a:first-child,
.table__btns a:nth-child(2),
.table__btns button:first-child {
  margin-right: 0.5rem;
}

.table__btns a img,
.table__btns button img {
  object-fit: contain;
  width: 30px;
}

.dataTables_empty {
  display: none;
}

#cliente__ventas {
  background-image: url("../assets/buscar_tablas.svg");
  background-size: 15px;
  background-position: 95% center;
  background-repeat: no-repeat;
  padding-left: 2rem !important;
}

.agregar__clientes {
  border: 1px solid #1a274e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  background-color: transparent;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  margin-left: 0.5rem;
}

.agregar__clientes img {
  object-fit: contain;
  width: 20px;
}

.sp__input {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tabla__productos {
  margin-top: 1rem;
}

.table {
  --bs-table-bg: transparent;
  color: #1a274e;
}

.precios__detalles td:first-child {
  font-weight: 700;
}

.tabla__precios {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.tabla__precios table {
  width: 400px;
}

.input__datos {
  border: none;
  background-color: transparent;
}

.input__datos_mod {
  border-radius: 0.5rem;
  padding: 0.1rem 0.5rem;
  width: 75px;
  border: 1px solid #1a274e;
}

.guardar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-top: 0.5rem;
}

.special__inputs {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
}

.special__inputs-clientes,
.special__inputs-fechas {
  display: flex;
}

.special__inputs-clientes input {
  border: 1px solid #1a274e;
  border-right: 0;
  padding: 0.5rem 1rem;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  width: 300px;
}

.special__inputs-fechas input {
  border: none;
  background-color: #ededed;
  padding: 0.5rem 1rem;
}

.special__inputs-fechas input:first-child {
  border-right: 2px solid #dadce0;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.special__btn {
  background-color: transparent;
  border: 1px solid #1a274e;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.special__btn img {
  object-fit: contain;
  width: 15px;
}

.estado_dte_otro{
  background-color: #fff3cd !important;
  color: #FFB000 !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.estado_dte_procesado{
  background-color: #d1e7dd !important;
  color: #74DF8D !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.estado_dte_rechazado{
  background-color: #f8d7da !important;
  color: #DD1D1D !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

@media only screen and (max-width: 1220px) {
  .special__inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1.5rem;
  }
  .special__inputs-clientes {
    margin-bottom: 1.5rem;
  }

  .special__inputs-clientes,
  .special__inputs-fechas {
    width: 100%;
  }

  .special__inputs-clientes input {
    width: 100%;
  }

  .special__inputs-fechas input {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .guardar {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .lg__input,
  .md__input,
  .sm__input {
    width: 100%;
  }
  .input__rows {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
  .sections {
    width: 85%;
    padding: 2rem 0 5rem 0;
  }

  .user__info {
    position: absolute;
    width: 90%;
    height: auto;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 0 1rem 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
  }

  .sidebar {
    position: fixed;
    background-color: #ffffff;
    top: 60px;
    width: 100%;
    height: 100vh;
    transition: all;
    /* display: flex; */
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    z-index: 10;
    box-shadow: none;
  }

  .sidebar__active {
    display: flex;
  }

  .btn_menu_movil {
    display: block;
  }

  .sidebar__logo {
    display: none;
  }

  .menu__img {
    padding-top: 0.5rem;
    width: 30px;
    object-fit: contain;
  }

  .header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
  }
}

@media only screen and (max-width: 576px) {
  .login__section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem 0;
    width: 85%;
  }
  .login__logo {
    object-fit: contain;
    width: 325px;
    margin-bottom: 2.5rem;
  }
}
