/* ============================================================
   player_list.css — FECOD Vibrant Block / Maximalist rebrand
   Players > player_list (FP ranking)
   ============================================================ */

/* ---- outer card shell ---- */
.custom-grey {
  background: #001E46 !important;
  border: 1px solid rgba(175, 223, 249, 0.12) !important;
  border-radius: 0 !important;
}

/* section heading */
.custom-grey h1 {
  font-family: "Bakbak One", sans-serif;
  letter-spacing: 0.06em;
  color: #ffffff;
}

/* ============================================================
   Filter bar
   ============================================================ */
.filter-bar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 14px;
  background: #010729;
  border: 1px solid rgba(175, 223, 249, 0.12);
  padding: 14px;
}

.filter-label {
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(175, 223, 249, 0.50);
  margin-bottom: 0.4rem;
}

.filter-input,
.filter-select {
  background: #001E46;
  border: 1px solid rgba(175, 223, 249, 0.18);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 0;
  padding: 0.55rem 0.75rem;
}
.filter-input::placeholder { color: rgba(175, 223, 249, 0.40); }
.filter-input:focus,
.filter-select:focus {
  background: #0B2E6B;
  border-color: #AFDFF9;
  outline: none;
  box-shadow: 0 0 0 2px rgba(175, 223, 249, 0.15);
  color: #fff;
}
.filter-select option { background: #001E46; color: #fff; }

.btn-filter-submit {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  background: #D30535;
  border: none;
  color: #fff;
  border-radius: 0;
}
.btn-filter-submit:hover { background: #ff0842; color: #fff; }

.btn-clear-filter {
  position: absolute;
  top: 50%;
  right: 2.8rem;
  transform: translateY(-50%);
  background: rgba(175, 223, 249, 0.08);
  border: 1px solid rgba(175, 223, 249, 0.18);
  color: rgba(175, 223, 249, 0.75);
  border-radius: 0;
}
.btn-clear-filter:hover {
  background: rgba(175, 223, 249, 0.15);
  color: #fff;
}

/* ============================================================
   Player list
   ============================================================ */
.player-list {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(175, 223, 249, 0.12);
  background: #010729;
}

.player-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(175, 223, 249, 0.10);
  background: #010729;
  transition: background 0.15s ease, border-color 0.15s ease;
  border-radius: 0 !important;
}
.player-list-item:last-child { border-bottom: 0; }
.player-list-item:hover {
  background: #001E46;
  border-bottom-color: rgba(175, 223, 249, 0.25);
}

/* ---- avatar ---- */
.player-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(175, 223, 249, 0.20);
  background: #001E46;
}
.player-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(175, 223, 249, 0.40);
  font-size: 0.9rem;
}

/* ---- name link ---- */
.player-name {
  font-family: "Bakbak One", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #AFDFF9;
  margin-bottom: 0.1rem;
  text-decoration: none;
  transition: color 0.15s ease;
  display: block;
}
.player-list-item:hover .player-name { color: #ffffff; }

/* ---- FP badge ---- */
.player-points {
  background: rgba(211, 5, 53, 0.15) !important;
  border: 1px solid rgba(211, 5, 53, 0.45) !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: "Bakbak One", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: box-shadow 0.15s ease;
}
.player-list-item:hover .player-points {
  box-shadow: 0 0 20px rgba(211, 5, 53, 0.35);
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination .page-link {
  background: #001E46;
  border: 1px solid rgba(175, 223, 249, 0.18);
  color: rgba(175, 223, 249, 0.82);
  border-radius: 0;
}
.pagination .page-link:hover {
  background: #0B2E6B;
  border-color: #AFDFF9;
  color: #fff;
}
.pagination .page-item.active .page-link {
  background: #D30535;
  border-color: #D30535;
  color: #fff;
}

/* ============================================================
   Footer action buttons
   ============================================================ */
.btn-outline-light {
  border-color: rgba(175, 223, 249, 0.35);
  color: rgba(175, 223, 249, 0.82);
  border-radius: 0;
}
.btn-outline-light:hover {
  background: rgba(175, 223, 249, 0.10);
  border-color: #AFDFF9;
  color: #fff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .filter-bar { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .player-thumb { width: 44px; height: 44px; }
  .player-name  { font-size: 0.88rem; }
  .player-points { padding: 5px 10px; font-size: 0.8rem; }
}
