@charset "utf-8";
@import "../../style/color.css";

:host {
  display: flex;
  position: relative;

  background-color: var(--fill-static);
  color: var(--fill-stroke);

  padding: 14px 16px;
  font-size: 0.875rem;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 400;
  line-height: 1.43;
  border-radius: 4px;
  letter-spacing: 0.01071em;

  box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2), 0px 6px 10px 0px rgba(0,0,0,0.14), 0px 1px 18px 0px rgba(0,0,0,0.12);
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;

  align-items: center;
  font-family: var(--font);
}

material-icon {
  opacity: 0.9;
  /* padding: 7px 0; */
  /* font-size: 22px; */
  margin-right: 12px;
  transition: width 0.3s line, margin-right 0.3s line;
}

material-icon:empty {
  margin-right: 0;
  width: 0;
}

slot:not([name]) {
  /* padding: 8px 0; */
  display: inline-block;
  font-family: var(--font);
  font-weight: 300;
  flex-grow: 1;
}

slot[name="action"] {
  display: block;
}

slot[name="action"]::slotted(material-button) {
  margin-left: 0.4em;
}
