.tc-mode-form,
.tc-select-form,
.tc-back-form{
  text-align:center;
  margin: 14px 0;
}

.tc-about{
	margin-top:30px
}

.tc-about-title{
	margin-bottom:30px!important;
	text-align:center
}


/* Custom radio toggle buttons */
.tc-mode-form {
    display: flex;
    justify-content: center;
    gap: 10px; /* space between buttons */
    margin: 35px 0;
}

.tc-mode-form label {
    cursor: pointer;
}

.tc-mode-form label span {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f5f5f5; /* unselected color */
    color: #333;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* Selected state */
.tc-mode-form label input[type="radio"]:checked + span {
    background-color: #19398a; 
    color: #fff;
}

/* Hover effect for unselected */
.tc-mode-form label span:hover {
    background-color: #e0e0e0;
}

/* Hide the default radio circle */
.tc-mode-form input[type="radio"] {
    display: none;
}

.tc-radio-gap{ margin-left:10px; }

.tc-btn{
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  cursor:pointer;
  font-weight:600;
}

.tc-head{
  max-width: 980px;
  margin: 18px auto 10px;
  display:grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items:center;
}

.tc-team{ text-align:center; }

.tc-logo{
  width: 72px;
  height: 72px;
  object-fit: contain;
  display:block;
  margin: 0 auto 6px;
}

.tc-name{
  font-weight:700;
  font-size:16px;
}

.tc-left{ color:#e53935; }
.tc-right{ color:#1e40af; }

.tc-vs{
    border: 2px solid #dc5034;
    height: 64px;
    display: block;
    padding: 15px;
    font-weight: 600;
    transform: skew(-15deg);
    border-radius: 3px;
    color: #dc5034;
    font-size: 20px;
    align-self: center;
}

.tc-debug{
  font-size:11px;
  color:#999;
  margin-top:4px;
}

.tc-row{
  max-width: 980px;
  margin: 18px auto;
}

.tc-top{
  display:grid;
  grid-template-columns: 120px 1fr 120px;
  align-items:end;
  margin-bottom: 6px;
}

.tc-label{
  text-align:center;
  font-size:12px;
  font-weight:700;
  color:#444;
}

.tc-num{
  font-size:13px;
  font-weight:800;
}

.tc-num-left{ text-align:right; color:#e53935; }
.tc-num-right{ text-align:left; color:#1e40af; }

.tc-bars{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items:center;
}

.tc-bar-wrap{
  height: 6px;
  background:#ececec;
  border-radius: 6px;
  overflow:hidden;
}

.tc-bar-wrap-left{ display:flex; justify-content:flex-end; }
.tc-bar-wrap-right{ display:flex; justify-content:flex-start; }

.tc-bar{
  height:100%;
  border-radius: 6px;
}

.tc-bar-left{ background:#e53935; }
.tc-bar-right{ background:#1e40af; }


.tc-modal-close {
    position:absolute;
    top:8px;
    right:12px;
    font-size:24px;
    font-weight:bold;
    cursor:pointer;
}


.tc-pencil {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 2;
}
.tc-card {
    position: relative; /* Needed for pencil positioning */
}

img.add-plaer-icon {
    transition: 1.2s all;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tc-card:hover{
	cursor:pointer
}

.tc-card:hover img.add-plaer-icon {
	transform: scale(1.2) translate(-50%, -50%);
    cursor: pointer;
}

.tc-pencil img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.player-visible {
    border: 2px dashed #ccc;
    border-radius: 12px;
    width: 220px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.pv-top { 
	height: 80%;
	background:#FFF;
    border-radius: 16px 16px 0 0;
}
.edit-icon { position: absolute; top: 6px; right: 6px; }
.pv-plyr { width: 72px; height: 72px; object-fit: contain; margin: 0 auto; }
.pv-bottom h3 em { font-style: normal; font-weight: 700; }





.tc-picker{
	display:flex;
	justify-content:center;
	gap:30px;
	position:relative}

.tc-card{    
	width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #78787a;
    box-shadow: 0 5px 15px rgba(0 0 0 / 30%);
    border-radius: 16px;
    flex-direction: column;
}

.tc-card span{font-size:40px}


.tc-modal {
  display: none;
  position: absolute;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-height: 400px;
  overflow: auto;
}

#tc-modal-team2{
	top: 50%;
    left: 68%;
	z-index:2
}

#tc-modal-team1{
	top: 50%;
    left: 32%;
	z-index:2
}


.tc-option{display:flex;align-items:center;gap:10px;padding:8px;cursor:pointer}
.tc-option img{width:32px;height:32px;object-fit:contain}
.tc-option:hover{background:#f2f2f2}

body.site-dark .tc-option{
	color:#000
}

.head-to-head-main-div{
	position:relative
}

.head-to-head-team-name{
	width: 100%;
    text-align: center;
	height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	color:#FFF;
	font-style: italic;
	font-weight:600
}

.head-to-head-team-logo{
	width:64%
}

.pv-top-inner{
	height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.head-to-head-lucknow-super-giants{
	background: linear-gradient(91deg, rgb(245, 131, 68) 0px, rgb(29, 43, 78) 100%);
	border: 2px solid rgb(245, 131, 68);
}

.head-to-head-lucknow-super-giants .pv-top-inner{
	background-image:url("/wp-content/uploads/head_to_head_logos/new-team-LSG-bg.svg")
}

.head-to-head-chennai-super-kings{
	background: linear-gradient(91deg, rgb(11, 103, 178) 0px, rgb(252, 238, 33) 100%);
	border: 2px solid rgb(11, 103, 178);
}
.head-to-head-chennai-super-kings .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-CSK-bg.svg");
}

.head-to-head-delhi-capitals{
	background: linear-gradient(91deg, #1b1e6e 0%, #d71a23 100%);
	border: 2px solid #1b1e6e;
}
.head-to-head-delhi-capitals .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-DC-bg.svg");
}

.head-to-head-gujarat-titans{
    background: linear-gradient(91deg, rgb(11, 28, 50) 0px, rgb(227, 202, 124) 100%);
	border: 2px solid rgb(11, 28, 50);
}
.head-to-head-gujarat-titans .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-GT-bg.svg");
}

.head-to-head-kolkata-knight-riders{
	background: linear-gradient(91deg, #37227d 0%, #f6b50f 100%);
	border: 2px solid #37227d;
}
.head-to-head-kolkata-knight-riders .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-KKR-bg.svg");
}

.head-to-head-mumbai-indians{
	background: linear-gradient(91deg, #004c97 0%, #f3a93d 100%);
	border: 2px solid #004c97;
}
.head-to-head-mumbai-indians .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-MI-bg.svg");
}

.head-to-head-punjab-kings{
	background: linear-gradient(91deg, #ec1f2b 0, #ffdead 100%);
	border: 2px solid #ec1f2b;
}
.head-to-head-punjab-kings .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-PBKS-bg.svg");
}

.head-to-head-rajasthan-royals{
	background: linear-gradient(91deg, #294096 0, #e0228f 100%);
	border: 2px solid #294096;
}
.head-to-head-rajasthan-royals .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-RR-bg.svg");
}

.head-to-head-royal-challengers-bangalore{
	background: linear-gradient(90deg, rgb(0, 31, 97) 0px, rgb(214, 39, 46) 100%);
	border: 2px solid rgb(0, 31, 97);
}
.head-to-head-royal-challengers-bangalore .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-RCB-bg.svg");
}

.head-to-head-sunrisers-hyderabad{
	background: linear-gradient(91deg, #f26332 0, #ffcc06 100%);
	border: 2px solid #f26332;
}
.head-to-head-sunrisers-hyderabad .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-SRH-bg.svg");
}

.head-to-head-deccan-chargers{
	background: linear-gradient(91deg, #334768 0, #606b93 100%);
	border: 2px solid #334768;
}
.head-to-head-deccan-chargers .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-DC-bg.svg");
}

.head-to-head-pune-warriors-india{
	background: linear-gradient(91deg, #f15a22 0%, #fcd116 100%);
	border: 2px solid #f15a22;
}
.head-to-head-pune-warriors-india .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-PWI-bg.svg");
}

.head-to-head-kochi-tuskers-kerala{
	background: linear-gradient(43deg, #612479 0, #7f3f98 100%);
	border: 2px solid #612479;
}
.head-to-head-kochi-tuskers-kerala .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-KTK-bg.svg");
}

.head-to-head-gujarat-lions{
	background: linear-gradient(91deg, #f48724 0, #f7dc22 100%);
	border: 2px solid #f48724;
}
.head-to-head-gujarat-lions .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-GL-bg.svg");
}

.head-to-head-rising-pune-supergiant{
	background: linear-gradient(91deg, #443666 0, #9c3c7f 100%);
	border: 2px solid #443666;
}
.head-to-head-rising-pune-supergiant .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-RPS-bg.svg");
}

.head-to-head-delhi-daredevils{
	background: linear-gradient(91deg, #ff7433 0%, #1b1464 100%);
	border: 2px solid #ff7433;
}
.head-to-head-delhi-daredevils .pv-top-inner{
	background-image: url("/wp-content/uploads/head_to_head_logos/new-team-DD-bg.svg");
}


.tc-row.single-bar {
    max-width: 1000px;
    margin: 22px auto;
}

.tc-values {
        display: grid;
    /* grid-template-columns: 60px auto 60px; */
    align-items: center;
    margin-bottom: 6px;
    grid-auto-flow: column;
    justify-content: space-between;
}

.tc-left-val {
    color: #f15a24;
    font-weight: 700;
    font-style: italic;
}

.tc-right-val {
    color: #8b8b8b;
    text-align: right;
    font-weight: 700;
    font-style: italic;
}

.tc-stat {
    text-align: center;
    font-weight: 700;
    font-style: italic;
}

.tc-line {
    position: relative;
    height: 4px;
    background: #1c1f3f;
}

.tc-line-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #f15a24;
    z-index: 2;
}

.tc-line-right {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #1c1f3f;
    z-index: 1;
}

.tc-about h2{
	text-align:center
}

@media screen and (max-width:1199px){
	#tc-modal-team2{
		left: 76%;
		width: max-content;
	}
	#tc-modal-team1{
		top: 50%;
    left: 24%;
	}
}

@media screen and (max-width:992px){
	.tc-vs{
		white-space: nowrap;	
		padding: 8px;
		font-size: 16px;
	}
}

@media screen and (max-width:767px){
	.pv-top-inner{
		background-size:cover;
		        background-position: bottom;
        background-repeat: no-repeat;
	} 
	.tc-card{
		height:200px;
	}
/* 	.tc-picker{
		gap:10px;
		flex-direction: column;
    	align-items: center;
	} */
	.tc-vs{
		font-size: 12px;
		padding: 5px;
		height:unset
	}
	.head-to-head-team-name{
		font-size:10px
	}
	#tc-modal-team1{
		top:0;
		width:100%;
		left:50%
	}

	#tc-modal-team2{
		top:0;
		width:100%;
		left:50%
	}
	.tc-about h2{
		font-size: 20px;
    	text-align: center;
	}
	.tc-about p{
		font-size: 15px;
    	text-align: justify;
	}
	.head-to-head-team-logo{
		width:38%
	}
	.tc-modal{
		 transform: translate(-50%);
	}
	.tc-about-title{
		font-size:20px
	}
}