body {
      margin: 0;
      height: 100vh;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      background: #191826;
      color: #ccc;
      font-family: "Inter", sans-serif;
    }

    ::-webkit-scrollbar {
      width: 12px;
      height: 12px; 
     }

    ::-webkit-scrollbar-track {
      background: #1e1e1e;
     }

    ::-webkit-scrollbar-thumb {
     background: #8A2BE2;
     border-radius: 6px;
     border: 2px solid #1e1e1e;
    }
    ::-webkit-scrollbar-corner {
     background-color: #1e1e1e;
   }

    .container {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: auto;
}

textarea {
  width: 95%;
  height: 160px;
  background: #2a2a3d;
  color: #fff;
  border: 1px solid #343536;
  padding: 10px;
  font-size: 1rem;
  resize: none;
  margin-bottom: 10px;
}

button {
  background: #D6318A;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  color: white;
  border-radius: 5px;
  margin-left: 10px;
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.2); 
}

    .config-panel {
      display: flex;  
      flex-direction: column;
      position: absolute;
      background: #252732;
      color: white;
      left: 0;
      top: 30%;
      transform: translateY(-30%);
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 15px;
      gap: 2px;
      width: 250px;
      height: auto;
      opacity: 1;
      transition: opacity 0.4s ease, transform 0.6s ease;
      pointer-events: auto;
    }

    @media (max-width: 1130px) {
  .config-panel {
    opacity: 0;
    transform: translateY(-100%);
    left: 0;
    z-index: 10;
    pointer-events: none;
  }
}

    .config-panel label {
      font-size: 14px;
      margin-bottom: 10px;
    }

    .config-panel input[type="range"] {
      width: 100%;
    }
     .config-panel label {
     display: block;
     color: white;
     font-weight: bold;
    }
    .config-panel div {
     padding: 8px;
    }
    select {
     width: 100%; 
     padding: 8px;
     font-size: 12px;
     background-color: #35384C;
     color: #eee;
     font-family: "Inter", sans-serif;
     border: 1px solid #676869;
     }

     select:focus {
      outline: none;
     }

  .range-style {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background-color: #35304C;
  border-radius: 4px;
  outline: none;
  margin: 10px 0;
}

.range-style::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.range-style::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #DB00A0;
  border: 2px solid #9E0073;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"] {
  -webkit-appearance: none; 
  width: 100%;
  height: 8px;
  border-radius: 4px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #DB00A0;
  border: 2px solid #9E0073;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

 #voice::-webkit-scrollbar {
  width: 11px;
}

 #voice::-webkit-scrollbar-thumb {
  background-color: #DB00A0;
  border-radius: 6px;
}

 #voice::-webkit-scrollbar-track {
  background-color: #232425;
}
.footer-legal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #111017;
  color: silver;
  text-align: center;
  padding: 6px 0;
  font-size: 0.9rem;
  z-index: 10;
}
 #text::-webkit-scrollbar {
  width: 12px;
}

 #text::-webkit-scrollbar-thumb {
  background-color: #8A2BE2;;
  border-radius: 6px;
}

 #text::-webkit-scrollbar-track {
  background-color: #232425;
}
textarea:focus {
  border-image: linear-gradient(45deg, #ff6ec7, #6e44ff) 1;
  border-width: 1px;
  outline: none;
}
a {
  text-decoration: none;
  color: silver;
}
a:hover {
  text-decoration: underline;
  color: gainsboro;
}
  #message {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%) translateY(-10px);
      background: #2a2a3d;
      color: #fff;
      padding: 15px 20px;
      border-radius: 6px;
      font-family: sans-serif;
      font-size: 14px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.5s ease;
      z-index: 9999;
    }

    #message.visible {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
   #messageAlert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #2a2a3d;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.7s ease;
    z-index: 99;
  }

  #messageAlert.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  #beatContainer {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  height: 120px;
  opacity: 0;
  position: relative;
  top: 15px;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#beatContainer.active {
  opacity: 0.9;
  transform: scale(1);
}

#beatContainer::before,
#beatContainer::after {
  content: "";
  top: 0;
  position: fixed;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

#beatContainer::before {
  left: 40px;
  background: linear-gradient(to right, #191826 ,transparent);
}

#beatContainer::after {
  right: 40px;
  background: linear-gradient(to left, #191826 ,transparent);
}

  .bar {
  width: 2px;
  height: 20px;
  background: white; 
  transition: height 0.2s ease;
  border-radius: 0;
 }

 .text-logo{
  display: flex;
  justify-content: center;
 }