@charset "UTF-8";

html {
  position: relative;
  min-height: 100%;
}

::placeholder {
  color: black;
  opacity: 1;
}


table {
  font-size: 85%;
}

body {
  font-size: 0.8rem;
  background-color: #efefef;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-bottom: 50px;
  font-family: "Nunito", sans-serif;
}

.dropdown-menu.match-width {
  width: auto !important;
  min-width: 200px !important;   /* ancho mínimo para textos cortos */
  max-width: 260px !important;   /* límite para textos largos */
  white-space: normal !important; /* permite saltar línea si es necesario */
}




a {
  color: #0ca4ca;
  text-decoration: none;
}

.small {
  font-size: 0.7rem;
}

.noradius {
  border-radius: 0;
}

.noborder {
  border: 0 !important;
}

.radius-circle {
  border-radius: 50px;
}


.label {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-size: 75%;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.label:empty {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
  margin-top: 0px;
  margin-bottom: 10px;
  color: #585858;
}

.font-nova {
  font-family: "Nunito", sans-serif;
}

.font-nunito {
  font-family: "Nunito", sans-serif;
}

.font-size-2 {
  font-size: 1.3em;
}

img {
  vertical-align: middle;
  border: 0;
}

.bg-primary {
  background-color: #0f9df7 !important;
}

.bg-success {
  background-color: #1bb99a !important;
}

.bg-info {
  background-color: #3db9dc !important;
}

.bg-warning {
  background-color: #f1b53d !important;
}

.bg-danger {
  background-color: #ff5d48 !important;
}

.bg-purple {
  background-color: #9261c6 !important;
}

.bg-pink {
  background-color: #ff7aa3 !important;
}

.bg-dark {
  background-color: #2b3d51 !important;
}

.bg-default {
  background-color: #64b0f2 !important;
}

.text-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-custom {
  color: #64b0f2;
}

.text-primary {
  color: #0f9df7 !important;
}

.text-success {
  color: #1bb99a !important;
}

.text-info {
  color: #3db9dc !important;
}

.text-warning {
  color: #f1b53d !important;
}

.text-danger {
  color: #ff5d48 !important;
}

.text-purple {
  color: #9261c6;
}

.text-pink {
  color: #ff7aa3;
}

.text-dark {
  color: #2b3d51;
}

.text-white {
  color: #ffffff;
}

.text-muted {
  color: #818a91;
}

.dropdown-lg {
  width: 280px;
}

.dropdown-menu {
  box-shadow: none;
  border: 1px solid rgba(43, 61, 81, 0.05);
  margin: -1px;
  padding: 0;
  border-radius: 0;
}

::-webkit-scrollbar {
  width: 8px; /* for vertical scrollbars */
  height: 8px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(80, 80, 80, 0.6);
  border-radius:50px;
  width:1px;
}

.breadcrumb-holder {
  background-color: #ffffff;
  margin: 0px -20px 20px -20px;
  padding: 13px 25px 0 25px;
  box-shadow: none;
}

.breadcrumb-holder .main-title {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.breadcrumb-holder .breadcrumb {
  padding: 0;
  background-color: transparent !important;
}

.card-box {
  padding: 20px;
  background-clip: padding-box;
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid rgba(183, 183, 183, 0.125);
}

.card-box i {
  font-size: 80px;
  margin-top: 20px;
}

.card-header {
  color: #6b6b6b;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(111, 111, 111, 0.13);
}

.card-header h3 {
  font-weight: 500;
  line-height: 1.2;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.header-title {
  font-size: 1rem;
  text-transform: uppercase;
}

.page-header {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 1.15rem;
  padding-bottom: 10px;
  border-bottom: 1px solid #eceeef;
}

.button-list {
  margin-bottom: -5px;
  margin-left: -7px;
}
.button-list button,
.button-list a {
  margin: 5px 7px;
}

canvas {
  max-width: 100%;
}

svg {
  max-width: 100%;
}

a {
  outline: none !important;
  text-decoration: none !important;
}

.row {
  margin-right: -10px;
  margin-left: -10px;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9 {
  padding-right: 10px;
  padding-left: 10px;
}

.nav-pills .nav-item.show .nav-link,
.nav-pills .nav-link.active {
  background-color: #0f9df7;
}

.dropdown-item {
  font-size: 0.9rem;
  white-space: inherit;
}

/* IE9, IE10, IE11 */
@media screen and (min-width: 0\0) {
  .form-control form-control-sm {
    padding: 0.55rem 0.75rem !important;
  }

  .input-group-addon {
    line-height: inherit !important;
    font-size: 1rem !important;
  }

  .carousel-control span {
    right: 20px;
  }
}

.headerbar {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
}

.headerbar .headerbar-left {
  background: #3366ff;
  float: left;
  text-align: center;
  height: 50px;
  position: relative;
  width: 70px;
  z-index: 1;
}

.headerbar .headerbar-white {
  background: #fff;
  float: left;
  text-align: center;
  height: 50px;
  position: relative;
  width: 250px;
  z-index: 1;
}

.headerbar .headerbar-left .logo img {
  max-height: 50px;
}

.headerbar .headerbar-white .logo img {
  max-height: 50px;
}

.navbar-custom {
  background-color: #fff;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0 10px;
  margin-left: 0;
  min-height: 50px;
  box-shadow: 0, 5px, 5px, #999;
}

.navbar-custom .nav-link {
  padding: 0 8px;
  line-height: 50px;
  color: #3c81b5;
  font-size: 20px;
}

.navbar-custom .dropdown-toggle:after {
  content: initial;
}

.navbar-custom .menu-left {
  overflow: hidden;
}

.logo {
  color: #3c81b5 !important;
  font-size: 20px;
  font-weight: 500;

  letter-spacing: 1px;
  line-height: 48px;
}

.logo span span {
  color: #fff;
}

.content-page {
  margin-left: 70px;
  overflow: hidden;
}

.content-page .content {
  padding: 0 5px;
  margin-top: 50px;
}


.button-menu-mobile {
  background: transparent;
  border: none;
  color: #3366ff;
  font-size: 28px;
  line-height: 50px;
  padding: 0 5px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  z-index: 1;
}

.button-menu-mobile:hover {
  color: #4fc3f7;
}


.menu-title {
  padding: 12px 20px !important;
  letter-spacing: 0.035em;
  pointer-events: none;
  cursor: default;
  font-size: 13px;
}

.footer {
  border-top: 1px solid rgba(115, 140, 152, 0.2);
  bottom: 0;
  color: #818a91;
  text-align: left !important;
  padding: 10px;
  position: absolute;
  right: 0;
  left: 70px;
  background-color: #fff;
}

#main.enlarged .menu-title {
  display: none;
}
#main.enlarged .menu-arrow {
  display: none !important;
}
#main.enlarged .footer {
  left: 70px;
}

#main.enlarged .content-page {
  margin-left: 70px;
}
#main.enlarged .navbar-custom {
  margin-left: 0px;
}
#main.enlarged .headerbar .headerbar-left {
  width: 70px !important;
}

#main.enlarged .headerbar .headerbar-left .logo span {
  display: none;
  opacity: 0;
}
#main.enlarged .headerbar .headerbar-left .logo i {
  margin-right: 0;
}

#main.enlarged .user-detail {
  bottom: 0;
  padding: 15px 0;
  width: 70px;
  text-align: center;
}
#main.enlarged .user-detail .dropup {
  margin: 0 auto;
  margin-left: 17px;
}
#main.enlarged .user-detail h5 {
  display: none;
}
#main.enlarged .user-detail p {
  position: absolute;
  right: 15px;
  top: 32px;
}
#main.enlarged .user-detail p span {
  display: none;
}


.notif {
  margin-left: 0 !important;
}

.notif .noti-title {
  border-radius: 0;
  background-color: #3492ea;
  margin: 0;
  width: auto;
  padding: 8px 15px 12px 15px;
}

.notif .noti-title h5 {
  color: #ffffff;
  margin: 0;
}

.notif .noti-title .label {
  float: right;
}

.notif .noti-icon {
  font-size: 22px;
  padding: 0 12px;
  vertical-align: middle;
  color: rgba(255, 255, 255, 0.8);
}

.notif .notif-bullet {
  height: 12px;
  width: 12px;
  background-color: #f95200;
  display: inline-block;
  position: absolute;
  top: 13px;
  right: 8px;
  border-radius: 50%;
  border: 2px solid #e2e2e2;
}

.notif .notify-item {
  padding: 10px 20px;
}

.notif .notify-item .notify-icon {
  float: left;
  height: 36px;
  width: 36px;
  line-height: 36px;
  text-align: center;
  margin-right: 10px;
  border-radius: 50%;
  color: #ffffff;
}

.notif .notify-item .notify-icon img {
  margin-top: 4px;
}

.notif .notify-item .notify-details {
  margin-bottom: 0;
  overflow: hidden;
  margin-left: 45px;
  text-overflow: ellipsis;
  white-space: inherit;
}

.notif .notify-item .notify-details b {
  font-weight: 500;
}

.notif .notify-item .notify-details small {
  display: block;
}

.notif .notify-item .notify-details span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.notif .notify-all {
  border-radius: 0;
  margin: 0;
  background-color: #a8c1d8;
  color: #fff;
}

.profile_client {
  width: 50%;
  max-width: 500px;
  position: absolute;
  top: 60px;
  right: 20px;
  border-radius: 5px;
  background-color: white;
}

.profile-dropdown {
  width: 170px;
}

.profile-dropdown i {
  font-size: 17px;
  vertical-align: middle;
  margin-right: 5px;
}

.profile-dropdown span {
  vertical-align: middle;
}

.nav-user {
  padding: 0 12px !important;
}

.nav-user img {
  height: 36px;
  width: 36px;
  margin-bottom: 7px;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

 

  .headerbar-left {
    width: 70px !important;
  }

  .headerbar-left span {
    display: none !important;
  }

  .headerbar-left i {
    display: block !important;
    line-height: 75px !important;
  }

 

  .content-page {
    margin-left: 0 !important;
  }

  .footer {
    left: 0 !important;
  }

  

  .mobile-content {
    left: 250px;
    right: -250px;
  }

  .wrapper-page {
    width: 90%;
  }

  .dataTables_wrapper .col-xs-6 {
    width: 100%;
    text-align: left;
  }

  div#datatable-buttons_info {
    float: none;
  }

  .ms-container {
    width: 100%;
  }

  .navbar-toggleable-md .navbar-nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .dropdown-lg {
    width: 200px;
  }

  .notif .notify-item {
    padding: 10px 15px;
  }

  .breadcrumb-holder .main-title,
  .breadcrumb-holder .breadcrumb {
    float: none;
  }
}

@media (max-width: 480px) {
  .notif .noti-icon {
    font-size: 18px;
    padding: 0 10px;
  }

  .hidden-mobile {
    display: none !important;
  }
}

body.adminbody-void {
  min-height: 1170px;
}


button:focus {
  outline: none !important;
}

a.btn:focus {
  color: #ffffff !important;
}

.btn-rounded {
  border-radius: 2em !important;
  padding: 0.5rem 1.5rem;
}

.btn-label {
  background: rgba(43, 61, 81, 0.1);
  display: inline-block;
  padding: 7px 15px;
  border-radius: 3px 0 0 3px;
  margin: -7px -14px;
  margin-right: 12px;
}

.btn-rounded .btn-label {
  padding: 7px 15px 7px 20px;
  margin-left: -20px;
}

.btn-rounded .btn-label-right {
  margin-right: -20px;
  margin-left: 12px;
}

.btn-label-right {
  margin-left: 12px;
  margin-right: -13px;
  border-radius: 0px 3px 3px 0px;
}

.btn-custom {
  background-color: #64b0f2;
  border-color: #64b0f2;
  color: #ffffff;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.btn-custom.focus,
.btn-custom:active,
.btn-custom:focus,
.btn-custom:hover,
.open > .dropdown-toggle.btn-custom {
  background-color: #439fef;
  border-color: #439fef;
  color: #ffffff;
}

.btn-primary {
  background-color: #0f9df7;
  border-color: #0f9df7;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open > .dropdown-toggle.btn-primary {
  background-color: #0283d6;
  border-color: #0283d6;
  color: #ffffff;
}

.btn-success {
  background-color: #1bb99a;
  border-color: #1bb99a;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success.focus,
.btn-success:active,
.btn-success:focus,
.btn-success:hover,
.open > .dropdown-toggle.btn-success {
  background-color: #16957c;
  border-color: #16957c;
  color: #ffffff;
}

.btn-info {
  background-color: #3db9dc;
  border-color: #3db9dc;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.btn-info.focus,
.btn-info:active,
.btn-info:focus,
.btn-info:hover,
.open > .dropdown-toggle.btn-info {
  background-color: #25a7cb;
  border-color: #25a7cb;
  color: #ffffff;
}

.btn-warning {
  background-color: #f1b53d;
  border-color: #f1b53d;
  color: #ffffff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.btn-warning.focus,
.btn-warning:active,
.btn-warning:focus,
.btn-warning:hover,
.open > .dropdown-toggle.btn-warning {
  background-color: #eea617;
  border-color: #eea617;
  color: #ffffff;
}

.btn-danger {
  background-color: #ff5d48;
  border-color: #ff5d48;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.btn-danger.focus,
.btn-danger:active,
.btn-danger:focus,
.btn-danger:hover,
.open > .dropdown-toggle.btn-danger {
  background-color: #ff391f;
  border-color: #ff391f;
  color: #ffffff;
}

.btn-dark {
  background-color: #2b3d51;
  border-color: #2b3d51;
  color: #ffffff;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark.active,
.btn-dark.focus,
.btn-dark:active,
.btn-dark:focus,
.btn-dark:hover,
.open > .dropdown-toggle.btn-dark {
  background-color: #1d2936;
  border-color: #1d2936;
  color: #ffffff;
}

.btn-outline-custom {
  color: #64b0f2;
  background-image: none;
  background-color: transparent;
  border-color: #64b0f2;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus,
.btn-outline-custom:active,
.btn-outline-custom.active,
.btn-outline-custom.focus,
.btn-outline-custom:active,
.btn-outline-custom-primary:focus,
.btn-outline-custom:hover,
.open > .dropdown-toggle.btn-outline-custom {
  color: #ffffff;
  background-color: #64b0f2;
  border-color: #64b0f2;
}

.btn-outline-primary {
  color: #0f9df7;
  background-image: none;
  background-color: transparent;
  border-color: #0f9df7;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.focus,
.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:hover,
.open > .dropdown-toggle.btn-outline-primary {
  color: #ffffff;
  background-color: #0f9df7;
  border-color: #0f9df7;
}

.btn-outline-success {
  color: #1bb99a;
  background-image: none;
  background-color: transparent;
  border-color: #1bb99a;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active,
.btn-outline-success.active,
.btn-outline-success.focus,
.btn-outline-success:active,
.btn-outline-success:focus,
.btn-outline-success:hover,
.open > .dropdown-toggle.btn-outline-success {
  color: #ffffff;
  background-color: #1bb99a;
  border-color: #1bb99a;
}

.btn-outline-info {
  color: #3db9dc;
  background-image: none;
  background-color: transparent;
  border-color: #3db9dc;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active,
.btn-outline-info.active,
.btn-outline-info.focus,
.btn-outline-info:active,
.btn-outline-info:focus,
.btn-outline-info:hover,
.open > .dropdown-toggle.btn-outline-info {
  color: #ffffff;
  background-color: #3db9dc;
  border-color: #3db9dc;
}

.btn-outline-warning {
  color: #f1b53d;
  background-image: none;
  background-color: transparent;
  border-color: #f1b53d;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active,
.btn-outline-warning.active,
.btn-outline-warning.focus,
.btn-outline-warning:active,
.btn-outline-warning:focus,
.btn-outline-warning:hover,
.open > .dropdown-toggle.btn-outline-warning {
  color: #ffffff;
  background-color: #f1b53d;
  border-color: #f1b53d;
}

.btn-outline-danger {
  color: #ff5d48;
  background-image: none;
  background-color: transparent;
  border-color: #ff5d48;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active,
.btn-outline-danger.active,
.btn-outline-danger.focus,
.btn-outline-danger:active,
.btn-outline-danger:focus,
.btn-outline-danger:hover,
.open > .dropdown-toggle.btn-outline-danger {
  color: #ffffff;
  background-color: #ff5d48;
  border-color: #ff5d48;
}

.btn-outline-pink {
  color: #ff7aa3;
  background-image: none;
  background-color: transparent;
  border-color: #ff7aa3;
}

.btn-outline-pink:hover,
.btn-outline-pink:focus,
.btn-outline-pink:active,
.btn-outline-pink.active,
.btn-outline-pink.focus,
.btn-outline-pink:active,
.btn-outline-pink:focus,
.btn-outline-pink:hover,
.open > .dropdown-toggle.btn-outline-pink {
  color: #ffffff;
  background-color: #ff7aa3;
  border-color: #ff7aa3;
}

.btn-outline-purple {
  color: #9261c6;
  background-image: none;
  background-color: transparent;
  border-color: #9261c6;
}

.btn-outline-purple:hover,
.btn-outline-purple:focus,
.btn-outline-purple:active,
.btn-outline-purple.active,
.btn-outline-purple.focus,
.btn-outline-purple:active,
.btn-outline-purple:focus,
.btn-outline-purple:hover,
.open > .dropdown-toggle.btn-outline-purple {
  color: #ffffff;
  background-color: #9261c6;
  border-color: #9261c6;
}

.btn-outline-dark {
  color: #2b3d51;
  background-image: none;
  background-color: transparent;
  border-color: #2b3d51;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active,
.btn-outline-dark.active,
.btn-outline-dark.focus,
.btn-outline-dark:active,
.btn-outline-dark:focus,
.btn-outline-dark:hover,
.open > .dropdown-toggle.btn-outline-dark {
  color: #ffffff;
  background-color: #2b3d51;
  border-color: #2b3d51;
}

.btn-facebook {
  color: #ffffff !important;
  background-color: #3b5998 !important;
}

.btn-twitter {
  color: #ffffff !important;
  background-color: #00aced !important;
}

.btn-linkedin {
  color: #ffffff !important;
  background-color: #007bb6 !important;
}

.btn-dribbble {
  color: #ffffff !important;
  background-color: #ea4c89 !important;
}

.btn-googleplus {
  color: #ffffff !important;
  background-color: #dd4b39 !important;
}

.btn-instagram {
  color: #ffffff !important;
  background-color: #517fa4 !important;
}

.btn-pinterest {
  color: #ffffff !important;
  background-color: #cb2027 !important;
}

.btn-dropbox {
  color: #ffffff !important;
  background-color: #007ee5 !important;
}

.btn-flickr {
  color: #ffffff !important;
  background-color: #ff0084 !important;
}

.btn-tumblr {
  color: #ffffff !important;
  background-color: #32506d !important;
}

.btn-skype {
  color: #ffffff !important;
  background-color: #00aff0 !important;
}

.btn-youtube {
  color: #ffffff !important;
  background-color: #bb0000 !important;
}

.btn-github {
  color: #ffffff !important;
  background-color: #171515 !important;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.display-block {
  display: block;
}

.dropdown-example {
  position: static;
  display: block;
  margin-bottom: 0.25rem;
  clear: left;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #0f9df7;
}



.avatar-circle {
  border-radius: 50%;
}

.avatar-rounded {
  border-radius: 50%;
}

.widget-messages .message-item {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #fff;
  padding: 12px 0;
}

.widget-messages .message-item img {
  width: 40px;
}

.widget-messages .message-item .message-user-img {
  display: block;
  float: left;
  margin-right: 15px;
  width: 40px;
}

.widget-messages .message-item .message-item-user {
  color: #525252;
  display: block;
  font-weight: 500;
  margin: 0;
}

.widget-messages .message-item .message-item-msg {
  color: #525252;
  display: block;
  font-weight: 200;
  margin: 0;
}

.widget-messages .message-item .message-item-date {
  color: #a2a5a7;
  font-weight: 200;
  position: absolute;
  right: 7px;
  top: 2px;
}

.custom-modal .modal-header {
  padding: 10px !important;
  border-radius: 0;
  background-color: #5ba2e6;
  color: #fff;
}

.custom-modal .modal-content {
  background-color: #f7f7f7;
}

.custom-modal .modal-footer {
  padding: 10px !important;
  border-radius: 0;
  background-color: #f3f3f3;
}

.custom-modal .close {
  color: #fff;
  text-shadow: 0;
}

.border-left {
  border-left: 3px solid #eaeaea;
}

.label-info {
  background-color: #5bc0de;
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #3498db;
  width: 80px;
  height: 80px;
  bottom: 10px;
  right: 15px;
  position: fixed;
  -webkit-animation: spin 0.6s linear infinite; /* Safari */
  animation: spin 0.6s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*Listado productos ventas pos*/
.sale-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 46%);
  grid-template-rows: 1fr;
  height: calc(100vh - 200px);
  min-height: 560px;
  max-height: 85vh;
  gap: 10px;
  align-items: stretch;
}

.pos-sale-layout .pos-open-shift-panel {
  grid-column: 1 / -1;
  flex-shrink: 0;
}

.pos-no-active-shift .pos-sale-pane {
  opacity: 0.92;
}

.pos-open-shift-panel .card {
  border-width: 1px;
}

@media (min-width: 1200px) {
  .sale-container {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 44%);
  }
}

.product-list-container {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
}

.invoice-data {
  padding: 0 8px;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.invoice-data > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.invoice-head {
  flex-shrink: 0;
}

.pos-cart-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #fafbfc;
}

/* Tablas listado POS (facturas, turnos, etc.) */
#nav-listado .pos-list-table,
#nav-work-shift .pos-list-table,
.pos-list-table.table {
  border-collapse: collapse !important;
  border: 1px solid #adb5bd !important;
}

#nav-listado .pos-list-table th,
#nav-listado .pos-list-table td,
#nav-work-shift .pos-list-table th,
#nav-work-shift .pos-list-table td,
.pos-list-table.table th,
.pos-list-table.table td {
  border: 1px solid #adb5bd !important;
  vertical-align: middle !important;
}

#nav-listado .pos-list-table thead th,
#nav-work-shift .pos-list-table thead th,
.pos-list-table.table thead th {
  border-bottom: 2px solid #6c757d !important;
  background-color: #f8f9fa;
  font-size: 0.8rem;
  white-space: nowrap;
}

#workShiftTable .pos-col-check {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  text-align: center !important;
  padding: 0.5rem 0.35rem !important;
  vertical-align: middle !important;
}

#workShiftTable .pos-col-check .form-check {
  min-height: 1.25rem;
  padding-left: 0;
}

#workShiftTable .pos-col-check .form-check-input {
  margin: 0 !important;
  float: none !important;
  position: static !important;
  width: 1.05em;
  height: 1.05em;
}

#tblPosInvoicePosList.pos-list-table,
table.dataTable#tblPosInvoicePosList {
  border-collapse: collapse !important;
}

#tblPosInvoicePosList.pos-list-table thead th,
#tblPosInvoicePosList.pos-list-table tbody td,
table.dataTable#tblPosInvoicePosList thead th,
table.dataTable#tblPosInvoicePosList tbody td {
  border: 1px solid #adb5bd !important;
  box-sizing: border-box;
}

table.dataTable#tblPosInvoicePosList thead th {
  border-bottom: 2px solid #6c757d !important;
  background-color: #f8f9fa;
}

.pos-cart-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem 9rem 5rem 5.25rem;
  gap: 4px 8px;
  padding: 4px 4px 6px;
  margin-top: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.pos-cart-header span:nth-child(2) {
  justify-self: center;
  text-align: center;
  padding-right: 0;
}

.pos-cart-header span:nth-child(3) {
  justify-self: center;
  text-align: center;
  padding-right: 0;
}

.invoice-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 0;
  padding: 8px 6px 12px;
  -webkit-overflow-scrolling: touch;
}

.pos-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem 9rem 5rem 5.25rem;
  gap: 6px 8px;
  align-items: center;
  padding: 10px 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: #fafbfc;
}

.pos-cart-item + .pos-cart-item {
  margin-top: 2px;
}

/* Los hidden no deben ocupar celdas de la grilla (desplazaban Acc. a Cant.) */
.pos-cart-item > input[type="hidden"] {
  display: none;
}

.pos-cart-item .item-description {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  margin-bottom: 2px;
}

.pos-cart-item-desc {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-right: 4px;
}

/* En el carrito de venta no se muestran código ni barras (solo nombre del producto) */
#invoiceContent .pos-item-codes,
#invoiceContent .pos-item-code-col {
  display: none !important;
}

.pos-cart-item-desc .pos-item-codes {
  margin: 2px 0 0;
  grid-template-columns: auto auto;
  gap: 8px;
  width: auto;
  max-width: 100%;
}

.pos-cart-item-desc .pos-item-codes--single {
  grid-template-columns: auto;
}

.pos-cart-item-desc .pos-item-code-col {
  padding: 0;
  text-align: left;
}

.pos-cart-item-desc .pos-item-codes .pos-item-code-col + .pos-item-code-col {
  border-left: none;
  padding-left: 8px;
  border-left: 1px solid #e2e8f0;
}

.pos-cart-item-desc .pos-item-code-label,
.pos-cart-item-desc .pos-item-code-value {
  font-size: 0.68rem;
  text-align: left;
}

.pos-cart-item-unit {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  text-align: right;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-right: 0;
  min-width: 0;
  width: 100%;
}

.pos-cart-item .item-price {
  font-size: 0.85rem;
}

.pos-cart-item .pos-item-price {
  width: 6.5rem;
  min-width: 6.5rem;
  max-width: 6.5rem;
  padding: 0.2rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right !important;
  margin-left: 0;
  margin-right: 0;
}

.pos-cart-qty-group {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  justify-self: center;
  min-width: 0;
  padding-right: 0;
}

.pos-cart-item > .item-subtotal {
  grid-column: 4;
  grid-row: 1;
}

.pos-cart-item .pos-item-qty-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pos-cart-item .pos-item-qty {
  width: 5.1rem;
  min-width: 5.1rem;
  max-width: 5.1rem;
  padding: 0.2rem 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.pos-cart-item .pos-item-qty.is-negative {
  color: #b42318;
}

.pos-cart-item.pos-cart-line-discount .item-description::after {
  content: ' (desc.)';
  font-size: 0.72em;
  color: #b42318;
  font-weight: 500;
}

.pos-cart-item-actions {
  grid-column: 5;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  justify-self: end;
}

.pos-cart-item .pos-cart-action-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background-color: transparent;
}

.pos-cart-item .pos-cart-action-btn.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.pos-cart-item .pos-cart-action-btn.btn-outline-danger {
  color: var(--bs-danger);
  border-color: var(--bs-danger);
}

.pos-cart-item .pos-cart-action-btn.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--bs-primary);
}

.pos-cart-item .pos-cart-action-btn.btn-outline-danger:hover {
  color: #fff;
  background-color: var(--bs-danger);
}

.pos-cart-item .pos-cart-action-btn.btn-outline-secondary {
  color: #64748b;
  border-color: #94a3b8;
}

.pos-cart-item .pos-cart-action-btn.btn-outline-secondary:hover {
  color: #fff;
  background-color: #64748b;
}

.pos-cart-item .pos-cart-action-btn .fa {
  font-size: 0.75rem;
}

.pos-cart-item .pos-cart-qty-btn,
.pos-cart-item .btn-minus,
.pos-cart-item .btn-plus {
  border: none;
  background: transparent;
  padding: 4px;
  line-height: 1;
  color: inherit;
  width: 28px;
  height: 28px;
  min-width: 28px;
}

.pos-cart-item .pos-cart-qty-btn:hover,
.pos-cart-item .btn-minus:hover,
.pos-cart-item .btn-plus:hover {
  background-color: #e2e8f0;
}

.pos-cart-item .pos-cart-qty-btn .material-symbols-outlined {
  font-size: 1.15rem;
}

.pos-cart-item .item-subtotal {
  text-align: right;
  font-size: 0.8rem;
  justify-self: end;
}

.invoice-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.item-content:hover {
  background-color: #F8FAFC;
}

.btn-plus, .btn-minus {
  background-color: #F1F5F9;
 
}

.btn-plus:hover, .btn-minus:hover {
  background-color:#E0E5EE;
}

.item-subtotal {

  font-size: 14px;
}

.item-price, .item-discount {
 
  color: #64748b;
  font-size: 12px;
  
}

.item-description {
  font-size:14px;
  font-weight: 700;
}

#saleTable tr:hover {
  background-color: #16957c;
}

.invoice-totals {
  background-color: white;
  font-size:14px;
  font-weight: 600;
  border-top: solid 0.5px #363b3e;
 
}

.sale-list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  min-height: 52px;
  max-height: 64px;
  padding: 6px 8px;
  margin-top: 6px;
  border-radius: 5px;
  border: solid 0.5px rgb(218, 216, 216);
  width: 100%;
  overflow: visible;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}

.sale-list-fixed {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
}

.sale-list-scroll {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: visible;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-top: 4px;
  padding-bottom: 4px;
}

.sale-list-scroll .btn-group,
.sale-list-scroll .pos-sale-btn-group {
  flex-shrink: 0;
  position: static;
}

.sale-list-scroll .dropdown-menu {
  z-index: 1080;
}

.product-list-container .sale-list .dropup .dropdown-menu {
  margin-bottom: 0.25rem;
}

.products-list {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 10px;
  align-content: start;
  border-radius: 5px;
  border: solid 0.5px rgb(218, 216, 216);
  margin-top: 5px;
  padding: 10px;
  box-sizing: border-box;
}

.search-box {
  flex-shrink: 0;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 152px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: solid 0.5px rgb(218, 216, 216);
  border-radius: 8px;
  text-align: center;
  padding: 6px 6px 8px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.06);
  background: #fff;
  gap: 2px;
}

.pos-item-img {
  position: relative;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pos-item-edit-select-btn {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 2;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.pos-item-edit-select-btn i {
  font-size: 0.72rem;
}

.pos-item-edit-select-btn svg {
  width: 22px;
  height: 22px;
}

.pos-item-stock {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.6rem;
  padding: 1px 4px;
  line-height: 1.2;
  border-radius: 4px;
}

.product-item .pos-item-body {
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: #0f172a;
  text-transform: uppercase;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  padding: 2px 2px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 2.4em;
}

.product-item .pos-item-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  flex: 0 0 auto;
}

.product-item .pos-item-codes--single {
  grid-template-columns: 1fr;
}

.product-item .pos-item-code-col {
  min-width: 0;
  padding: 2px 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
}

.product-item .pos-item-codes:not(.pos-item-codes--single) .pos-item-code-col + .pos-item-code-col {
  border-left: 1px solid #cbd5e1;
}

.product-item .pos-item-code-label {
  display: block;
  font-size: 0.56rem;
  font-weight: 600;
  line-height: 1.1;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-item .pos-item-code-value {
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.15;
  color: #475569;
  word-break: break-all;
  overflow-wrap: anywhere;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 100%;
}

.product-item .pos-item-foot {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 6px 2px 5px;
  border-top: 1px solid #e2e8f0;
  font-size: 1rem;
  color: #1d4ed8;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.products-list .product-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.product-item img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.pos-item-total {
  border-bottom: 1px dashed #ccc;
}

.div-scroll {
  max-height: 75vh;
  overflow: auto;
  overflow-x: hidden;
}

.bdg {

  min-width: 70px;
  padding: 4px 6px;
  border-radius: 20px;
  font-size: 0.90em;
  font-weight: bold;

}

.badge-green {

  background-color: #BBF7D0;
  color: #16A34A;

}

.badge-gray {
  background-color: #E5E7EB;
  color: #4B5563;
 
}


.badge-red {

  background-color: #FECACA;
  color: #DC2626;
 
}

.badge-blue {
  
  background-color: #bee3f8;
  color: #379ff4;
 
}

.badge-purple {
  
  background-color: #e9bef8;
  color: #b31bc4;
 
}

.badge-yellow {
  
  background-color: #FEF08A;
  color: #CC9227;
 
}

#spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
  display: none; /* oculto por defecto */
}

.spinner {
  border: 6px solid #ddd;
  border-top: 6px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Tawk.to: sin burbuja inferior en dashboard (chat desde navbar) */
body.tawk-no-launcher #tawk-bubble-container,
body.tawk-no-launcher .tawk-min-container,
body.tawk-no-launcher iframe[title="chat widget"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ventana de chat centrada al abrir desde la barra */
body.tawk-no-launcher .tawk-max-container,
body.tawk-no-launcher #tawk-chat-panel {
  right: auto !important;
  left: 50% !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
}

/* Login / index: burbuja abajo al centro */
body:not(.tawk-no-launcher) #tawk-bubble-container,
body:not(.tawk-no-launcher) .tawk-min-container {
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

body:not(.tawk-no-launcher) .tawk-max-container,
body:not(.tawk-no-launcher) #tawk-chat-panel {
  right: auto !important;
  left: 50% !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
}







