/* ── LOGO CENTRADO ── */
.logo {
  text-align: center;
  margin-bottom: 1.5rem;
}
.logo img {
  height: 50px;
  display: block;
  margin: 0 auto;
}

/* ── RESPONSIVE TABLA ADMIN ── */
@media (max-width: 768px) {

  /* Tabla en modo tarjeta */
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px;
  }

  td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #222;
    font-size: 0.82rem;
  }

  td:last-child {
    border-bottom: none;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    padding-top: 10px;
  }

  td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    margin-right: 8px;
  }

  /* Nav en mobile */
  nav {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Stats en mobile */
  .stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Card en mobile */
  .card {
    padding: 1.2rem;
  }

  /* Búsqueda full width */
  .search {
    width: 100% !important;
  }

  .table-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}