/* Video Background */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.mix-sound-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


/* Sidebar */
.sidebar {
  opacity: 0.9;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: rgba(50, 50, 50, 0.9);
  transition: transform 0.5s ease-in-out;
  overflow-y: auto;
  z-index: 1;
}
.sidebar.closed {
  transform: translateX(100%);
}
.sidebar-toggle {
  position: fixed;
  top: 5px;
  right: 5px;
  background: #444;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}
.sidebar-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #666;
  color: white;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
}
.sidebar-content {
  padding: 20px;
}
.sound-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

/* Volume Control */
.volume-control {
  height: 4px;
  width: 100px;
  cursor: pointer;
}

/* Tooltip */
.tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 5px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  transform: translateX(-50%);
  left: 50%;
  bottom: 100%;
}
.icon-container {
  position: relative;
  cursor: pointer;
}
.icon-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Play Button & Title */
.play-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.app-title {
  margin-top: 10px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  opacity: 0.3;
  filter: blur(2px);
  transition: all 0.5s ease-in-out;
}
.app-title:hover {
  opacity: 0.7;
  filter: blur(0);
}
/* Nút Fullscreen */
.fullscreen-toggle {
  position: fixed;
  bottom: 5px;
  right: 5px;
  background: #444;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}
.fullscreen-toggle:hover {
  background: #666;
}


/* Khu vực YouTube */
.youtube-container {
  margin-top: 10px;
/*  background: rgba(50, 50, 50, 0.9);*/
  border-radius: 5px;
  text-align: center;
}
.youtube-input {
  width: 260px;
  padding: 5px;
  margin-bottom: 5px;
  font-size: 14px;
  color: #000;
}
.youtube-btn {
  background: #444;
  color: white;
  padding: 3px 5px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.youtube-btn:hover {
  background: #666;
}
.youtube-volume {
  width: 100px;
  margin-top: 5px;
}
.hidden {
  display: none;
}

/* Hiệu ứng sóng lan tỏa (pulse effect) */
.pulse::before {
  content: "";
  position: absolute;
  width: 100px; /* Kích thước sóng */
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse-animation 1.5s infinite ease-out;
  z-index: -1;
  transition: opacity 0.3s;
}

/* Ẩn sóng khi đang play */
.pulse.active::before {
  opacity: 0;
}

/* Animation sóng lan tỏa */
@keyframes pulse-animation {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}
@media (max-width: 640px) {
  #toggle-fullscreen {
    display: none !important;
  }
}
.theme-item {
  transition: transform 0.2s ease, border 0.2s ease;
}

.theme-item.active {
  border: 1px solid #facc15; /* ví dụ: màu vàng nhẹ */
  transform: scale(1.05 );
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
