/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Tom Select custom styles */
.ts-wrapper .ts-control {
  font-size: 1rem; /* Match form font size */
  padding: 0.5rem 0.75rem; /* Match py-2 px-3 */
}

.ts-wrapper .ts-control input {
  font-size: 1rem;
}

.ts-dropdown .ts-dropdown-content {
  font-size: 1rem;
}

.ts-dropdown .option {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
}

/* intl-tel-input: force wrapper to block/full-width so it sits below the label */
.iti {
  display: block !important;
  margin-top: 0.5rem;
}

/* Trix: trim toolbar to the buttons we want (bold, italic, bullet list). */
trix-toolbar .trix-button-group--file-tools,
trix-toolbar .trix-button-group--history-tools,
trix-toolbar [data-trix-attribute="strike"],
trix-toolbar [data-trix-attribute="href"],
trix-toolbar [data-trix-attribute="heading1"],
trix-toolbar [data-trix-attribute="quote"],
trix-toolbar [data-trix-attribute="code"],
trix-toolbar [data-trix-attribute="number"],
trix-toolbar [data-trix-action="decreaseNestingLevel"],
trix-toolbar [data-trix-action="increaseNestingLevel"] {
  display: none;
}

/* Restore list markers — Tailwind preflight strips them. */
.trix-content ul,
trix-editor ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.trix-content ol,
trix-editor ol {
  list-style: decimal;
  padding-left: 1.5rem;
}
