:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
}

.split-page{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.split-wrapper{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 */
}

/* IZQUIERDA */
.split-left{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.left-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18);
}

.left-topbar{
  position: relative;
  z-index: 2;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left-logo{
  height: 42px;
  width: auto;
  object-fit: contain;
}

.left-social a{
  color: #fff;
  text-decoration: none;
  margin-left: 12px;
  font-weight: 700;
  opacity: .85;
  font-size: 14px;
}
.left-social a:hover{ opacity: 1; }

.left-caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 90px;
  z-index: 2;
  text-align: center;
}

.left-caption h2{
  color: #111;
  font-size: 38px; /* más pequeño */
  font-weight: 500;
  letter-spacing: .4px;
  margin: 0;
}

.left-footer{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: 13px;
}

/* DERECHA */
.split-right{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 26px;
}

.right-inner{
  width: 100%;
  max-width: 520px;
}

.right-logo-wrap{
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.right-logo{
  height: 110px;
  width: auto;
  object-fit: contain;
}

.right-title{
  font-size: 19px;        /* más pequeño */
  font-weight: 700;
  margin-bottom: 12px;
}

.right-text{
  font-size: 14px;        /* más pequeño */
  color: #4b5563;
  line-height: 1.45;
  margin-bottom: 12px;
}

/* Labels */
.form-label{
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Inputs más compactos */
.form-control-lg,
.form-select-lg{
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 4px;
}

/* Botón más compacto */
.right-btn{
  font-size: 14px;
  padding: 11px 14px;
  font-weight: 700;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 992px){
  .split-wrapper{
    grid-template-columns: 1fr;
  }
  .split-left{
    min-height: 46vh;
  }
  .left-caption h2{
    font-size: 30px;
  }
}

.table-success-subtle{
  --bs-table-bg: #dff2df;
}
.table-hover tbody tr:hover{
  filter: brightness(0.99);
}

:root{
  --poli-green: #1f7a3f;
  --poli-green-dark: #166132;
}

/* SOBRESCRIBIR BOOTSTRAP */
.btn.btn-primary{
  background-color: var(--poli-green) !important;
  border-color: var(--poli-green) !important;
  color: #fff !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active{
  background-color: var(--poli-green-dark) !important;
  border-color: var(--poli-green-dark) !important;
  color: #fff !important;
}

/* Botón Descargar (tabla) */
.table .btn.btn-primary{
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 4px;
}

/* Botón Nueva búsqueda */
.btn.btn-outline-secondary{
  color: var(--poli-green) !important;
  border-color: var(--poli-green) !important;
}

.btn.btn-outline-secondary:hover{
  background-color: var(--poli-green) !important;
  color: #fff !important;
}

/* Logo superior resultados */
.top-logo{
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* ===============================
   FOOTER INSTITUCIONAL
   =============================== */

.site-footer{
  text-align: center;
  padding: 14px 10px;
  font-size: 13px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}