body.login-page {
  background-image: url('/img/grey-suzuki-fiber-company-suzuki-gsxr750-carbon-motorbikes-1920x1200-motorcycles-suzuki-hd-art-wallpaper-preview.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  min-height: 100vh !important;
}


/* Hace que el cuadro de login se vea profesional */
.login-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* === Dashboard cards modernas === */
.small-box.kpi-soft {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  min-height: 125px;
  padding-top: 4px;
}

.small-box.kpi-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.small-box.kpi-soft .inner h3 {
  font-weight: 700;
  margin-bottom: 6px;
}

.small-box.kpi-soft .inner p {
  color: #6b7280;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 500;
}

.small-box.kpi-soft .icon {
  font-size: 38px;
  opacity: 0.12;
  top: 14px;
  right: 14px;
}

.card-soft {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-soft .card-header {
  background: #fafafa;
  border-bottom: 1px solid #ececec;
}

.card-soft.card-danger-soft .card-header {
  background: #fff5f5;
  color: #b42318;
}

.card-soft.card-warning-soft .card-header {
  background: #fffaeb;
  color: #b54708;
}

.card-soft.card-info-soft .card-header {
  background: #f0f9ff;
  color: #026aa2;
}

.card-soft.card-primary-soft .card-header {
  background: #f5f8ff;
  color: #175cd3;
}

.card-soft .card-title {
  font-weight: 600;
}

.badge-soft-danger {
  background: #fee4e2;
  color: #b42318;
}

.badge-soft-warning {
  background: #fef0c7;
  color: #b54708;
}

.badge-soft-info {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-soft-success {
  background: #dcfce7;
  color: #15803d;
}

.badge-soft-secondary {
  background: #f3f4f6;
  color: #374151;
}

.badge-soft-dark {
  background: #e5e7eb;
  color: #111827;
}

.card {
  border-radius: 12px;
}

.card-header {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
}

.badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.table td,
.table th {
  vertical-align: middle !important;
}

.content-header h1 {
  font-size: 1.8rem;
}

.info-box {
  border-radius: 10px;
}

.btn {
  border-radius: 8px;
}

.progress {
  border-radius: 10px;
  overflow: hidden;
}

/* Bloque carga de productos */
.bloque-carga-producto .form-group {
  margin-bottom: 0;
}

.bloque-carga-producto label {
  font-weight: 600;
  margin-bottom: 6px;
  min-height: 24px;
  display: block;
}

.bloque-carga-producto .form-control,
.bloque-carga-producto .select2-container--bootstrap4 .select2-selection,
.bloque-carga-producto .input-group-text {
  height: 38px !important;
  min-height: 38px !important;
}

.bloque-carga-producto .select2-container--bootstrap4 .select2-selection {
  display: flex !important;
  align-items: center !important;
}

.bloque-carga-producto .ayuda-campo {
  display: block;
  min-height: 38px;
  /* iguala los textos de ayuda */
  margin-top: 6px;
  font-size: 12px;
  color: #6c757d;
  line-height: 1.35;
}

.bloque-carga-producto .btn-agregar-producto {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.bloque-carga-producto .fila-carga {
  align-items: flex-start !important;
}

.bloque-carga-producto .col-ajustada {
  display: flex;
  flex-direction: column;
}

.bloque-carga-producto .campo-grow {
  flex: 1 1 auto;
}