body {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #ffffff;
}
.loader-wrapper {
    position: fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:#fff;
    z-index:999;
}

.loader-inner {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

.loader-wrapper .spinner-border { border-width: .1em !important; }

ul.nav.nav-pill button.nav-link {
    border-radius: 10px;
}

ul.nav.nav-pill button.nav-link.active {
    background: #0d6efd;
    color: white;
}

.date-pill {
    cursor: pointer;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

.date-pill.active {
    background: #0d6efd;
    color: #fff;
}

.match-card {
    border-radius: 14px;
    transition: .3s;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.match-card .text-success.live::before {
    content: "";
    display: block;
	position: absolute;
	top: 7px;
	left: -12px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #198754;
	cursor: pointer;
	box-shadow: 0 0 0 rgba(20, 108, 67, .9);
    animation: pulse 2s infinite;
	animation-duration: .9s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-out;
}
@keyframes pulse {
	0% {
		-moz-box-shadow: 0 0 0 0 rgba(20, 108, 67, .9);
		box-shadow: 0 0 0 0 rgba(20, 108, 67, .7)
	}
	70% {
		-moz-box-shadow: 0 0 0 10px transparent;
		box-shadow: 0 0 0 10px transparent
	}
	100% {
		-moz-box-shadow: 0 0 0 0 transparent;
		box-shadow: 0 0 0 0 transparent
	}
}

.match-card img.flag {
    max-width: 20px;
    max-height: 15px;
}

.match-tabs {
    align-items: center;
    border-bottom: .05rem solid #dadee4;
    display: flex;
    display: -ms-flexbox;
    -ms-flex-align: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin: .2rem 0 .15rem 0;
}

.match-tabs .nav-item {
    flex: 1 0 0;
    text-align: center;
}

.match-tabs .nav-item .nav-link {
    width: 100%;
    border: 0;
    text-transform: uppercase;
    color: #000;
}
.match-tabs .nav-item .nav-link.active {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #1e88e4;
    color: #1e88e4;
}

.winner {
    color: #0d6efd;
    font-weight: 600;
}

.section-title {
    font-weight: 600;
    margin: 1rem 0;
}

.stats-btn {
    font-size: 12px;
    margin-bottom: 8px;
}

.stat-row {
    margin-bottom: 14px;
}

.stat-title {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 5px;
}

.stat-bar {
    height: 5px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

.stat-left {
    background: linear-gradient(90deg, #2563eb, #22b2c5);
}

.stat-right {
    background: linear-gradient(90deg, #eb2525, #c522aa);
}

.stats-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Tabs under stats header (custom small pills) */
.stats-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.stats-tabs .nav-link {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    background: transparent;
    border: 1px solid transparent;
}

.stats-tabs .nav-link.active {
    background: #0d6efd;
    color: #fff !important;
    box-shadow: none;
}

.match-type {
    font-size: 14px;
    margin-bottom: 10px;
}

.player-row {
    width: calc(100% - 150px);
    display: flex;
    align-items: center;
}

.player-name {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: calc(100% - 40px);
}

img.ball {
    display: none;
    height: 18px;
    border-radius: 10px;
}

.score-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.score-box span {
    display: inline-block;
    width: 30px;
    text-align: center;
    border: 1px solid #f1f1f1;
    border-radius: 3px;
    margin: 0 .1rem;
}

.score-box span.pts {
    width: 35px;
    background: #393186;
    color: white;
    display: none;
}

.score-box .score {
    font-size: 16px;
    font-weight: 600;
}

.score-box .score sup {
    font-size: 10px;
}

.divider {
    color: #64748b;
}

.set-gap {
    width: 10px;
}

.players {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.scoreline {
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
}

footer {
    padding: 20px 0;
    background: white;
}
