
.navbar.sub-navbar {
  position: fixed;
  top: 20px; /* Ajusta según tu header gob.mx */
  width: 100%;
  z-index: 1030;
  background-color: #a57f2c !important;
}


body {
  padding-top: 60px !important; /* Suma del header gob.mx + tu navbar */
}


.navbar-header img {
  height: 2.5em;
  vertical-align: middle;
}



/*PLANTILLA*/
#estadoList {
  height: 400px;
  overflow-y: scroll;
}

/* Login */
.contenedor-login img {
  height: 100%;
  /* Hace que la imagen ocupe toda la altura del contenedor */
  width: auto;
  /* Permite que el ancho de la imagen se ajuste automáticamente */
  object-fit: cover;
  /* Ajusta la imagen dentro del contenedor sin distorsionarla */
}

/* Personalización del scrollbar */
#estadoList::-webkit-scrollbar {
  width: 8px;
}

#estadoList::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 5px;
}

#estadoList::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

#labelRadios {
  font-size: 11px;
  color: #555;
}

#legendTitle {
  font-size: 14px;
  color: #555;
}

/*HIGHCHART*/
.highcharts-figure,
.highcharts-data-table table {
  min-width: 310px;
  max-width: 800px;
  margin: 1em auto;
}

#container {
  height: 400px;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}

/*Estilo bg variables*/

.bg-admin {
  min-height: 60px !important;
  min-width: 100%;
  font-size: 14px;
  display: inline-block;
  padding: 5px 5px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: solid 2px #f10606;
  border-radius: 4px;
  cursor: pointer;
  vertical-align: middle !important;
}

.bg-admin:hover {
  background: #f5c5c5;
  color: #000;
  text-decoration: none;
}

.bg-comercial {
  min-height: 60px !important;
  min-width: 100%;
  font-size: 14px;
  display: inline-block;
  padding: 5px 5px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: solid 2px #f10606;
  border-radius: 4px;
  cursor: pointer;
}

.bg-comercial:hover {
  background: #f5c5c5;
  color: #000;
  text-decoration: none;
}

.bg-plan {
  color: #fff;
  min-height: 60px !important;
  min-width: 100%;
  font-size: 14px;
  display: inline-block;
  padding: 5px 5px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: solid 2px #f10606;
  border-radius: 4px;
  cursor: pointer;
}

.bg-plan:hover {
  background: #f5c5c5;
  color: #000;
  text-decoration: none;
}

.bg-op {
  color: #fff;
  width: 100px !important;
  color: #fff;
  min-height: 60px !important;
  min-width: 100%;
  font-size: 14px;
  display: inline-block;
  padding: 5px 5px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: solid 2px #f10606;
  border-radius: 4px;
  cursor: pointer;
}

.bg-op:hover {
  background: #f5c5c5;
  color: #000;
  text-decoration: none;
}

.text-admin {
  color: #00557f;
  font-weight: bold;
}

.text-comercial {
  color: #f28e2b;
  font-weight: bold;
}

.text-op {
  color: #ec5c5e;
  font-weight: bold;
}

.text-plan {
  color: #22756e;
  font-weight: bold;
}

/* Alertas*/

.swal2-title {
  font-size: 14px !important;
}

.nav-comercial {
  width: 200px;
  height: 50px;
  color: #ebebeb !important;
  background: #f28e2b !important;
  cursor: pointer;
}

.nav-plan {
  width: 200px;
  height: 50px;
  color: #ebebeb !important;
  background: #82cac4 !important;
  cursor: pointer;
}

.nav-op {
  width: 200px;
  height: 50px;
  color: #ebebeb !important;
  background: #f57b7d !important;
  cursor: pointer;
}

.nav-admin {
  width: 200px;
  height: 50px;
  color: #ebebeb !important;
  background: #00557f !important;
  cursor: pointer;
}

.nav-var.active {
  width: 200px;
  height: 50px;
  font-weight: bold;
  color: #1c4b40 !important;
  border: 3px solid #1c4b40;
  background: #fff !important;
}

/* Card */

.card {
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  background: white;
  border-radius: 8px;
  font-size: 14px;
}

.card-admin {
  text-decoration: none;
  color: #fff;
  background: #00557f;
}

.card-admin:hover {
  text-decoration: none;
  color: #fff;
  background: #35718f;
}

.card-comercial {
  text-decoration: none;
  color: #fff;
  background: #f28e2b;
}

.card-comercial:hover {
  text-decoration: none;
  color: #fff;
  background: #ffa32d;
}

.card-op {
  text-decoration: none;
  color: #fff;
  background: #ec5c5e;
}

.card-op:hover {
  text-decoration: none;
  color: #fff;
  background: #ff6363;
}

.card-plan {
  text-decoration: none;
  color: #fff;
  background: #619692;
}

.card-plan:hover {
  text-decoration: none;
  color: #fff;
  background: #79bcb7;
}

.pills-opciones {
  text-decoration: none;
}

#resultado,
#txtResultado {
  color: #961111;
  font-size: 14px;
  font-weight: bold;
}

.div-validacion {
  color: #f7f307;
  font-size: 13px;
}

.div-validacion {
  position: absolute;
  bottom: 0;
}

.leyenda {
  font-size: 18px;
  font-weight: 400;
}

.header-variables {
  background-color: #03a892 !important;
  color: #ffffff;
}

.header-contacto {
  background-color: #9c2448 !important;
  color: #ffffff;
}

.header-seccion-reportes {
  background-color: #3180c0d8 !important;
  color: #ffffff;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.input-container {
  position: relative;
  display: inline-block;
}

.input-container input[type="text"] {
  padding-right: 40px;
  /* Esto deja espacio para el botón */
}

.input-container button {
  position: absolute;
  top: 0;
  right: 0;
}

.toolbar-cp {
  align-items: center;
  /* Centra verticalmente */
}

.container-user {
  min-height: 400px;
}

.card-principal {
  min-height: 100px;
  padding-bottom: 6px;
  border: 1px solid #a33965 !important;
}

.card-header-admin {
  background-color: #a33965;
  height: 70px;
  font-size: 42px;
  color: #fff;
  display: flex;
  /* Activa flexbox */
  justify-content: center;
  /* Centra horizontalmente */
  align-items: flex-end;
  /* Alinea al final (bottom) */
  padding-bottom: 2px;
  /* Añade un poco de espacio en la parte inferior si lo deseas */
}

.card-body-admin {
  text-align: center;
  /* Centra horizontalmente */
  height: 100px;
  /* Asegúrate de que el div tenga una altura definida */
}

.text-detalle {
  font-size: 14px;
}

#tbl-organismos {
  font-size: 14px !important;
}

.list-group-item {
  border: 1px solid #ccc !important;
}

.list-group-item:hover {
  background-color: #9dcabe;
  color: #000;
  font-weight: bold;
}

.enlace-catalogos {
  text-decoration: none !important;
  color: #000;
}

.var-complete {
  min-height: 60px !important;
  min-width: 100%;
  font-size: 14px;
  display: inline-block;
  padding: 5px 5px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: solid 2px #13322b !important;
  border-radius: 4px;
  cursor: pointer;
  vertical-align: middle !important;
}

.var-complete:hover {
  background: #c7fac4;
  color: #000;
  text-decoration: none;
}

.disabled {
  pointer-events: none;
}

.badge-pendiente {
  background-color: #c00f2b;
  /* Rojo oficial */
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.badge-all {
  background-color: #006341;
  /* Verde oficial */
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.disabled-link {
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.text-card {
  font-size: 16px;
}

.rango {
  display: flex;
  align-items: center;
  /* Alinea los elementos verticalmente al centro */
  margin-bottom: 10px;
}

.circulo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

.rojo {
  background-color: red;
}

.amarillo {
  background-color: orange;
}

.verde {
  background-color: green;
}

.btn-collapse {
  border-color: #ccc;
  color: #000;
  font-size: 13px;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  height: 70px;
}

.collapse:not(.show) {
  display: none;
  /* Asegura que el contenido colapsado no se muestre cuando no está en estado de show */
}

.collapse-transition {
  transition: height 0.7s ease-in-out;
}

.btn-operacion {
  background: #c0a408;
  height: 60px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: solid 2px #e0d176;
  border-radius: 4px;
  cursor: pointer;
}

.btn-operacion:hover {
  background: #e0d176;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: solid 2px #e0d176;
  border-radius: 4px;
  cursor: pointer;
}

.btn-financieros {
  background: #f35a6e;
  height: 60px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: solid 2px #f35a6e;
  border-radius: 4px;
  cursor: pointer;
}

.btn-financieros:hover {
  background: #e78895;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: solid 2px #e78895;
  border-radius: 4px;
  cursor: pointer;
}

.btn-eficiencias {
  background: #0ad4b3;
  height: 60px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: solid 2px #0ad4b3;
  border-radius: 4px;
  cursor: pointer;
}

.btn-eficiencias:hover {
  background: #60e4ce;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border: solid 2px #60e4ce;
  border-radius: 4px;
  cursor: pointer;
}

/* Se utiliza para ajustar el nav de gobierno de mexico 2024-2030*/
.navbar {
  height: auto !important;
}

.error-font {
  font-size: 11px !important;
  /* Agregar !important para que el estilo se aplique siempre */
  color: red !important;
  /* Opcional, puedes cambiar el color del texto */
}

.liga-solicitud {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  color: #1c4b40;
}

/*Estilos de captura de variables*/
.var-complete {
  background-color: #e8f5e9 !important;
  transition: all 0.3s ease;
}

#div-completado {
  background-color: #f8f9fa;
  transition: all 0.5s ease;
}

/* Animaciones (requiere animate.css o puedes usar tus propias clases) */
.animate__animated {
  animation-duration: 0.5s;
}

/* Estilos para la tarjeta de alerta personalizada Resumen */
.custom-alert-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #c00f2b;
  margin-bottom: 2rem;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  animation: fadeIn 0.5s ease-out;
}

.custom-alert-card-resumen {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #c00f2b;
  margin-bottom: 2rem;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  animation: fadeIn 0.5s ease-out;
}

.custom-alert-content {
  padding: 1.5rem;
}

.custom-alert-title {
  color: #c00f2b;
  font-size: 24px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-alert-icon {
  font-size: 24px;
}

.custom-alert-text {
  color: #495057;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.custom-alert-text strong {
  color: #006341;
  font-weight: 600;
}

.custom-alert-email {
  color: #006341;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.custom-alert-email:hover {
  color: #004d33;
  text-decoration: underline;
}

.custom-alert-thanks {
  color: #333638;
  font-style: italic;
  margin-bottom: 0;
}

/* Animación de aparición */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .custom-alert-content {
    padding: 1.2rem;
  }

  .custom-alert-title {
    font-size: 14px;
  }

  .custom-alert-text {
    font-size: 14px;
  }
}

/*Estilo login organismo*/

/* Bloque de ayuda */
.access-help {
  background: #f1eff0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #611232;
  margin-bottom: 2rem;
  padding: 1rem;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  animation: fadeIn 0.5s ease-out;
  font-size: 16px;
}

.access-help p {
  margin-bottom: 1em;
}

.access-help p:last-child {
  margin-bottom: 0;
}

a {
  color: #003366;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Estilo de sección reportes de los organismos */
/* Variables de diseño institucional */
:root {
  --color-primario: #003366;
  /* Azul institucional oscuro */
  --color-secundario: #005b94;
  /* Azul institucional medio */
  --color-terciario: #e6f0f7;
  /* Azul claro de fondo */
  --color-texto: #333333;
  /* Gris oscuro para texto */
  --color-texto-claro: #5a6a7f;
  /* Gris azulado para texto secundario */
  --color-borde: #dee2e6;
  /* Gris claro para bordes */
  --sombra-card: 0 4px 8px rgba(0, 51, 102, 0.1);
  --transicion: all 0.3s ease;

  --color-primario-form: #611232;
  /* Azul institucional oscuro */
}

/* Encabezado de reportes */
.header-reportes {
  background-color: white;
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 6rem;
  box-shadow: var(--sombra-card);
  border-left: 5px solid var(--color-primario);
}

.header-reportes h1 {
  color: var(--color-primario);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 26px;
}

.header-reportes p {
  font-size: 18px;
  color: var(--color-texto-claro);
  line-height: 1.7;
}

/* Contenedor de cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Cards individuales */
.card-reportes {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--sombra-card);
  transition: var(--transicion);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 5px solid var(--color-primario);
}

.card-reportes:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 51, 102, 0.15);
}

.card-reportes .card-header {
  background-color: var(--color-terciario);
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-borde);
  min-height: 7rem;
}

.title-card-reportes {
  color: var(--color-primario);
  font-size: 22px;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-reportes .card-body {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-reportes .card-body p {
  color: var(--color-primario);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

/* Botones */
.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primario);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transicion);
  align-self: flex-start;
}

.btn-card:hover {
  background-color: var(--color-secundario);
  transform: translateY(-2px);
}

/* Iconos */
.icono {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icono-flecha::after {
  content: "→";
  font-size: 1.1em;
  margin-left: 0.3em;
  transition: transform 0.2s ease;
}

.btn-card:hover .icono-flecha::after {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-reportes {
    padding: 1.5rem;
  }

  .title-card-reportes {
    font-size: 2rem;
  }
}

/* Header Contacto*/
/* Encabezado de formularios */
.header-form {
  background-color: white;
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 6rem;
  box-shadow: var(--sombra-card);
  border-left: 5px solid var(--color-primario-form);
}

.header-form h1 {
  color: var(--color-primario-form);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 26px;
}

.header-form p {
  font-size: 18px;
  color: var(--color-texto-claro);
  line-height: 1.7;
}

.breadcrumb {
  background-color: #f0f4f8;
  /* Color claro para destacar sobre fondo blanco */
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item a {
  color: #007bff;
  /* Azul Bootstrap */
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #0056b3;
  /* Azul más oscuro al pasar el cursor */
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  /* Flecha simple y clara */
  color: #6c757d;
  padding: 0 0.5rem;
}

/* Sweetalert2 */
.mi-boton-personalizado {
  background-color: #28a745 !important;
  color: white !important;
  font-size: 1.1rem !important;
  padding: 0.7rem 2rem !important;
  border-radius: 0.5rem !important;
  border: none !important;
  transition: background-color 0.3s !important;
}

.mi-boton-personalizado:hover {
  background-color: #218838 !important;
  cursor: pointer !important;
}

/* Estilo de sección administrador de los organismos */
/* Variables de diseño institucional */
:root {
  --color-primario-administrador: #4a0e26;
  /* Vino oscuro */
  --color-secundario-administrador: #6b1a3a;
  /* Vino medio */
  --color-terciario-administrador: #f7e6ef;
  /* Rosa claro para fondo */
  --color-texto-administrador: #333333;
  /* Gris oscuro para texto */
  --color-texto-claro-administrador: #7a4e60;
  /* Vino claro para texto secundario */
  --color-borde-administrador: #e8d7dd;
  /* Rosa muy claro para bordes */
  --sombra-card-administrador: 0 4px 8px rgba(74, 14, 38, 0.1);
  --transicion: all 0.3s ease;
}

/* Encabezado de catálogos */
.header-administrador {
  background-color: white;
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 6rem;
  box-shadow: var(--sombra-card-administrador);
  border-left: 5px solid var(--color-primario-administrador);
}

.header-administrador h1 {
  color: var(--color-primario-administrador);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: 26px;
}

.header-administrador p {
  font-size: 18px;
  color: var(--color-texto-claro-administrador);
  line-height: 1.7;
}

/* Contenedor de cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Cards individuales */
.card-administrador {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--sombra-card-administrador);
  transition: var(--transicion);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 5px solid var(--color-primario-administrador);
}

.card-administrador:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(74, 14, 38, 0.15);
}

.card-administrador .card-header {
  background-color: var(--color-terciario-administrador);
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-borde-administrador);
  min-height: 7rem;
}

.title-card-administrador {
  color: var(--color-primario-administrador);
  font-size: 22px;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-administrador .card-body {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-administrador .card-body p {
  color: var(--color-primario-administrador);
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

/* Botones */
.btn-card-administrador {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primario-administrador);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transicion);
  align-self: flex-start;
}

.btn-card-administrador:hover {
  background-color: var(--color-secundario-administrador);
  transform: translateY(-2px);
}

/* Iconos */
.icono {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icono-flecha::after {
  content: "→";
  font-size: 1.1em;
  margin-left: 0.3em;
  transition: transform 0.2s ease;
}

.btn-card-administrador:hover .icono-flecha::after {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-administrador {
    padding: 1.5rem;
  }

  .title-card-administrador {
    font-size: 2rem;
  }
}

/* Estilo alternativo - Minimalista gob.mx */
.breadcrumb-minimal {
  background: white;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 4px 20px rgba(139, 21, 56, 0.1);
  margin-bottom: 30px;
}

.breadcrumb-minimal ol {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumb-minimal .breadcrumb-item a {
  color: #4a0e26;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.breadcrumb-minimal .breadcrumb-item a:hover {
  background: #4a0e26;
  color: white;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(139, 21, 56, 0.3);
}

.breadcrumb-minimal .breadcrumb-item a i {
  transition: transform 0.3s ease;
}

.breadcrumb-minimal .breadcrumb-item a:hover i {
  transform: rotate(-10deg);
}
