/* Entry point for your PostCSS build */

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
}

.bg-none {
  background: none;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-grab {
  cursor: grab;
}

/* Sortable drag and drop styles */
.sortable-ghost {
  opacity: 0.5;
  background-color: #f8f9fa;
  border: 2px dashed #0d6efd;
}

.sortable-chosen {
  background-color: #e3f2fd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sortable-drag {
  opacity: 0.8;
  transform: rotate(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.playlist-cue {
  transition: all 0.2s ease;
}

.reorder-handle {
  cursor: grab;
  transition: all 0.2s ease;
}

.reorder-handle:hover {
  background-color: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.05);
}

.reorder-handle:active {
  cursor: grabbing;
}

#new_admin {
  max-width: 400px;
  margin: 0 auto;
  margin-top: 100px;
}

#devices {
  margin-top: 20px;
}

#animation_container {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#preview {
  //cursor: pointer;
  transition: all 0.3s ease;
  object-fit: contain;
}

#preview.dragover {
  background-color: #e9ecef;
  border: 2px dashed #0d6efd;
}

.dropzone-message {
  pointer-events: none;
}

#preview img,
#preview video {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

#animation_container {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.duration-input input[type='number'] {
  width: 40px;
}

.aspect-ratio-16-9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625) */
}

.resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #0d6efd;
  cursor: nwse-resize;
}

.resize-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px dotted transparent;
}

div:hover>.resize-border {
  border: 2px dotted #0d6efd;
}

.slide-text {
  width: 100%;
  height: 100%;
  display: block;
}

.slide-text:focus {
  outline: none;
  border: none;
}

#device-presentation.empty-screen {
  background-color: #19191b;
  background-image: url("/assets/Logo_white_long-12b2fc68.png");
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: center;
}

#device-activation-left-side {
  background: #19191b;
  background: linear-gradient(180deg, rgba(25, 25, 27, 1) 0%, rgba(67, 67, 67, 1) 100%);
  font-family: 'Montserrat', sans-serif;
}

#device-activation-logo-header {
  height: 20%;
  margin: 0 auto;
  padding-left: 3vw;
  display: flex;
  align-items: center;
}

#device-activation-logo-header img {
  height: 50%;
}

#device-activation-instructions {
  font-size: 4vh;
  font-weight: 600;
  text-align: left;
  margin: 0 auto;
  max-width: 80%;
  height: 40%;
  display: flex;
  align-items: center;
}

#device-activation-key-container {
  height: 30%;
}

#device-activation-key {
  font-size: 18vh;
  font-weight: 700;
  text-align: center;
}

#right-side {
  width: 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5%;
  padding-bottom: 5%;
}

#right-side>div {
  height: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#right-side>div>p {
  font-family: 'Montserrat', sans-serif;
  font-size: 4vh;
  font-weight: 600;
  text-align: center;
}

#right-side>div>img#screen {
  height: 90%;
}

#right-side>div>img#link {
  height: 35%;
}

#right-side>div:last-child {
}

#right-side>div#activation-key>p {
  font-size: 4.5vh;
  font-weight: 600;
  text-align: center;
}

.input-group-sm > .form-control.duration-input {
  font-size: 0.7rem;
}

#device-presentation {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}


#device-presentation .slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.timer {
  position: absolute;
  aspect-ratio: 1647 / 2000;
}

.timer .point {
  position: absolute;
  width: 0.43%; /* 3px / 700px ≈ 0.43% */
  transform-origin: center;
  opacity: 1;
  background-color: #ffffff;
  border-radius: 20%;
}



.timer .ray {
  position: absolute;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform-origin: bottom center;
  top: 0;
}

.timer .clock {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer .mercedes, #preview .timer .mercedes {
  width: 60%;
}

.timer .timer-text {
  text-align: center;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.timer .circle {
  width: 82.2%;
  height: 82.2%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  border: 15px solid #ffffff;
}