/*
 * Status Chip
 *
 * Index
 * - Icon
 * - Size
 */

.status-chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: var(--road-font-size-14);
  font-weight: 700;
  color: var(--road-on-info-surface);
  cursor: pointer;
  background-color: var(--road-info-surface);
  border: 0;
  border-radius: 1.625rem;
  outline: 0;
  transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  padding: var(--road-spacing-01) var(--road-spacing-05) var(--road-spacing-01) var(--road-spacing-03);
}

/* ICON
 -------------------- */

.chip-status-icon {
  width: 1rem;
  height: 1rem;
  margin-right: var(--road-spacing-03);
  border-radius: 50%;
  transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  fill: var(--road-info-icon);
}


/* SIZE
 -------------------- */

.chip-status-md {
  height: 2rem;
  font-size: var(--road-font-size-14);
  padding: var(--road-spacing-02) var(--road-spacing-05) var(--road-spacing-02) var(--road-spacing-03);
}

.chip-status-md .chip-status-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.chip-status-lg {
  height: 2.5rem;
  font-size: var(--road-font-size-14);
  padding: var(--road-spacing-02) var(--road-spacing-06) var(--road-spacing-02) var(--road-spacing-04);
}

.chip-status-lg .chip-status-icon {
  width: 1.5rem;
  height: 1.5rem;
}



/**
 * Hover state
 */

.chip:hover,
.chip.focus-visible{
  background: var(--road-info-90);
}

/**
 * Active
 */

.chip:active {
  background: var(--road-info-80);
}

