
    .heading-section {
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;
      text-align: center;
    }
    .search-container-wrapper {
      position: relative;
      z-index: 10;
      display: flex;
      flex-direction: column;
      gap: 24px;
      align-items: center;
      width: 100%;
      max-width: 900px;
      margin:auto
    }
    .aicf-form-wrapper {
      position: relative;
      width: 100%;
    }
    .search-container {
      background: #fff;
      height: 65px;
      border-radius: 999px;
      width: 100%;
      border: 1px solid #e9eef8;
      display: flex;
      align-items: center;
      padding: 13px;
      gap: 12px;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }
    .search-container input.search-input{border:0px;}
    .search-container:focus-within {
      box-shadow: 0 6px 32px rgba(113, 42, 206, 0.2);
    }
    .sparkle-icon {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      margin-left: 12px;
      background: linear-gradient(158.362deg, #712ace 14.201%, #391568 118.65%);
      -webkit-mask-image: url('../images/sparkle-icon.svg');
      mask-image: url('../images/sparkle-icon.svg');
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
    }
    .search-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      font-size: 16px;
      font-weight: 400;
      color: #324158;
      padding: 0 12px;
    }
    .search-input::placeholder { color: #9ba3af; }
    .submit-button {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(158.362deg, rgb(113, 42, 206) 14.201%, rgb(57, 21, 104) 118.65%);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }
    .submit-button:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(113, 42, 206, 0.4);
    }
    .submit-button:active { transform: scale(0.95); }
    .submit-button::after {
      content: '';
      width: 24px;
      height: 24px;
      background-color: white;
      -webkit-mask-image: url('../images/arrow-right.svg');
      mask-image: url('../images/arrow-right.svg');
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
    }
    .suggestions-container {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      width: 100%;
      margin-top: 8px;
    }
    .suggestion-pill {
      background: transparent;
      border: 1.5px solid rgba(255, 255, 255, 0.3);
      border-radius: 999px;
      padding: 10px 20px 10px 48px;
      font-size: 14px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.95);
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
      position: relative;
      display: inline-block;
    }
    .suggestion-pill::before {
      content: '';
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      background-color: #DCDDFF;
      -webkit-mask-image: url('../images/search-icon.svg');
      mask-image: url('../images/search-icon.svg');
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: center;
      mask-position: center;
    }
    .suggestion-pill:hover {
      border-color: rgba(255, 255, 255, 0.6);
      transform: scale(1.02);
      text-decoration: none;
      color: rgba(255, 255, 255, 0.95);
    }
    
    /* Widget Form Validation Styles */
    .search-input.aicf-input-error {
      border: 2px solid #d32f2f;
      outline: 2px solid #d32f2f;
      outline-offset: -2px;
    }
    .aicf-error-message {
      color: #d32f2f;
      font-size: 14px;
      margin-top: 12px;
      font-weight: 500;
      padding: 0 20px;
    }
    
    @media (max-width: 768px) {
      .search-container {
        height: 56px;
        padding: 10px;
      }
      .sparkle-icon {
        width: 28px;
        height: 28px;
        margin-left: 8px;
      }
      .submit-button {
        width: 40px;
        height: 40px;
      }
      .submit-button::after {
        width: 20px;
        height: 20px;
      }
      .suggestion-pill {
        padding: 10px 16px 10px 40px;
        font-size: 13px;
      }
      .suggestion-pill::before {
        left: 12px;
        width: 18px;
        height: 18px;
      }
    }
    @media (max-width: 480px) {
      .search-container-wrapper {
        padding: 0px;
      }
      .search-container{gap:0px;}
      .suggestions-container {
        gap: 8px;
      }
    }

/* =================================================================
   Initial Loader (WordPress-side, before React mounts)
   Matches React Loader2 design from SearchInterface.tsx
   ================================================================= */

.aicf-initial-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.aicf-initial-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.aicf-initial-loader__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Loader2 spinning circle - matches lucide-react Loader2 */
.aicf-initial-loader__spinner {
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    border: 2px solid transparent;
    border-top-color: var(--color-primary, #3b82f6);
    border-right-color: var(--color-primary, #3b82f6);
    border-radius: 50%;
    animation: aicf-spin 0.6s linear infinite;
}

@keyframes aicf-spin {
    to { transform: rotate(360deg); }
}

.aicf-initial-loader__text {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-muted-foreground, #6b7280);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .aicf-initial-loader__spinner {
        animation-duration: 1.5s;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .aicf-initial-loader__text {
        color: #9ca3af;
    }
}


