
html,
body {
  height: 100%;
}
.check-names-container {
  margin-top: 70px;
}
.slider-container {
  margin: 50px auto;
  max-width: 600px;
  overflow: hidden;
  height: 80px;
  position: relative;
}

.slider {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
}

.slide {
  background: var(--main-bg);
  min-height: 60px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  padding: 15px;
  border-radius: 8px;
}

.slide.active {
  display: flex;
  height: 80px;
  text-align: center;
}

.floating-btn {
  border: none;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  z-index: 1000;

  /* خلي بالك من التحريك من المركز */
  transform-origin: top center;

  animation:
    pulse-glow 2.5s infinite,
    pendulum-swing 2.5s infinite ease-in-out;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.5);
  }
}
@keyframes pendulum-swing {
  0% {
    transform: rotate(6deg);
  }
  50% {
    transform: rotate(-6deg);
  }
  100% {
    transform: rotate(6deg);
  }
}