/* ============================================================
   players.css — FECOD Vibrant Block / Maximalist rebrand
   Scene > Players list
   ============================================================ */

.player-main-block {
  background: #010729;
  border: 1px solid rgba(175, 223, 249, 0.12);
  padding: 2rem 2.5rem;
  margin-block: 2.5rem;
  max-width: 1600px;
  margin-inline: auto;
}

/* ---- search / filter bar ---- */
.player-main-block .search-bar,
.player-main-block .form-select {
  background: #001E46;
  border: 1px solid rgba(175, 223, 249, 0.18);
  color: #ffffff;
  border-radius: 0;
}

.player-main-block .search-bar::placeholder { color: rgba(175, 223, 249, 0.50); }

.player-main-block .search-bar:focus,
.player-main-block .form-select:focus {
  border-color: #AFDFF9;
  box-shadow: 0 0 0 2px rgba(175, 223, 249, 0.15);
  background: #0B2E6B;
  color: #fff;
}

.player-main-block .form-select option { background: #001E46; color: #fff; }

.player-main-block .ctm-btn-login {
  background: #D30535;
  border: none;
  color: #fff;
  font-family: "Bakbak One", sans-serif;
  letter-spacing: 0.06em;
  border-radius: 0;
}
.player-main-block .ctm-btn-login:hover { background: #ff0842; color: #fff; }

.player-main-block .btn-outline-secondary {
  border: 1px solid rgba(175, 223, 249, 0.30);
  color: rgba(175, 223, 249, 0.82);
  background: transparent;
  border-radius: 0;
}
.player-main-block .btn-outline-secondary:hover {
  border-color: #AFDFF9;
  color: #fff;
  background: rgba(175, 223, 249, 0.08);
}

/* ---- player row card ---- */
.player-row {
  background: #001E46;
  border: 1px solid rgba(175, 223, 249, 0.12);
  border-left: 3px solid rgba(175, 223, 249, 0.00);
  margin-bottom: 0.75rem;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.player-row:hover {
  background: #0B2E6B;
  border-left-color: #AFDFF9;
}

/* ---- avatar ---- */
.player-avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0;
  border: 2px solid rgba(175, 223, 249, 0.30);
  background: #010729;
  margin-right: 1.2rem;
  flex-shrink: 0;
}

/* ---- info layout ---- */
.player-info-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1.4rem;
}

.player-main-info {
  min-width: 200px;
  max-width: 220px;
}

/* player name link */
.player-info-row a.text-white {
  font-family: "Bakbak One", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #ffffff !important;
  transition: color 0.15s ease;
}
.player-row:hover .player-info-row a.text-white { color: #AFDFF9 !important; }

.player-role {
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  color: rgba(175, 223, 249, 0.60);
  margin-top: 0.15rem;
}

/* stat values */
.player-info-row .text-golden { color: #AFDFF9; font-weight: 700; }
.player-info-row .text-primary { color: #AFDFF9; }
.player-info-row .text-danger  { color: #D30535; }
.player-info-row .text-success { color: #6ee38f; }

/* ---- club logo ---- */
.club-logo-mini {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(175, 223, 249, 0.25);
  background: #010729;
  display: inline-block;
  vertical-align: middle;
}
.player-club-logo { display: inline-block; vertical-align: middle; }

/* ---- social links ---- */
.player-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 110px;
  justify-content: flex-end;
}

.player-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: #010729;
  border: 1px solid rgba(175, 223, 249, 0.18);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.player-links a:hover {
  background: #0B2E6B;
  border-color: #AFDFF9;
}

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

/* ---- empty state ---- */
.player-main-block .alert-info {
  background: #001E46;
  border: 1px solid rgba(175, 223, 249, 0.18);
  color: rgba(175, 223, 249, 0.82);
  border-radius: 0;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .player-info-row { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .player-links { margin-left: 0; }
  .player-main-block { padding: 1rem 0.75rem; max-width: 100%; }
  .player-main-info { min-width: unset; max-width: unset; }
}
