/* Color institucional */
:root{
  --brand: #0145BC;
  --brand-dark: #013a9d;
}

/* Layout general */
body{ background:#fafafa; }

.logo{ 
  max-width: 250px;  /* antes 170px */
  height: auto;
}

.titulo-simulador{
  font-weight: 700;
  color: var(--brand);
}

/* Botón principal con color institucional */
.btn-primary{
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
}
.btn-primary:hover{
  background-color: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}

/* Iconos / prefijos de inputs */
.input-group-text{
  background-color: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}

/* Bordes de tarjetas y tablas */
.card{
  border: 1px solid var(--brand);
  border-radius: 12px;
}
.table{
  border: 1px solid var(--brand);
}
.table thead.table-light th{
  background-color: #f0f4fb;
  color: var(--brand);
  border-bottom: 1px solid var(--brand);
}

/* Línea divisoria con color institucional */
.divisor {
  border: none;
  height: 3px;                 /* grosor de la línea */
  background-color: var(--brand);
  width: 80%;                  /* ancho de la línea */
  margin: 15px auto;           /* espacio vertical y centrado */
  border-radius: 2px;          /* bordes suaves */
}

/* Botón "Exportar a Excel" con color institucional */
.btn-outline-primary{
  color: var(--brand) !important;
  border-color: var(--brand) !important;
  background-color: transparent !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus{
  background-color: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 .2rem rgba(1,69,188,.25) !important; /* halo de enfoque */
}
.btn-outline-primary:active,
.btn-outline-primary.active{
  background-color: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
  color: #fff !important;
}
.btn-outline-primary:disabled{
  color: var(--brand) !important;
  border-color: var(--brand) !important;
  background-color: transparent !important;
  opacity: .65;
}

/* Footer */
.site-footer{
  margin-top: 24px;
  padding: 14px 0;
  background-color: #f0f4fb;
  border-top: 3px solid var(--brand);
  text-align: center;
  color: #0b2e6b;
  font-size: 0.95rem;
}

/* Enlace de marca en el footer */
.site-footer .brand-link,
.site-footer .brand-link:visited{
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.site-footer .brand-link:hover,
.site-footer .brand-link:focus{
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Mejor lectura en tablas largas */
table th, table td{ white-space: nowrap; }
