/* -------------------------------------------------------------------------- */
/*                            Custom Styles                                   */
/* -------------------------------------------------------------------------- */
:root {
  --bg-success: #1c4f93;
  --border-success: #1c4f93;
}

body {
  background: url(../img/white_bg.jpg);
  background-attachment: fixed;
}

#loader {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.5;
  z-index: 9999;
  background: #ddd url(../img/loader.gif) no-repeat scroll center center;
}

#loader>span {
  display: block;
  width: 200px;
  padding: 1rem;
  color: #f00;
  margin: 0 auto;
}

.align-items-stretch {
  -webkit-box-align: stretch !important;
  -ms-flex-align: stretch !important;
  align-items: stretch !important;
}

.navbar {
  transition: all 0.5s !important;
}

.navbar,
.navbar.navbar-glass-shadow {
  background: #064393 !important;
}

.navbar-nav .nav-item .nav-link {
  font-size: 1.05rem;
  color: #f0f0f0;
}

.top-banner {
  background-image: url("../img/page-banner.jpg");
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
}

.badge-beacon {
  position: relative;
}

.badge-beacon span.live {
  padding-left: 1rem;
}

.badge-beacon span.live::after {
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  left: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ba360;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(34, 192, 60, 0.9);
  animation: pulse 2s infinite;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-duration: 0.9s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(34, 192, 60, 0.9);
    box-shadow: 0 0 0 0 rgba(34, 192, 60, 0.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;
  }
}

.month-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 400px !important;
  text-align: center;
}

.month-filter .overflow-auto {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.month-filter .month-box {
  border: 1px solid var(--border-success);
  color: #a7a7a7;
  display: inline-flex;
  border-radius: 5px;
  text-decoration: none !important;
  margin: 0 5px;
  overflow: hidden;
}

.month-filter .month-box .year-name {
  padding: 2px 20px;
  background: #ffffff;
  color: var(--border-success);
  font-size: 15px;
  cursor: pointer;
  display: block;
  width: 100%;
}

.month-filter .month-box.active,
.month-filter .month-box:hover {
  border-color: var(--border-success);
}

.month-filter .month-box.active .year-name,
.month-filter .month-box:hover .year-name {
  background-color: var(--bg-success);
  color: white;
}

.month-filter .month-box.active .month-name,
.month-filter .month-box:hover .month-name {
  color: var(--bg-success);
}

.month-filter {
  display: flex;
  align-items: center;
}

.overflow-container {
  overflow: hidden;
  width: 100%;
  flex-grow: 1;
}

.months-list {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: 12px;
}

.month-slider .slick-arrow {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  color: #878787;
}

.statsbar_tour+div {
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 500px) {
  .month-slider .slick-arrow {
    width: 50px;
  }

  .team_stats_tbl tr h4 {
    font-size: 16px !important;
  }
}

@media (max-width: 420px) {
  .team_stats_tbl tr td:nth-child(1) {
    min-width: calc(100% - 80px);
  }

  .team_stats_tbl tr td {
    font-size: 10.5px;
  }
}

@media (max-width: 375px) {}

.btn-outline-primary.disable_hover:hover {
  background: initial;
  color: initial;
}

.scrollable {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto !important;
}

table.table-custom {
  text-align: center;
}

table.table-custom tr>th,
table.table-custom tr>td {
  vertical-align: middle;
}

table.table-custom tr>th,
table.table-custom tr>td {
  padding: 0.25rem 0.25rem;
}

table.table-custom tr>th:first-child,
table.table-custom tr>td:first-child {
  padding-left: 0.25rem;
}

table.table-custom tr>th:last-child,
table.table-custom tr>td:last-child {
  padding-right: 0.25rem;
}

.nav-steps li.nav-item {
  width: 50%;
}

.nav-steps li.nav-item>span {
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px 0px;
  color: var(--falcon-gray-600);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-steps li.nav-item.active>span {
  color: var(--falcon-primary);
  font-weight: 600;
}

.nav-steps li.nav-item>span::after {
  content: "";
  display: block;
  height: 2px;
  background-color: var(--falcon-gray-300);
  margin-top: 5px;
}

.nav-steps li.nav-item.active>span::after {
  background-color: var(--falcon-primary);
}

.clip {
  position: absolute;
  top: -28px;
}

.clip.left {
  left: 3px;
}

.clip.right {
  right: 3px;
}

/* pagination */
.pagination {
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  margin: 0;
}

.pagination>li>a {
  position: relative;
  display: block;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: var(--falcon-pagination-color);
  background-color: var(--falcon-pagination-bg);
  border: var(--falcon-pagination-border-width) solid var(--falcon-pagination-border-color);
  -webkit-transition: color 0.15s ease-in-out,
    background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pagination>li:first-child>a {
  border-top-left-radius: var(--falcon-pagination-border-radius);
  border-bottom-left-radius: var(--falcon-pagination-border-radius);
}

.pagination>li:not(:first-child)>a {
  margin-left: -1px;
}

.pagination>li:last-child>a {
  border-top-right-radius: var(--falcon-pagination-border-radius);
  border-bottom-right-radius: var(--falcon-pagination-border-radius);
}

.pagination>li.active>a {
  z-index: 3;
  color: var(--falcon-pagination-active-color);
  background-color: var(--falcon-pagination-active-bg);
  border-color: var(--falcon-pagination-active-border-color);
}

.pagination>li>a:hover {
  z-index: 2;
  color: var(--falcon-pagination-hover-color);
  text-decoration: none;
  background-color: var(--falcon-pagination-hover-bg);
  border-color: var(--falcon-pagination-hover-border-color);
}

.dropzone-logo {
  position: relative;
}

.dropzone-logo input[type="file"] {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

ul.trophys li.list-inline-item {
  position: relative;
  text-align: center;
}

ul.trophys li.list-inline-item .trophyName {
  display: block;
  background: #073f7c;
  font-size: 13px;
  padding: 0px 10px;
  border-radius: 10px;
  width: auto;
  height: auto;
  border-width: 0;
  max-width: max-content;
}

ul.trophys li.list-inline-item>span {
  background: linear-gradient(135deg, #49b8ff 0%, #007bff 100%);
  border: 1px solid #007bff;
  border-radius: 50%;
  padding: 0px;
  left: 30%;
  display: block;
  width: 25px;
  text-align: center;
  height: 25px;
  line-height: 22.5px;
  margin: -25px auto 0;
  z-index: 10;
  position: sticky;
  color: #fff;
}

ul.trophys li.list-inline-item>span.f {
  width: 22.5px;
  height: 22.5px;
  line-height: 20px;
  font-size: 90%;
  margin-top: -22.5px;
}

ul.trophys li.list-inline-item>span.qf,
ul.trophys li.list-inline-item>span.sf {
  width: 20px;
  height: 20px;
  line-height: 18px;
  font-size: 80%;
  margin-top: -20px;
}

ul.trophys li.list-inline-item.disabled>img {
  opacity: 0.2;
}

.chart-container {
  width: 100%;
  height: 300px;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

@media only screen and (max-width: 767px) {
  .chart-container {
    height: 250px !important;
  }
}

.bar-container {
  width: 100%;
  height: 100px;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.nav-tabs {
  overflow: hidden;
}

.nav-tabs li.nav-item {
  white-space: nowrap;
}

.page-heading h1 {
  font-size: clamp(22px, 2.5vw, 35px);
}

#calendar-view-lists .qrcodeWrapper {
  height: 100px;
  width: 100px;
  top: 0;
  margin-left: 10px;
}

.tournamentCard_custom .qrcodeWrapper {
  position: absolute;
  top: -30px;
}

.btn.btn-falcon-default.rounded-pill.active {
  background: #9dd6ff;
  color: #003985;
}

.qrcodeWrapper {
  position: relative;
  right: 0px;
  bottom: 40px;
  height: 70px;
  width: 70px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.3);
  aspect-ratio: 1;
}

.qrcodeWrapper.enlarged {
  height: 450px !important;
  width: 450px !important;
  max-height: calc(100vw - 31px) !important;
  max-width: calc(100vw - 31px) !important;
  margin: 0 auto !important;
  top: 40px !important;
  position: fixed;
  left: 0;
  padding: 0px;
  z-index: 10000;
  background: rgb(255 255 255 / 85%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
  object-position: center;

}

.qrcodeWrapper.enlarged a.close_btn {
  display: flex;
}

.qrcodeWrapper a.close_btn {
  color: white;
  position: absolute;
  top: 0px;
  right: 0px;
  background: rgb(160, 14, 14);
  height: 25px;
  width: 25px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 5px;
  z-index: 100001;
}

.qrOption {
  position: absolute;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  right: 0px;
  top: 0px;
  color: black;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 0px;
  overflow: hidden;
  gap: 7px;
  transition: all 0.5s;
}

.qrcodeWrapper.enlarged span.qrOption>svg,
.qrcodeWrapper.enlarged .fa-expand .qrcodeWrapper .shareQRLink_link,
.shareQRLink {
  display: none;
}

.qrcodeWrapper.enlarged .shareQRLink {
  display: inline-flex;
  gap: 8px;
}

.qrcodeWrapper.enlarged span.qrOption {
  bottom: 0px;
  top: auto;
  font-size: 22px;
  width: 100%;
  height: 40px;
}

.qrcodeWrapper:not(.qrcodeWrapper.enlarged):hover .qrOption {
  height: 100%;
  width: 100%;
}

a.qrOption svg {
  color: #064393;
  font-size: 20px;
}

.qrcodeWrapper>img {
  max-height: 100%;
  max-width: 100%;
  width: 500px;
  object-fit: contain;
}

.tournamentCard_custom {
  position: relative;
  overflow: hidden;
}

.tournamentCard_custom a,
.tournamentCard_custom h4 {
  color: white;
}

.tournamentCard_custom .flagImg_sm img {
  height: 12px;
}

.tournamentCard_custom .flagImg {
  position: absolute;
  top: 10px;
  right: 10px;
}

.tournamentCard_custom .flagImg img {
  object-fit: contain;
}

.bgWrapper {
  margin: -16px -16px 10px;
  padding: 15px;
  padding-right: 50px;
  position: relative;
}

.bgWrapper>* {
  position: relative;
  z-index: 1;
  color: white !important;
}

.bg {
  background: url("../img/bg.png");
  background-size: cover;
  background-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.3;
  z-index: 0;
}

.tournamentCard {
  border: 3px solid #054a8b;
  border-radius: 30px 10px 30px 10px;
  overflow: hidden;
  margin: 10px 0;
}

.tournamentCard .bottom,
.tournamentCard .top {
  padding: 5px;
  text-align: center;
  background: #b4d7f7;
  color: #054a8b;
}

.tournamentCard .end_text {
  writing-mode: vertical-lr;
  text-align: center;
  background: #8df225;
  color: black;
}

.tournamentCard .points {
  padding: 5px;
  display: flex;
  gap: 5px;
}

.tournamentCard .points>span {
  height: 30px;
  background: red;
  width: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: #054a8b;
  color: #fff;
}

.top-courses-tab .nav-link {
  border-radius: 5px;
  transition: all 0.5s;
}

.top-courses-tab .nav-link.active {
  background: white;
}

.top-courses-tab .nav-link span {
  color: white;
}

.top-courses-tab .nav-link.active span {
  color: #054a8b;
}

#elem1,
#elem2 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tabsHolder {
  display: flex;
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.tabsHolder>.tab {
  color: #8f91ac;
  cursor: pointer;
  padding: 10px 15px;
  font-weight: bold;
}

.tabsHolder>.tab.active {
  color: #033a6f;
}

.rankProfileImg {
  height: 50px;
  width: 50px;
}

.rankProfileImg>img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.rankingCardDesktop {
  border-radius: 10px;
  margin-bottom: 15px;
}

.rankingCardDesktop .flag_img {
  white-space: pre;
  width: 150px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.scoreCard {
  background: #054a8b;
  color: white;
  border-radius: 10px;
  display: inline-block;
  padding: 0px 10px;
}

.scoreCardPts {
  background: #e93950;
  color: white;
  border-radius: 10px;
  display: inline-block;
  padding: 0px 10px;
}

.rankHolder {
  background-color: #054a8b;
  border-radius: 5px;
  color: white;
  padding: 1px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  position: absolute;
  top: 4px;
  left: 4px;
}

.ranking_player_name {
  color: #054a8b;
  font-size: 16px;
  font-weight: bold;
  flex-grow: 1;
  white-space: nowrap;
  padding-right: 15px;
  width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rankinfo {
  font-size: 14px;
  text-align: center;
  align-items: center;
}

.rankingCard {
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
  padding: 10px;
}

.ranks {
  min-width: 25px;
  background: #2c7be5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 5px;
  padding: 0;
}

.acceptance_tbl td label,
.tour_result td label {
  display: none;
}

.acceptance_tbl td.name {
  display: none;
}

/* LIVE SEARCH
	 * ************/
.search-group {
  position: relative;
}

.search_holder>.searchResult {
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 10px;
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.3);
  -webkit-overflow-scrolling: touch;
  z-index: 9999999;
}

.search_holder {
  position: relative;
}

button#cancel-search{
  position: absolute;
  right: 20px;
  top: 20px;
}

.search-results {
  display: none;
  width: 100%;
  min-height: 83px;
  max-height: 200px;
  border-radius: 3px;
  border: 1px solid #ced4da;
  box-sizing: border-box;
  background-color: #ffffff;
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  top: 60px;
  z-index: 9999999;
}

.search-row {
  background: white;
  font-size: 12px;
  padding: 3px 10px;
  cursor: pointer;
}

.search-row>a {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: left;
}

.search-row:nth-child(even) {
  background: #fafafa;
}

.search-row:hover {
  background: #2c7be5;
  color: #ffffff;
}

.filter-badge {
  font-size: 14px;
  cursor: pointer;
  align-self: center;
}

.fancyTable {
  position: relative;
  background: white !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.fancyTable tr:last-child th,
.fancyTable tr th[rowspan] {
  border-bottom: 2px solid #054a8b;
}

.fancyTable th {
  font-size: 14px;
  font-weight: bold;
  background: #fff;
  cursor: pointer;
}

.fancyTable.table-bordered td {
  border-color: #d6e0e9 !important;
}

.fancyTable td {
  font-size: 14px;
  border-bottom: 2px solid #e0ebf5;
  height: 60px;
  vertical-align: middle;
}

#rankTab {
    background: #064393;
    padding-inline: 24px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.rank {
  position: relative;
  display: inline-flex;
  gap: 2px;
  font-weight: bold;
  font-size: 14px;
  align-items: center;
}

.rank.up {
  color: #2cb215;
}

.rank.down {
  color: #ff0000;
}

.fancyTable .fa-chevron-down,
.fancyTable .fa-chevron-up {
  font-size: 12px;
}

.fancyTable .player img {
  height: 40px;
  width: 40px;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin-right: 10px;
  transition: all 0.3s;
}

.fancyTable .player {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fancyTable .player a {
  font-size: 14px;
  white-space: nowrap;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.imgPreview .closeImg {
  display: inline-block;
  position: absolute;
  top: calc(50% - 140px);
  right: calc(50% - 140px);
  font-size: 30px;
}

.imgPreview {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  gap: 10px;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.imgPreview img {
  height: 200px;
  width: 200px;
}

/* .fancyTable .player:hover img {
		transform: scale(1.5);
	  } */
li.nav-item.customTabs {
  margin-bottom: 10px;
}

li.nav-item.customTabs>a {
  font-size: 16px;
  padding: 0px 20px;
  border-radius: 4px !important;
}

.dropdown-item {
  color: #1c4f92 !important;
  background-color: #fff !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: white !important;
  background-color: #1c4f92 !important;
}

.no-records:before {
  content: "";
  display: block;
  height: 130px;
  width: 130px;
  background-size: contain;
  background-image: url(../img/no-records.png);
  background-repeat: no-repeat;
  margin: 0 auto;
}

.no-records {
  font-size: 21px;
  font-weight: bold;
  color: #0e3579 !important;
  padding: 50px;
}

.rankLoader {
  text-align: center;
  position: relative;
  height: 50vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  background: white;
  border-radius: 10px;
  transform-style: preserve-3d;
  perspective: 500px;
}

.rotating-logo {
  display: block;
  margin: 0 auto;
  animation: rotateLogo 4s linear infinite;
}

.nav-pills .nav-link {
  font-size: 0.875rem;
  padding-inline: 1rem;
  padding-block: 0.1875rem;
}

.nav-pills .nav-link[data-gender="1"] {
  color: #00d27a;
  border: 1px solid #00d27a;
}

.nav-pills .nav-link[data-gender="2"] {
  color: #e63757;
  border: 1px solid #e63757;
}

.nav-pills .nav-link[data-gender="1"].active,
.nav-pills .show>.nav-link {
  color: #ffffff;
  background-color: #00d27a;
}

.nav-pills .nav-link[data-gender="2"].active,
.nav-pills .show>.nav-link {
  color: #ffffff;
  background-color: #e63757;
}

@keyframes rotateLogo {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.text-container {
  position: relative;
  height: 1em;
  min-height: 50px;
}

.text {
  position: absolute;
  width: 100%;
  opacity: 0;
  padding-left: 20px;
  padding-right: 20px;
  animation: slideText 9s infinite;
}

.text:nth-child(1) {
  animation-delay: 0s;
}

.text:nth-child(2) {
  animation-delay: 3s;
}

.text:nth-child(3) {
  animation-delay: 6s;
}

.spinner-border {
  min-height: 2rem;
  min-width: 2rem;
}

@keyframes slideText {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 0;
  }
}

.mobile_view_td {
  display: none;
}

.fancyTable.playerState_tbl {
  border-radius: 10px;
}

.playerState_tbl span.rank {
  border-radius: 5px;
  background: #2c7be5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  height: 25px;
  width: 25px;
  font-size: 10px;
  margin: 4px;
}

.playerState_tbl tr.country_tr td {
  height: 40px;
}

.calendar.theme-blue span.calendar-month {
  background: var(--falcon-primary);
}

.calendar.theme-blue .calendar .calendar-day {
  border-color: var(--falcon-primary);
}

@media only screen and (max-width: 1200px) {

  body,
  p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 993px) {

  #calendar-view-lists .qrcodeWrapper {
    height: 40px;
    width: 40px;
  }

  .qrcodeWrapper {
    right: -5px;
    bottom: 40px;
    height: 40px;
    width: 40px;
  }

  li.dropdown_custom.nav-item.dropdown {
    background: transparent !important;
    padding: 0px !important;
    margin: 0px !important;
  }

  .playerState_tbl {
    background-color: transparent !important;
    box-shadow: none;
    overflow: visible;
    text-align: left;
  }

  .playerState_tbl thead {
    display: none;
  }

  .playerState_tbl tr {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border-bottom: 0px solid;
    background-color: white;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
  }

  .playerState_tbl tr td {
    min-width: 50%;
    max-width: 50%;
    padding: 5px 10px;
    height: auto;
    background: white;
    font-size: 12px;
  }

  /* .playerState_tbl tr td:nth-child(3), */
  .playerState_tbl tr td:first-child {
    display: none;
  }

  .playerState_tbl tr td:nth-child(1) {
    display: block;
    max-width: calc(100%) !important;
    min-width: calc(100%) !important;
    padding: 5px;
  }

  .playerState_tbl tr td:nth-child(2) {
    flex-grow: 1;
    order: 3;
    text-align: center;
  }

  .playerState_tbl tr td:nth-child(6),
  .playerState_tbl tr td:nth-child(7) {
    flex-grow: 1;
  }

  .playerState_tbl tr.country_tr+tr {
    display: none;
  }

  .playerState_tbl tr.country_tr>td {
    min-width: 100% !important;
    margin: 0px;
    padding: 10px !important;
    background: #ffffff !important;
    text-align: center;
    display: block;
  }

  .playerState_tbl tr td {
    align-items: center;
  }

  .playerState_tbl tr td:nth-child(3),
  .playerState_tbl tr td:nth-child(4),
  .playerState_tbl tr td:nth-child(5) {
    min-width: 100%;
  }

  .playerState_tbl tr td:nth-child(2):before {
    content: "Ties Played - ";
  }

  .playerState_tbl tr td:nth-child(3):before {
    content: "Match";
  }

  .playerState_tbl tr td:nth-child(4):before {
    content: "Set";
  }

  .playerState_tbl tr td:nth-child(5):before {
    content: "Games";
  }

  .playerState_tbl tr td:nth-child(7):before {
    content: "Doubles -  ";
  }

  .playerState_tbl tr td:nth-child(5):before,
  .playerState_tbl tr td:nth-child(4):before,
  .playerState_tbl tr td:nth-child(3):before {
    text-align: center;
    display: block;
  }

  .playerState_tbl tr td:nth-child(12):before {
    content: "Singles - ";
  }

  .playerState_tbl tr td:nth-child(13):before {
    content: "Doubles - ";
  }

  /* ===================== */
  .team_stats_tbl tr.tblHeader {
    display: none;
  }

  .team_stats_tbl tr {
    display: flex;
    flex-wrap: wrap;
  }

  .team_stats_tbl tr:not(.top_tr) {
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
  }

  .team_stats_tbl tr td {
    padding: 5px 10px !important;
  }

  .team_stats_tbl tr th:not(.team_stats_tbl tr th:first-child) {
    display: none;
  }

  .team_stats_tbl tr td:nth-child(1),
  .team_stats_tbl tr td:nth-child(2),
  .team_stats_tbl tr td:nth-child(3),
  .team_stats_tbl tr td:nth-child(4),
  .team_stats_tbl tr td:nth-child(5) {
    font-weight: bold;
    border-bottom: 2px solid #ddd;
  }

  .team_stats_tbl tr td:nth-child(1) br {
    display: none;
  }

  .team_stats_tbl tr td:nth-child(3),
  .team_stats_tbl tr td:nth-child(4),
  .team_stats_tbl tr td:nth-child(5) {
    width: 100%;
  }

  .team_stats_tbl tr td:nth-child(1) {
    min-width: calc(100%);
  }

  .team_stats_tbl tr td:nth-child(2) {
    content: "";
    min-width: 100%;
    max-width: 100%;
    order: 3;
  }

  .team_stats_tbl tr td:nth-child(2):before {
    content: "Ties Played	 - ";
  }

  .team_stats_tbl tr td:nth-child(3):before {
    content: "No. of Matches - ";
  }

  .team_stats_tbl tr td:nth-child(4):before {
    content: "No. of Sets - ";
  }

  .team_stats_tbl tr td:nth-child(5):before {
    content: "No. of Games - ";
  }

  .text {
    font-size: 14px;
  }

  .rankLoader img {
    height: 40px;
  }

  .rotating-logo>img {
    height: 60px;
  }

  .rankingCardDesktop .flag_img {
    width: auto !important;
  }

  .navbar-brand>img {
    height: 40px;
    width: 100px;
    object-fit: contain;
  }

  .allbtn {
    width: auto;
  }

  .responsive-header {
    flex-direction: column;
    gap: 10px;
  }

  .responsive-header h5 {
    text-align: left;
    width: 100%;
    margin-bottom: 10px !important;
  }

  .responsive-header>* {
    width: 100%;
  }

  .months-list {
    display: flex;
    transition: transform 0.3s ease-in-out;
    height: 30px;
  }

  .month-filter .month-box .year-name {
    font-size: 14px;
    padding: 2px 10px;
  }
}

/* .status-width{
	  width:auto;
	} */
@media only screen and (max-width: 776px) {
  .playerStandingstbl thead {
    display: none;
  }
 
  .playerStandingstbl tbody {
    display: block;
  }
 
  .playerStandingstbl thead {
    display: none;
  }
 
  .playerStandingstbl tbody tr {
    display: flex !important;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 10px;
  }
 
  .playerStandingstbl tr td:first-child {
    order: -1;
    max-width: 25px;
    min-width: 25px;
    background: #064393;
    height: 25px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 7px;
    margin-left: 7px;
  }
 
  .playerStandingstbl td:last-child {
    order: -1;
    min-width: calc(100% - 80px);
  }
 
  .playerStandingstbl tr td:nth-child(2):before {
    content: "Position - ";
  }
 
  .playerStandingstbl tr td:nth-child(3) {
    min-width: 40px;
    max-width: 40px;
    order: -1;
    font-weight: bold;
  }
 
  .playerStandingstbl tr td {
    padding: 7px !important;
    /* max-width: 50%; */
    /* min-width: 50%; */
    border-width: 0px;
  }

  .card-header h5 {
    font-size: 14px;
  }
}

/* Match Results */
.cardHead,
.cardFoot {
  background: #deefff;
  font-size: 10px;
  text-align: center;
  padding: 2px 5px;
  font-weight: 600;
  color: #054a8b;
}

.cardHeadTwo,
.cardFootTwo {
  background: #ffe5de;
  font-size: 10px;
  text-align: center;
  padding: 2px 5px;
  font-weight: 600;
  color: #95371d;
}

.match_score {
  display: flex;
  align-items: center;
  gap: 5px;
}

.match_score>span {
  height: 20px;
  width: 20px;
  background: #054a8b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: white;
  padding: 12px;
}

.matchCard {
  border: 2px solid white;
}

.matchCard:hover .cardFoot,
.matchCard:hover .cardHead {
  background: #054a8b;
  color: white;
}

.matchCard .player_name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-item {
  width: 2.8rem;
  color: var(--bg-success);
  font-weight: 800;
}

.text-wrapper {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  padding-right: 10px;
}

/* Match Results--end */
/* factsheet timeline start */
.customTimeline .timeline::before,
.customTimeline .timeline::after {
  display: none;
}

.customTimeline .timeline {
  position: relative;
  padding-left: 40px;
}

.customTimeline .timeline-item {
  position: relative;
  padding: 7px 0;
  width: 100%;
}

.customTimeline .timeline-item::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -27px;
  width: 2px;
  height: 100%;
  background-color: rgb(132, 132, 132);
}

.customTimeline .timeline-item:last-child::before {
  height: 0;
}

.customTimeline .timeline-icon {
  position: absolute;
  left: -40px;
  width: 30px;
  height: 30px;
  background-color: white;
  border: 2px solid #6c757d;
  /* Grey border for inactive */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  /* Grey icon color for inactive */
  font-size: 14px;
}

.customTimeline .timeline-item.active .timeline-icon {
  background-color: #054a8b;
  /* Blue background for active */
  border: 2px solid #054a8b;
  /* Blue border for active */
  color: white;
  /* White icon color for active */
}

.customTimeline .timeline-text {
  margin-left: 20px;
}

.end-highlight {
  background-color: #ad0000;
  color: white;
  display: block;
  border-radius: 20px;
  padding: 5px 15px;
  width: 100%;
}

.timeline-item.active {
  background-color: #054a8b;
  color: white;
  border-radius: 20px;
  padding: 10px;
}

.timeline-item.active .end-highlight {
  background-color: #ad0000;
}

.bg-purple {
  background-color: #9a30bb;
}

.statBox {
  /* border-left: 4px solid #24497a; */
  padding: 1rem;
  background: #f8f9fa;
}

.statBox .location {
  align-items: center;
  justify-content: space-between;
  background: #054a8b;
  padding: 5px;
  color: white;
  border-radius: 5px;
  margin: -14px -14px 5px;
  font-size: 12px;
  font-weight: bold;
}

.statBox.card .score_span {
  padding: 3px 10px;
  display: inline-block;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.statBox.card .score_span:first-child {
  background: #054a8b;
}

.statBox.card .score_span:last-child {
  background: #95a4b9;
}

.match-result {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.win {
  border-left: 4px solid green;
  padding-left: 10px;
  font-weight: 600;
}

.loss {
  border-left: 4px solid red;
  color: red;
  padding-left: 10px;
  font-weight: 600;
}

.country-flag {
  width: 24px;
  margin-right: 6px;
}

.stat-label {
  font-weight: 500;
}

.progress {
  height: 6px;
  background-color: #f1f1f1;
}

.progress-bar {
  background-color: #054a8b;
  width: 0%;
  transition: all 1s ease-in-out;
}

.stat-value {
  font-weight: bold;
}

.stat-fill-bar {
  position: relative;
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.stat-fill-bar span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #054a8b;
  color: #fff;
  font-weight: bold;
  font-size: 0.85rem;
  padding-left: 6px;
  display: flex;
  align-items: center;
  transition: width 0.6s ease-in-out;
}

.offcanvas.w-500 {
  width: 500px;
  max-width: 100%;
}

.statsTable td {
  padding: 10px 5px;
  border-bottom: 1px dashed #7186b1;
  font-size: 14px;
}

/* opp team view*/
.heading-dark.card_btm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.heading-dark.card_btm>span {
  display: inline-block;
  background: rgb(204, 204, 204);
  border-radius: 14px;
  padding: 0px 9px;
  color: rgb(0, 0, 0);
  font-size: 10px;
}

.oop_table_custom {
  border-radius: 10px;
  /* Adjust the radius as needed */
  border-collapse: separate;
  /* If you need to see cell borders, use separate */
  border-spacing: 0;
  /* Remove the spacing if using separate */
}

.oop_table_custom td {
  padding: 3px 5px;
  border-bottom: 1px solid;
}

.oop_table_custom tr.topTr td {
  background: #ededed;
  border-top: 2px solid;
}

tr.team_doubles td {
  padding-bottom: 0px;
}

tr.team_doubles+tr td:first-child {
  border-radius: 0px 0 0 10px;
  border-bottom: 2px solid #054a8b !important;
}

tr.team_doubles+tr td:last-child {
  border-radius: 0px 0 10px 0;
}

tr.team_doubles+tr td {
  border-bottom: 2px solid #054a8b !important;
}

.oop_table_custom tr.topTr td:first-child {
  border-radius: 10px 0px 0px 0px;
}

.oop_table_custom tr.topTr+tr>td:last-child {
  border-radius: 0px 0px 0px 0px;
  border-top: 0px !important;
  border-right: 2px solid !important;
}

.oop_table_custom tr.topTr td:last-child {
  border-radius: 0px 10px 0px 0px;
}

.oop_table_custom tr.team_doubles td:first-child {
  border-bottom: 0px solid !important;
}

.oop_table_custom tr td:first-child {
  border-left: 2px solid #054a8b;
  border-bottom: 1px solid !important;
  border-color: #054a8b;
}

.oop_table_custom tr td:last-child {
  border-right: 2px solid #054a8b;
  border-color: #054a8b;
}

.oop_table_custom tr.spacingTr {
  border-top: 2px solid #054a8b !important;
}

.oop_table_custom .fs-2 {
  font-size: 18px !important;
  color: #054a8b;
}

.oop_table_custom tr.topTr+tr>td {
  background: #ededed;
}

.oop_table_custom tr.team_doubles td {
  border-bottom: 0px solid;
}

/* .oop_table_custom tr:not(.oop_table_custom tr.topTr) > td:nth-child(3),
.oop_table_custom tr:not(.oop_table_custom tr.topTr) > td:nth-child(6) {
  border-left: 1px solid;
} */
.oop_table_custom tr.spacingTr td {
  border-width: 0px !important;
  padding: 10px !important;
}

.oop_table_custom tr.topTr td {
  border-bottom: 0px;
}

.oop_table_custom tr.topTr+tr td {
  border-left: 0px solid !important;
  border-right: 0px solid !important;
}

.acceptanceBtn {
  position: absolute;
  right: 15px;
  top: 50px;
}

.team_stats_tbl td,
.team_stats_tbl th {
  background: white;
}

.team_stats_tbl tr.top_tr td {
  background: transparent;
  padding: 0 !important;
  min-width: 100%;
}

.team_stats_tbl .top_tr h4 {
  margin: 20px 0 10px 0;
  font-size: 20px;
  font-weight: bold;
}

.team_stats_tbl tr:first-child h4 {
  margin-top: 0px;
}

.team_stats_tbl tr.tblHeader th {
  font-weight: bold;
}

.team_stats_tbl tr.tblHeader th:first-child {
  border-radius: 10px 0px 0px 0px;
}

.team_stats_tbl tr.tblHeader th:last-child {
  border-radius: 0px 10px 0px 0px;
}

.team_stats_tbl tr.last_tr td:first-child {
  border-radius: 0px 0px 0px 10px;
}

.team_stats_tbl tr.last_tr td:last-child {
  border-radius: 0px 0px 10px 0px;
}

.statsbar {
  background: #ddd;
  border-radius: 10px;
  display: flex;
}

.statsbar>div {
  display: block;
  height: 5px;
}

.statsbar>.lost {
  background: #ff6d6d;
}

.statsbar>.won {
  background: #4dd14d;
}

.text-soft-green {
  color: #4dd14d;
}

.bg-soft-green {
  background-color: #4dd14d;
}

.text-soft-red {
  color: #ff6d6d;
}

.bg-soft-red {
  background-color: #ff6d6d;
}

.search_holder>.searchResult {
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow: auto;
  border-radius: 10px;
  box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.3);
}

.search_holder {
  position: relative;
  z-index: 1;
}

.leagueHolder {
  border-bottom: 2px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 20px !important;
}

.leagueHolder .match-card {
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  padding: 10px;
  background: #fff;
  border: 2px solid #efefef;
  margin-bottom: 10px;
}

.leagueHolder .match-card.hovered,
.leagueHolder .match-card:hover {
  border-color: #064393;
}

.leagueHolder .player-name {
  font-size: 16px;
}

.leagueHolder .num-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #064393;
  /* primary */
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  font-size: 12px;
}

.leagueHolder .player-name {
  font-weight: 700;
  letter-spacing: .2px;
}

.leagueHolder .seed {
  color: #064393;
  font-weight: 700;
}

.leagueHolder .flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.leagueHolder .score-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  justify-content: space-around;
}

.leagueHolder .score-row>div {
  border: 1px solid #ddd;
  flex: 1;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  font-size: 13px;
  padding: 0px 3px;
  /* box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, 0.2); */
  min-height: 21px;
}

.score-pill.font-10 {
  font-size: 10px;
}

.match-card.standingCard>.score-row>div {
  min-width: 20% !important;
  font-size: 12px;
}

.leagueHolder .score-pill,
.leagueHolder .ghost-pill {
  padding: .4rem .65rem;
  border-radius: .5rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.leagueHolder .score-pill {
  padding: 0px;
  background: transparent;
  color: #495057;
  font-size: 12px;
}

.leagueHolder .ghost-pill {
  background-color: #91CED9;
  color: transparent;
  /* min-width: 84px; */
}

.leagueHolder .vs {
  margin-left: auto;
  font-weight: 600;
  color: #6c757d;
}

@media (max-width: 1200px) {
  .match-card.standingCard>.score-row>div {
    min-width: 25% !important;
  }
}

@media (max-width: 768px) {
  .match-card.standingCard>.score-row>div {
    min-width: 47% !important;
  }
}


@media only screen and (max-width: 767px) {
  .offcanvas-body .trophys {
    margin-top: 10px !important;
  }

  .profileHeader {
    text-align: center;
    margin: -16px -30px -80px -30px !important;
    padding: 20px 20px 80px 20px !important;
  }

  .offcanvas-body .chart-container.match-card,
  .offcanvas-body .chart-container.match-card div {
    text-align: center;
    /* margin: 0 auto; */
  }

  .card-body {
    padding: 10px;
  }

  .teamAcceptance_tbl thead {
    display: none;
  }

  .teamAcceptance_tbl .head {
    /* border: solid; */
    border-width: 2px 2px 0px 2px;
    border-radius: 10px 10px 0px 0px !important;
    overflow: hidden;
  }


  .teamAcceptance_tbl tr.lastTr {
    border-radius: 0px 0px 10px 10px;
    /* border: solid; */
    border-width: 0px 2px 2px 2px;
  }

  .teamAcceptance_tbl tr {
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
    padding: 0px 5px;
  }

  .teamAcceptance_tbl .head>td.flag {
    width: 100%;
    text-align: left !important;
  }

  .spacingTr {
    border-width: 0px !important;
  }

  .teamAcceptance_tbl tr td {
    padding: 0 10px !important;
  }

  .teamAcceptance_tbl .name {
    width: 100%;
  }

  .acceptance_tbl tr,
  .tour_result tr {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    position: relative;
  }

  .acceptance_tbl td.id {
    /* position: absolute; */
    border-radius: 5px;
    height: 20px;
    min-width: 20px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    padding: 0px;
    display: none;
  }

  .acceptance_tbl thead {
    display: none;
  }

  .tour_result thead {
    display: none;
  }

  .acceptance_tbl td,
  .tour_result td {
    border-width: 0px;
    text-align: left;
    padding: 0px 2px !important;
  }

  td.tbl_action>a {
    color: #054a8b;
    padding: 2px 16px;
    border-bottom: 2px solid #054a8b;
    background: white;
  }

  td.tbl_action>a:hover {
    background: #054a8b;
  }

  .acceptance_tbl td label,
  .tour_result td label {
    margin: 0;
    display: inline-block;
  }

  .tour_result td.tbl_action {
    min-width: 100%;
    text-align: center;
    width: 100%;
    margin-top: 10px;
  }

  .tour_result td.flag,
  td.pnt_sngl {
    width: 40%;
    min-width: 37%;
  }

  .tour_result td.result,
  td.pnt_dbl {
    width: 60%;
    /* text-align: right !important; */
  }

  .withdraw_tbl td.name {
    width: calc(100% - 30px);
  }

  .withdraw_tbl .id:before {
    display: none;
  }

  .withdraw_tbl .id {
    order: -1 !important;
    max-width: 10px;
    min-width: 27px;
    text-align: center;
  }

  .acceptance_tbl td.name {
    order: unset !important;
  }

  .acceptance_tbl td.atf_rank {
    text-align: right;
  }

  .acceptance_tbl td.id:before {
    content: "Sno. -";
  }

  .acceptance_tbl tr.secondHeader {
    display: none;
  }

  .acceptance_tbl td.id {
    display: block;
    order: 1;
    /* background: transparent !important; */
    --falcon-table-active-color: var(--falcon-body-color);
  }

  .acceptance_tbl td.name,
  .tour_result td.name {
    display: block;
    order: -2;
    font-weight: bold;
    color: var(--falcon-primary);
    margin-bottom: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  td.withdrawn_date_td:before {
    content: "Withdrawn Date - ";
  }

  td.withdrawn_date_td:before {
    content: "Withdrawn Date - ";
  }

  td.itf_rank:before {
    /* content: "ITF Rank - "; */
  }

  .acceptance_tbl td.itf_rank {
    order: 6;
  }

  td.dob:before {
    content: "YOB - ";
  }

  td.wtn_rank:before {
    content: "WTN - ";
  }

  td.wtn_rank {
    text-align: right;
  }

  .tour_result td.text-dark.id {
    display: none;
  }

  .acceptance_tbl td.accept-order:before {
    content: "Rank - ";
  }

  td.withdrawn_date_td {
    order: 6;
    width: 100% !important;
  }

  .acceptance_tbl td.accept-order {
    text-align: left;
  }

  .acceptance_tbl .family_name,
  .acceptance_tbl .first_name {
    display: none;
  }

  .acceptance_tbl tr td {
    width: 50%;
    min-width: 50%;
  }

  .acceptance_tbl .player_rank {
    order: 2;
    text-align: right !important;
  }

  .acceptance_tbl td.dob {
    order: 1;
  }

  .acceptance_tbl td.flag {
    order: 1;
    text-align: right !important;
  }

  .nav-tabs a {
    padding: 6px 5px;
    font-size: 13px !important;
    margin-top: 10px;
  }

  .filter_button svg {
    font-size: 17px;
    margin: 0 !important;
  }

  .filter_button {
    font-size: 0px;
    padding: 6px;
  }

  .month-filter {
    width: 100% !important;
  }

  .responsive-header {
    flex-direction: column;
    gap: 10px;
  }

  .responsive-header h5 {
    text-align: left;
    width: 100%;
    margin-bottom: 10px !important;
  }

  .responsive-header>* {
    width: 100%;
  }

  .headerCard h5,
  section.page-heading.top-banner h1 {
    display: -webkit-box;
    /* max-width: 200px; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .headerCard h5 {
    font-size: 15px;
    display: -webkit-box;
    /* max-width: 200px; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .headerCard p {
    font-size: 14px;
  }

  .filter_form label {
    display: none;
  }

  .filter_form {
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 2%;
    margin-top: 10px !important;
  }

  .filter_form select {
    width: auto !important;
    flex-grow: 1;
    max-width: initial !important;
    margin: 0px 0px 2% !important;
  }

  .filter_form input {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin: 0px 0px 2% !important;
  }

  .profile_info {
    text-align: center;
  }

  .profile_info h4 {
    font-size: 18px !important;
  }

  .profile_info h5 {
    font-size: 14px !important;
  }

  .profile_info .avatar {
    height: 100px;
    width: 100px;
  }

  .bg-holder {
    flex-direction: column;
  }

  .responsive_leagues {
    /* border-radius: 5px; */
    overflow: hidden;
    border: 1px solid;
    box-shadow: 1px 1px 12px 0px rgba(0, 0, 0, 0.1);
    font-size: 12px;
  }

  .responsive_leagues tr,
  .responsive_leagues td,
  .responsive_leagues th {
    border-color: #b1b1b1;
  }

  .responsive_leagues_standing tbody>tr {
    border-style: solid;
    border-color: #b1b1b1;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 1px 12px 0px rgba(0, 0, 0, 0.3);
    /* padding: 5px; */
  }

  .responsive_leagues_standing thead,
  .responsive_leagues_standing tr>td:nth-child(1) {
    display: none;
  }

  .responsive_leagues_standing tr>td:nth-child(2) {
    width: calc(100% - 60px);
    font-weight: bold;
    padding: 3px 10px;
    border-width: 0px;
  }

  .responsive_leagues_standing tr>td:nth-child(2)>img {
    margin-right: 5px;
  }

  .responsive_leagues_standing tr>td:nth-child(3) {
    width: 60px !important;
    padding: 3px 5px !important;
    border-width: 0px !important;
  }

  .responsive_leagues_standing tr>td:nth-child(3):before {
    content: "Pl.-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(4):before {
    content: "Won-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(5):before {
    content: "Lost-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(6):before {
    content: "Pts.-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(7):before {
    content: "Match-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(8):before {
    content: "Pts.-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(9):before {
    content: "Sets-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(10):before {
    content: "S %-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(11):before {
    content: "G-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:nth-child(12):before {
    content: "G %-\00a0";
    display: inline-block;
  }

  .responsive_leagues_standing tr>td:not(.responsive_leagues_standing tr > td:nth-child(2)) {
    width: 33.3%;
    text-align: left;
    border-right: 1px solid #b1b1b1;
    border-top: 1px solid #b1b1b1;
    font-size: 12px;
    padding: 1px 5px;
    border-left: 0px solid;
    color: #2c2c2c;
    translate: 1px 0px;
  }

  .spinner-border-sm {
    min-width: 1.35rem !important;
    min-height: 1.35rem !important;
  }
}

.statCard>.flex-grow-1 {
  width: 20%;
}

.statsbar_tour {
  background: #ddd;
  border-radius: 20px;
  display: flex;
  /* overflow: hidden; */
}

.statsbar_tour>div {
  display: flex;
  max-width: 50%;
  width: 50%;
  height: 5px;
}

.statsbar_tour>div>div:after {
  content: "";
  display: block;
  height: 10px;
  width: 3px;
  position: absolute;
  top: -5px;
}

.statsbar_tour>div>div.won:after {
  background: #4dd14d;
  left: 0;
}

.statsbar_tour>div>div.lost:after {
  background: #ff6d6d;
  right: 0;
}

.statsbar_tour>div:first-child {
  justify-content: end;
}

.statsbar_tour .won,
.statsbar_tour .lost {
  position: relative;

  height: 5px;
  background-image: linear-gradient(45deg,
      rgba(255, 255, 255, 0.15) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.15) 75%,
      transparent 75%,
      transparent);
  background-size: 30px 30px;
  animation: moveStripes 1s linear infinite;
}

.statsbar_tour .won {
  background-color: #4dd14d;
}

.statsbar_tour .lost {
  background-color: #ff6d6d;
}

@keyframes moveStripes {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 30px 0;
  }
}

.img-box-sm .playerRank {
  display: inline-block;
  background: #073f7c;
  font-size: 10px;
  padding: 2px 10px;
  border-radius: 10px;
}

.img-box-sm {
  margin: 0 auto;
}

.img-box-sm img.profileImg {
  height: 100px;
  width: 100px;
  border-radius: 20px;
}

@keyframes brightnessPulse {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.7);
  }

  100% {
    filter: brightness(1);
  }
}

.player-statistic button.btn-close.text-reset {
  position: absolute;
  z-index: 10;
  right: 30px;
  filter: invert(1);
  opacity: 1;
}

.profileHeader .trophys img {
  animation: brightnessPulse 0.5s infinite ease-in-out;
}

.offcanvas-custom {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: 10px 10px 20px 10px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1050;
}

.offcanvas-custom.show {
  right: 0;
}

.offcanvas-header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.offcanvas-body {
  padding: 1rem;
}

.statCard {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  align-items: center;
}

.statCard>div {
  padding: 0px 10px;
  border-left: 1px solid #ddd;
}

.statCard>div:first-child {
  border-width: 0px;
}

.statCard .nameSpace {
  width: 20%;
}

.statCountryRow {
  background: #244fa1;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 10px;
  margin-bottom: 10px;
  color: white;
}

@media only screen and (max-width: 993px) {
  .statCard {
    display: block;
  }

  .statCard>.flex-grow-1 {
    width: 100%;
  }

  .statCard:last-child {
    text-align: center;
  }

  .statCard .nameSpace {
    width: 100%;
  }

  .statCard>div {
    border-width: 0px;
  }
}


.statRank {
  background: #2ea2ff;
  border-radius: 50px;
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  margin-right: 5px;
}

.img-box-sm {
  margin: 0 auto;
}

.img-box-sm img.profileImg {
  height: 100px;
  width: 100px;
  border-radius: 20px;
}

.match-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 12px;
  font-family: sans-serif;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  border: 2px solid transparent;
  transition: all 0.3s;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.match-card:hover {
  border-color: #073f7c;
}

.match-card:hover .match-footer {
  background: #073f7c;
}

.match-card:hover .match-footer .text-primary {
  color: white !important;
}

.match-card .match-header {
  background: #073f7c;
  font-size: 12px;
  color: white;
  padding: 10px;
  border-radius: 10px 10px 0px 0px;
  margin: -12px -12px 0px -12px;
}

.match-card .match-header>div {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.profileHeader {
  background: #3500ff !important;
  margin: -16px -30px -90px -30px;
  padding: 20px 20px 60px 20px;
  border-radius: 0px 0px 30px 30px;
  color: white;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative;
  overflow: hidden;
}

.profileHeader>* {
  position: relative;
  z-index: 1;
}

.profileHeader:after {
  content: "";
  background: url("https://img.freepik.com/free-vector/3d-triangle-background-with-vivid-colors_23-2148403780.jpg");
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.7;
  background-size: cover;
  z-index: 0;
  filter: hue-rotate(335deg);
}

.match-card .player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(3, 84, 171, 0.3);
  margin-bottom: -11px;
  border-radius: 10px;
}

.match-card .player-row {
  border-radius: 10px 10px 0px 0px !important;
}

.match-card .player-row+.player-row {
  border-radius: 0px 0px 10px 10px !important;
  background: #0354ab12;
}

.match-card .flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.match-card .player-name {
  flex: 1;
  font-size: 12px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-card .player-row.winner .player-name {
  color: #00b050;
  /* bright green for winner */
  font-weight: bold;
}

.match-card .scores {
  display: flex;
  gap: 6px;
}

.match-card .score {
  font-weight: bold;
  font-size: 13px;
  color: #222;
  width: 18px;
  text-align: center;
  background: rgba(9, 37, 147, 0.3);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}


.match-card .match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #444;
  background: #0354ab12;
  padding: 7px;
  border-radius: 0px 0px 10px 10px;
  margin: 10px -12px -12px -12px;
}

.match-card .clock-icon {
  margin-right: 4px;
}

.match-card .chart-container {
  width: 100%;
  /* height: 100px; */
  position: relative;
}

.match-card .chart-container canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

.offcanvas-custom.w-800 {
  right: -800px;
  width: 800px;
}

.offcanvas-custom {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: 10px 10px 20px 10px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1050;
}

.offcanvas-custom.show {
  right: 0;
}

.offcanvas-header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

/*
.offcanvas-body .trophys img {
  height: 50px;
} */

.offcanvas-body .trophys {
  display: flex;
  position: relative;
  z-index: 1;
  /* margin-top: 0px; */
  margin-top: 20px;
  align-items: end;
}

.doubles-active * {
  transition: all .3s;
}

.doubles-active .match-card:hover {
  border-color: #098c93;
}

.doubles-active .profileHeader {
  background: #098c93 !important;
}

.doubles-active .match-card .score {
  background: rgba(9, 140, 147, 0.3);
}

.doubles-active .match-card:hover .match-footer,
.doubles-active .match-card .match-header,
.doubles-active .match-card.match-header {
  background: #098c93 !important;
  border-color: #098c93;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.offcanvas-body {
  padding: 16px 30px 30px 30px;
}

.blink-dim {
  filter: brightness(1.5);
  /* Make it lighter */
  transition: filter 0.1s;
}

.player-row>div.playerRow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.player-search-rank {
  position: absolute;
  top: 4px;
  left: 6px;
  border-radius: 50%;
  padding: 4px 9px;
}
