:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --theme-color-4: #111;
}

#root {
  width: 100%;
}

#container{
  display: flex;
  flex-direction: column;
  background-color: white;
}

.cesdkStyle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Canvas container */
.review-cesdk-canvas {
  position: relative;
  display: flex;
  flex-grow: 1;
  overflow: hidden;
  width: 100%;
  min-height: 0;
}

.cesdkWrapperStyle {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-grow: 1;
  box-shadow: 0px 0px 2px rgba(22, 22, 23, 0.25),
  0px 4px 6px -2px rgba(22, 22, 23, 0.12),
  0px 2px 2.5px -2px rgba(22, 22, 23, 0.12),
  0px 1px 1.75px -2px rgba(22, 22, 23, 0.12);
}

.cesdkWrapperStyle hr{
  border-width: 10px;
}

.topNav{
  height: 72px;
}

#cesdk_container{
  height: 100dvh;
  background-color: black;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  background-color: black;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

@keyframes inputFieldPreviewFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-field-overlay .input-field-control.input-field-anim-preview {
  animation: inputFieldPreviewFade 0.35s ease;
}

#overlay-container{
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.player-cesdk-wrapper {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
  width: 100%;
  min-height: 0; /* Important for flexbox to allow shrinking */
  height: 100dvh;
}

.review-error{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: red;
  text-align: center;
}

.loading-presentation {
  background-color: black;
  color: #b6b6b6;
}

.loading-page {
  background-color: black;
  color: #b6b6b6;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: all;
}
.loading-page > div {
  color: #b6b6b6;
  font-size: 24px;
  font-weight: 500;
  font-family: '"Segoe UI", Roboto, Helvetica, Arial, sans-serif', serif;
}
/* Main container for the menu icon */
.play-presentation-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    cursor: pointer;
}

.play-presentation-menu-container > * {
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 2rem;
}

.play-presentation-menu-container > span {
    margin-left: 15px;
}

/* Styling for the hamburger button */
.menu-button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

.menu-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* The main overlay that covers the screen */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Smooth fade-in animation */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* The content box inside the overlay */
.menu-content {
    padding: 40px;
    border-radius: 10px;
    color: white;
    width: 70%;
    text-align: center;
}

.menu-content h2 {
    margin-top: 0;
}

.menu-content ul {
    list-style: none;
    padding: 0;
}

.menu-content ul li {
    padding: 15px;
    cursor: pointer;
    background-color: red;
    font-size: 2em;
    margin-bottom: 20px;
}

.menu-content ul li:hover {
    background-color: #f0f0f0;
}

#menu-close{
    cursor: pointer;
}

/* Container for the action buttons */
.menu-actions-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-top: 30px; /* Adds space above the buttons */
    gap: 15px; /* Adds space between buttons */
}

.menu-action-button:first-child {
    clip-path: polygon(100% -375%, 100% 0%, 100% 100%, 0% 100%);
}

.menu-action-button:last-child {
    clip-path: polygon(0 0%, 0% 0%, 78% 0%, 100% 100%, 0 100%);
}


.menu-action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #cccccc;
}

.menu-action-button .icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.menu-action-button .text {
    font-size: 14px;
    font-weight: 500;
}.recipient-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Avenir Next", "Avenir", "Futura", "Segoe UI", sans-serif;
    color: #ffffff;
}

.recipient-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 600px at 10% 10%, rgba(60, 120, 255, 0.35), transparent 60%),
        radial-gradient(900px 600px at 90% 90%, rgba(170, 80, 255, 0.35), transparent 60%),
        linear-gradient(160deg, #0c2a56 0%, #1c1a5a 55%, #2b0f4b 100%);
}

.recipient-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 92vw);
    background: transparent;
    border-radius: 16px;
    padding: 32px 28px 24px;
    text-align: center;
}

.recipient-modal__dialog h1 {
    font-size: 24px;
    margin: 0 0 12px;
    line-height: 1.35;
    font-weight: 600;
}

.recipient-modal__dialog p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.7);
}

.recipient-modal__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recipient-modal__form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.recipient-modal__form label span {
    display: flex;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.01em;
    position: relative;
    width: 100%;
}

.recipient-modal__form input {
    height: 42px;
    padding: 0 8px;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

.recipient-modal__form input:focus {
    outline: none;
    border-color: #ffffff;
}

.recipient-modal__form em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.recipient-modal__form label span em {
    position: absolute;
    right: 0;
}

.recipient-modal__error {
    color: #ffe1e6;
    background: rgba(176, 0, 32, 0.2);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.recipient-modal__form button {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    color: #111111;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}

.recipient-modal__form button:disabled {
    opacity: 0.7;
    cursor: default;
}
