/*
/www/design-editor/css/canvas-workspace.css
*/
.guide,
.guide-h,
.guide-v,
.cv-guide,
.cv-guide-h,
.cv-guide-v,
.ws-guide,
.ws-guide-h,
.ws-guide-v,
[data-guide] {
  position: absolute;
  pointer-events: none;

  /* Render-Stabilität */
  backface-visibility: hidden;
  contain: layout paint;
  will-change: translate;
}

/* Standard-Darstellung (bleibt wie gehabt – Farben ggf. in deinem Theme definiert) */
.guide,
.cv-guide,
.ws-guide,
[data-guide] {
  border-style: dotted;
  border-color: rgba(120, 200, 255, 0.6);
}

/* horizontale Linie – nur obere Border zeichnen */
.guide-h,
.cv-guide-h,
.ws-guide-h {
  border-top-width: 1px;
  border-left-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  height: 0;
}

/* vertikale Linie – nur linke Border zeichnen */
.guide-v,
.cv-guide-v,
.ws-guide-v {
  border-left-width: 1px;
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  width: 0;
}

/* Kennzeichnung, dass Subpixel-Kompensation aktiv ist (Performance-Hinweis) */
.cv-snap {
  /* separate Transform-Property `translate` wird per JS gesetzt */
  transform: translateZ(0);
}

.export-sub{
  margin: 6px 0 16px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.70); /* dezentes Hellgrau auf dunklem BG */
  letter-spacing: .2px;
}

/* Preis unter "export_sub" */
.export-price {
  margin: -10px 0 20px;
  font-size: 14px;
  line-height: 1.35;
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: rgba(255,255,255,.92);
}
.export-price .old {
  opacity: .7;
  text-decoration: line-through;
}
.export-price .new {
  font-weight: 700;
  margin-left: 0px;
  font-size: large;
}

.export-price .label{
  margin-right: 8px;
  font-weight: 700;
  opacity: .9;
}



/* Panel ist Ankerfläche für den Footer */
.panel { position: relative; }

/* Footer unten links im Panel */
.panel-copyright{
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255,255,255,.55);
  user-select: none;
  display: none;
}

/* Platz am Panel-Boden reservieren, damit nichts überlappt */
.panel.has-copyright { padding-bottom: 42px; }








/* Tokama – CTA Arrow 1 (wie im Shop) */
.tokama-cta-arrow-1 {
  position: relative;
  display: inline-flex;      /* läuft sauber neben dem Button */
  align-items: center;
  width: 40px;
  height: 20px;
  margin-left: 12px;         /* Abstand zum Button */
  vertical-align: middle;
  animation: tokama-nudge 0.8s ease-in-out infinite alternate;
}

/* dickere rote Linie */
.tokama-cta-arrow-1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 4px;
  background: #e53935;
  transform: translateY(-50%);
}

/* Pfeilspitze nach links (zeigt auf den Button links daneben) */
.tokama-cta-arrow-1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 4px solid #e53935;
  border-right: 4px solid #e53935;
  transform: translateY(-50%) rotate(225deg);
}

/* Bewegung links <-> rechts */
@keyframes tokama-nudge {
  from { transform: translateX(0); }
  to   { transform: translateX(8px); }
}

/* Auf sehr kleinen Screens ausblenden */
@media (max-width: 480px) {
  .tokama-cta-arrow-1 { display: none !important; }
}



/* SaveBtn – zentriert + smooth; Pfeil bleibt unberührt */
#saveBtn{
  display: inline-flex;
  align-items: center;         /* vertikal */
  justify-content: center;     /* horizontal  ← wichtig */
  text-align: center;
  vertical-align: middle;      /* bündig neben dem Pfeil */
  transform-origin: center;    /* Zoom aus der Mitte */
  transition: transform .55s cubic-bezier(.22,.61,.36,1),
              box-shadow .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

#saveBtn:hover,
#saveBtn:focus-visible{
  transform: scale(1.06);      /* langsamer, smooth */
}

#saveBtn:active{
  transform: scale(1.03);
}

/* Pfeil NICHT mitskalieren/verschieben */
#saveBtn:hover + .tokama-cta-arrow-1,
#saveBtn:focus-visible + .tokama-cta-arrow-1{
  margin-left: 12px !important;
  transform: none !important;
}

/* SaveBtn – erzwinge zentrierten, langsamen Zoom (übersteuert andere Regeln) */
#saveBtn,
#saveBtn.btn,
#saveBtn.btn.primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform .55s cubic-bezier(.22,.61,.36,1),
              box-shadow .55s cubic-bezier(.22,.61,.36,1) !important;
  will-change: transform;
}

#saveBtn:hover,
#saveBtn:focus-visible,
#saveBtn.btn:hover,
#saveBtn.btn.primary:hover,
#saveBtn.btn:focus-visible,
#saveBtn.btn.primary:focus-visible{
  transform: scale(1.03) !important;   /* langsamer, smooth */
}

#saveBtn:active,
#saveBtn.btn.primary:active{
  transform: scale(1.01) !important;
}

/* Pfeil NICHT mitskalieren/verschieben */
#saveBtn + .tokama-cta-arrow-1{
  margin-left: 12px !important;
}

.tokama-cta-arrow-1 {
  animation: tokama-nudge 0.8s ease-in-out infinite alternate;
}

/* Mobile-Optimierung: Export-Bereich & Footer */
@media (max-width: 768px) {
  .export-price{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .export-price .label{
    margin-right: 0;
    margin-bottom: 2px;
  }
  .export-price .new{
    font-size: 15px;
  }

  .panel.has-copyright{
    padding-bottom: 10px;
  }
  .panel-copyright{
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    text-align: center;
  }
}



.no-select {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* alte IE/Edge */
}

