body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('background.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: white;
}

.player-list-container {
  background: linear-gradient(159deg, rgb(20 20 20 / 72%) 6.79%, rgb(45 45 45 / 67%) 53.56%, rgb(67 1 136 / 67%) 96.72%);
  border-radius: 26px;
  width: 465px;
  height: 35rem;
  padding: 19px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: white;
  transform: scale(0.58);
  position: relative;
  left: 49.5rem;
  top: -14rem;
}

.header {
  background-image: url(logo222.png);
  width: 10rem;
  height: 11rem;
  position: absolute;
  transform: scale(0.26);
  z-index: 1;
  top: -33px;
  left: 35px;
  padding: 8px;
  border-radius: 19px;
  z-index: 11111;
}

.developer {
  background-image: url(3.png);
  width: 130.5rem;
  height: 107rem;
  position: absolute;
  transform: scale(0.23);
  z-index: 1;
  top: -41rem;
  left: -50rem;
  padding: 8px;
  border-radius: 19px;
}

.section-png {
  background-image: url(pngegg.png);
  width: 11.5rem;
  height: 11rem;
  position: absolute;
  transform: scale(0.19);
  z-index: 1;
  top: 23rem;
  left: -3.5rem;
  padding: 8px;
  border-radius: 19px;
}

.section-png2 {
  background-image: url(pngegg.png);
  width: 11.5rem;
  height: 11rem;
  position: absolute;
  transform: scale(0.19);
  z-index: 1;
  top: 23rem;
  left: 20rem;
  padding: 8px;
  border-radius: 19px;
}

.section-lien {
  width: 130.5rem;
  height: 0.2rem;
  border-bottom: 1px solid #fff;
  margin-bottom: 11px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
  top: 5.5rem;
  z-index: 111;
}

.stat {
  text-align: center;
  background-color: rgb(105 105 105 / 21%);
  padding: 12px;
  border-radius: 8px;
  flex: 1;
  margin: 0 13.5px;
  height: 1.6rem;
  position: relative;
  left: -0.1rem;
}

.stat span {
  display: block;
}

.stat span:first-child {
  font-size: 18px;
  color: #d9d9d9;
  font-weight: 700;
  position: relative;
  left: -1.5rem;
  top: 0.3rem;
  text-shadow: 0px 0.37vh 2.59vh rgb(255 255 255 / 63%);
}

.stat span:last-child {
  font-size: 14px;
  color: #efefef;
  position: relative;
  left: 8.4rem;
  top: -1.7rem;
  width: 2.9rem;
  height: 2.3rem;
  background: #5b5b5b80;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 6px;
  font-weight: 600;
}

.stat-total-players span:last-child {
  background: #657d2e; 
}

.stat-total-ems span:last-child {
  background: #e587e2;
}

.stat-total-police span:last-child {
  background: #057dfc;
  text-shadow: 0px 0.37vh 2.59vh rgb(10 10 10);
}

.tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 19px;
  align-items: center;
  position: relative;
  top: -1rem;
  z-index: 111;
  width: 28.5rem;
}

.tab-button {
  background-color: rgb(2 255 117 / 14%);
  border: none;
  border-radius: 2px;
  padding: 6px;
  color: #47ffabb3;
  cursor: pointer;
  transition: background-color 0.3s;
  flex: 1;
  margin: 0 5px;
  border: 1.8px solid #454545;
  font-size: 14px;
  font-weight: 700;
}

/* Custom colors for tabs */
.tab-online.active {
  background-color: #1b595dad; 
  color: #3fa8ff;
  text-shadow: 0px 0.37vh 2.59vh #3fa8ff;
  font-size: 0.8rem;
}

.tab-disconnected.active {
  background-color: #e53935; /* Red */
}

.tab-illegal.active {
  background-color: #8e24aa; /* Purple */
}

.tab-button.active {
  color: #ffffff08;
}

.tab-button:not(.active):hover {
  background-color: rgb(15 15 15 / 0%);
}

.player-list {
  border-radius: 2px;
  padding: 10px;
  height: 399px;
  width: 27.8rem;
  overflow-y: auto;
  top: 10.2rem;
  position: absolute;
  z-index: 111;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.player-list::-webkit-scrollbar {
  display: none; 
}

.player-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: radial-gradient(1043.26% 83.87% at 45% 45%, rgb(25 25 25 / 88%) 0%, rgb(7 7 7) 100%);
  margin-bottom: 5px;
  padding: 6px;
  border-radius: 13px;
  height: 2.7rem;
}

.player-info {
  display: flex;
  align-items: center;
}

.player-info i {
  font-size: 22px;
  margin-right: 6px;
  padding: 3px;
  color: #0000009c;
  width: 1.8rem;
  position: relative;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  left: 0.5rem;
  top: -2px;
  background: #6c0fd7;
  border-radius: 16px;
}

.player-name {
  font-size: 20px;
  font-weight: 700;
  position: relative;
  left: 13.5rem;
  color: #ffffff;
  text-shadow: 0px 0.37vh 2.59vh #773fff;
  z-index: 1111;
  position: relative;
  left: 1rem;
}

.player-details-online {
  background: #23232369;
  padding: 4px;
  border: 1.8px solid #5b5b5bbf;
  border-radius: 5px;
  width: 16rem;
  height: 1.3rem;
}

.player-details-disconnected {
  background: #23232369;
  padding: 4px;
  border: 1.8px solid #7b7b7bbf;
  border-radius: 5px;
  width: 23rem;
  height: 1.3rem;
}

.player-details-illegal {
  padding: 4px;
  border-radius: 5px;
  width: 6rem;
  height: 1.3rem;
}

.player-discord {
  font-size: 14px;
  margin-right: 18px;
  font-weight: 600;
  left: 0.6rem;
  position: relative;
  color: #3fa8ff;
  text-shadow: 0px .37vh 2.59vh #3fa8ff;
}

.player-details2 {
  display: flex;
  align-items: center;
  background: #23232369;
  padding: 4px;
  border: 1.8px solid #5b5b5bbf;
  border-radius: 5px;
  width: 21rem;
  height: 1.3rem;
}

.player-discord2 {
  font-size: 14px;
  margin-right: 18px;
  font-weight: 600;
  left: 0.6rem;
  position: relative;
  color: #3fa8ff;
  text-shadow: 0px .37vh 2.59vh #3fa8ff;
}

.player-actions i {
  font-size: 18px;
  color: #3fa8ff;
  cursor: pointer;
  margin-right: 2.2rem;
}

.player-actions {
  left: 15.6rem;
  position: relative;
  top: -0.1rem;
}

.player-actions2 i {
  font-size: 18px;
  color: #2dffb38f;
  cursor: pointer;
  margin-right: 0.2rem;
}

.player-actions2 {
  left: 6.4rem;
  position: relative;
}

.controls {
  position: relative;
  top: -6.3rem;
  left: 31.5rem;
  width: 9rem;
  margin-top: -3rem;
  display: none;
  z-index: 111;
}

.exit-button,
.esc-button {
  background: radial-gradient(1043.26% 83.87% at 50% 50%, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .08) 100%);
  border-radius: 0px;
  padding: 9px 8px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: -25px;
  font-weight: 700;
  transform: scale(0.7);
  font-size: 1.2rem;
  width: 5.5rem;
  border: 1px solid #999;
  position: relative;
  left: -1.6rem;
  text-shadow: 0px 0.37vh 2.59vh rgb(255 255 255);
}

.exit-button:hover,
.esc-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.stat.stat-total-police {
  background: #047cfcc4;
}

.stat.stat-total-ems {
  background: #eb6ae6b3;
}

.stat.stat-total-players {
  background: #657d2e96;
}

button.tab-button.tab-illegal {
  background: #000000cc;
  color: #f7f7f7;
  font-size: 32px;
  font-weight: 700;
  height: 4rem;
  top: -39px;
  left: 5px;
  position: relative;
  border-radius: 12px;
  font-family: system-ui;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border: none;
}

button.tab-button.tab-disconnected {
  background: #652828a6;
  color: #f16d72;
  text-shadow: 0px 0.37vh 2.59vh rgb(255 199 199 / 84%);
  font-size: 14px;
  font-weight: 700;
}

button.tab-button.tab-online.active {
  background: #1b595dad;
  color: #3fa8ff;
  text-shadow: 0px 0.37vh 2.59vh #3fa8ff;
  font-size: 0.9rem;
  border: 1px solid #4d4d4d2e;
}

.disconnect-time, .illegal-action {
  font-size: 15px;
  color: #ff6666;
  margin-top: -40px;
  margin-left: 14.5rem;
  width: 6.5rem;
  height: 0.9rem;
  background: #18181c7d;
  display: flex;
  border-radius: 2px;
  padding: 0.2rem;
  align-items: center;
  justify-content: space-evenly;
  font-weight: 600;
}

i.fas.fa-check {
  width: 1.6rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  left: 9rem;
  position: relative;
  background: #00c345;
  border: 1px solid #091608;
  font-size: 0;
  border-radius: 7px;
}

i.fas.fa-times {
  width: 1.7rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  left: 9rem;
  position: relative;
  font-size: 0;
  background: #cf0000;
  border: 1px solid #160808;
  border-radius: 7px;
}

i.fas.fa-user-secret {
  color: #2f2f2f;
  font-size: 1.3rem;
}

.fa-times:before {
  content: "\f00d";
  width: 1.8rem;
  height: 1.3rem;
  display: flex;
  align-items: center;
  left: -0.5rem;
  position: relative;
  justify-content: center;
}

.fa-check:before {
  content: "\f00c";
  width: 1.8rem;
  height: 1.3rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  left: -0.5rem;
  position: relative;
}

.player-actions-online {
  left: 14.8rem;
  position: relative;
  top: -1.3rem;
}

.player-actions-disconnected {
  left: 21.8rem;
  position: relative;
  top: -1.2rem;
}

.player-actions-illegal {
  left: -5rem;
  position: relative;
  top: -0.25rem;
}

.player-text {
  color: #ffffff;
  font-size: 0rem;
  font-weight: 700;
  position: relative;
  left: 0.1rem;
  top: 0.05rem;
}

.robbery-name {
  font-size: 1rem;
  font-weight: 700;
  width: 10rem;
  position: relative;
  left: -17rem;
  top: -2.6rem;
  color: #ffffff;
  text-shadow: 0px .37vh 2.59vh #3fa8ff;
}

.section-header {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  margin: 10px 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px;
  border-radius: 8px;
  font-family: monospace;
  font-weight: 600;
}

.player-details-restaurant {
  background: #23232300;
  border-radius: 5px;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  font-size: 0;
}

.player-actions-restaurant i {
  font-size: 18px;
  color: #7cb342;
  cursor: default;
}

.success-icon {
  color: #00c345;
}

.failure-icon {
  color: #cf0000;
}
