/* Common styles for CDK Accordion examples */
.example-accordion-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.example-accordion-header {
  margin: 0;
}

.example-accordion-header .example-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid transparent;
  background-color: var(--mat-sys-surface);
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 4px;
}

.example-accordion-header .example-accordion-trigger:hover {
  background-color: var(--mat-sys-surface-container-highest);
}

.example-accordion-header .example-accordion-trigger[data-active='true'] {
  background-color: var(--mat-sys-surface-dim);
}

.example-accordion-header .example-accordion-trigger:focus {
  outline: 2px solid var(--mat-sys-primary);
  outline-offset: -2px;
}

.example-accordion-header .example-accordion-trigger[aria-disabled='true'] {
  color: inherit;
  opacity: 0.6;
}

.example-accordion-panel {
  padding: 16px;
  background-color: var(--mat-sys-surface-container);
  margin-bottom: 4px;
}

.example-accordion-panel[inert] {
  display: none;
}
