#balloons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.balloon {
  position: absolute;
  bottom: -50px; /* Start below the screen */
  font-size: 2rem;
  animation-name: float-up;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  /* animationDuration is set by JavaScript */
}

@keyframes float-up {
  0% {
    bottom: -50px;
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
  100% {
    bottom: 100vh;
    opacity: 0;
    transform: translateX(20px) rotate(360deg);
  }
}

.points-animation {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  font-size: 4rem;
  color: blue;
  opacity: 0;
  transition: all 1s ease;
  pointer-events: none;
}

   .movingColor {
      font-size: 3rem;
      font-weight: bold;
      background:linear-gradient(to right, white, #ffd700a6, #ffa50091, #de57de, #1371cffc, gold);
      background-size: 300% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: gradientMove 3s linear infinite;
      display: inline;
    }

    @keyframes gradientMove {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }


  .logoImage{
    height: 8rem;
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 10px;
    z-index: -1000;
  }

  .card-body{
    position: relative;
  }

  .statusEmoji{
    position: absolute;
    right: 1rem;
    top: 0;
    font-size: 3rem;
    cursor: help;
  }

  .statusEmoji::after {
  content: attr(title);
  position: absolute;
  right: 0; /* Changed from left: 0 to right: 0 */
  top: 100%;
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.4em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  overflow: visible;
  /* These additional properties help ensure visibility */
  word-wrap: break-word; /* Allow text to wrap if needed */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Add shadow for better visibility */
  }

    .statusEmoji:hover::after {
      opacity: 1;
      visibility: visible;
    }
    .statusName{
      font-style: italic;
      color: cadetblue;
    }


.achievements-details {
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.achievements-summary {
  padding: 8px;
  cursor: pointer;
  background-color: #f5f5f5;
  border-radius: 5px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.achievements-summary:hover {
  background-color: #e0e0e0;
}

.achievements-summary::-webkit-details-marker {
  display: none;
}

/* Add a custom arrow indicator */
.achievements-summary:after {
  content: '▶';
  font-size: 0.8em;
  margin-left: auto;
  transition: transform 0.3s;
}

details[open] .achievements-summary:after {
  transform: rotate(90deg);
}

.achievements-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.statusEmojiUserView{
    position: absolute;
    right: 0;
    top: -10vw;
    font-size: 5rem;
    cursor: help;
}

.modal-header{
  background-color:black;
  color: whitesmoke;
}

.modal-body{
  background-color: white;
}


  .hamburger {
    position: absolute;
    color: white;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    font-size: xxx-large
  }

  .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .menu.show {
    display: block;
    z-index:10;
  }

  .menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
  }

  .menu a:hover {
    background: #f0f0f0;
  }

.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.user-rewards{
  background-color: white;
  border-radius: 5px;
  border: solid black 3px;
  margin: 10px;
  padding: 10px;
}

.user-rewards-summary{
  background: #adff2f4a;
  padding: 20px;
  border: solid black 2px;
  border-radius: 5px;
  box-shadow: 12px 8px 0px #000;
}
.user-actions-summary{
  background: #61a0d666;
  padding: 20px;
  border: solid black 2px;
  border-radius: 5px;
  box-shadow: 12px 8px 0px #000;
}

.kid-style-box {
  background-color: #fef3c7; /* soft yellow for kid feel */
  border-radius: 16px;
  padding: 20px;
  font-size: 18px;
  color: #333;
  box-shadow: 12px 8px 0px #000; /* black shadow */
  border: 2px solid #000;
  font-family: 'Comic Sans MS', 'Segoe UI', cursive;
  transition: transform 0.2s ease;
}

.kid-style-box:hover {
  transform: scale(1.02);
}

.quickPoint{
  display: inline-block;
}

.quickPoint * {
  color: white;
}

.group-quick-points{
    margin: 15px;
    left: 0;
    text-align: right;
    /* background: linear-gradient(45deg, #00000085, transparent);*/
    background-color: antiquewhite;
    padding: 10px;
    border: 3px solid black;
    border-radius: 0 15px;
}


.onboarding-tooltip {
  display: none;
  position: fixed;
  top: 35px;
  right: 60px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-size: 16px;
  z-index: 1000;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}


.kid-details-card {
    background-color: #f3f9ff;
    font-size: 18px;
    color: #333;
    box-shadow: 12px 8px 0px #000;
    border: 2px solid #000;
    font-family: 'Comic Sans MS', 'Segoe UI', cursive;
    transition: transform 0.2s ease;
    margin-top: 20px;
    padding: 20px;
}


/* kid journey status for kid.ejd*/
dragon-journey {
  position: relative;
}
.evolution-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto;
  border: 2px solid #ccc;
  position: relative;
  z-index: 2;
}
.evolution-circle.achieved {
  background-color: #c3f3c3;
  border-color: #00b300;
}
.progress-line {
  position: absolute;
  top: 25px;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: #ddd;

  z-index: 1;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #4caf50, #4caf50); /* Green fill */
  border-radius: 3px;
}
.flag-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1rem;
}


.dragon-journey-text{
    background: #c3f3c3;
    width: auto;
    padding: 7px;
    color: #1a7704;
    border-radius: 5rem;
    font-size: x-large;
    border: 4px solid #02b302;
}
