.menu-container {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 2;
}

.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--light-bg-color);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.menu-icon:hover {
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}

.menu-icon .logo-icon {
  width: 40px;
  height: 40px;
}

.menu-dropdown {
  position: absolute;
  top: 60px;
  left: 10px;
  width: 150px;
  background-color: var(--light-bg-color);
  border-radius: 10px;
  list-style: none;
  display: none;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-container.active .menu-dropdown {
  display: block;
}

.menu-option {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.menu-option:hover {
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}

/* Use AI Toggle Styling (smaller and distinct from dark mode) */
.ai-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.ai-toggle-track {
  position: relative;
  width: 42px; /* Smaller track width */
  height: 20px; /* Smaller track height */
  background-color: var(
    --light-text-color
  ); /* #cdccd1 in light mode, #58575c in dark mode */
  border-radius: 10px; /* Adjusted for smaller size */
  transition: background-color 0.3s ease-in-out;
}

.toggle-checkbox {
  display: none;
}

/* Thumb styling */
.ai-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px; /* Smaller thumb */
  height: 16px;
  background-color: var(
    --light-bg-color
  ); /* #fff in light mode, #444444 in dark mode */
  border-radius: 50%;
  transition: transform 0.3s ease-in-out, scale 0.2s ease;
}

/* Thumb movement and scale when toggled */
.ai-toggle-track .toggle-checkbox:checked ~ .ai-toggle-thumb {
  transform: translateX(20px); /* Adjusted for smaller track */
  scale: 1.1; /* Slight scale-up effect when toggled */
}

/* Background color change for track when toggled */
.ai-toggle-track:has(.toggle-checkbox:checked) {
  background-color: var(--primary-color); /* #356aff */
}

/* Hover effect for interactivity */
.ai-toggle-track:hover {
  background-color: #aaa; /* Slightly darker gray on hover when off */
}

.ai-toggle-track:has(.toggle-checkbox:checked):hover {
  background-color: #2f5de6; /* Slightly darker blue on hover when on */
}

/* Adjust spacing for switch_ai menu option */
.switch_ai {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px; /* Reduced padding for compact look */
}

.switch-label {
  margin-right: 8px; /* Reduced margin */
  font-size: 0.9rem; /* Smaller font size for label */
  color: var(--text-color); /* #111116 in light mode, #fff in dark mode */
}

.warning-text {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
  padding: 15px 30px;
  border-radius: 20px;
  background-color: var(--light-bg-color);
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.warning-text strong {
  color: var(--primary-color);
}

.warning-text button {
  height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  border: none;
  outline: none;
  color: var(--text-color);
  cursor: pointer;
  background-color: var(--bg-color);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.warning-text button:hover {
  color: var(--primary-text-color);
  background-color: var(--primary-color);
}

@media (max-width: 800px) {
  .warning-text {
    width: 70%;
    font-size: 0.8rem;
    padding: 10px 20px;
  }

  .warning-text button {
    height: 35px;
    padding: 0 15px;
    font-size: 0.7rem;
  }
}

.input-action {
  position: absolute;
  bottom: 6px;
  right: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background-color: var(--bg-color);
  color: var(--text-color);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}
.copy-btn {
  bottom: 36px;
  right: 50px;
}
.play-btn{
  bottom: 36px;
  right: 109px;
}

.input-action:hover {
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}

.input-action ion-icon {
  font-size: 18px;
}

.record-btn{
  right: 60px;
}

@media (max-width: 800px) {
  .copy-btn {
    bottom: 26px;
    right: 40px;
  }
  .play-btn{
  bottom: 26px;
  right: 99px;
}
}


