.nagaris-video-modal[hidden] {
  display: none !important;
}

.nagaris-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.nagaris-video-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(10, 18, 31, 0.86);
  cursor: pointer;
}

.nagaris-video-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(calc((100vh - 120px) * 0.8), 100%, 640px);
}

.nagaris-video-modal__video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 16px;
  background: #192a44;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.nagaris-video-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #dbe3ee;
  font-family: "Geist", "Geist Placeholder", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.nagaris-video-modal__close {
  flex: none;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: 500 14px "Geist", "Geist Placeholder", sans-serif;
  cursor: pointer;
}

.nagaris-video-modal__close:hover,
.nagaris-video-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.nagaris-play-icon {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff5c19;
  vertical-align: -3px;
}

.nagaris-play-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  border-left: 6px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

html.nagaris-video-open {
  overflow: hidden;
}
