.copilot-input input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 500 11px "DM Sans", sans-serif;
}

.copilot-input input::placeholder {
  color: rgba(255, 255, 255, .32);
}

.copilot-input input:disabled {
  opacity: .6;
}

.duranki-ai-reset {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 212, 255, .08);
  color: #00D4FF;
  cursor: pointer;
}

#copilot-send.is-busy {
  animation: duranki-ai-spin 1s linear infinite;
}

.duranki-ai-live-response {
  transition: opacity .2s ease;
}

.duranki-ai-live-response p {
  white-space: normal;
}

.duranki-ai-thinking-dots {
  display: inline-flex;
  gap: 4px;
  margin-right: 6px;
}

.duranki-ai-thinking-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #00D4FF;
  animation: duranki-ai-dot 1s infinite alternate;
}

.duranki-ai-thinking-dots i:nth-child(2) { animation-delay: .2s; }
.duranki-ai-thinking-dots i:nth-child(3) { animation-delay: .4s; }

.duranki-ai-fallback {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

.duranki-ai-fallback-toggle {
  height: 52px;
  padding: 0 18px 0 8px;
  border: 1px solid rgba(0, 212, 255, .4);
  border-radius: 12px;
  background: #071A2D;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}

.duranki-ai-fallback-toggle span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #00D4FF;
  color: #071A2D;
  font-weight: 800;
}

.duranki-ai-fallback-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(380px, calc(100vw - 28px));
  border: 1px solid rgba(0, 212, 255, .25);
  border-radius: 16px;
  overflow: hidden;
  background: #0B2545;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .45);
}

.duranki-ai-fallback-panel header {
  padding: 18px;
  background: #071A2D;
  border-bottom: 1px solid rgba(0, 212, 255, .12);
}

.duranki-ai-fallback-panel header strong,
.duranki-ai-fallback-panel header small {
  display: block;
}

.duranki-ai-fallback-panel header small {
  margin-top: 4px;
  color: #AAB7C4;
  font-size: 9px;
}

.duranki-ai-fallback-panel .copilot-conversation {
  min-height: 190px;
  padding: 20px;
}

.duranki-ai-fallback-panel .copilot-input {
  margin: 0 12px 12px;
}

@keyframes duranki-ai-dot {
  to { opacity: .2; transform: translateY(-2px); }
}

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

@media (max-width: 600px) {
  .duranki-ai-fallback {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #copilot-send.is-busy,
  .duranki-ai-thinking-dots i {
    animation: none;
  }
}
