@font-face {
  font-family: "cafe-font";
  src: url("fonts/Louis\ George\ Cafe.ttf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Headlines-font";
  src: url("fonts/Headlines-SemiBold.otf") format("opentype");
  font-weight: 700;
}

/* Ahora la usas en todo */
body {
  font-family: "Headlines-font", sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  width: 100%;
  padding: 12px 24px;
  padding-bottom: 10px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Lado izquierdo */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px; /* ajusta según el tamaño del tuyo */
}

.brand {
  font-size: 32px;
  color: #c30000;
  font-weight: 700;
  font-family: sans-serif;
}

/* Contenedor del buscador */
.navbar-search {
  position: relative;       /* CORRECCIÓN */
  display: flex;
  align-items: center;
  width: 260px;             /* puedes modificarlo */
}

/* Input */
.navbar-search input {
  width: 100%;
  padding: 10px 14px;
  padding-right: 45px;      /* espacio para el icono */
  border-radius: 6px;
  border: 2px solid #30363d;
  outline: none;
  font-size: 15px;
  color: #444;
}

/* Botón del icono */
.search-btn {
  position: absolute;       /* fija el botón */
  top: 0;
  bottom: 0;
  right: 0;

  width: 45px;
  background-color: #30363d;
  border: 0;
  border-radius: 0 6px 6px 0;
  
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #1f2428;
}

.navbar-image {
  display: flex;
  align-items: center; /* centra verticalmente */
  height: 100%;        /* ocupa todo el alto de la navbar */
}

.navbar-image img {
  height: 100%;       /* ahora toma la altura de la navbar */
  width: auto;        /* mantiene proporción */
  object-fit: contain;
}





iframe#metabase {
  flex: 1;         /* ocupa todo el espacio disponible */
  width: 100%;
  border: none;
}




.footer {
  background-color: #33312B;
  color: #fff;
  padding: 0;
  width: 100%;
  font-family: 'cafe-font';
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.footer-border {
  width: 100%;
  height: 40px; /* Ajusta a tu gusto */
  background-repeat: repeat-x;
  background-size: contain; /* Para que respete la altura */
}

.top-border {
  background-image: url("./img/tramado-up.svg");
}

.bottom-border {
  background-image: url("./img/tramado-down.svg");
}

/* Contenido central del footer */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
}

/* Columnas */
.footer-column {
  flex: 1;
}

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
  font-size: 0.9rem;
}

/* Iconos sociales */
.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.social-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  filter: brightness(0) invert(1); /* Fuerza blanco */
}

.social-icon:hover {
  opacity: 0.7;
}

/* Contenedor del logo + texto */
.logo-col {
    display: flex;
    align-items: center;
    gap: 12px; /* separación entre logo y texto */
}

/* Tamaño del logo */
.logo-bicentenario {
    width: 55px;   /* Ajusta aquí el tamaño */
    height: auto;
}

/* Texto al lado del logo */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 14px;
    color: #ffffff; /* o el color que uses en el footer */
}

.logo-text strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .logo-col {
    text-align: center;
  }
}


/* Dashboard */
.dashboard-container {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
