@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

:root {
  --primary-color-db: rgb(98, 189, 98);
  --hover-color-button: rgb(8, 239, 8);
  --app-primary-color: #369c22;
  --app-button-hover-color: #51cb39;
}

* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Roboto", sans-serif;
  background-color: #e0e0e0;
}
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
}
.b-container {
  width: 100%;
  height: 100%;
}
.h-home {
  width: 90%;
  position: fixed;
  top: 0;
  left: 10%;
  right: 0;
  height: 60px;
  background-color: #fff;
  color: #494949;
  padding: 10px 20px;
  transition: all 0.5s;
  box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
}
.h-home .title {
  display: inline-table;
  margin-left: 20px;
  cursor: default;
  position: relative;
  top: 4px;
}
.h-home .user-profile {
  float: right;
  width: 120px;
  height: 100%;
  padding-right: 10px;
}
.h-home .user-profile .profile {
  margin-top: -3px;
}
.h-home .user-profile .profile .avatar {
  display: block;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: all 0.3s;
}
.h-home .user-profile .profile .avatar img {
  width: 100%;
  border-radius: 50%;
}
.h-home .user-profile #btn-exit {
  background-color: transparent;
  border: none;
  color: #777;
  transition: all 0.5s;
  opacity: 0.5;
}
.h-home .user-profile #btn-exit svg {
  width: 28px;
  height: 28px;
  color: currentColor;
}
.h-home .user-profile #btn-exit:hover,
.h-home .user-profile #btn-exit:focus {
  color: #333;
  transform: scale(1.3);
  opacity: 1;
}
.sidebar-left {
  width: 10%;
  max-width: 140px;
  height: 100%;
  background-color: #ffffff;
  float: left;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  border-right: 1px solid #dbdbdb;
  flex-direction: column;
}
.sidebar-left .container-logo {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}
.sidebar-left .container-logo .logo {
  width: 80px;
  margin-top: 1rem;
  transition: all 0.3s ease;
}
.sidebar-left .container-logo .logo img {
  width: 100%;
}
.sidebar-left .container-logo .logo:hover {
  transform: scale(1.2);
}
.sidebar-left .menu {
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}
.container-item-sidebar {
  width: 100%;
  height: 100%;
  height: 6rem;
  max-height: 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #494949;
  transition: all 0.3s;
  cursor: pointer;
  margin-bottom: 1rem;
}
.container-item-sidebar .icon {
  width: 52px;
  height: 52px;
  background-color: #dbdbdb;
  display: block;
  cursor: pointer;
  color: currentColor;
  text-align: center;
  padding: 11.5px 12.7px;
  border-radius: 50%;
}
.container-item-sidebar .icon svg {
  fill: currentColor;
  width: 28px;
  height: 28px;
}
.container-item-sidebar .name {
  color: currentColor;
  font-size: 0.9em;
  text-transform: uppercase;
  line-height: 12px;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}
.container-item-sidebar.active {
  color: var(--primary-color-db);
}
.container-item-sidebar:hover,
.container-item-sidebar:focus {
  color: #292929;
  background-color: #dbdbdb;
}
.h-container {
  width: 100%;
  height: 100px;
}
#loading-page .spinner-border {
  width: 5rem;
  height: 5rem;
}
.container-home {
  width: 90%;
  height: calc(100% - 60px);
  display: block;
  margin-left: 10%;
  margin-top: 60px;
  padding-top: 10px;
}
.container-count-c {
  width: 100%;
  min-width: auto;
  max-width: 6rem;
  text-align: center;
  height: 50px;
  max-height: 70px;
  margin-bottom: 10px;
  margin-right: 10px;
  display: inline-flex;
  flex-direction: column;
}
.container-count-c .number-count {
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  text-overflow: ellipsis;
  max-height: 40px;
  font-size: 1.3rem;
  white-space: nowrap;
}
.container-count-c .title-count {
  font-weight: 500;
  text-align: center;
  text-overflow: ellipsis;
  max-height: 15px;
}
.footer-count {
  text-align: right;
  float: right;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.content-b {
  background-color: #ffffff;
  border-radius: 5px;
  padding: 10px 20px;
  width: auto;
  height: 50px;
  display: inline-table;
  border: 1px solid #eeeeee;
  transition: all 0.5s;
  margin-right: 20px;
}
.content-b:hover,
.content-b:focus {
  background-color: #dbdbdb;
}
.content-b .item-block {
  color: rgba(0, 0, 0, 0.54);
}
.content-b .item-block p {
  display: inline-table;
  margin-left: 10px;
  margin-bottom: 0px;
}
.modal-c {
  background-color: rgba(0, 0, 0, 0.5);
}
.content-menu-empleados {
  width: 233px;
  height: auto;
  max-height: 130px;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  display: block;
  border-radius: 5px;
  margin-left: 11.6rem;
  margin-top: 10px;
  transition: all 0.5s;
  padding: 5px 0px;
  overflow: auto;
  position: absolute;
}
.content-menu-empleados .list {
  width: 100%;
  height: 100%;
  list-style: none;
  margin-bottom: 0px;
}
.content-menu-empleados .list li {
  width: 100%;
  height: 30px;
  padding: 5px 20px;
  cursor: pointer;
  border-bottom: 1px solid #dbdbdb;
}
.content-menu-empleados .list li:hover {
  background-color: rgba(235, 235, 235, 0.5);
}
.container-options {
  width: 17.5rem;
  height: 5rem;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 5px;
  cursor: default;
  display: inline-table;
  margin-right: 1rem;
  margin-bottom: 1rem;
}
.container-options header {
  width: 100%;
  height: 50%;
  border-bottom: 1px solid #dbdbdb;
}
.container-options .right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.container-options .left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.container-options footer {
  width: 100%;
  height: 50%;
}
.container-options header .right .count {
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 2.5px;
  margin-right: 20px;
}
.container-options footer .right .text {
  margin-top: 1rem;
  margin-right: 10px;
}
.container-options .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #dbdbdb;
  background-color: #ffffff;
  padding: 9px 9px;
  position: absolute;
  margin-top: -4.2rem;
  margin-left: 20px;
}
.container-options .icon svg {
  width: 32px;
  height: 32px;
}
.grafic-content {
  width: 100%;
  height: 420px;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 3px;
  display: block;
}
.panel-h-content {
  width: 100%;
  height: auto;
  max-height: 420px;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 3px;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 20px;
  margin-bottom: 10px;
}
.grafic-header {
  width: 100%;
  height: 90px;
  display: block;
  border-bottom: 1px solid #dbdbdb;
}
.panel-h-header {
  width: 100%;
  height: 90px;
  display: block;
  border-bottom: 1px solid #dbdbdb;
}
.grafic-header .element {
  width: 20%;
  height: 100%;
  text-align: center;
  padding: 20px 0px 0px 0px;
  cursor: pointer;
  display: inline-table;
  transition: all 0.5s;
}
.grafic-header .element:hover,
.grafic-header .element:focus {
  background-color: rgba(235, 235, 235, 0.5);
  border-bottom: 3px solid #689f38;
}
.grafic-header .element .title {
  font-size: 18px;
  margin-bottom: 0px;
}
.grafic-header .element .p-venta {
  font-weight: bold;
  font-size: 19px;
  margin-bottom: 0px;
}
.grafic-body {
  width: 100%;
  height: 87.5%;
  padding: 10px;
}
.panel-h-body {
  width: 100%;
  height: 87.5%;
  padding: 10px;
  overflow: auto;
}
.grafic-body .grafic-grafic {
  width: 100%;
  height: 90%;
  display: block;
}
.panel-h-footer {
  width: 100%;
  height: 50px;
  display: block;
  border-top: 1px solid #dbdbdb;
}
.sidebar-right {
  width: 400px;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  background-color: #ffffff;
  margin-top: 60px;
  margin-right: 15px;
}
.sidebar-right .sidebar-header {
  width: 100%;
  height: 25%;
  border-bottom: 1px solid #dbdbdb;
  padding: 10px;
}
.sidebar-right .sidebar-header .close {
  margin-top: 0.5rem;
}
.sidebar-right .sidebar-body {
  padding: 10px;
}
.sidebar-right .sidebar-body .title-sale {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.sidebar-right .sidebar-body .list-products .product {
  margin-top: 1rem;
  border-bottom: 1px solid #dbdbdb;
}
.sidebar-right .sidebar-body .footer-p {
  margin-top: 1rem;
}
.panel-h-header .title-h {
  font-weight: bold;
  font-size: 1.3rem;
  margin-top: 2.2rem;
  margin-bottom: 0;
  margin-left: 1rem;
  float: left;
  cursor: default;
}
.panel-h-header #btn-calendar {
  margin-left: 1rem;
  margin-top: 1.7rem;
}
.panel-h-header .left {
  float: left;
  width: 50%;
  height: 100%;
  display: inline-table;
}
.panel-h-header .right {
  float: right;
  width: 50%;
  height: 100%;
  display: inline-table;
}
.panel-h-header .search {
  float: right;
  margin-top: 2rem;
  background-color: transparent;
}
.panel-h-header .search .search-input {
  width: 230px;
  height: 40px;
  padding: 10px;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 2px solid #dbdbdb;
  margin-right: 20px;
  outline: none;
  transition: all 0.5s;
  background-color: transparent;
}
.panel-h-header .search .search-input:focus {
  border-bottom: 2px solid royalblue;
}
.panel-h-header .options {
  margin-left: 1rem;
  margin-top: 1.8rem;
}
.panel-h-header .options-input {
  width: 8rem;
  height: 2rem;
  padding: 5px 10px;
  border: 1px solid #dbdbdb;
  border-radius: 5px;
  outline: none;
  color: #000000;
}
.no-data-block {
  width: 100%;
  height: 100%;
  display: block;
  padding: 20px 0px;
}
.no-data-block .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 128px;
  height: 128px;
  background-color: #f5f5f5;
  border-radius: 50%;
}
.no-data-block .title-message {
  color: rgba(0, 0, 0, 0.54);
  margin-top: 1rem;
}
.recibo {
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: default;
  margin-top: 1rem;
  margin-right: 2rem;
  transition: all 0.5s;
}
.recibo:hover,
.recibo:focus {
  border-radius: 3px;
  background-color: rgba(235, 235, 235, 0.5);
}
.recibo .icon {
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.recibo .icon svg {
  width: 36px !important;
  height: 36px !important;
  fill: white;
}
.recibo .title {
  margin-left: 1rem;
}
.recibo .total {
  position: relative;
  left: -125px;
  top: 1.5rem;
  font-weight: bold;
  font-size: 18px;
}
#recibo-venta .total {
  left: -120px;
}
.panel-h-header #btn-add-article {
  margin-top: 1.5rem;
  margin-left: 1rem;
}
.panel-h-header #btn-add-empleado {
  margin-top: 1.5rem;
  margin-left: 1rem;
}
.form-h-content {
  width: 50%;
  height: auto;
  display: inline-table;
  max-height: 300px;
  background-color: #ffffff;
  border-radius: 3px;
  padding: 10px 20px;
}
#map-google {
  width: 100%;
  height: 395px;
  display: block;
}
.content-b-client {
  width: 200px;
  max-width: 250px;
  height: 40px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
  display: inline-table;
  margin-left: 10px;
  transition: all 0.5s;
  margin-bottom: 20px;
}
.content-b-client:hover,
.content-b-client:focus {
  background-color: currentColor;
  opacity: 0.1;
}
.details-container {
  width: 100%;
  height: 100%;
  display: block;
}
.details-container header .left {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.details-container header .right {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.details-user {
  width: 100%;
  height: 100%;
  display: block;
}
.details-user .header {
  width: 100%;
  height: 30%;
  display: block;
}
.details-user .header .perfil {
  width: 100%;
  height: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.details-user .header .perfil .avatar {
  width: 100px;
  height: 100px;
}
.details-user .header .perfil .name {
  text-align: center;
  font-weight: bold;
  margin-top: 1rem;
}
.details-user .header .menu-tabs {
  width: 100%;
  height: 50px;
  display: block;
  margin-top: 1rem;
}
.details-user .body {
  width: 100%;
  height: auto;
  max-height: 55%;
  display: block;
  margin-top: 1rem;
  padding: 20px 10px;
}
.toggle-password {
  position: relative;
  top: -2rem;
  right: -90%;
  color: rgba(0, 0, 0, 0.54);
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  border-radius: 50%;
}
.p-mode-theme {
  width: 15%;
  height: 100%;
  display: inline-table;
  float: right;
  text-align: right;
  margin-top: -4.5px;
  margin-right: 1rem;
}
.p-mode-theme .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-table;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.5s;
  text-align: center;
  padding-top: 7.5px;
}
.p-mode-theme .icon svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
  fill: currentColor;
}
.p-mode-theme .icon #light,
.p-mode-theme .icon #dark {
  display: none;
}
.p-mode-theme .icon:hover,
.p-mode-theme .icon:focus {
  background-color: rgba(255, 255, 255, 0.6);
}

/* ACTIVE */
.sidebar-left.active {
  margin-left: 0px;
}
.h-home.active {
  width: 100%;
  left: 0;
}
.container-home.active {
  width: 100%;
  max-width: 100%;
  left: 0;
}
.content-menu-empleados .list li.active {
  font-weight: bold;
  background-color: rgba(235, 235, 235, 0.5);
}
.grafic-header .element.active {
  background-color: rgba(235, 235, 235, 0.5);
  border-bottom: 3px solid #689f38;
}

/* Disabled */
.sidebar-left.disabled {
  margin-left: -350px;
}
.h-home.disabled {
  width: 75%;
  left: 25%;
}
.container-home.disabled {
  width: 75%;
  left: 25%;
}
.panel-h-body .table tbody tr.disabled {
  color: #6c757d90;
  pointer-events: none;
}

/* PERSONALIZATION */
::-webkit-scrollbar {
  width: 12px;
  background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
}
::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}
.input-form label {
  margin-bottom: 20px;
  position: relative;
  background-color: #e0e0e0;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  min-width: 20rem;
}
.input-form input {
  width: 100%;
  height: 100%;
  padding: 30px 5px 12px 12px;
  border: none;
  outline: none;
  background-color: transparent;
}
.input-form input::placeholder {
  opacity: 0;
}
.input-form span {
  position: absolute;
  top: -12px;
  left: 10px;
  transform: translateY(33px);
  font-size: 0.9rem;
  transition-duration: 300ms;
}
.input-form label:focus-within {
  border: 1px solid var(--primary-color-db);
}
.input-form label:focus-within > span,
.input-form input:not(:placeholder-shown) + span {
  color: var(--primary-color-db);
  transform: translateY(18px);
}
.card-ops .card-header {
  background-color: rgb(98, 189, 98);
  color: #f9f9f9;
  border-bottom: 1px solid #f9f9f9;
  font-weight: 600;
  text-transform: uppercase;
}
.panel-h-body .table tbody tr:hover,
.panel-h-body .table tbody tr:focus {
  cursor: pointer;
  background-color: rgba(235, 235, 235, 0.5);
}
.hover-list-group,
.hover-list-group li {
  cursor: pointer;
  transition: all 0.5s;
}
.hover-list-group li:hover,
.hover-list-group li:focus {
  background-color: #dbdbdb;
}
#modalLoading .modal-dialog {
  width: 100%;
  max-width: 100% !important;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.modalLoading-content {
  width: 7.5rem;
  height: 7.5rem;
  background-color: white;
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}
.modalLoading-content .spinner-border {
  width: 3.5rem;
  height: 3.5rem;
}
.modal-body .section {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #dbdbdb;
  margin-top: 2.5rem;
  border-radius: 3px;
}
.modal-body .section .title {
  cursor: pointer;
}
.modal-body .section .content {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.5s;
}
.avatar-wrapper {
  position: relative;
  height: 120px;
  width: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
}
.avatar-wrapper:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.avatar-wrapper:hover .profile-pic {
  opacity: 0.5;
}
.avatar-wrapper .profile-pic {
  height: 100%;
  width: 100%;
  transition: all 0.3s ease;
}
.avatar-wrapper .profile-pic:after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background: #ecf0f1;
  color: #34495e;
}
.upload-button {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.upload-button svg {
  position: absolute;
  top: 20px;
  left: 23px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #34495e;
}
.upload-button svg:hover {
  opacity: 0.9;
}
.btn-primary {
  background-color: var(--primary-color-db);
  border-color: var(--primary-color-db);
}
.btn-primary:hover,
.btn-primary:active {
  background-color: var(--hover-color-button);
  border-color: var(--hover-color-button);
}
#card-table {
  padding: 1.5rem;
}
#card-table #tickets_wrapper {
  padding-top: 1rem;
}
#card-table .total-col {
  text-align: right;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .sidebar-left {
    width: 15%;
    max-width: 130px;
  }

  .h-home {
    width: 88.5%;
    left: 12%;
    padding: 10px 10px;
  }
  .container-home {
    width: 85%;
    margin-left: 15%;
  }

  .container-options {
    width: 45%;
    max-width: 250px;
    margin-right: 15px;
    margin-bottom: 15px;
    height: 5.5rem;
  }

  .sidebar-left .container-logo {
    height: 70%;
  }
  .sidebar-left .container-logo .logo {
    width: 60px;
  }
  .sidebar-left .menu {
    height: 70%;
  }
  .container-item-sidebar {
    max-height: 5.5rem;
  }
  .container-item-sidebar .icon {
    width: 48px;
    height: 48px;
    padding: 10px;
  }

  .card-ops,
  #card-table {
    max-width: 95%;
  }
}

@media (max-width: 767px) {
  .sidebar-left {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    border-right: none;
    border-top: 1px solid #dbdbdb;
    flex-direction: row;
    z-index: 1000;
    justify-content: space-around;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
  }
  .sidebar-left .container-logo {
    display: none;
  }
  .sidebar-left .menu {
    width: 100%;
    height: auto;
    flex-direction: row;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 26px;
  }
  .container-item-sidebar {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
  }
  .container-item-sidebar .icon {
    width: 32px;
    height: 32px;
    padding: 3px 0px;
  }
  .container-item-sidebar .icon svg {
    width: 20px;
    height: 20px;
  }
  .container-item-sidebar .name {
    font-size: 0.6em;
    margin-top: 0.3rem;
    margin-bottom: 0;
    line-height: normal;
  }

  .h-home {
    width: 100%;
    left: 0;
    padding: 10px;
    box-sizing: border-box;
    height: 50px;
    position: absolute;
  }
  .h-home .title {
    margin-left: 5px;
    font-size: 0.9em;
    letter-spacing: -0.5px;
    width: 45%;
    top: 3px;
  }
  .h-home .user-profile {
    width: auto;
  }
  .h-home .user-profile .row>* {
    max-width: 50%;
    padding-left: 0;
  }
  .h-home .user-profile .profile .avatar {
    width: 32px;
    height: 32px;
  }
  .h-home .user-profile #btn-exit {
    margin-top: -4px;
    margin-left: 10px;
  }
  .h-home .user-profile #btn-exit svg {
    width: 26px;
    height: 26px;
  }

  .container-home {
    width: 100%;
    margin-left: 0;
    margin-top: 60px;
    padding: 10px;
  }

  .card-ops,
  #settings-system {
    margin-bottom: 10px;
  }
}
