/* Application styles — keep most styling in Tailwind utilities */

/* Shake animation for invalid magic link code */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}
.animate-shake {
  animation: shake 0.3s ease-in-out;
}

/* Trix editor styling */
trix-editor {
  min-height: 12rem;
}

trix-editor.trix-content {
  overflow-y: auto;
}

trix-editor.email-trix {
  min-height: 8rem;
  padding: 0.5rem 0.75rem;
}

/* The campaign prompt (Campaign settings): room to read a long brief. */
trix-editor.guidelines-trix {
  min-height: 20rem;
  padding: 0.75rem 1rem;
  line-height: 1.6;
}

/* Tailwind's reset removes list markers; a prompt is mostly lists. */
trix-editor.guidelines-trix ul { list-style-type: disc; padding-left: 1.5rem; }
trix-editor.guidelines-trix ol { list-style-type: decimal; padding-left: 1.5rem; }
trix-editor.guidelines-trix h1 { font-size: 1.05rem; font-weight: 600; margin-top: 0.75rem; }
trix-editor.guidelines-trix h1:first-child { margin-top: 0; }
trix-editor.guidelines-trix blockquote { border-left: 3px solid #d1d5db; padding-left: 0.75rem; color: #4b5563; }

trix-toolbar .trix-button-group--file-tools {
  display: none !important;
}
