.custom-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 800px;
  overflow: hidden;
}

/* All main table cells: outer and inner borders */
.custom-table th,
.custom-table td {
  border-right: 1px solid #cbcbcb;
  vertical-align: middle;
}
.custom-table th:nth-child(1),
.custom-table td:nth-child(1) {
  border-right: 0px;
}

.custom-table th {
  background-color: #73837f;
  color: white;
  padding: 30px;
  text-align: center;
  font-weight: 500;
  font-size: 17px;
}
.custom-table th:first-child {
  text-align: start;
}

.custom-table td {
  background-color: #ffffff;
  color: #3a4944;
  padding: 20px;
  font-size: 16px;
  line-height: 1.4;
}
.custom-table td:nth-child(1) {
  padding: 0px;
}

.grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 2fr));
  grid-template-rows: repeat(2, minmax(150px, 2fr));
  position: relative;
}

.player {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  padding: 50px; /*added this for english translation*/
}

/* Cross-shaped borders between the 4 grid cells */
.player:nth-child(1),
.player:nth-child(2) {
  border-bottom: 1px solid #cbcbcb;
}
.player:nth-child(2),
.player:nth-child(4) {
  border-right: 1px solid #cbcbcb;
  font-size: 14px;
  font-weight: bold;
}

/* Caption styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table caption {
  margin-bottom: 16px;
}

.table-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.table-caption h3 {
  color: #31544b;
  font-size: 24px;
  text-align: center;
  margin: 0;
}

.line-caption {
  height: 4px;
  flex-grow: 1;
  background-color: rgba(252, 180, 74, 0.4);
}

.table-2 {
  border-collapse: collapse;
}

#topleft,
#bottomright {
  border: solid 1px black;
}

#topleft {
  border-left-style: none;
  border-top-style: none;
}

#bottomright {
  border-right-style: none;
  border-bottom-style: none;
}

@media (max-width: 1024px) {
  .player:nth-child(2),
  .player:nth-child(4) {
    border-right: 0px solid #cbcbcb;
  }
  .grid::before {
    content: "";
    position: absolute;
    top: -1px;
    /* bottom: 0; */
    right: 160px;
    width: 1px;
    background: #cbcbcb;
    transform: translateX(-50%);
    z-index: 1;
    height: 455px;
    pointer-events: none;
  }
}
@media (max-width: 768px) {
  .custom-table-container {
    padding-top: 100px;
  }
}
@media (max-width: 480px) {
  .custom-table-container {
    padding-top: 0px;
  }
}


.percent-none{
  display: none;
}
body[lang="en"] {
  .percent-none{
  display: inline;
}
.player {
  padding: 30px; /*added this for english translation*/
}
.player:nth-child(2),
.player:nth-child(4) {
  border-left: 0px solid #cbcbcb;
  border-right: 0px solid #cbcbcb;
  font-size: 14px;
  font-weight: bold;
}
.grid::before{
   content: "";
  position: absolute;
  bottom: -16px;
  right: calc(50%);
  width: 0.5px;
  background-color: #cbcbcb;
  z-index: 1;
   height: 332px;
}
.grid::after{
   content: "";
  position: absolute;
  bottom: -16px;
  left: calc(100%);
  width: 0.5px;
  background-color: #cbcbcb;
  z-index: 1;
   height: 419px;
}
@media (max-width: 1024px) {
   .grid::before {
    content: "";
    position: absolute;
    top: -50px;
    /* bottom: 0; */
    right: 160px;
    width: 1px;
    background: #cbcbcb;
    transform: translateX(-50%);
    z-index: 1;
    height: 502px;
    pointer-events: none;
  }
.grid::after{
  bottom: -46px;
  left: calc(100%);
  height: 555px;
}
}
@media (max-width: 768px) {
  .grid::after{
  bottom: -49px;
  height: 558px;
}
  }
  @media (max-width: 480px) {
  
  
}
}

