/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLmNzcyIsInNvdXJjZXMiOlsiY3VzdG9tLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9 */

/*# sourceMappingURL=custom.css.map */
#previewImagen {
  border-radius: 50%;
  position: absolute;
  float: inline-start;
}
.login-page {
  /* Establece una imagen de fondo por defecto */
  background-image: url("../img/fondo-pc.jpg");

  /* Establece un degradado lineal como fondo */
  background: linear-gradient(
      to bottom,
      rgba(212, 214, 211, 0.8),
      rgba(0, 35, 51, 0.8)
    ),
    url("../img/fondo-pc.jpg");
  /* Establece una altura mínima para que el contenido se muestre correctamente */
  min-height: 100vh;
  margin: 0;
  padding: 0 20px 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;

  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
}

.login-form {
  background-color: rgba(255, 255, 255, 0.9);
  /* Fondo del formulario con opacidad */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  /* Sombra para dar profundidad al formulario */
  max-width: 400px;
  width: 100%;
  position: relative;
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilo para el resto del contenido del formulario */
.login-form input[type="text"],
.login-form input[type="password"],
.login-form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-form button {
  background-color: #353c48;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form button:hover {
  background-color: #1b1c1f;
}

.logo {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: url("../img/logo.png") no-repeat center;
  background-size: cover;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.login-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

.tagline {
  text-align: center;
  color: #777;
}

/* Estilos para pantallas pequeñas (móviles) */
@media screen and (max-width: 768px) {
  .login-page {
    /* Cambia la imagen de fondo para pantallas pequeñas */
    background: linear-gradient(
      to bottom,
      rgba(212, 214, 211, 0.8),
      rgba(0, 35, 51, 0.8)
    );
    background-image: url("../img/fondo-celular.jpg");
    min-height: 100vh;
    margin: 0;
    padding: 0 20px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;

    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
  }
}

.table-scroll-top {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  height: 16px;
  margin-bottom: 6px;
  border: 1px solid #dfe4ea;
  border-radius: 4px;
  background: #f8fafc;
}

.table-scroll-top-inner {
  height: 1px;
}

/* Formularios de venta/cotizacion: forzar scroll horizontal interno en tabla de articulos */
.route-sales-forms .table-responsive {
  overflow-x: auto;
}

.route-sales-forms #tblarticulos {
  min-width: 1200px;
}

.route-sales-forms #tblarticulos th,
.route-sales-forms #tblarticulos td {
  white-space: nowrap;
}

img[src*="img/products/"] {
  cursor: zoom-in;
  border-radius: 4px;
}

.img-hover-preview {
  position: fixed;
  z-index: 9999;
  display: none;
  pointer-events: none;
  background: #ffffff;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  padding: 6px;
}

.img-hover-preview img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 6px;
}

/* Centro Logístico: operaciones pendientes separadas de las notificaciones generales. */
.logistics-center-toggle {
  display: flex !important;
  align-items: center;
  position: relative;
  gap: 7px;
  color: #fff !important;
  white-space: nowrap;
}

.logistics-center-icon {
  font-size: 17px;
}

.logistics-center-label {
  font-size: 13px;
  font-weight: 600;
}

.logistics-center-badge {
  position: absolute;
  top: 5px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #343a46;
  border-radius: 10px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

.logistics-center-menu {
  width: 330px !important;
  max-width: calc(100vw - 24px);
  padding: 0;
  overflow: hidden;
}

.logistics-center-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  border-bottom: 1px solid #e9ecef;
  color: #34395e;
  font-size: 15px;
  font-weight: 700;
}

.logistics-center-header i {
  color: #3abaf4;
}

.logistics-center-body {
  padding: 15px 16px 16px;
}

.logistics-center-summary {
  margin: 0 0 13px;
  color: #6c757d;
  font-size: 13px;
}

.logistics-center-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 11px 12px;
  border: 1px solid #e4e6fc;
  border-radius: 6px;
  background: #f8f9ff;
  color: #34395e;
  font-size: 13px;
}

.logistics-center-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3abaf4;
  color: #fff;
}

.logistics-center-action {
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1199.98px) {
  .logistics-center-label {
    display: none;
  }

  .logistics-center-toggle {
    gap: 0;
  }
}

/* Aviso flash de sucursal: debajo de la barra absoluta, sin alterar el dashboard. */
.branch-flash-notice {
  position: absolute;
  top: 90px;
  left: 280px;
  right: 30px;
  z-index: 889;
  margin: 0;
  padding: 8px 42px 8px 14px;
  min-height: 38px;
  line-height: 22px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  transition: opacity 0.3s ease;
}

body.sidebar-mini .branch-flash-notice {
  left: 90px;
}

@media (max-width: 1024px) {
  .branch-flash-notice,
  body.sidebar-mini .branch-flash-notice {
    left: 30px;
    right: 30px;
  }
}

@media (max-width: 575.98px) {
  .branch-flash-notice,
  body.sidebar-mini .branch-flash-notice {
    left: 15px;
    right: 15px;
    padding-left: 10px;
    font-size: 13px;
  }
}
