/* propuesta3.css - Estilo Propuesta 3 LXVII Evento Prenacional */

/* Asegúrate de que html y body ocupen toda la altura */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Convierte el body en un contenedor flex en columna */
body {
  display: flex;
  flex-direction: column;
}

/* Tu <main> crecerá para ocupar el espacio restante */
main {
  flex: 1 0 auto;
}

/* El footer se mantendrá al final */
footer, #footer-container {
  flex-shrink: 0; /* que no se encoja */
}


/* Fondo general limpio con toques institucionales */
body {
  background-color: #fff;
  font-family: 'Montserrat', sans-serif;
  background-image: url('/images/body-bg.svg');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: auto 100vh;
  background-attachment: fixed;
  padding-left: 0;
}

/* Encabezados */
.section-title {
  color: #800000; /* Guinda institucional */
  font-weight: 700;
}

.section-title-dorado {
  color: #d4af37; /* Dorado */
  font-weight: 700;
}

/* Personalización de tarjetas */
.custom-card {
  border: 1px solid #e0d9ce;
  background-color: #fcfcfc;
  border-radius: 1rem;
}

/* Cabecera destacada */
.custom-card-header {
  background-color: #800000; /* Guinda */
  color: #fff;
  font-weight: 600;
}

/* Íconos personalizados */
.icon-primary { color: #800000; }
.icon-success { color: #d4af37; } /* Dorado */
.icon-info { color: #8c8c8c; }
.icon-warning { color: #c79810; }

/* Estilo especial al main */
.custom-main-style {
  border-left: 6px solid #d4af37;
  border-right: 6px solid #800000;
  padding-left: 1rem;
  padding-right: 1rem;
  background-image: url('/images/ala-decorativa.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 120px;
}


/* Header personalizado */
.header-propuesta3 {
  margin-top: 70px;
  padding-top: 2rem;
  
  background-color: #ffffff;
  position: relative;
  border-top: 6px solid #800000;
  border-bottom: 6px solid #d4af37;
}

.header-propuesta3 .decor-right {
  position: absolute;
  right: 0;
  top: 0;
  max-height: 100px;
  opacity: 0.2;
}

/* Footer personalizado */
.footer-propuesta3 {
  background-color: #800000;
  color: #fff;
  position: relative;
}

.footer-propuesta3 .decor-left {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0.3;
}

.custom-navbar {
  background-color: #800000;
  color: white;
  border-bottom: 4px solid #d4af37;
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  color: white !important;
  font-weight: 500;
}

.custom-navbar .nav-link:hover {
  color: #ffd700 !important;
}

.custom-navbar {
  background-color: #800000; /* Guinda institucional */
  border-bottom: 4px solid #d4af37;
}

.custom-navbar .nav-link {
  color: #ffffff !important;
  font-weight: 500;
}

.custom-navbar .nav-link:hover {
  color: #ffd700 !important; /* Amarillo/dorado */
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}



/* Estilos para la tabla de estadísticas */
.stats-section .table thead th {
  background-color: #800000;  /* Guinda institucional */
  color: white;
}
.stats-section .table {
  margin-bottom: 0;
}

/* Botones de filtro (acumulado / días) */
#day-selector .btn {
  margin-right: 0.5rem;
}
