.admin-edit-container {
  max-width: 1300px;
  margin: auto;
  padding: 20px;
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-edit-button {
  display: inline-block;
  background-color: #153749;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.admin-edit-button:hover {
  background-color: #0e2a38;
  color: white;
  text-decoration: none;
}

.back-button {
  display: inline-block;
  background-color: #153749;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  flex: 0 0 auto;
}

.back-button:hover {
  background-color: #0e2a38;
  color: white;
  text-decoration: none;
}

.player-profile-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 0px;
}

.player-profile-header {
  position: relative;
  color: white;
  border-radius: 0 0 20px 20px;
  padding: 40px 0px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  max-width: 1300px;
  margin: auto;
  width: 80%;
  gap: 30px;
}

.player-header-profile-container {
  min-height: 300px;
}

.player-profile-header[data-team="WORLD"] {
  background-color: #153749;
}

.player-profile-header[data-team="IRISH"] {
  background-color: #089247;
}

.player-profile-header[data-team="ITALIAN"] {
  background-color: #cf2b37;
}

.player-profile-logo {
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.player-points {
  background-color: white;
  color: #153749;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 15px;
  text-align: center;
}

.player-profile-info {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 80px;
}

.player-profile-image {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  flex-shrink: 0;
}

.player-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-profile-details {
  flex-grow: 1;
}

.player-name {
  color: #fff;
  font-size: 42px;
  font-weight: bold;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.player-team {
  font-size: 24px;
  margin-bottom: 10px;
}

.player-ghin {
  font-size: 18px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.player-info-columns {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.player-info-left {
}

.player-info-right {
}

.player-rookie {
  font-size: 18px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
}

.player-past-captain {
  font-size: 18px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
}

.player-hdcp-container {
  display: flex;
  gap: 20px;
}

.hdcp-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.white-hdcp {
  background-color: white;
  color: #153749;
}

.blue-hdcp {
  background-color: #1a4e6e;
  color: white;
  border: 2px solid white;
}

.index-hdcp {
  background-color: #6c757d;
  color: white;
  border: 2px solid white;
}

.hdcp-label {
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.hdcp-value {
  font-size: 24px;
  font-weight: bold;
}

.player-profile-content {
}
.player-contact-info {
  display: none;
}
.player-contact-info {
  padding-bottom: 20px;
  max-width: 400px;
}

.player-stats-tables {
  flex-grow: 1;
}

.player-profile-content {
  display: flex;
  gap: 70px;
  width: 100%;
  flex-wrap: wrap;
}

.player-contact-info h2 {
  color: #153749;
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

d.player-contact-info h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #153749;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 10px;
}

.contact-label {
  font-weight: bold;
  color: #153749;
}

.contact-value {
  color: #153749;
}

.player-stats-tables {
  margin-bottom: 40px;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  font-size: 16px;
}

.stats-table thead {
  background-color: #153749;
  color: white;
}

.stats-table th {
  padding: 15px;
  text-align: center;
  font-weight: bold;
}

.stats-table td {
  padding: 15px;
  text-align: center;
  background-color: #f5f7f9;
  color: #333;
}

.player-profile-container[data-team="WORLD"] .stats-table thead {
  background-color: #153749;
}

.player-profile-container[data-team="IRISH"] .stats-table thead {
  background-color: #089247;
}

.player-profile-container[data-team="ITALIAN"] .stats-table thead {
  background-color: #cf2b37;
}

.player-additional-content {
  line-height: 1.6;
  color: #333;
}

td,
th {
  padding: 8px;
  border-right: 1px solid hsl(202.5deg 21.05% 85.1% / 50%);
}

td:last-child,
th:last-child {
  border-right: none;
}
.player-profile-badges img {
  max-width: 80px;
}

.player-profile-badges {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.left-badges {
  align-self: center;
  justify-content: center;
}

.right-badges {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
  justify-content: flex-start;
}
@media (max-width: 980px) {
  .player-profile-header {
    flex-direction: column;
    padding: 30px 0px;
  }

  .left-badges,
  .right-badges {
    flex-direction: row;
    justify-content: center;
    margin: 15px 0;
  }

  .player-profile-logo {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 20px;
  }

  .player-profile-info {
    flex-direction: column;
    padding-left: 0;
    text-align: center;
    gap: 20px;
  }

  .player-profile-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .player-hdcp-container {
    justify-content: center;
  }

  .stats-table {
    display: block;
    overflow-x: scroll;
    overflow: auto;
    display: block;
    display: table;
    /* max-width: 100%; */
  }

  .admin-edit-container {
    flex-direction: column;
    align-items: stretch;
    margin: 20px auto;
    padding: 15px;
    gap: 10px;
  }

  .admin-edit-button,
  .back-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
  }
  .player-header-profile-container {
    padding: 20px 0;
    background-position: 20% !important;
  }

  .player-profile-badges {
    height: auto;
  }

  .player-profile-content {
    overflow: hidden;
  }

  table.stats-table.main-stats {
  }

  .player-stats-tables {
    width: 100%;
    overflow-x: auto;
  }
  .player-name {
    font-size: 28px;
  }

  .player-info-columns {
    flex-direction: column;
    gap: 10px;
  }
}
