.players-page {
  width: 100%;
  background-color: transparent;
  padding: 0;
  box-sizing: border-box;
}

.players-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.players-page-title {
  font-size: 42px;
  font-weight: 700;
  color: #E0E0E0;
  margin: 0;
  letter-spacing: 0.5px;
}

.players-search-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 500px;
}

.players-search-button {
  padding: 12px 24px;
  background-color: #00BFFF;
  color: #0D1321;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.players-search-button:hover {
  background-color: rgba(0, 191, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

.players-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.players-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #00BFFF;
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}

.players-search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  background-color: #1B263B;
  border: 1px solid #00BFFF;
  border-radius: 8px;
  color: #E0E0E0;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.players-search-input::placeholder {
  color: #8a9bbd;
  font-size: 15px;
}

.players-search-input:focus {
  border-color: #00BFFF;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.2);
  background-color: rgba(27, 38, 59, 0.9);
}

.players-table-container {
  width: 100%;
  background: #0f1c2c;
  border: 1px solid #00BFFF;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.players-table-header {
  display: grid;
  grid-template-columns: 80px 80px 1fr 120px 80px 150px;
  gap: 15px;
  align-items: center;
  padding: 16px 24px;
  background: #152433;
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.players-header-cell {
  color: #00BFFF;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.players-table-body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.players-table-row {
  display: grid;
  grid-template-columns: 80px 80px 1fr 120px 80px 150px;
  gap: 15px;
  align-items: center;
  padding: 0 24px;
  height: 58px;
  min-height: 58px;
  border-bottom: 1px solid rgba(0, 191, 255, 0.1);
  transition: all 0.3s ease;
  background: #0f1c2c;
}

.players-table-row:last-child {
  border-bottom: none;
}

.players-table-row:hover {
  background: #11263a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 191, 255, 0.3);
}

.players-rating-cell,
.players-profile-cell,
.players-name-cell,
.players-position-cell,
.players-age-cell,
.players-actions-cell {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  height: 100%;
}

.players-rating-cell {
  justify-content: center;
}

.players-profile-cell {
  justify-content: flex-start;
}

.players-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #00BFFF;
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.2);
  display: block;
}

.players-name-cell {
  font-size: 15px;
  color: #E0E0E0;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.players-position-cell {
  font-size: 15px;
  color: #cfd8e3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.players-age-cell {
  font-size: 15px;
  color: #cfd8e3;
}

.players-actions-cell {
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.players-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid #00BFFF;
  border-radius: 6px;
  color: #00BFFF;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.players-action-button svg {
  font-size: 14px;
  width: 14px;
  height: 14px;
  display: block;
}

.players-action-button:hover {
  background: rgba(0, 191, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.4);
  border-color: #00BFFF;
}

.players-empty {
  padding: 40px;
  text-align: center;
  color: #8a9bbd;
  font-size: 16px;
}

.score-badge-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00BFFF 0%, #0080FF 100%);
  color: #0D1321;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
}

@media (max-width: 768px) {
  .players-table-header,
  .players-table-row {
    grid-template-columns: 1fr 120px;
    gap: 16px;
  }

  .players-header-cell:nth-child(2),
  .players-header-cell:nth-child(3),
  .players-header-cell:nth-child(4),
  .players-header-cell:nth-child(5) {
    display: none;
  }

  .players-profile-cell,
  .players-position-cell,
  .players-age-cell,
  .players-rating-cell {
    display: none;
  }

  .players-name-cell {
    grid-column: 1;
  }

  .players-actions-cell {
    grid-column: 2;
    justify-content: flex-end;
  }
}
