/* Fuente global */
body {
    font-family: 'Lato', sans-serif;
}
.container {
    max-width: 1300px !important;
}

.mi-mensaje-custom, .alert-info {
    background-color: #ffffff !important;
    border-left: 5px solid #004a97 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #2d3748 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.mi-mensaje-custom h4, .alert-info h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #004a97 !important;
    margin-bottom: 4px !important;
}


/* =====================================================
   ADMIN – NAVBAR FGS
   ===================================================== */

/* Color barra superior admin */
.navbar {
  background-color: #004a97 !important;
}

/* Texto del menú */
.navbar .navbar-brand,
.navbar .nav-link {
  color: #ffffff !important;
}

/* Hover */
.navbar .nav-link:hover {
  color: #cfe4ff !important;
}

/* =====================================================
   ADMIN – MENÚ A LA DERECHA
   ===================================================== */

/* Hacemos que el menú principal crezca */
.navbar-nav.mr-auto {
  flex: 1;
  display: flex;
}

/* Empujamos "Gestión Proyectos" a la derecha */
.navbar-nav.mr-auto > li:nth-last-child(3) {
  margin-left: auto !important;
}

/* =====================================================
   ADMIN – LIMPIEZA
   ===================================================== */

/* Ocultar link duplicado /admin */
a.nav-link[href$="/admin/"],
a.nav-link[href$="/admin"] {
  display: none !important;
}

/* =====================================================
   QUILL EDITOR
   ===================================================== */

.quill-wrapper {
  margin-top: 0.5rem;
}

.ql-container {
  min-height: 280px;
  background: #ffffff;
}

/* =====================================================
   FOOTER ADMIN
   ===================================================== */

body {
  padding-bottom: 60px;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  background-color: #bcc0c5;
  color: #ffffff;
  text-align: center;
  line-height: 50px;
  z-index: 9999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.8);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active,
.btn-outline-light.active {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* =====================================================
   ADMIN – ENCABEZADOS DE LA TABLA
   ===================================================== */

/* Cambia el color de los nombres que permiten ordenar la tabla */
.table th a {
    color: #004a97 !important; /* Cambia aquí el color (actualmente Azul FGS) */
    text-decoration: none !important; /* Quita el subrayado molesto de los links */
    font-weight: 700 !important;
}

/* Cambia el color cuando pasas el mouse por encima (Hover) */
.table th a:hover {
    color: #009bde !important; /* Cambia aquí el color al pasar el mouse */
}

/* Cambia el color de los textos fijos que NO son enlaces (como "ID" o "Estado") */
.table th {
    color: #5c6670 !important; /* Gris corporativo */
    font-weight: 700 !important;
}