/* src/components/VideoPopover.css */
.video-popover-container {
  display: inline-block;
  margin: 4px;
  position: relative;
}

.timestamp-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.2s;
}

.timestamp-button:hover {
  background-color: #0056b3;
}

.video-popover {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-popover-content {
  position: relative;
  width: 80vw;
  height: 80vh;
  max-width: 1280px;
  max-height: 720px;
}

.video-popover-content video {
  width: 100%;
  height: 100%;
  background: black;
}

.close-button {
  position: absolute;
  top: -40px;
  right: -40px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.close-button:hover {
  color: #cccccc;
}

.video-timestamps {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.message-content .video-popover-container {
  display: inline-block;
  margin: 0 4px;
}

.message-content .timestamp-button {
  padding: 2px 6px;
  font-size: 0.9em;
  /* Add any other styling you want for inline timestamp buttons */
}