/*
 * 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 */
.ts-wrapper.single .ts-control {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-family: 'Figtree', sans-serif;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  outline: none;
  transition-property: color, background-color, border-color;
  transition-duration: 150ms;
}

.ts-wrapper.single.focus .ts-control {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.ts-dropdown {
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.ts-dropdown .active {
  background-color: #eef2ff;
  color: #4338ca;
}

/* Button overrides for input[type=submit] */
input[type="submit"].btn-primary {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background-color: #4f46e5;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  cursor: pointer;
  transition: all 150ms;
  border: none;
}

input[type="submit"].btn-primary:hover {
  background-color: #6366f1;
}

input[type="submit"].btn-muted {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background-color: #4b5563;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  cursor: pointer;
  transition: all 150ms;
  border: none;
}

input[type="submit"].btn-muted:hover {
  background-color: #6b7280;
}

/* Flatpickr */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #6366f1;
  border-color: #6366f1;
}

.flatpickr-day.today:not(.selected) {
  border-color: #6366f1;
}

.markdown p {
  margin-bottom: 0.75em;
}

.markdown p:last-child {
  margin-bottom: 0;
}

.markdown ul,
.markdown ol {
  margin-bottom: 0.75em;
  padding-left: 1.5em;
}

.markdown ul {
  list-style-type: disc;
}

.markdown ol {
  list-style-type: decimal;
}

.markdown li {
  margin-bottom: 0.25em;
}

