* {
	margin: 0;
	padding: 0;
}
body {
	width: 100%;
	height: auto;
	background-color: #fff;
	font-family: "Poppins", sans-serif;
	color: #555;
	font-size: 16px;
	line-height: 1.6;
	font-weight: normal;
}

h1,h2,h4,h6 {
	font-size: inherit;
	line-height: inherit;
	font-family: 'Nunito', sans-serif;
}

h1,h2,h3,
h4,h6,p,ul,li,a,span {
	margin:0;
}

h1 {
	font-weight: 900;
}

h2 {
	font-size: 20px;
	font-weight: 400;	
}

h3 {
	font-size: 1.75rem;
	font-weight: 400;
}

h5 {
	font-size: 18px;
	font-weight: 600;
	line-height: inherit;
	font-family: 'Nunito', sans-serif;
}
a {
	text-decoration: none;
	color:#555;
	cursor: pointer;
}

.fas, .fab {
	color:  #7D6CEE;
}

.btn-pink {
color: #fff;
background-color: #3e85b9;
border-color: #3e85b9;
}

.btn-pink:hover {
color: #fff;
background-color: #fff;
border-color: #fff;
}


.btn-purple {
color: #fff;
background-color: #7D6CEE;
border-color: #7D6CEE;
}

.btn-purple:hover {
color: #fff;
background-color: #f6a6ff;
border-color: #f6a6ff;
}

.main-container {
	max-width: 1920px;
	width: 100%;
	height: auto;
	margin: 0 auto;
	overflow: hidden;	
}
.inside-container {
	max-width: 940px;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0 15px;
}
.sections-detail {
	margin: 0 0 55px;
}
.section-title, .section-title a {
	font-family: 'Nunito', sans-serif;
	font-size: 28px;
	line-height: 40px;
	letter-spacing: 0.84px;
	font-weight: 700;
	color: #4280af;
	text-align: center;
}
.section-title-desc {
	font-size: 15px;
	line-height: 1.6;
	font-weight: 400;
	letter-spacing: 0.45px;
	color: #666;
	text-align: center;
}

h2 {
	font-size: 2rem;
	margin-bottom: .5rem;
	font-weight: 500;
	line-height: 1.2;	
}

.card-body {
	padding:0px 20px 20px 20px;	
}

.rating-guide-button {
  text-align: center;
  font-size: 22px;
}

@media (max-width: 843px) {
	.btn, .img-fluid {
		margin: 0 auto;
		text-align:center;
		display: block;
		margin-top:10px;
	}
	
	.card-body {
		padding:0px 10px 10px 10px;	
	}
}

.card-custom {
	overflow: hidden;
	min-height: 450px;
	box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
}


.card-custom-img {
	height: 500px;
	min-height: 500px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border-color: inherit;
}


.card-custom-avatar img {
	border-radius: 50%;
	border: 3px solid #f6780b;
	box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
	position: absolute;
	top: 225px;
	right: 15px;
	width: 80px;
	height: 80px;
}

hr {
	margin-top: 0.5rem !important;
	margin-bottom: 0.5rem !important;
	border-top: 1px solid #008cb5;
}

.card-title {
font-size: 2rem;
	font-weight: 700;
	line-height:1.1;	
}

.fdr{
	margin-bottom: 0.1rem;
}

.fdr-digits {
	font-size: 2rem;
	font-weight: 700;
	line-height:1.1;
}

.fdr-prdigits {
	font-size: 2rem;
	font-weight: 700;
	line-height:1.1;
}

.fdr-text {
	font-size: 1rem;
	font-style: italic;
}

.fdr-text-no {
	font-size: 1rem;
	font-style: italic;
	margin-top: 12px;
}

.positive {
	color: green;
}

.negative {
	color: red;
}

.vs {
	color: orange;
	font-size: 1.4rem;
}

.progress {
	height: 2rem;
}


.dllspacer {
	max-width: 500px;
	width: 100%;
	margin-top:10px;
	margin-right: auto;
	margin-left: auto;
	background-color: #ffffff;
	border: 10px solid #ffffff;
	border-radius: 20px;
}


/*scorecards */
.spacer {
	margin-top:100px;
	max-width: 500px;
	width: 100%;
	padding-right: 5px;
	padding-left: 5px;
	margin-right: auto;
	margin-left: auto;
}

.table {
	margin-bottom: 0 !important;
	
}

.game-tbl .table td {
	border-top: none; 
	padding: .25rem 0rem .25rem 0rem;	
}


.stats-tbl .table th, .stats-tbl .table td {
	border-top: none;
	border-bottom: 1px solid orange;
	text-align:center;
}

.player-image {
	width: 160px;
	height: 160px;
	border-radius: 10%;
	order-bottom: 1px solid #dee2e6;
}


.winner {
	border: 3px solid green;
}

.form-winner {
	padding:5px;
	background-color: green;
	color: #fff;
}

.loser {
	border: 3px solid red;	
}

.form-loser {
	padding:5px 8px;
	background-color: red;
	color: #fff;
}

.nopadding {
	padding: 0!important;
	line-height:1.2;
}

.single-event{
	padding:10px;
	border: 2px solid #cb632c;
}

/* Rsultrs table drag sort */
.ui-icon-grip-dotted-vertical {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-position: -96px -128px;
	padding-right: 5px;
}


/* Credits Traffic Lights */
.green {
	color: green;
	font-size:1.5rem;
	  border: 1px solid green; /* Added 'solid' to specify the border style */
	 padding: 0px 6px; /* Adjust padding as needed */
}

.amber {
	color: orange;
	font-size:1.5rem;
	border: 1px solid orange; /* Added 'solid' to specify the border style */
	padding: 0px 6px; /* Adjust padding as needed */
}

.red {
    color: red;
    font-size: 1.5rem;
    border: 1px solid red; /* Added 'solid' to specify the border style */
    padding: 0px 6px; /* Adjust padding as needed */
}



/* Competition Table */

.player-name {
    font-weight: 600;	
}

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

.player-medal i {
    font-size: 1.3rem;
}

.medal-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.medal-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.medal-text:contains("Gold") { color: #ffc107; }
.medal-text:contains("Silver") { color: #C0C0C0; }
.medal-text:contains("Bronze") { color: #CD7F32; }

.player-thumb {
    width: 40px important!;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
}

/* SINGLES MATCH CARD */


.match-main{
    display:flex;
    align-items:center;
    justify-content:space-between;   
}

/* PLAYER COLUMN */

/* NAME */
.player-name-singles{
    text-align:center;
    font-weight:600;
    font-size:18px;
    min-height:40px;
	margin-bottom:6px;
}

.player-col{
    width:200px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* NEW: isolate image alignment */
.player-img-wrap{
    width:100%;
    height:110px;              /* 👈 fixed height for ALL players */
    display:flex;
    align-items:center;
    justify-content:center;
}

.player-img-small{
    max-height:120px;          /* 👈 keeps images inside box */
    max-width:120px;
    width:auto;
    height:auto;
    object-fit:contain;        /* 👈 prevents stretching */
    border-radius:10%;
    border:3px solid #ddd;
}




/* WIN/LOSS COLORS */

.winner{
border-color:#28a745;
}

.loser{
border-color:#dc3545;
}

.winner-name{
color:#28a745;
}

.loser-name{
color:#dc3545;
}

/* SCORE */


.score-col{
    font-size:36px;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:80px;
    margin-top:40px; 
}

.vs-text{
font-size:14px;
color:#777;
}

.score-winner{
color:#28a745;
}

.score-loser{
color:#dc3545;
}

/*RANK DETAILS HEADER */
.card-custom {
    border-radius: 10px;
    overflow: hidden; /* 🔥 THIS is key */
	
	
}

.card-header-custom {
    background: #4a4a4a;  
	border-bottom: 1px solid #4a4a4a;
	
}

/* keep spacing INSIDE instead */
.card-header-custom .player-name {
	font-weight: 600;
	font-size:1.2rem;
    padding-right: 16px;
}