.num-container {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.num-input {
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 5px;
}

#container, #instr-container {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff5f5;
}

#instr-container {
  margin-top: 10px;
  display: flex;
  width: fit-content;
}

.container-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.voice-btn, .verify-btn {
  padding: 10px 20px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

.voice-btn, .verify-btn, .proceed-btn {
  background-color: #ff66c8;
}

.voice-btn:hover, .verify-btn:hover, .proceed-btn:hover {
  background-color: #ff228f;
}

.num-input.error {
  border-color: #ff5d8f;
  background-color: #ffcccc;
}

.proceed-btn {
  display: block;  
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  text-align: center;
  animation: bounce 2s infinite;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #fde2e4;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

.shake {
  animation: shake 0.3s ease-in-out;
}

@keyframes bounce {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.1);
  }
  80% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/**********/
.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff5d8f;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.settings {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.slider-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ff477e;
}
/**********/

@media (max-width: 600px) {
  #container {
    width: 80%; /* Make the container occupy 90% of the screen width */
    padding: 20px; /* Reduce padding */
  }

  .settings {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .slider-group {
    width: 100%;
    justify-content: center;
  }
}
