/*
 * 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.
 */

.disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  cursor: pointer;
  list-style: none;
}

.disclosure-summary::-webkit-details-marker { display: none; }
.disclosure-summary > svg { flex: none; color: var(--mail-slate, currentColor); }
details[open] > .disclosure-summary > svg { transform: rotate(180deg); color: var(--mail-action, currentColor); }

@media (prefers-reduced-motion: no-preference) {
  .disclosure-summary > svg { transition: transform .2s var(--mail-ease, ease-out); }
}
