﻿/* Tabs */
.custom-tabs {
    display: flex;
    flex-direction: column;
}

.custom-tabs .tab-links li a {
    text-decoration: none;
}
.tab-links {
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tab-links li {
    margin: 0 5px;
}

.tab-links a {
    padding: 10px 15px;
    display: inline-block;
    border-radius: 4px;
    background: #ddd;
    color: #444;
    text-decoration: none !important;
    transition: background-color 0.2s;
}



.tab-links li.active a, 
.tab-links a:hover {
    background: #666;
    color: #fff;
}

.tab-content {
    margin-top: 20px;
}

.tab-content .tab {
    display: none;
}

.tab-content .tab.active {
    display: block;
}


/* Schedule*/
.premierleague-date-group{
	color:#05346d;
	line-height:1.4;
}
.premierleague-date-group:not(:last-child){
	margin-bottom:24px;
}
.match-date {
    background-color: #F2F2F2; 
    color: #333;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}
.match-date-text{
	font-size: 18px;
    margin: 0;
}

.premierleague-match {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center; 
}
.premierleague-match:not(:last-child){
	border-bottom: 1px solid #ddd;
}
.premier-league-logo {
    width: 36px;
}
.match-time {
    background-color:#cbdfef;
    padding: 5px 10px;
    border-radius: 4px;
}

.match-team {
    display: flex;
    align-items: center;
}

.match-team img.premier-league-logo {
    margin-right: 8px; 
}

.match-team span {
    font-weight: bold;
    color: #333; 
}



/* Calender picker */

.date-picker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.date-header {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}


/* Arrow icon */
#matchdate{
	display:flex;
	gap:8px;
	margin-bottom:16px;
}

.icon-button {
  background: none!important;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-button:hover {
  background-color: #f0f0f0!important;   
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding:10px 0;
}
.match-item:not(:last-child){
	border-bottom: 1px solid #ddd;
}

.team {
    display: flex;
    align-items: center;
	gap:8px;
	width: 40%;
}
.team:last-child{
	justify-content:flex-end;
}

.team-info {
    display: flex;
    align-items: center; 
    justify-content: flex-start; 
    gap: 4px;
	width:40%;
}
.team-info:last-child{
	justify-content:flex-end;
}

.team-logo {
    width: 36px;
}

.match-score{
    text-align: center;
	font-family:anton;
	font-size: 20px;
}

.footer {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}
.no-match-message{
	padding: 16px;
}

/* Record */

.standings-table {
    width: 100%;
    border-collapse: collapse;
}
.standings-table th,
.standings-table td {
    padding:8px;
}

.standings-table tr:hover {
    background-color: #d8edff;
}

.standings-table tr:first-child th {
    background-color: #05346d; 
    color: white;
	text-align: left;
}

.standings-table img {
    width: 30px; 
    height: auto; 
    vertical-align: middle; 
}
.standings-table tbody tr:not(:last-child){
	border-bottom: 1px solid #ddd;
}
.standings-table td:nth-child(2){
	display:flex;
	align-items: center;
	gap: 6px;
}
.divTable { 
	display: table; 
	width: 100%; 
	order-collapse: collapse; 
}

.divTableHeading { 
	display: table-header-group; 
	background-color: #EEE; 
	font-weight: bold; 
}

.divTableBody { 
	display: table-row-group; 
}

.divTableRow { 
	display: table-row; 
}

.divTableHead, 
.divTableCell { 
	display: table-cell; 
	padding: 8px; 
	border: 1px solid #999; 
}
/* 表格隱藏 */
.standings-table th:nth-child(3),
.standings-table th:nth-child(4),
.standings-table th:nth-child(5),
.standings-table th:nth-child(6),
.standings-table th:nth-child(7),
.standings-table td:nth-child(3),
.standings-table td:nth-child(4),
.standings-table td:nth-child(5),
.standings-table td:nth-child(6),
.standings-table td:nth-child(7){
	display:none;
}
.standings-table th:nth-child(1),
.standings-table th:nth-child(8),
.standings-table td:nth-child(1),
.standings-table td:nth-child(8){
	width:16%;
}