/*
* demo.css 
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 34px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

 
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}

 
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

 
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

 @media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}



/******************************************************************************
* Auth
******************************************************************************/
.authentication-wrapper {
  min-height: 100vh;
}

.brand-title {
  letter-spacing: .2px;
}

.app-brand-logo svg {
  display: block;
}

.input-group .form-control {
  box-shadow: none;
}


/******************************************************************************
* Overlay Login
******************************************************************************/
#loginOverlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loginOverlay.block-pointer {
  pointer-events: all;
}

#loginOverlay .overlay-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 18px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  font-size: 15px;
}

/******************************************************************************
* Loader Global
******************************************************************************/
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ID-load {
  position: fixed;  
  inset: 0;
  z-index: 9999; 
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);  
}

.ID-load>div {
  text-align: center;
}

.ID-load .id-load-content {
  text-align: center;
  margin-top: 5px;
  padding-top: 15px;
  border-top: solid 1px #aaa;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
}

.ID-load .id-load-content .id-load-icon {
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  text-align: center;
  -moz-filter: grayscale(1);
  -o-filter: grayscale(1);
  -ms-filter: grayscale(1);
  filter: grayscale(1);
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  animation: pulse 1s ease infinite;
}

.ID-load .id-load-content .id-load-icon:nth-child(6) {
  animation-delay: 0.83333s;
}

.ID-load .id-load-content .id-load-icon:nth-child(5) {
  animation-delay: 0.66667s;
}

.ID-load .id-load-content .id-load-icon:nth-child(4) {
  animation-delay: 0.5s;
}

.ID-load .id-load-content .id-load-icon:nth-child(3) {
  animation-delay: 0.33333s;
}

.ID-load .id-load-content .id-load-icon:nth-child(2) {
  animation-delay: 0.16667s;
}

.ID-load .id-load-content .id-load-icon:nth-child(1) {
  margin-left: 0;
  animation-delay: 0s;
}

.ID-load .id-load-content .id-load-icon svg {
  width: 60%;
  height: auto;
}

.ID-load .id-load-content .id-load-icon svg path {
  fill: #fff;
}

.ID-load .id-load-content .id-shop {
  background-color: #488fff;
}

.ID-load .id-load-content .id-cart {
  background-color: #aa77dd;
}

.ID-load .id-load-content .id-register {
  background-color: #7775d9;
}

.ID-load .id-load-content .id-report {
  background-color: #17ce7b;
}

.ID-load .id-load-content .id-sale {
  background-color: #feaa55;
}

.ID-load .id-load-content .id-invetory {
  background-color: #0dd5aa;
}

@keyframes pulse {
  0%, 50%, 100% {
    transform: scale(1);
    filter: grayscale(1);
    opacity: 0.2;
  }
  25% {
    transform: scale(1.35);
    filter: grayscale(0);
    opacity: 1;
  }
}


/******************************************************************************
* Tabla Global
******************************************************************************/
#table tbody td,
#table thead th {
  padding: 6px 8px !important;
  font-size: 13px !important;
}


.logo-img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


.actions-dropdown .dropdown-menu {
  min-width: 130px !important;
  font-size: 13px !important;
}

.actions-dropdown button {
  border: none;
  background: transparent;
}


.bg-institucion {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bg-institucion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 39, 70, 0.07);  
    z-index: -1;
}
