/* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
  background: none;
  border: none;
  font-family: "Roboto", suns-serif;
  box-sizing: border-box;
}

button {
  cursor: pointer;
}

:root {
  --color-label: #565656;
  --color-placeholder: #acacac;
  --color-heading-text: #333;
  --color-text-error: #ef4444;
  --color-input-border: #e4e4e6;
  --color-button-text: rgba(255, 255, 255, 0.95);
  --color-button-text-disabled: rgba(255, 255, 255, 0.4);
  --color-primary: #0074d4;
}

:host {
  display: block;
}

.modal-row {
  display: none;
}

.modal-row.open {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1ch;
  background: rgba(0, 0, 0, 0.3);
}

.modal-child {
  padding: 1.5rem;
  background-color: #fff;
  width: 100%;
}

.modal-close-button-wrap {
  padding-left: 8px;
}
.modal-close-button-wrap .modal-close-button {
  width: 32px;
  display: block;
  fill: var(--color-label);
  cursor: pointer;
}