/* estilo-temas.css — layout y lista de temas */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f4f6f8;
  color: lightblue;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 80px;
}

/* ── Enlace sitio ── */
.sitio-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 1rem;
  color: #1a73e8;
  text-decoration: none;
  transition: opacity .2s;
}
.sitio-link:hover { opacity: .75; text-decoration: underline; }

/* ── Título ── */
h1 { font-size: 3rem; font-weight: 700; margin-bottom: 8px; }

/* ── Meta / timer ── */
.meta {
  font-size: .85rem;
  color: #888;
  margin-bottom: 6px;
}
.timer {
  font-size: .85rem;
  color: #555;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  padding: 5px 14px;
}

/* ── Lista ── */
.temas-lista {
  list-style: none;
  width: 100%;
  max-width: 660px;
  margin-bottom: 36px;
}

.tema-item {
  background: #fff;
  border: 1px solid #e0e4ea;
  border-left: 4px solid #ccc;
  border-radius: 10px;
  padding: 13px 18px;
  margin-bottom: 11px;
  font-size: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform .15s, box-shadow .15s;
}
.tema-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* Acento de color por tipo */
.tema-buscador { border-left-color: #1a73e8; }
.tema-rss      { border-left-color: #e8710a; }

/* Número */
.num {
  font-weight: 700;
  color: #aaa;
  min-width: 22px;
  padding-top: 2px;
  flex-shrink: 0;
}

/* Contenedor texto + badge */
.tema-texto {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

/* Enlace del tema */
.tema-link {
  color: #222;
  text-decoration: none;
  line-height: 1.4;
  font-weight: 500;
  transition: color .15s;
}
.tema-link:hover { color: #1a73e8; text-decoration: underline; }

/* Badges */
.badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  width: fit-content;
}
.badge-bus { background: #e8f0fe; color: #1a73e8; }
.badge-rss { background: #fde8d8; color: #c45000; }
