/* css styles */

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.iframe-container:hover {
  border-color: #ffa73b;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
  pointer-events: none; /* Allow clicking through to container */
}

.presentation-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.btn-presentation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #c6c6c2;
  color: #5C5C5C;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-presentation:hover {
  background-color: #ffa73b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  color: #000000;
  text-decoration: none;
}

.btn-presentation.btn-secondary {
  background-color: #c6c6c2;
  color: #5C5C5C;
}

.btn-presentation.btn-secondary:hover {
  background-color: #ffa73b;
  color: #000000;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* Click overlay hint */
.iframe-container::after {
  content: "Click to open in new window";
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.iframe-container:hover::after {
  opacity: 1;
}
