
  body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f9fa;
  }

  .form-radio {
    color: #005f73;
  }

  .bg-primary {
    background-color: #005f73;
  }

  .hidden {
    display: none !important;
  }

  .required {
    color: red;
  }

  /* Step panel animation */
  .step-panel {
    display: none;
    will-change: transform, opacity;
    background-color: rgb(0 95 115 / 0.05);
    border-radius: 1rem;
  }

  .step-panel.active {
    display: block;
    animation: slideIn .35s ease forwards;
  }

  .step-panel.slide-out-left {
    animation: slideOutLeft .25s ease forwards;
  }

  .step-panel.slide-out-right {
    animation: slideOutRight .25s ease forwards;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(12px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideOutLeft {
    from {
      opacity: 1;
      transform: translateX(0);
    }

    to {
      opacity: 0;
      transform: translateX(-12px);
    }
  }

  @keyframes slideOutRight {
    from {
      opacity: 1;
      transform: translateX(0);
    }

    to {
      opacity: 0;
      transform: translateX(12px);
    }
  }

  /* Color picker */
  .color-selected {
    outline: 3px solid rgba(59, 130, 246, 0.9);
    transform: scale(1.04);
  }

  /* Progress */
  .progress-track {
    height: 8px;
    background: #e6e6e6;
    border-radius: 999px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    width: 0%;
    transition: width .35s ease;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
  }

  /* Step bubbles */
  .step-bubble {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
  }

  .step-bubble.inactive {
    background: #f3f4f6;
    color: #6b7280;
  }

  .step-bubble.active {
    background: #3b82f6;
    color: white;
  }

  .step-bubble.done {
    background: #005f73;
    color: white;
  }

  /* Text helpers */
  .text-primary {
    color: rgb(0 95 115) !important;
  }

  #Aspiration_Mapping {
    border-radius: 1rem;
  }

  /* Spinner */
  .spinner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 4px solid #e5e7eb;
    border-top-color: #005f73;
    animation: spin 1s linear infinite;
    display: inline-block;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  /* ── ENERGY NEXT BUTTON ── */
  .energy-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF6B00, #FF4500);
    border: none;
    border-radius: 50px;
    padding: 10px 24px 10px 14px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 80, 0, 0.4);
    transition: transform .15s ease, box-shadow .15s ease;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  .energy-next-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 28px rgba(255, 80, 0, 0.52);
    color: white;
  }

  .energy-next-btn:active {
    transform: scale(0.97);
  }

  .energy-bolt-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    animation: boltWiggle 1.4s infinite alternate ease-in-out;
  }

  @keyframes boltWiggle {
    from {
      transform: rotate(-7deg) scale(1);
    }

    to {
      transform: rotate(7deg) scale(1.1);
    }
  }

  .bolt-spark {
    animation: sparkPulse 1s infinite alternate;
    transform-origin: center;
  }

  .bolt-spark:nth-child(1) {
    animation-delay: 0s;
  }

  .bolt-spark:nth-child(2) {
    animation-delay: 0.28s;
  }

  .bolt-spark:nth-child(3) {
    animation-delay: 0.55s;
  }

  .bolt-spark:nth-child(4) {
    animation-delay: 0.15s;
  }

  @keyframes sparkPulse {
    from {
      opacity: 1;
      transform: scale(1);
    }

    to {
      opacity: 0.25;
      transform: scale(0.5);
    }
  }

  /* ── VALIDATION STYLES ── */
  .field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  }

  .error-msg {
    color: #ef4444;
    font-size: 0.78rem;
    margin-top: 4px;
    display: none;
  }

  .error-msg.show {
    display: block;
  }

  .validation-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 99999;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    animation: toastIn .3s ease;
    max-width: 320px;
  }

  @keyframes toastIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Sibling block */
  .sibling-block {
    background: rgba(0, 95, 115, 0.04);
    border: 1px solid rgba(0, 95, 115, 0.12);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
  }

  .removeSiblingBtn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    display: none;
  }

  .removeSiblingBtn:hover {
    background: #dc2626;
  }

  /* ─── CHARACTER ABOVE BUTTON ─── */
  .next-btn-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
    position: relative;
  }

  .character-wrap {
    position: absolute;
    bottom: calc(100% - 4px);
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 10;
  }

  .speech-bubble {
    background: #fff;
    border: 2.5px solid #FF4500;
    border-radius: 18px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #FF4500;
    white-space: nowrap;
    margin-bottom: 6px;
    box-shadow: 0 4px 14px rgba(255, 69, 0, 0.2);
    animation: bubblePop 2.5s infinite alternate ease-in-out;
    position: relative;
  }

  .speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #FF4500;
  }

  .speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: white;
    z-index: 1;
  }

  @keyframes bubblePop {
    from {
      transform: scale(1) translateY(0);
    }

    to {
      transform: scale(1.06) translateY(-3px);
    }
  }

  .character-svg {
    width: 80px;
    height: 80px;
    animation: charBounce 1.2s infinite alternate ease-in-out;
    filter: drop-shadow(0 6px 14px rgba(255, 100, 0, 0.35));
  }

  @keyframes charBounce {
    from {
      transform: translateY(0) rotate(-3deg) scale(1);
    }

    to {
      transform: translateY(-8px) rotate(3deg) scale(1.05);
    }
  }

  .arm-left {
    animation: armWaveL 0.7s infinite alternate ease-in-out;
    transform-origin: 28px 42px;
  }

  .arm-right {
    animation: armWaveR 0.7s infinite alternate ease-in-out;
    transform-origin: 72px 42px;
  }

  @keyframes armWaveL {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(-25deg);
    }
  }

  @keyframes armWaveR {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(25deg);
    }
  }

  .eye-blink {
    animation: blink 3s infinite;
  }

  @keyframes blink {

    0%,
    90%,
    100% {
      transform: scaleY(1);
    }

    95% {
      transform: scaleY(0.1);
    }
  }

  .spark-ring .sp {
    animation: sparkFloat 1.4s infinite alternate;
    transform-origin: center;
  }

  .sp:nth-child(1) {
    animation-delay: 0s
  }

  .sp:nth-child(2) {
    animation-delay: .3s
  }

  .sp:nth-child(3) {
    animation-delay: .6s
  }

  .sp:nth-child(4) {
    animation-delay: .9s
  }

  @keyframes sparkFloat {
    from {
      opacity: 1;
      transform: scale(1) rotate(0deg);
    }

    to {
      opacity: .2;
      transform: scale(.5) rotate(20deg);
    }
  }

  /* ── Edit mode banner ── */
  .edit-mode-banner {
    background: linear-gradient(135deg, #005f73, #1a1a1a);
    color: white;
    border-radius: 0.75rem;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
