/* Contenedor general del bloque filtros+conteo */
.registros-header {
  background-color: #222;
  color: #fff;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 32px; /* offset para la barra admin */
  z-index: 1000;
}

/* Conteo destacado */
.registros-total {
  background-color: #0073aa; /* azul WordPress */
  color: #fff;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  margin-right: 10px;
}

/* Filtros en línea */
.registros-filtros {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.registros-filtros label {
  font-size: 14px;
  margin-right: 5px;
}

.registros-filtros input[type="submit"] {
  background-color: #ff6210;
  border: none;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.registros-filtros select,
.registros-filtros input[type="checkbox"] {
  margin-left: 5px;
}

/* Tabla */
.registros-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.registros-table th,
.registros-table td {
  padding: 8px;
  border: 1px solid #555;
  text-align: left;
  font-size: 13px;
}

.registros-table th {
  background-color: #333;
  color: #fff;
  cursor: pointer;
}

.registros-table td {
  color: #fff;
}

.registros-table tr:nth-child(even) {
  background-color: #2b2b2b;
}

.registros-table tr:nth-child(odd) {
  background-color: #1f1f1f;
}

.registros-table tr:hover {
  background-color: #3a3a3a;
}

th .arrow {
  font-size: 10px;
  margin-left: 5px;
  color: #aaa;
}

th.asc .arrow {
  transform: rotate(180deg);
  color: #ff6210;
}

th.desc .arrow {
  transform: rotate(0deg);
  color: #ff6210;
}

/* Estado */
.estado-activo {
  color: #2e7d32; /* verde */
  font-weight: bold;
}

.estado-expirado {
  color: #c62828; /* rojo */
  font-weight: bold;
}

.estado-pendiente {
  color: #f9a825; /* amarillo */
  font-weight: bold;
}

/* Recurrente */
.recurrente-si {
  color: #2e7d32; /* verde */
  font-weight: bold;
}

.recurrente-no {
  color: #c62828; /* rojo */
  font-weight: bold;
}

/* Gateway */
.gateway-paypal {
  color: #039be5; /* celeste */
  font-weight: bold;
}

.gateway-stripe {
  color: #6a1b9a; /* morado oscuro */
  font-weight: bold;
}

/* Fecha vencida */
.vencida {
  color: #c62828; /* rojo */
  font-weight: bold;
}