/* Fullscreen overlay */
.cfr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


/* When opened */
.cfr-modal.active {
  display: flex;
}


/* Modal content box */
.cfr-modal-content {
  position: relative;
  background: #000;
  padding: 0;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 0 25px rgba(255, 120, 40, 0.8);
  overflow: hidden;
}

/* Video iframe */
.cfr-modal-content iframe {
  width: 100%;
  height: 500px;
  border: none;
}


/* Custom ember close button */
.cfr-close {
  position: absolute;
  top: -10px;      /* moves it above the video frame */
  right: -10px;    /* moves it outside the corner */
  font-size: 38px;
  font-weight: bold;
  color: #ffb37a;
  cursor: pointer;
  text-shadow: 0 0 12px rgba(255, 120, 40, 0.9);
  transition: 0.2s ease;
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  border-radius: 50%;

}

.cfr-close:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 140, 60, 1);
}
