@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap');


.ai-prompt-box {
  display: flex;
  width: 100%;
  max-width: 100%;
  padding: 6px;

  /* ✅ Rounded, animated gradient border that clips correctly */
  border: 2px solid transparent;
  border-radius: 14px;
  background:
    /* inner fill (set to transparent if you prefer) */
    linear-gradient(#fff, #fff) padding-box,
    /* gradient border */
    linear-gradient(270deg, #6a00ff, #00e0ff, #ff00aa, #6a00ff) border-box;

  /* animation */
  background-size: 100% 100%, 400% 400%;
  animation: borderShift 8s linear infinite;

  font-family: 'Manrope', sans-serif;
  background-clip: padding-box, border-box; /* explicit for safety */
  overflow: hidden; /* clips children to the rounded corners */
}

@keyframes borderShift {
  0%   { background-position: 0 0,   0% 50%; }
  50%  { background-position: 0 0, 100% 50%; }
  100% { background-position: 0 0,   0% 50%; }
}

.ai-prompt-box textarea {
  flex: 1;
  background: transparent;
  color: #000;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 1.5;
  resize: none;
  overflow: hidden;
  width: 100%;
  min-height: calc(1.5em * 3); /* prevents "jumping" */
  position: relative;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  border-radius: 10px;
}

.ai-prompt-box textarea::placeholder {
  color: #888;
}

.ai-prompt-box #aiPromptSend,
.ai-prompt-box #aiPromptSend:hover,
.ai-prompt-box #aiPromptSend:focus {
  align-self: flex-end;
  background: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  margin-bottom: 4px;
  font-size: 18px;
  cursor: not-allowed;
  color: #777;!important;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
}

.ai-prompt-box #aiPromptSend.enabled,
.ai-promt-box #aiPromptSend.enable:hover{
  background: linear-gradient(135deg, #6a00ff, #00e0ff);!important;
  cursor: pointer;!important;
  color: #fff;!important;
}

.ai-prompt-box #aiPromptSend.enabled:hover {
  filter: brightness(1.1); /* custom hover effect */!important;
  color: #fff;!important;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

