:root {
    --border-color: rgb(222, 222, 222);
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(248, 249, 250);
    font-family: Arial, sans-serif;

}

.nav {
    display: flex;
    background-color: #162E58;
    margin: 0;
    height: 100px;
    justify-content: center;
    align-items: end;
    border-bottom: 1px solid rgb(132, 132, 137);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

}

.tab-btn {
    margin: 0;
    padding: 15px 50px;
    background-color: #162E58;
    border: none;
    color: rgb(234, 236, 255);
    font-size: 13px;



}

.tab-btn:hover {
    cursor: pointer;
    background-color: #132950;
    color: white;

}

.tab-btn.selected {
    background-color:  #132950;
    border-bottom: 2px solid white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* matches tab */
.main-container {
    display: flex;
    width: 50%;
    flex-wrap: wrap;
    background-color: white;
    gap: 0;
    margin: auto;
    justify-content: space-around;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;

}

.match-box {
    display: flex;
    width: 45.9%;
    padding: 25px 15px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    /* border:1px solid black; */
}

.match-box:hover {
    cursor: pointer;
}

.main-container .match-box:last-child {
    border: 1px solid var(--border-color);
    border-top: none;
    border-bottom: none;
}


@media screen and (max-width: 767px) {
    .main-container {
        width: 100%;
    }


    .match-box {
        width: 100%;
        margin: 10px;
        border: 1px solid var(--border-color);
        border-radius: 10px;

    }

    .main-container .match-box:last-child {
        width: 100%;
        margin: 10px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
    }

    .nav {
        width: 100%;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 11px;

    }

}

@media screen and (min-width: 700px) and (max-width: 1500px) {

    .main-container {
        width: 80%;
    }

}

.teams {
    width: 70%;
    padding: 0px;
    border-right: 1px solid var(--border-color);
    margin-left: 15px;

}

.date-time {
    display: flex;
    width: 30%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.date-time>* {
    color: rgb(96, 96, 111);
    font-size: 13.5px;
}

.team-a,
.team-b {
    position: relative;
    display: flex;
    align-items: center;
    height: 20px;
    margin: 10px 0px;
    font-size: 14px;

}

img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}


  /* Table styling */
  table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-top: none;
 
    
  }

  th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    font-size:12px;
  }
  td {
    font-weight: bold;
  }
  th {
    font-weight: lighter;
    color: rgb(79, 79, 85);
  }


  /* Team name styling */
  td:first-child {
    font-weight: bold;
  }

  /* Goal Difference (GD) styling */
  td:nth-child(6) {
    color: #009933; /* Green for positive GD */
  }

  /* Points (Pts) styling */
  td:nth-child(7) {
    color: #cc3300; /* Red for points */
  }
  td.team-name, td.player-name{
    display: flex;
    align-items: center;
  }
  .team-order{
    margin-right:10px;
  }
  
.table-heading{
    margin:25px 20px 10px 15px;

    color:rgb(69, 69, 76);
    font-weight: lighter;
    font-size:16px;
}



  /* ---------- */

.player-table-img {
    width:50px;
    height: 50px;
    border-radius:50%;
} 

.player-table-info{
    display:flex;
    flex-direction: column;
    align-items: start;
    gap:4px;
}
.player-name-text{
    font-size: 15px;
}
.player-team-text{
    font-size:10px;
    text-align: start;
}
.player-team-box{
    display: flex;
    align-items: end;
}

/* plyaers list */
.player-container{
    display:flex;
    flex-direction: column;
    height:160px;
    width:100px;
    border: 1px solid var(--border-color);
    border-radius:10px;
    margin-bottom:10px;

}
.players-list-img {
    border-radius:10px 10px 0px 0px;
    overflow:hidden;
    width: 100%;
    height:50%;
}
.players-list-img img {
    width: 100%;
    height:initial;
}

.players-list-team-container {
    display:flex;
    justify-content: start;
    align-items: center;
    color:rgb(80, 84, 88);
    font-size:12px;
    padding: 5px 8px;
}
.players-list-name-text {
    padding: 6px 8px 3px 8px;   
    font-size:15px;
}
.players-list-team-container img {
    margin-right:1px;
    width:16px;
    height: 16px;
}
.quick-result{
    position: absolute;
    right: -5px;
    bottom: 0;
    width: 26px;
}
.quick-result-text {
    color:rgb(67, 68, 75);

}
.has-arrow {
    color:black;

}