/* ===== BAZĂ ===== */
body { height: auto; }

.admin-page {
  min-height: 0;
  flex: 1 0 auto;
}

/* ===== BUTOANE FIXE ===== */
.demo-cta-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 50px;
  padding: 8px;
}

/* ===== PANGLICĂ DEMO ===== */
.demo-colt-wrap {
  position: fixed;
  top: 0;
  right: 0;
  width: 132px;
  height: 132px;
  overflow: hidden;
  z-index: 9998;
  pointer-events: none;
}
.demo-colt {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  position: absolute;
  top: 28px;
  right: -44px;
  width: 184px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 0.38rem 0;
  text-align: center;
}

/* ===== BUTON COMANDĂ ===== */
.demo-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  text-decoration: none;
  transition: filter 0.18s;
  min-height: 48px;
  white-space: nowrap;
}
.demo-cta-pill:hover {
  filter: brightness(1.06);
}
.demo-cta-pill:active {
  filter: brightness(0.95);
}
.demo-cta-pill svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== BUTON ÎNAPOI ===== */
.demo-back-btn svg { width: 16px; height: 16px; flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round }
.demo-back-btn {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #fff;
  color: #7A6F8A;
  border: 1.5px solid #EDE8FF;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
  min-height: 48px;
  white-space: nowrap;
}
.demo-back-btn:hover { border-color: #7C3AED; color: #0F172A; }

/* ===== MOBIL ===== */
@media (max-width: 600px) {
  .demo-cta-wrap { bottom: 16px; gap: 8px; }
  .demo-cta-pill {
    padding: 12px 22px;
    font-size: 14px;
  }
  .demo-cta-pill svg { width: 15px; height: 15px; }
  .demo-back-btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  .demo-back-btn { padding: 12px 14px; font-size: 14px; }
}

/* ===== FEREASTRĂ DEMO ===== */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.demo-modal-overlay.show { opacity: 1; }

.demo-modal {
  background: #fff;
  border-radius: 18px;
  padding: 28px 30px 24px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  transform: translateY(8px) scale(0.96);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.demo-modal-overlay.show .demo-modal { transform: translateY(0) scale(1); }

.demo-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7C3AED;
}
.demo-modal-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-modal-msg {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #0D0D0D;
  margin-bottom: 16px;
}

.demo-modal-btn svg { width: 16px; height: 16px; flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round }
.demo-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #EC4899 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: filter 0.18s;
}
.demo-modal-btn:hover {
  filter: brightness(1.06);
}
.demo-modal-btn:active { filter: brightness(0.95); }

@media (max-width: 480px) {
  .demo-modal { padding: 24px 22px 20px; border-radius: 16px; }
  .demo-modal-icon { width: 50px; height: 50px; margin-bottom: 14px; }
  .demo-modal-icon svg { width: 22px; height: 22px; }
  .demo-modal-msg { font-size: 14px; }
}

