#sp-barra-azul {
  background-color: #3366CC;
  padding: 10px 0px 10px 0px;
}

#sp-logo-idpyba-buscar {
  padding: 20px 0px 20px 0px;
  box-shadow: none;
  border-top: 2px solid #F4F1F2;
  border-bottom: 2px solid #4fbf1d;
  animation: spFadeIn 0.5s;
}

#sp-search {
  display: flex;
  align-items: center;
  justify-content: end;
  z-index: 99999;
}

#sp-title {
  /*padding: 5px 0px 5px 0px;*/
  background: #95c925;
  box-shadow: none;
  border-top: 1px solid #F4F1F2;
  border-bottom: 2px solid #2a8003;
  animation: spFadeIn 0.5s;
}

#sp-main-body {
  padding: 50px 0;
}

#sp-footer {
  background-color: #8CBE23;
  color: #000000;
  margin-top: 100px;
}

#sp-footer2do {
  background-color: #8CBE23;
  padding: 0px 0px 15px 0px;
}

#contenfooter {
  margin-top: -8em;
}



/* ===== Estilos solo para los botones animados ===== */
.botones-animados .btn {
  transition: all 0.3s ease-in-out;
  border: none;
  text-decoration: none;
  color: #fff;
  background-color: #198754; /* verde accesible Bootstrap */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  height: 100%; /* igual altura dentro del row */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.botones-animados .btn .fa-icon {
  color: #fff;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover + Focus accesible */
.botones-animados .btn:hover,
.botones-animados .btn:focus {
  background-color: #218838 !important; /* verde más oscuro accesible */
  transform: translateY(-5px);
}

.botones-animados .btn:hover .fa-icon,
.botones-animados .btn:focus .fa-icon {
  color: #FFD43B; /* amarillo accesible */
  transform: scale(1.2);
}

/* Centrado y espaciado del texto */
.botones-animados .text-title {
  font-size: 1.5rem;
  line-height: 1.2;
  max-width: 90%;
}
.botones-animados .text-subtitle {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 90%;
}

/* ======== ICONO CON EFECTO 3D SUTIL ======== */
.fa-icon {
  position: relative;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.25),
    0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}

/* Hover: brillo suave y profundidad controlada */
.btn:hover .fa-icon {
  color: #ffe97f; /* Amarillo suave accesible */
  transform: scale(1.08) translateY(-2px);
  text-shadow:
    0 1px 2px rgba(255,255,180,0.6),
    0 3px 6px rgba(0,0,0,0.2);
}


/* ==== CONTENEDOR ==== */
.botones-primarios {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==== BOTONES ==== */
.btn-animado {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border: none;
  color: #fff;
  text-decoration: none;
  border-radius: 0.75rem;
  padding: 0.9rem 1.6rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Verde institucional */
.btn-verde {
  background-color: #198754;
}

/* Azul verdoso complementario */
.btn-azul {
  background-color: #0d6efd;
}

/* Hover general */
.btn-animado:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  text-decoration: none;
}

/* Hover color */
.btn-verde:hover {
  background-color: #1e9b63;
}
.btn-azul:hover {
  background-color: #0b5ed7;
}

/* Foco accesible */
.btn-animado:focus {
  outline: 3px solid #FFD43B;
  outline-offset: 3px;
}

/* Icono dentro del botón */
.btn-animado .fa-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn-animado:hover .fa-icon {
  transform: scale(1.2);
}

/* ==== RESPONSIVO ==== */
@media (max-width: 767.98px) {
  .botones-secundarios {
    justify-content: center;
  }
  .btn-animado {
    width: 100%;
    text-align: center;
  }
}




/* ===== Estilo general para campos personalizados (formato lista sin lineas) ===== */
/* ===== Contenedor general ===== */
/*.fields-container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 0;
  margin: 1.5rem 0;
  background: transparent;
  border: none;
}

.field-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 1rem;
  color: var(--bs-body-color, #222);
  line-height: 1.6;
}

.field-label {
  font-weight: 600;
  margin-right: .5rem;
  color: var(--bs-body-color, #111);
}

.field-value {
  font-weight: 400;
  color: var(--bs-body-color, #333);
}

.field-value {
  word-break: break-word;
  flex: 1 1 auto;
}

.field-value a {
  color: var(--bs-link-color, #006837);
  text-decoration: underline;
}

.field-value a:hover,
.field-value a:focus {
  color: var(--bs-link-hover-color, #004d29);
  outline: none;
}

@media (max-width: 600px) {
  .field-entry {
    flex-direction: column;
    gap: .1rem;
  }
}*/

/* ===== Estilo general para campos personalizados (con marcos) ===== */
/* ===== Contenedor general ===== */
/*.fields-container {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.5rem 0;
  padding: 0;
}

.field-entry {
  display: flex;
  align-items: baseline;
  flex: 1 1 45%;
  background: var(--bs-white, #fff);
  border-bottom: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: .75rem 1rem;
  font-size: 1.15rem;
  line-height: 1.5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.field-entry:hover {
  background-color: #f9fdfb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.field-label {
  font-weight: 600;
  margin-right: .4rem;
  color: var(--bs-body-color, #111);
  white-space: nowrap;
}

.field-value {
  font-weight: 400;
  color: var(--bs-body-color, #333);
  flex: 1 1 auto;
  word-break: break-word;
}

.field-value a {
  color: var(--bs-link-color, #006837);
  text-decoration: underline;
}

.field-value a:hover,
.field-value a:focus {
  color: var(--bs-link-hover-color, #004d29);
  outline: none;
}

.fields-container .field-entry {
  border-radius: .5rem;
}

@media (max-width: 768px) {
  .fields-container {
    flex-direction: column;
  }

  .field-entry {
    flex: 1 1 100%;
  }
}*/

/* ===== Estilo general para campos personalizados (con marcos) ===== */
/* ===== Contenedor general ===== */
/*.fields-container {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.5rem 0;
  padding: 0;
}

.field-entry {
  display: flex;
  align-items: baseline;
  flex: 1 1 45%;
  background: var(--bs-white, #fff);
  border-bottom: 1px solid #dee2e6;
  border-radius: .5rem;
  padding: .75rem 1rem;
  font-size: .95rem;
  line-height: 1.5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.field-entry:hover {
  background-color: #f9fdfb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.field-label {
  font-weight: 600;
  margin-right: .4rem;
  color: var(--bs-body-color, #111);
  white-space: nowrap;
}

.field-label::after {
  content: ":";
  margin-left: .1rem;
}

.field-value {
  font-weight: 400;
  color: var(--bs-body-color, #333);
  flex: 1 1 auto;
  word-break: break-word;
}

.field-value a {
  color: var(--bs-link-color, #006837);
  text-decoration: underline;
}

.field-value a:hover,
.field-value a:focus {
  color: var(--bs-link-hover-color, #004d29);
  outline: none;
}

.fields-container .field-entry {
  border-radius: .5rem;
}

@media (max-width: 768px) {
  .fields-container {
    flex-direction: column;
  }

  .field-entry {
    flex: 1 1 100%;
  }
}*/

/* ===== Contenedor general en tres columnas - cuadros pegados ===== */
/*.fields-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #dee2e6;
  border-left: 1px solid #dee2e6;
  margin: 1.5rem 0;
  background: var(--bs-white, #fff);
  padding-left: 0rem;
}

.field-entry {
  display: flex;
  flex-direction: column;
  padding: .8rem 1rem;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  background: transparent;
  font-size: .95rem;
  line-height: 1.4;
  transition: background-color 0.25s ease;
}

.field-label {
  font-weight: 600;
  margin-bottom: .25rem;
  color: var(--bs-body-color, #111);
}

.field-label::after {
  content: "";
}

.field-value {
  font-weight: 400;
  color: var(--bs-body-color, #333);
  word-break: break-word;
}

.field-entry[data-field="Ver Notificación"],
.field-entry[data-field="Documento"],
.field-entry[data-field="Archivo PDF"] {
  grid-column: 1 / -1;
  background-color: #f6fff9;
  transition: all 0.4s ease;
}

.field-entry[data-field="Ver Notificación"]:hover,
.field-entry[data-field="Documento"]:hover,
.field-entry[data-field="Archivo PDF"]:hover {
  background-color: #effff4;
  box-shadow: inset 0 0 8px rgba(0, 128, 0, 0.15);
}

@media (max-width: 992px) {
  .fields-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-entry[data-field="Ver Notificación"],
  .field-entry[data-field="Documento"],
  .field-entry[data-field="Archivo PDF"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .fields-container {
    grid-template-columns: 1fr;
  }
}*/

/* ===== Estilo general para campos personalizados ===== */
.field-value {
  font-size: 20px;
  font-weight: 600;
}

.field-label {
  color: #575757;
}


.page-header {
  padding-bottom: 15px;
  text-align: center;
  color: #cccc;
  border-bottom: 1px solid beige;
  margin-bottom: 32px;
}