/* Ubuntu Sans */
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Ubuntu Monospace */
@font-face {
  font-family: 'Ubuntu Mono';
  src: url('../fonts/UbuntuMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Ubuntu Mono';
  src: url('../fonts/UbuntuMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

body {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #1f1f1f;
    background-color: #f5f5f5;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
        text-align: center;
}


/* ================================
   BOTONES
   ================================ */
button {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.2rem 4rem;
  background-color: #9ba7a4;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
    background-color:#818e8a;
}


.checkbox-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Layout principal */
.layout {
  display: flex;
  min-height: 100vh;
}

/* Área de contenido */
.contenido {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.contenedor {
  max-width: 960px;
  width: 100%;
}

/*Resultados */
div.resultados {
    text-align: center;
}


/* Textbox busqueda por titulo*/
input.busqueda[type=text]{
width: 70%;
}

/* Barra lateral a la derecha */
.barra-lateral {
  width: 250px;
  background-color: #ffffff;
  border-left: 1px solid #ddd;
  padding: 1.5rem;
  box-shadow: -2px 0 5px rgba(0,0,0,0.03);
}

.barra-lateral ul {
  list-style: none;
  padding: 0;
}

.barra-lateral li {
  margin-bottom: 1rem;
}

.barra-lateral a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.barra-lateral a:hover {
  color: #9ba7a4;
}

.divSubtitulosBusqueda{
    font-family: 'Ubuntu Mono', monospace;
        text-align: center;
    
}
.buscarEnCanales {
    text-align: center;
}

.resaltado {
    background-color: yellow;
    font-weight: bold;
}

/* Componentes */
.tarjeta {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

/* ==========================
   TABLA
========================== */
.tablaResultados {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1rem;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-size: 1rem;
}

.tablaResultados thead {
  background-color: #eaeaea;
  font-weight: 600;
}

.tablaResultados th, 
.tablaResultados td {
  padding: 0.2rem .4rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.tablaResultados tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tablaResultados tbody tr:hover {
  background-color: #f1f1f1;
}


/* Responsive */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .barra-lateral {
    width: 100%;
    border-left: none;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.03);
  }

  .contenido {
    padding: 1rem;
  }
}
