 :root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #f5f7fa;
  --container-bg: #ffffff;
  --text-color: #333333;
  --border-color: #e0e0e0;
  --hover-color: #f0f0f0;
  --button-color: #3498db;
  --button-text: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --table-bg: #f2f2f2;
  --table-header-bg: #f7f7f7;
}
.dark-mode {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #0e0f0f;
  --container-bg: #1a1a1a;
  --text-color: #e0e0e0;
  --border-color: #333333;
  --hover-color: #252525;
  --button-color: #2980b9;
  --button-text: #ffffff;
  --header-bg: #0e0f0f;
  --footer-bg: #222222;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  --table-bg: #333333;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  margin: 0;
  padding: 0;
  min-width: 770px;
  overflow-x: auto;
}
body.dark-mode {
  background-color: #0e0f0f !important;
  min-width: 770px;
}
.container {
  max-width: 880px;
  min-width: 770px;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
}
/* Ensure the chart wrapper doesn't shrink below a minimum width */
.chart-wrapper {
  background-color: var(--container-bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 12px 14px 20px;
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  min-width: 730px;
}


/* Radar chart styling */
.radar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0px -15px;
  width: 100%;
  min-width: 670px;
  position: relative;
}
svg.radar {
  width: 100%;
  max-width: 700px;
  min-width: 670px;
  height: 485px;
  display: block;
  margin: 0 auto;
}
/* Add specific styling for the SVG group */
svg.radar > g {
  transform-origin: center;
  transform: translate(50%, 50%);
}

/* Search input styling */
.search-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  width: 70%;
  min-width: 500px;
  position: relative;
}
/* Container for search and dropdown */
.search-container {
  position: relative;
  margin-bottom: 15px;
  min-width: 500px;
}
#searchInput1 {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  background-color: var(--container-bg);
  color: var(--text-color);
  transition: border-color 0.2s;
  height: 40px;
}
#searchInput1:focus {
  border-color: var(--primary-color);
}
#searchInput1::placeholder {
  color: #999;
}
#searchButton1 {
  background-color: var(--button-color);
  color: var(--button-text) !important;
  border: none;
  border-radius: 6px;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 18px;
  font-weight: bold;
}
#searchButton1:hover {
  background-color: #2980b9;
}
body.dark-mode #searchButton1:hover {
  background-color: #2980b9;
}
body.dark-mode #searchButton1 {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
/* Button styles for screenshot */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background-color: var(--button-color);
  color: var(--button-text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  height: 36px;
  box-sizing: border-box;
}
.btn:hover {
  background-color: #2980b9;
}
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}
.btn-outline:hover {
  background-color: var(--hover-color);
}
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 6px;
}
.icon2::before {
  font-family: "Ionicons";
  content: "\f147";
 /* Camera icon from Ionicons */
  font-size: 18px;
  color: var(--button-text);
}
/* Matching names dropdown styling */
#matchingNames {
  flex: 1;
  background-color: var(--container-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 #f1f1f1;
  z-index: 9999;
  max-height: 267px;
  overflow-y: auto;
  margin-bottom: 15px;
  min-height: 0;
}
/* When matchingNames is empty, maintain spacing */
#matchingNames:empty {
  margin-bottom: 0;
  min-height: 0;
  display: none !important;
}
.name {
  padding: 9px 12px;
  font-size: 15px;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease-in-out;
  font-family: 'Inter', sans-serif;
  position: relative;
}
.name:hover {
  background-color: var(--hover-color);
}
.fullName {
  font-weight: bold;
  margin-right: 6px;
}
.age, .team {
  color: #777777;
  margin-right: 4px;
}
.dark-mode .age, .dark-mode .team, .dark-mode .fullName {
  color: var(--text-color);
}
/* Table styling */
.metrics-table {
  width: 100%;
  background-color: var(--container-bg);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
  box-shadow: var(--shadow);
  table-layout: fixed;
  max-width: 100%;
}
.metrics-table th {
  color: var(--text-color);
  padding: 8px;
  font-size: 12px;
  text-align: center;
  font-weight: 500;
  background-color: var(--table-header-bg);
  border-bottom: 1px solid var(--border-color);
  line-height: 1.2;
}
.dark-mode .metrics-table th {
  color: #aeaeae;
}
/* Match the first header with the first column styling */
.metrics-table th:first-child {
  padding-left: 15px;
  padding-right: 15px;
  width: 20%;
  font-style: italic;
}
.metrics-table td {
    padding: 6px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600 !important;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Give more breathing room to the first column (name) */
.metrics-table td:first-child {
  padding: 12px 15px;
  text-align: center;
  white-space: normal;
  width: 30%;
  overflow: visible;
  text-overflow: clip;
  height: auto;
  min-height: 50px;
  line-height: 1.4;
  vertical-align: middle;
}
.metrics-table tr:last-child td {
  border-bottom: none;
}
@media (hover: hover) {
    .metrics-table tr:hover td {
        background-color: var(--hover-color);
      }
    }
/* X button styling */
.metrics-table td button {
  background-color: transparent;
  border: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.metrics-table td button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #666;
}
/* Dark mode specific table styling */
.dark-mode .metrics-table {
  background-color: var(--container-bg);
}
.dark-mode .metrics-table th {
  background-color: rgba(255, 255, 255, 0.03);
}
.dark-mode .metrics-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-mode .metrics-table td button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #aaa;
}
/* Position switcher */
.position-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.position-button {
  padding: 8px 16px;
  background-color: var(--container-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.position-button:hover {
  background-color: var(--hover-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Toggle controls */
.toggle-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.toggle-container {
  display: flex;
  align-items: center;
}
.toggle-label {
  font-size: 14px;
  margin-right: 10px;
}
.toggle-checkbox {
  width: 40px;
  height: 20px;
  position: relative;
  cursor: pointer;
}
.toggle-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}
.toggle-slider:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .toggle-slider {
  background-color: var(--primary-color);
}
input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
/* Dark mode toggle */
.dark-mode-toggle {
border: 1px solid var(--border-color);
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--container-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 100;
  transition: background-color 0.3s;
}
.toggle-icon::before {
  font-family: "Ionicons";
  content: "\f467";
  font-size: 30px;
  color: var(--text-color);
}
.dark-mode .toggle-icon::before {
  content: "\f3b0";
  font-size: 20px;
}



/* Similar players table */
.similar-table {
  width: 100%;
  background-color: var(--container-bg);
  font-family: 'Inter', sans-serif;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1px;
  margin-bottom: 27px;
  box-shadow: var(--shadow);
}
.similar-table th {
  color: var(--text-color);
  padding: 10px;
  text-align: center;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-color);
  line-height: 1.2;
}
.similar-table td {
  padding: 7px 8px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.2;
}
.similar-table td:last-child {
  border-right: none;
}
.similar-table td:hover {
  background-color: var(--hover-color);
}
/* Dark mode specific similar table styling */
.dark-mode .similar-table {
  background-color: var(--container-bg);
}
.dark-mode .similar-table th {
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-mode .similar-table td {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
/* Color classes for radar chart */
.result-color-1 {
  color: #3062FB !important;
  stroke: #3062FB;
  fill: #3062FB;
  fill-opacity: 0;
}
.result-color-2 {
  color: #F62681 !important;
  stroke: #F62681;
  fill: #F62681;
  fill-opacity: 0;
}
.result-color-3 {
  color: #55d149 !important;
  stroke: #55d149;
  fill: #55d149;
  fill-opacity: 0;
}
.result-color-4 {
  color: #FFCF5F !important;
  stroke: #FFCF5F;
  fill: #FFCF5F;
  fill-opacity: 0;
}
.result-color-5 {
  color: rgb(153, 50, 204) !important;
  stroke: rgb(153, 50, 204);
  fill: rgb(153, 50, 204);
  fill-opacity: 0;
}
.result-color-6 {
  color: rgb(255, 140, 0) !important;
  stroke: rgb(255, 140, 0);
  fill: rgb(255, 140, 0);
  fill-opacity: 0;
}
.result-color-7 {
  color: rgb(30, 144, 255) !important;
  stroke: rgb(30, 144, 255);
  fill: rgb(30, 144, 255);
  fill-opacity: 0;
}
.result-color-8 {
  color: rgb(240, 128, 128) !important;
  stroke: rgb(240, 128, 128);
  fill: rgb(240, 128, 128);
  fill-opacity: 0;
}
.result-color-9 {
  color: rgb(144, 238, 144) !important;
  stroke: rgb(144, 238, 144);
  fill: rgb(144, 238, 144);
  fill-opacity: 0;
}
.result-color-10 {
  color: rgb(135, 206, 235) !important;
  stroke: rgb(135, 206, 235);
  fill: rgb(135, 206, 235);
  fill-opacity: 0;
}
.result-color-11 {
  color: rgb(246, 38, 129) !important;
  stroke: rgb(246, 38, 129);
  fill: rgb(246, 38, 129);
  fill-opacity: 0;
}
.result-color-12 {
  color: rgb(255, 69, 0) !important;
  stroke: rgb(255, 69, 0);
  fill: rgb(255, 69, 0);
  fill-opacity: 0;
}
.result-color-13 {
  color: rgb(60, 179, 113) !important;
  stroke: rgb(60, 179, 113);
  fill: rgb(60, 179, 113);
  fill-opacity: 0;
}
.result-color-14 {
  color: rgb(138, 40, 165) !important;
  stroke: rgb(138, 40, 165);
  fill: rgb(138, 40, 165);
  fill-opacity: 0;
}
.result-color-15 {
  color: rgb(70, 130, 180) !important;
  stroke: rgb(70, 130, 180);
  fill: rgb(70, 130, 180);
  fill-opacity: 0;
}
.result-color-16 {
  color: rgb(208, 32, 144) !important;
  stroke: rgb(208, 32, 144);
  fill: rgb(208, 32, 144);
  fill-opacity: 0;
}
.result-color-17 {
  color: rgb(220, 20, 60) !important;
  stroke: rgb(220, 20, 60);
  fill: rgb(220, 20, 60);
  fill-opacity: 0;
}
.result-color-18 {
  color: rgb(255, 223, 60) !important;
  stroke: rgb(255, 223, 60);
  fill: rgb(255, 223, 60);
  fill-opacity: 0;
}
.result-color-19 {
  color: rgb(238, 130, 238) !important;
  stroke: rgb(238, 130, 238);
  fill: rgb(238, 130, 238);
  fill-opacity: 0;
}
.result-color-20 {
  color: rgb(147, 112, 219) !important;
  stroke: rgb(147, 112, 219);
  fill: rgb(147, 112, 219);
  fill-opacity: 0;
}
.result-color-21 {
  color: rgb(34, 139, 34) !important;
  stroke: rgb(34, 139, 34);
  fill: rgb(34, 139, 34);
  fill-opacity: 0;
}
.result-color-22 {
  color: rgb(255, 198, 0) !important;
  stroke: rgb(255, 198, 0);
  fill: rgb(255, 198, 0);
  fill-opacity: 0;
}
.result-color-23 {
  color: rgb(255, 99, 71) !important;
  stroke: rgb(255, 99, 71);
  fill: rgb(255, 99, 71);
  fill-opacity: 0;
}
.result-color-24 {
  color: rgb(65, 105, 225) !important;
  stroke: rgb(65, 105, 225);
  fill: rgb(65, 105, 225);
  fill-opacity: 0;
}
.result-color-25 {
  color: rgb(255, 215, 0) !important;
  stroke: rgb(255, 215, 0);
  fill: rgb(255, 215, 0);
  fill-opacity: 0;
}
.result-color-26 {
  color: rgb(0, 206, 209) !important;
  stroke: rgb(0, 206, 209);
  fill: rgb(0, 206, 209);
  fill-opacity: 0;
}
.result-color-27 {
  color: rgb(197, 142, 255) !important;
  stroke: rgb(197, 142, 255);
  fill: rgb(197, 142, 255);
  fill-opacity: 0;
}
.result-color-28 {
  color: rgb(46, 139, 87) !important;
  stroke: rgb(46, 139, 87);
  fill: rgb(46, 139, 87);
  fill-opacity: 0;
}
.result-color-29 {
  color: rgb(255, 105, 180) !important;
  stroke: rgb(255, 105, 180);
  fill: rgb(255, 105, 180);
  fill-opacity: 0;
}
.result-color-30 {
  color: rgb(255, 165, 0) !important;
  stroke: rgb(255, 165, 0);
  fill: rgb(255, 165, 0);
  fill-opacity: 0;
}
.result-color-31 {
  color: rgb(255, 207, 95) !important;
  stroke: rgb(255, 207, 95);
  fill: rgb(255, 207, 95);
  fill-opacity: 0;
}
.result-color-32 {
  color: rgb(255, 182, 193) !important;
  stroke: rgb(255, 182, 193);
  fill: rgb(255, 182, 193);
  fill-opacity: 0;
}
.result-color-33 {
  color: rgb(102, 205, 170) !important;
  stroke: rgb(102, 205, 170);
  fill: rgb(102, 205, 170);
  fill-opacity: 0;
}
.result-color-34 {
  color: rgb(48, 98, 251) !important;
  stroke: rgb(48, 98, 251);
  fill: rgb(48, 98, 251);
  fill-opacity: 0;
}
.result-color-35 {
  color: rgb(186, 85, 211) !important;
  stroke: rgb(186, 85, 211);
  fill: rgb(186, 85, 211);
  fill-opacity: 0;
}
.result-color-36 {
  color: rgb(123, 104, 238) !important;
  stroke: rgb(123, 104, 238);
  fill: rgb(123, 104, 238);
  fill-opacity: 0;
}
.result-color-37 {
  color: rgb(0, 128, 128) !important;
  stroke: rgb(0, 128, 128);
  fill: rgb(0, 128, 128);
  fill-opacity: 0;
}
svg text.label{
  fill: #bcbcbc;
}
/* Add specific styling for resultsTable to reduce space */
#resultsTable {
  margin-top: -8px;
  padding-top: 0;
}
/* Position Switcher styling */
.position-switcher-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 700px;
  flex-wrap: wrap;
}
.position-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-width: 40px;
  width: 50px;
 /* Fixed width for all position buttons */
  background-color: var(--container-bg);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
}
/* Add specific width for Team button */
.position-link:last-child {
  width: 70px;
}
.position-link:hover {
  background-color: var(--hover-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.position-link.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
/* Dark mode styles for position switcher */
.dark-mode .position-link {
  border-color: var(--border-color);
}
.dark-mode .position-link.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.header {
  background-color: var(--header-bg);
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: relative;
  font-family: system-ui;
  top: 0;
  z-index: 100;
}
.header .logo {
  display: flex;
  align-items: center;
  margin-right: auto;
 /* Push logo to the left */
}
.header .logo img {
  height: 34px;
  width: auto;
  opacity: 0.84;
}
.header .logo-text {
  margin-left: 10px;
  font-size: 23px;
  font-weight: 600;
  transform: translateY(-1.1px);
 /* Move logo text slightly higher */
}
.header .navigation {
  display: flex;
  align-items: center;
  gap: 25px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-2px);
}


.header .button10 {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #333;
  line-height: 1.6;
  border-radius: 4px;
  transition: background-color 0.2s;
  font-size: 1.1rem;
}
.header .button10:hover {
  background-color: #f0f0f0;
  color: #2563eb;
}
/* Group search and language buttons */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
header a {
  color: black;
  text-decoration: none;
}
body.dark-mode .header .button10 {
  color: #aeaeae;
}
body.dark-mode .header .button10:hover {
  color: #2563eb;
  background-color: #ffffff;
}
body.dark-mode header a {
  color: #aeaeae;
}
body.dark-mode .header .logo img {
  opacity: 0.88;
}
body.dark-mode .language-button {
  background-color: #0F0F0E;
  color: #aeaeae;
}
body.dark-mode .language-button:hover {
  background-color: #0F0F0E;
  color: #aeaeae;
}
body.dark-mode .language-dropdown {
  background: #e8e6e6;
}
body.dark-mode .language-option {
  color: #000000;
}
.language-switcher-container {
  position: relative;
  display: inline-block;
}
.language-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: #444444;
  display: flex;
  align-items: center;
  font-size: 17px;
}
.language-button iconify-icon {
  font-size: 24px;
  opacity: 0.7;
}
.language-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 10px;
  width: 200px;
  z-index: 1000;
}
.language-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  color: #444444;
  text-decoration: none;
}
.language-option iconify-icon {
  margin-right: 10px;
  font-size: 20px;
}
.language-dropdown.show {
  display: block;
}
.chart-wrapper img {
  width: 38px;
  margin-left: 10px;
  margin-bottom: 8px;
  opacity: 0.69;
}



.similar-text {
  font-size: 13.8px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* MODAL */
.search-input-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}
.search-input-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--container-bg);
    padding: 20px;
    border-radius: 4px;
    z-index: 1000;
    width: 410px; /* Fixed width for modal */
    box-sizing: border-box;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
}
#searchInputforModal {
    width: 100%;
    padding: 12px;
    border: 3px solid var(--border-color);
    border-radius: 4px;
    font-size: 19px;
    outline: none;
    background-color: var(--container-bg);
    color: var(--text-color);
    height: 51px;
}



#autocompleteBoxmodal {
    width: 360px;
    max-height: 158px;
    overflow-y: auto;
    line-height: 2;
    text-align: center !important;
}
#autocompleteBoxmodal:empty {
    margin-top: 0;
}
#autocompleteBoxmodal:not(:empty) {
    margin-top: 20px;
}

#autocompleteBoxmodal a {
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center !important;
    color: #333 !important;
    cursor: pointer;
    
}
#autocompleteBoxmodal li:hover {
    background-color: #f0f0f0;
}


#searchButtonmodal {
    padding: 8.5px;
    background-color: #0074d9;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 17px;
}


body.dark-mode #searchInputforModal {
    background-color: #333;
    color: #e0e0e0;
    border-color: #555;
}

body.dark-mode .search-input-container {
    background-color: #333;
}


.dark-mode #searchButtonmodal {
    background-color: #0074d9;
    color: #fff;
}

#searchInputforModal:focus {
    border-color: var(--primary-color);
}
#searchInputforModal::placeholder {
    color: #999;
}

body.dark-mode #autocompleteBoxmodal a, body.dark-mode #autocompleteBoxmodal2 a {
    color: var(--text-color) !important;
}



.metrics-table td:first-child,
.metrics-table th:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Footer styles */
.footer {
    font-family: system-ui;
    background: var(--footer-bg);
    padding: 20px;
    text-align: center;
    color: var(--text-color);
    box-shadow: var(--shadow);
}
.footer .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: -20px
}
.footer .description {
    font-size: 20px;
    margin-bottom: 0px;
    color: var(--text-color);
}
.footer .info {
    font-size: 16px;
    opacity: 0.8;
}
.footer .divider {
    border: none;
    border-bottom: 1px solid #fff;
    margin: 25px 0;
    opacity: 0.2;
}
.footer .sub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer .sub-footer .terms, .footer .sub-footer .privacy, .footer .sub-footer .glossary {
    font-size: 17px;
    margin-left: 10px;
    text-decoration: none;
    color: var(--text-color);
}
.logo img {
    width: 50px;
    height: 50px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.google-play-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: -20px;
}
.google-play-container img {
    width: 182px;
    height: 70px;
}
.description, .info, .divider, .sub-footer {
    flex-basis: 100%;
    color: var(--text-color);
}
.footer p {
    margin-bottom: 0;
}
body.dark-mode .sub-footer svg {
    fill: #aeaeae;
}

