* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  font-family: "Baloo Thambi 2";
}

:root {
  --color-primary: #f86509;
  --color-blue: #00a2f1;
  --color-yellow: #ffda00;
  --color-green: #34e816;
  --color-red: #ef4444;
  --color-light-blue: #43cffc;
}
/* 
@font-face {
  font-family: "balooThambi";
  src: url("../assets/fonts/BalooThambi.woff2") format("woff2");
} */

body {
  /* to remove it later */
  /* background-color: var(--color-blue); */
  font-family: "Baloo Thambi 2";
  height: 100vh;
}

.main-container {
  width: 100%;
  /* min-height: 100vh; */
  background-color: #f4f4f4;
  padding: 0.5rem 2rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  min-height: 100vh;

}
.title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0rem;
  line-height: 1;
  font-weight: 700;
}

.subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
}

.intro-container {
  flex: 1;
  border-radius: 30px;
  background-color: white;
  border: 1px solid #ccd9e1;
  position: relative;
  margin-top: 0.25rem;
  padding: 1.5rem 3.5rem 3rem;
  padding-bottom: 0rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.badge {
  padding: 2px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #ccd9e1;
  font-size: 18px;
  font-weight: 700;
  line-height: 31.28px;
  text-align: center;
  position: absolute;
  top: -0.75rem;
  left: 0px;
  right: 0px;
  width: fit-content;
  margin-inline: auto;
}

.instruction-slide {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}
.instruction-slide p {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.instruction-slide img {
  flex: 1;
  object-fit: contain;
  max-height: calc(48vh);
  width: auto;
  margin: 0 auto;
}

/* Style for Slick dots */
.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 0px;
  margin-top: 1rem;
  position: relative;
  bottom: 0;
}

.slick-dots li {
  margin: 0;
}

/* Normal dot style */
.slick-dots li button {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
}

.slick-dots li.slick-active button {
  background-color: #00a2f1;
}

.slick-dots li button::before {
  content: "";
}

/* Navigation Container */
.navigation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  right: 0;
}

/* Navigation Buttons (Arrows) */
.nav-button {
  background-color: #f86509;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}

.nav-button:disabled {
  background-color: #d1d1d1;
}

/* Start Button */
.start-button {
  background-color: #f86509;
  color: white;
  border: none;
  padding: 0.25rem 1.5rem;
  font-size: 22px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.game-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.drag-drop-container {
  background: #bfd1e0;
  border-radius: 30px;
  min-width: 75%;
  padding-left: 2.5rem /* 40px */;
  padding-right: 2.5rem /* 40px */;
  padding-top: 1rem /* 32px */;
  padding-bottom: 1rem /* 24px */;
}
@media (max-width: 700px) {
  .drag-drop-container {
    padding-inline: 2rem;
  }
}

.coins-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
}

.bag-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.coin-bag {
  width: 100%;
  min-width: 430px;
  max-width: 430px;
  position: relative;
}

.bag-icon {
  position: relative;
}

.bag-icon img {
  width: 4rem;
  position: absolute;
  left: -20px;
  top: -20px;
}

.weight-header {
  background-color: #ffd700; /* yellow */
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 0.5rem 0;
}

.weight-header p {
  text-align: center;
  font-weight: bold;
  width: fit-content;
  margin-inline: auto;
}

.drop-zone {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  background-color: white;
  padding: 0.5rem 0.75rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 2px solid transparent;
}
@media (max-width: 700px) {
  .drop-zone {
    padding-inline: 0;
  }
}
.coins-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.coin-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coin-image {
  max-height: 4rem;
  cursor: pointer;
}

.stats-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: center;
  font-weight: 600;
  margin-top: 1rem;
  padding: 0 2rem;
}

.stat-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.progress-bar {
  width: 100%;
  height: 16px;
  border-radius: 4px;
  border: 2px solid #9e9c9c;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
}

.value-fill {
  width: 50%; /* Example width */
  background-color: var(--color-light-blue);
}

.weight-fill {
  width: 75%; /* Example width */
  background-color: var(--color-light-blue);
}

.value-text {
  color: var(--color-light-blue);
}

.weight-text {
  color: var(--color-light-blue);
}

/* Optional hover state for drop zone */
.drop-zone.hover {
  background-color: #f0fff4;
}

.coin-container {
  border: 1px solid #888888;
  min-width: 165px;
  border-radius: 30px;
  background-color: white;
  font-size: 1.125rem; /* text-lg */
  font-weight: 500; /* font-medium */
  padding: 0.25rem 0.5rem; /* p-2 px-3 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coin-container.dragging {
  opacity: 0.5;
}

.coin-image img {
  object-fit: contain;
  height: 65px;
  width: auto;
  max-width: 55px;
}

.coin-text {
  margin: 0;
}
.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 16px;
}

button.button-10 {
  touch-action: manipulation;
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  /* font-family: "Baloo Thambi"; */
}
button.button-10 {
  touch-action: manipulation;
  text-transform: capitalize;
  padding: 10px 30px;
  border-radius: 12px;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1);
  background: 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.button-10::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  transform: translate3d(0, 0.5em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1);
  box-shadow: 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.button-10:hover {
  transform: translate(0, 0.25em);
}
button.button-10:hover::before {
  transform: translate3d(0, 0.5em, -1em);
}
button.button-10:active {
  transform: translate(0em, 0.75em);
}
button.button-10:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1em);
}

.primary {
  background-color: var(--color-primary);
  color: white;
}
.primary::before {
  background: #d25a15;
}
button.primary:active::before {
  box-shadow: 0 0 0 2px #d25a15, 0 0 #ffe3e2;
}

.secondary {
  color: black;
  background-color: #d1d1d1;
}

.secondary::before {
  background: #a5a5a5;
}
button.secondary:active::before {
  box-shadow: 0 0 0 2px #a5a5a5, 0 0 #ffe3e2;
}
.font-baloothambi {
  font-family: "Baloo Thambi 2";
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 30px;
  text-align: center;
  width: 300px;
}
.modal-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-blue);
}
.modal-content p {
  margin-block: 1rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.modal-buttons {
  margin-top: 20px;
}

.modal-buttons button {
  margin: 0 10px;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.level-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% - 105px));
  top: 0;
}

/* @media (min-width: 1280px) {
  .level-indicator {
    left: 35%;
  }
} */

.level-badge {
  padding: 10px 6px;
  background: url(../assets/vector.png) no-repeat center center;
  background-size: contain;
  min-width: 40px;
}

.level-text {
  font-weight: 800;
  font-size: 16px;
  color: white;
  text-align: center;
}

/* side bar btn */

.side-button {
  /* width: 3rem; */
  padding: 0.25rem;
  aspect-ratio: 1;
  border: 2px solid white;
  border-radius: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--color-blue);
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  width: 60px;
}

.side-button:active {
  transform: scale(0.95);
  /* Slightly shrink the button */
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  /* Reduce shadow to create a pressed effect */
}

.side-button > img {
  width: 24px;
  height: 24px;
}

.skip-btn span {
  display: block;
  margin-top: 35px;
}

/* Disabled state */
.side-button:disabled {
  background-color: #e0e0e0;
  /* Light grey background */
  border-color: #d1d1d1;
  /* Slightly darker grey border */
  color: #8b8b8b;
  /* Muted text color */
  cursor: not-allowed;
  /* pointer-events: none; Prevent interaction */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Softer shadow */
  transform: none;
  /* Reset any transform effects */
}

/* Allow hover events while preventing click interactions */
.side-button:disabled:hover {
  pointer-events: auto;
}
/* .introjs-bullets {
  display: none !important;
} */
/* Tooltip container for disabled button */
.side-button:disabled::after {
  content: attr(data-tooltip);
  /* Custom tooltip text */
  position: absolute;
  top: 100%;
  /* Align vertically with the button */
  right: -1rem;
  /* Position tooltip to the left of the button */
  transform: translateY(-40%);
  /* Center vertically */
  background-color: #333333;
  /* Dark background for contrast */
  color: #ffffff;
  /* White text */
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Show the tooltip on hover */
.side-button:disabled:hover::after {
  visibility: visible;
  opacity: 1;
}

/* Enabled state and hover effect */
.side-button:not(:disabled) {
  background-color: var(--color-blue);
  color: white;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); */
  /* Highlighted shadow */
  /* box-shadow: 0 4px 8px rgba(50, 150, 255, 0.6); */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  /* Slight glow effect */
  animation: attention-draw 2s ease-out;
}

/* Hover State */
.side-button:enabled:hover {
  background-color: #1a87cc;
  /* Darker blue on hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  /* Increased shadow on hover */
}

.button-cont3 {
  position: absolute;
  display: flex;
  align-items: end;
  /* Align items vertically */
  justify-content: flex-end;
  /* Align items to the start */
  flex-wrap: wrap;
  /* Allow items to wrap */
  gap: 24px;
  /* Space between buttons */
  flex-direction: column;
  top: 25.5%;
  right: 24px;
}

#create-language-selector {
  border: 2px solid var(--color-blue);
  border-radius: 2rem;
  /* padding: 0.5rem; */
  padding-inline: 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.language-selector-container {
  position: absolute;
  top: 10px;
  left: 10px;
}

#label-language-selector {
  fill: var(--color-blue);
}

#language-selector {
  color: var(--color-blue);
  background-color: transparent;
  font-weight: bolder;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
}

option:checked {
  font-weight: bolder;
}

.hidden {
  display: none;
}
.disable-click {
  pointer-events: none;
}

button.button-10:disabled {
  background-color: #d1d1d1; /* Light grey background */
  color: #8b8b8b; /* Muted text color */
  cursor: not-allowed; /* Prevent interaction */
  box-shadow: none; /* Remove shadow */
  transform: none; /* Reset any transform effects */
}

button.button-10:disabled::before {
  background: #9d9d9d; /* Remove the background color */
}
button.button-10:disabled:active::before {
  box-shadow: none;
}

