/* =====================================
   LobiBoard Global Slide Styles
   Maintains 16:9 ratio for TV display
   ===================================== */

/* Maintain 16:9 ratio & define named grid areas */
.lobiboard-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 56.25vw; /* fallback */
  border-style: solid;
  border-width: 4px;
  box-sizing: border-box;
}
/* Inner content */
.announcement-content {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Logo at top center */
.lobiboard-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: inherit; /* matches frame */
  padding: 0 0.5rem; /* creates cut-out effect */
  z-index: 2;
}

/* Powered-by at bottom center */
.lobiboard-poweredby {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: inherit;
  padding: 0.25rem 0.5rem;
  z-index: 2;
}

/* LobiBoard Tab appearance and attachment */
.lobiboard-menu-tab {
  position: fixed;
  top: 0;
  right: -40px; /* hidden by default just off screen */
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0986c8, #b03e97);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 0 0 4px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 1s ease;
  z-index: 9999; /* higher than Elementor's overlay */
}

.lobiboard-menu-tab.visible {
  opacity: 1;
  pointer-events: auto;
  right: 0; /* slides into position at edge of screen */
}

.lobiboard-menu-tab.attached {
  right: 400px; /* moves with menu (same as menu width) */
}

/* //////////////////////////////////
Custom Styles for Theme Selector
///////////////////////////////////*/

.theme-select-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.theme-select-button {
  display: none;
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  z-index: 15;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}

.theme-select-card:hover .theme-select-button {
  display: block;
}

.theme-select-card.theme-selected::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  border-radius: 12px;
  z-index: 5;
  pointer-events: none;
}

.theme-select-card.theme-selected .theme-select-button {
  display: none !important;
}

.theme-select-button {
  transition: opacity 0.3s ease;
}

.theme-select-card.theme-selected .theme-select-button {
  opacity: 0;
  pointer-events: none;
}


/* Reusable Gradient Button Style - scoped to container */
.gradient-btn-container .elementor-button {
  position: relative !important;
  display: inline-block !important;
  padding: 14px 36px !important;
  font-weight: 600;
  background-color: white !important;
  color: #5f3393 !important;
  border: none !important;
  z-index: 1;
  border-radius: 1000px;
  align-items: center;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

.gradient-btn-container .elementor-button::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; bottom: -2px; right: -2px;
  background: linear-gradient(135deg, #0986c8, #b03e97);
  z-index: -1;
  border-radius: 1000px;
}

.gradient-btn-container .elementor-button::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px; bottom: 3px; right: 3px;
  background: white;
  z-index: -1;
  border-radius: 1000px;
}

.gradient-btn-container .elementor-button:hover {
  color: white !important;
  background: linear-gradient(135deg, #0986c8, #b03e97) !important;
  text-decoration: none;
}

.gradient-btn-container .elementor-button:hover::after {
  background: transparent;
}

/* Theme Selected Checkmark */
.theme-selected-checkmark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 64px;   /* doubled size */
  height: 64px;
  border-radius: 50%;
  background: #28c248;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  font-size: 32px; /* doubled */
  box-shadow: 0 0 0 3px white;
  pointer-events: none;
}

.theme-select-card {
  position: relative;
  overflow: hidden;
}

/* Slide Builder Button */

/* Disabled button styling */
.slide-builder-button.disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.slide-builder-button.disabled .elementor-button {
	color: white !important;
}

.slide-builder-button.disabled .elementor-button::before {
  background: linear-gradient(135deg, #cccccc, #999999) !important;
}
.slide-builder-button.disabled .elementor-button::after {
  background: #d3d3d3 !important;
  display: none !important;
}

