.fds-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 190px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #39d9ff, #d946ef);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.fds-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fds-code {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.fds-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.fds-copy {
  margin-top: 16px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.fds-copy:hover {
  transform: translateY(-1px);
  background: #111827;
}

.fds-copy:focus {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.fds-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
  touch-action: none;
}

.fds-canvas:active {
  cursor: grabbing;
}

.elementor-editor-active .fds-card {
  min-height: 190px;
}

@media (max-width: 560px) {
  .fds-card {
    max-width: 100%;
    height: 175px;
    border-radius: 18px;
  }

  .fds-code {
    font-size: 27px;
  }

  .fds-content p {
    font-size: 14px;
  }

  .fds-copy {
    padding: 9px 16px;
    font-size: 13px;
  }
}