/* Live Presentation Modal Styles - moved from archive-presentations.css */
/* Add your modal-specific styles here. You can copy from the old file. */

/* Live Presentation Modal - Bottom Right */
.live-presentation-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 380px;
  max-height: 500px;
  background: var(--theme-light-color);
  border-radius: var(--border-radius-content, 8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 9998;
  overflow: hidden;
  animation: slideInUp 0.5s ease-out;
}
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.live-modal-header {
  background: var(--theme-primary-color, #dc3545);
  color: white;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.live-badge {
  font-size: 15px;
  letter-spacing: 0.5px;
}

.live-modal-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-modal-close:hover {
  opacity: 0.7;
}
.live-modal-content {
  padding: 15px;
  max-height: 420px;
  overflow-y: auto;
}
.live-presentation-item {
  margin-bottom: 15px;
}
.live-presentation-item:last-child {
  margin-bottom: 0;
}
.live-presentation-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.live-presentation-item a:hover .live-modal-title {
  color: var(--theme-primary-color, #dc3545);
}
.live-modal-thumb {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-content);
  margin-bottom: 10px;
}
.live-modal-title {
  color: var(--theme-dark-color);
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.live-modal-time {
  color: var(--theme-dark-color);
  font-size: 13px;
  margin: 0;
}
/* Mobile/Tablet: Make inline within lobby-content */
@media (max-width: 991px) {
  .live-presentation-modal.live-modal-mobile-inline {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    margin-top: 2rem;
    animation: none;
  }
}
/* Desktop fallback for smaller screens */
@media (min-width: 992px) and (max-width: 1200px) {
  .live-presentation-modal {
    width: 320px;
  }
}
/* Agenda page modal on mobile - fixed at bottom, full width */
@media (max-width: 991px) {
  .live-presentation-modal:not(.live-modal-mobile-inline) {
    width: calc(100% - 2rem);
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
  }
}
