/* gbfeaturetour.component.scss */

.lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-container {
  position: relative; /* for dropdown positioning */
  background: var(--mat-sys-background);
  padding: 1.5rem;
  border-radius: 8px;
  width: 800px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 400px;
}


.dropdown-wrapper {
  position: absolute;
  top: 1rem;
  top:1%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
}

.top-dropdown {
  width: 160px;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--action-primary-default);
  border-radius: 4px;
  background: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-dropdown:hover,
.top-dropdown:focus {
  border-color: var(--bg-surface);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.top-dropdown option {
  font-size: 0.9rem;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.headerBtns {
  border: 1px solid var(--action-primary-default);
  border-radius: 3px;
  cursor: pointer;
}

/* Minimized Lightbox */
.minimized-lightbox {
  position: fixed;
  bottom: 50px;
  left: 20px;
  background: var(--action-primary-default);
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.step-content {
  margin: 2rem 0;
  min-height: 250px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.nav-component-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0.5px solid var(--action-primary-default);
  color: var(--action-primary-default);
}

.navigation-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 12px;
}

.navigation-buttons-left,
.navigation-buttons-center,
.navigation-buttons-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navigation-buttons-center {
  flex: 1;
  justify-content: center;
}

/* Prev/Next buttons same size */
.prev-btn,
.next-btn {
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  min-width: 80px;
  text-align: center;
}

.prev-btn {
  border: 0.5px solid var(--action-primary-default);
  color: var(--action-primary-default);
  background: transparent;
}

.next-btn {
  background: var(--action-primary-default);
  color: white;
}

.step-indicator {
  font-size: 14px;
  color: var(--action-primary-default);
}

.underline-link {
  background: none;
  border: none;
  text-decoration: underline;
  opacity: 0.6;
  cursor: pointer;
}

.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Play controls styling */
.play-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-button {
  background-color: var(--action-primary-default);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 4px 12px;       /* reduced padding for smaller size */
  font-size: 0.875rem;     /* smaller text */
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.play-button:hover {
  background-color: var(--action-primary-default);
}

/* Speed dropdown */
.styled-select {
  border: 1px solid var(--action-primary-default);
  border-radius: 4px;
  padding: 4px 8px;
  height: 25px;
  width: 52px;
  cursor: pointer;
}

.styled-select:hover {
  border-color: var(--action-primary-default);
}

.styled-select:focus {
  outline: none;
  border-color: var(--bg-surface);
}

.styled-select option:hover,
.styled-select option:focus {
  background-color: var(--action-primary-default) !important;
  color: white !important;
}

/* Fullscreen overlay */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  border: 5px solid rgb(207, 9, 9);
  border-radius: 8px;
}

/* Audio controls */
.custom-button {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speaker-icon {
  font-size: 21px;
  position: relative;
  padding-top: 6px;
}

.speaker-icon.animated::after {
  content: '🔊';
  display: inline-block;
  animation: speaker-wave 1s infinite alternate;
}

@keyframes speaker-wave {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
