/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

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

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

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

/* Navbar page z-index issue solution */
.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 class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.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;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* 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;
}

.toast-success {
  border-left: 5px solid #71dd37 !important;
}

.toast-error {
  border-left: 5px solid #ff3e1d !important;
}

/* ======================================================
   FORMULARIOS COMPACTOS
====================================================== */

.form-row-custom {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.campo-label {
  width: 180px;
  min-width: 180px;

  display: flex;
  align-items: center;

  font-weight: 600;
  color: #566a7f;
}

.campo-label i {
  font-size: 18px;
  margin-right: 8px;
}

.campo-input {
  flex: 1;
}

/* ======================================================
   CARDS
====================================================== */


/* ======================================================
   DATOS CLIENTE
====================================================== */

#datosCliente {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#datosCliente .card-body {
  padding-left: 0;
  padding-right: 0;
}

/* ======================================================
   ICONOS TITULOS
====================================================== */

.section-title-icon {
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ======================================================
   TOTAL PEDIDO
====================================================== */

.total-card {
  background: linear-gradient(135deg, #696cff, #5a5fe8);
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  min-width: 220px;
}

.total-card small {
  opacity: .85;
  font-size: 14px;
}

.total-card h3 {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

/* ======================================================
   BOTONES PEDIDO
====================================================== */

.botones-pedido {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.top-module-shortcuts .btn {
  min-width: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-module-shortcuts .btn i {
  font-size: 1.1rem;
}

.top-module-divider {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  margin: 0 0.35rem 0 0.55rem;
  padding-left: 0.9rem;
  border-left: 1px solid #d9dee3;
}

.top-module-divider span {
  color: #a1acb8;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .top-module-shortcuts {
    display: none !important;
  }

  .top-module-divider span {
    display: none;
  }

  .top-module-divider {
    margin-right: 0.15rem;
    padding-left: 0.6rem;
  }
}

#card-bandeja {
  min-height: 120px;
}

.text-justify {
  text-align: justify;
}

.position-relative{
    position: relative;
}

.resultados-producto{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    max-height: 250px;
    overflow-y: auto;
    z-index: 99999;
}
