/* ========================================
   Snipe Assistant - Command Center Interface
   A terminal-style interactive Q&A component
   ======================================== */

/* Section Container */
.snipe-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
  background: transparent;
  background-image: none !important;
}

:root[data-theme="dark"] .snipe-section {
  background: transparent;
  background-image: none !important;
}

.snipe-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.snipe-header {
  text-align: center;
  margin-bottom: 3rem;
}

.snipe-mode-badge {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 250, 252, 0.85)) padding-box,
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.03)) border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.snipe-mode-badge svg {
  width: 14px;
  height: 14px;
}

.snipe-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--color-charcoal);
}

.snipe-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Command Center Card */
.snipe-command-center {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%) padding-box,
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.04)) border-box !important;
  background-clip: padding-box, border-box !important;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Light from top effect */
.snipe-command-center::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background:
    radial-gradient(
      ellipse 80% 100% at center top,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.2) 35%,
      transparent 60%
    );
  pointer-events: none;
  border-radius: 1.25rem 1.25rem 0 0;
  z-index: 1;
}

@media (hover: hover) {
  .snipe-command-center:hover {
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.08),
      0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 25px 50px -12px rgba(0, 0, 0, 0.15),
      inset 0 2px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  }
}

/* Chat Display Screen */
.snipe-screen {
  min-height: 280px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f8f8f8 !important;
  background-image: none !important;
  position: relative;
  transition: background 0.3s ease;
}

/* Idle State */
.snipe-idle {
  text-align: center;
  animation: snipeFadeIn 0.5s ease-out;
}

.snipe-idle-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snipe-idle-icon svg {
  width: 100%;
  height: 100%;
}

.snipe-idle-greeting {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 0.375rem;
}

.snipe-idle-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
  opacity: 0.7;
}

/* Typing Animation */
.snipe-typing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: snipeFadeIn 0.3s ease-out;
}

.snipe-typing-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: #8f5a32;
  animation: snipeTypingBounce 1.4s ease-in-out infinite;
}

:root[data-theme="dark"] .snipe-typing-dot {
  background: rgba(192, 192, 200, 0.8);
}

.snipe-typing-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.snipe-typing-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes snipeTypingBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  40% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* Chat Conversation */
.snipe-conversation {
  width: 100%;
  max-width: 640px;
  animation: snipeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes snipeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* User Question Bubble */
.snipe-user-message {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.snipe-user-bubble {
  padding: 0.75rem 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem 1.25rem 0.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  max-width: 85%;
}

.snipe-user-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--color-muted);
  opacity: 0.6;
  margin-top: 0.25rem;
}

/* Bot Response */
.snipe-bot-message {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.75rem;
}

.snipe-bot-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #8f5a32;
  margin-top: 0.25rem;
}

:root[data-theme="dark"] .snipe-bot-icon {
  color: rgba(192, 192, 200, 0.9);
}

.snipe-bot-bubble {
  flex: 1;
  max-width: 90%;
}

.snipe-bot-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin: 0;
  white-space: pre-line;
}

.snipe-bot-text strong {
  color: var(--color-charcoal);
  font-weight: 600;
}

/* Follow-up Questions */
.snipe-followups {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.snipe-followups-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.snipe-followups-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.snipe-followup-btn {
  padding: 0.5rem 0.875rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  /* Make it look more clickable */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Add subtle arrow hint on non-current buttons */
.snipe-followup-btn:not(.is-current)::after {
  content: ' →';
  opacity: 0;
  margin-left: -4px;
  transition: opacity 0.2s ease, margin-left 0.2s ease;
}

@media (hover: hover) {
  .snipe-followup-btn:hover:not([disabled]):not(.is-current) {
    background: color-mix(in srgb, rgba(143, 90, 50, 0.08), var(--surface-2));
    border-color: rgba(143, 90, 50, 0.4);
    color: #8f5a32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(143, 90, 50, 0.15);
  }

  .snipe-followup-btn:hover:not([disabled]):not(.is-current)::after {
    opacity: 1;
    margin-left: 4px;
  }
}

/* Active press state */
.snipe-followup-btn:active:not([disabled]) {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.snipe-followup-btn.is-current {
  background: color-mix(in srgb, rgba(143, 90, 50, 0.1), var(--surface-2));
  border-color: rgba(143, 90, 50, 0.5);
  color: #8f5a32;
  cursor: default;
}

:root[data-theme="dark"] .snipe-followups {
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .snipe-followups-label {
  color: rgba(255, 255, 255, 0.5);
}

:root[data-theme="dark"] .snipe-followup-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (hover: hover) {
  :root[data-theme="dark"] .snipe-followup-btn:hover:not([disabled]):not(.is-current) {
    background: rgba(140, 182, 255, 0.1);
    border-color: rgba(140, 182, 255, 0.4);
    color: rgba(220, 230, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(140, 182, 255, 0.2);
  }
}

:root[data-theme="dark"] .snipe-followup-btn:active:not([disabled]) {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .snipe-followup-btn.is-current {
  background: rgba(192, 192, 200, 0.12);
  border-color: rgba(192, 192, 200, 0.5);
  color: rgba(220, 220, 225, 1);
}

/* Continue Link */
.snipe-continue-chat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #8f5a32;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, gap 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

@media (hover: hover) {
  .snipe-continue-chat:hover {
    color: #6b4526;
    gap: 0.75rem;
  }
}

.snipe-continue-chat svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .snipe-continue-chat:hover svg {
    transform: translateX(2px);
  }
}

/* Input/Prompts Area */
.snipe-input-area {
  padding: 1.25rem 1.5rem;
  background: #ffffff !important;
  background-image: none !important;
  border-top: 1px solid var(--border-subtle);
}

.snipe-prompts-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  opacity: 0.7;
  margin: 0 0 1rem 0.5rem;
}

.snipe-prompts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

/* Prompt Cards */
.snipe-prompt-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 251, 250, 0.95) 100%) padding-box,
    linear-gradient(180deg, rgba(143, 90, 50, 0.12), rgba(143, 90, 50, 0.04)) border-box !important;
  background-clip: padding-box, border-box !important;
  border-radius: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.snipe-prompt-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(143, 90, 50, 0.08) 0%,
    transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .snipe-prompt-btn:hover {
    border-color: rgba(143, 90, 50, 0.5);
    transform: translateY(-4px);
    box-shadow:
      0 4px 16px rgba(143, 90, 50, 0.15),
      0 12px 32px rgba(0, 0, 0, 0.1);
  }
}

@media (hover: hover) {
  .snipe-prompt-btn:hover::before {
    opacity: 1;
  }
}

.snipe-prompt-btn.is-active {
  border-color: rgba(143, 90, 50, 0.6);
  background: color-mix(in srgb, rgba(143, 90, 50, 0.08), var(--surface-2));
}

.snipe-prompt-title {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin: 0 0 0.5rem 0;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.3;
}

.snipe-prompt-question {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0 0 1rem 0;
  line-height: 1.5;
  display: block;
  flex: 1;
}

.snipe-prompt-btn svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: #8f5a32;
  opacity: 0.6;
  margin-top: auto;
  align-self: flex-end;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.snipe-prompt-icon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 16px;
  height: 16px;
  color: #8f5a32;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s ease;
}

:root[data-theme="dark"] .snipe-prompt-icon {
  color: rgba(192, 192, 200, 0.8);
}

@media (hover: hover) {
  .snipe-prompt-btn:hover svg {
    opacity: 1;
    transform: translateX(4px);
    color: #6b4526;
  }

  .snipe-prompt-btn:hover .snipe-prompt-icon {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation Keyframes */
@keyframes snipeFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  .snipe-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  /* Interactive Mode badge - bold, on its own line */
  .snipe-mode-badge {
    display: inline-flex;
    flex-direction: row-reverse;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  /* Question title - on its own line below badge */
  .snipe-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    line-height: 1.2;
  }

  .snipe-subtitle {
    font-size: 0.9375rem;
    margin-top: 0.75rem;
  }

  .snipe-screen {
    min-height: 240px;
    padding: 1.75rem;
  }

  .snipe-prompts-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .snipe-prompt-btn {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .snipe-prompt-title {
    font-size: 0.95rem;
  }

  .snipe-prompt-question {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
  }

  .snipe-prompt-btn svg {
    width: 18px;
    height: 18px;
  }

  .snipe-prompt-icon {
    position: static;
    opacity: 0.5;
  }

  @media (hover: hover) {
    .snipe-prompt-btn:hover .snipe-prompt-icon {
      opacity: 1;
    }
  }

  .snipe-user-bubble,
  .snipe-bot-bubble {
    max-width: 100%;
  }

  .snipe-bot-text {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .snipe-container {
    padding: 0 1rem;
  }

  .snipe-screen {
    min-height: 200px;
    padding: 1.5rem 1rem;
  }

  .snipe-input-area {
    padding: 1rem;
  }

  .snipe-idle-icon {
    width: 44px;
    height: 44px;
  }

  .snipe-bot-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

/* ========================================
   Dark Mode Styles
   ======================================== */

:root[data-theme="dark"] .snipe-section {
  background: transparent;
}

:root[data-theme="dark"] .snipe-title {
  color: #ffffff;
}

:root[data-theme="dark"] .snipe-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

:root[data-theme="dark"] .snipe-mode-badge {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(15, 20, 35, 0.9), rgba(10, 14, 25, 0.95)) padding-box,
    linear-gradient(180deg, rgba(140, 182, 255, 0.3), rgba(140, 182, 255, 0.1)) border-box;
  background-clip: padding-box, border-box;
  color: rgba(196, 215, 255, 0.9);
  box-shadow:
    0 2px 8px rgba(0, 15, 40, 0.3),
    inset 0 1px 0 rgba(140, 182, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

:root[data-theme="dark"] .snipe-command-center {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(15, 20, 35, 0.95), rgba(8, 12, 20, 0.98)) padding-box,
    linear-gradient(180deg, rgba(140, 182, 255, 0.3), rgba(140, 182, 255, 0.08)) border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow:
    0 4px 6px -1px rgba(0, 15, 40, 0.25),
    0 10px 15px -3px rgba(0, 15, 40, 0.3),
    0 20px 25px -5px rgba(0, 15, 40, 0.2),
    inset 0 2px 0 rgba(140, 182, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .snipe-command-center::after {
  background:
    radial-gradient(
      ellipse 80% 100% at center top,
      rgba(140, 182, 255, 0.12) 0%,
      rgba(140, 182, 255, 0.04) 35%,
      transparent 60%
    );
}

@media (hover: hover) {
  :root[data-theme="dark"] .snipe-command-center:hover {
    box-shadow:
      0 4px 6px -1px rgba(0, 15, 40, 0.3),
      0 10px 15px -3px rgba(0, 15, 40, 0.4),
      0 25px 50px -12px rgba(0, 15, 40, 0.4),
      inset 0 2px 0 rgba(140, 182, 255, 0.15),
      inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  }
}

:root[data-theme="dark"] .snipe-screen {
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.85) 0%, rgba(6, 9, 18, 0.9) 100%) !important;
  background-image: none !important;
}

:root[data-theme="dark"] .snipe-idle-greeting {
  color: rgba(255, 255, 255, 0.95);
}

:root[data-theme="dark"] .snipe-idle-text {
  color: rgba(255, 255, 255, 0.5);
}

:root[data-theme="dark"] .snipe-user-bubble {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .snipe-user-icon {
  color: rgba(255, 255, 255, 0.5);
}

:root[data-theme="dark"] .snipe-bot-text {
  color: rgba(255, 255, 255, 0.95);
}

:root[data-theme="dark"] .snipe-bot-text strong {
  color: #ffffff;
}

:root[data-theme="dark"] .snipe-input-area {
  background: linear-gradient(180deg, rgba(12, 17, 28, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%) !important;
  background-image: none !important;
  border-color: rgba(140, 182, 255, 0.15);
}

:root[data-theme="dark"] .snipe-prompts-label {
  color: rgba(196, 215, 255, 0.5);
}

:root[data-theme="dark"] .snipe-prompt-btn {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(15, 20, 35, 0.85), rgba(8, 12, 20, 0.9)) padding-box,
    linear-gradient(180deg, rgba(140, 182, 255, 0.25), rgba(140, 182, 255, 0.06)) border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow:
    inset 0 2px 0 rgba(140, 182, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

@media (hover: hover) {
  :root[data-theme="dark"] .snipe-prompt-btn:hover {
    background:
      linear-gradient(180deg, rgba(22, 28, 45, 0.9), rgba(12, 16, 28, 0.95)) padding-box,
      linear-gradient(180deg, rgba(140, 182, 255, 0.4), rgba(140, 182, 255, 0.15)) border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow:
      0 4px 12px rgba(100, 150, 255, 0.1),
      0 8px 24px rgba(0, 15, 40, 0.35),
      inset 0 2px 0 rgba(140, 182, 255, 0.12),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  }
}

:root[data-theme="dark"] .snipe-prompt-btn.is-active {
  background:
    linear-gradient(180deg, rgba(20, 25, 42, 0.9), rgba(10, 14, 25, 0.95)) padding-box,
    linear-gradient(180deg, rgba(140, 182, 255, 0.5), rgba(140, 182, 255, 0.2)) border-box !important;
  background-clip: padding-box, border-box !important;
}

:root[data-theme="dark"] .snipe-prompt-title {
  color: rgba(255, 255, 255, 0.95);
}

:root[data-theme="dark"] .snipe-prompt-question {
  color: rgba(255, 255, 255, 0.6);
}

:root[data-theme="dark"] .snipe-prompt-btn svg {
  color: rgba(140, 182, 255, 0.7);
}

@media (hover: hover) {
  :root[data-theme="dark"] .snipe-prompt-btn:hover svg {
    color: rgba(140, 182, 255, 1);
  }
}

:root[data-theme="dark"] .snipe-continue-chat {
  color: rgba(200, 200, 210, 0.9);
}

@media (hover: hover) {
  :root[data-theme="dark"] .snipe-continue-chat:hover {
    color: rgba(220, 220, 230, 1);
  }
}

/* ========================================
   Reduced Motion Support
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .snipe-typing-dot {
    animation: none;
    opacity: 0.8;
  }

  .snipe-conversation {
    animation: none;
  }

  .snipe-idle {
    animation: none;
  }

  .snipe-prompt-btn {
    transition: none;
  }

  @media (hover: hover) {
    .snipe-prompt-btn:hover {
      transform: none;
    }
  }
}

/* ========================================
   Focus States for Accessibility
   ======================================== */

.snipe-prompt-btn:focus-visible {
  outline: 3px solid #8f5a32;
  outline-offset: 2px;
  border-color: #8f5a32;
}

.snipe-continue-chat:focus-visible {
  outline: 2px solid #8f5a32;
  outline-offset: 2px;
  border-radius: 4px;
}

:root[data-theme="dark"] .snipe-prompt-btn:focus-visible {
  outline-color: rgba(192, 192, 200, 0.8);
  border-color: rgba(192, 192, 200, 0.8);
}

:root[data-theme="dark"] .snipe-continue-chat:focus-visible {
  outline-color: rgba(192, 192, 200, 0.8);
}
