/* Reset muy básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;           /* azul muy oscuro */
  color: #e5e7eb;                /* gris claro */
  line-height: 1.5;
}

/* Contenedor general */
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* Encabezado */
header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  padding-bottom: 1rem;
}

header h1 {
  margin: 0.25rem 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
}

header p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* Enlaces generales */
a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Tabla principal */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.5rem;
  overflow: hidden; /* para que el border-radius afecte al contenido */
}

/* Cabecera de la tabla */
thead {
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
}

thead th {
  padding: 0.8rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

/* Cuerpo de la tabla */
tbody tr {
  border-bottom: 1px solid rgba(30, 64, 175, 0.4);
}

tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.7);
}

tbody td {
  padding: 0.65rem 0.75rem;
  vertical-align: top;
}

/* Hover fila */
tbody tr:hover {
  background: rgba(56, 189, 248, 0.12);
}

ul.social-links {
    padding: 0;
    list-style-type: none;
}

/* Etiquetas pequeñas dentro de celdas (por ejemplo idioma, estado, etc.) */
.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}

/* Estados de ejemplo */
.badge--active {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

.badge--inactive {
  background: rgb(130 130 130 / 20%);
  color: #ffffff;
}

.badge--cancelled {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
}

.badge--online {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}


/* Pie de página sencillo */
footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.85rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 720px) {
  .wrapper {
    padding-inline: 0.75rem;
  }

  header h1 {
    font-size: 1.6rem;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  thead th,
  tbody td {
    padding: 0.6rem 0.55rem;
    font-size: 0.9rem;
  }
}
