/* Typography - Inter font family */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lora font for headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
}

/* Lora font for section labels styled as headings */
label.font-bold,
label.text-xl,
label.text-2xl,
label.text-3xl,
label.text-4xl {
  font-family: 'Lora', Georgia, serif;
}

/* Ensure form elements use the same font */
input,
textarea,
select,
button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Custom Trix styling to match Tailwind design */
trix-editor {
  border: 1px solid rgb(209, 213, 219);
  border-radius: 0.5rem;
  padding: 1rem;
  min-height: 8rem;
  background-color: white;
}

trix-editor:focus {
  outline: none;
  border-color: rgb(99, 102, 241);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

trix-toolbar {
  border: 1px solid rgb(209, 213, 219);
  border-radius: 0.5rem 0.5rem 0 0;
  background-color: white;
  margin-bottom: 0;
}

trix-editor.trix-content {
  border-radius: 0 0 0.5rem 0.5rem;
}

trix-toolbar .trix-button-group {
  border: none;
  margin-bottom: 0;
}

trix-toolbar .trix-button {
  border-radius: 0.25rem;
}

trix-toolbar .trix-button:hover {
  background-color: rgb(243, 244, 246);
}