/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Remisiones: resumen de productos dentro de la grilla */
.prod-summary {
  border-left: 3px solid #e2e8f0;
  background-color: #fafbfc;
  border-radius: 6px;
  padding: .25rem .5rem;
  max-height: 200px;
  overflow-y: auto;
}
.prod-summary thead th {
  background-color: #f8fafc;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
}
.prod-summary tbody tr + tr td {
  border-top: 1px dashed #eeeeee;
}
.prod-summary td,
.prod-summary th {
  vertical-align: middle;
  white-space: nowrap;
}

/* Filtros de exportación: tarjeta y grilla responsiva */
.filter-card {
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.filter-card .filter-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
  margin: 0 0 8px 0;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 16px;
  align-items: end;
}
.filter-grid .form-group {
  margin-bottom: 0;
}
.filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
