.backdrop {
  composes: absolute left0 top0 right0 bottom0 from "./Layout.css";
  composes: zoomOut from "./Cursor.css";
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  opacity: 0.9;
  overflow-y: scroll;
}

.container {
  composes: fixed borderBox flex justifyCenter left0 top0 itemsCenter from "./Layout.css";
  composes: xsCol12 from "./Column.css";
  height: 100%;
}

.wrapper {
  composes: relative overflowHidden flex from "./Layout.css";
  composes: whiteBg from "./Colors.css";
  composes: rounding8 from "./Borders.css";
  composes: marginLeft4 marginRight4 from "./boxWhitespace.css";
  max-height: calc(100vh - 32px);
  outline: none;
}

.content {
  composes: borderBox flexGrow overflowAuto relative from "./Layout.css";

  /* Show top / bottom shadow when scrolling down */
  background: linear-gradient(#fff 30%, rgba(255, 255, 255, 0)),
    linear-gradient(rgba(255, 255, 255, 0), #fff 70%) 0 100%,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, #fff 50%),
    linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, #fff 50%) 0 100%;
  background-attachment: local, local, scroll, scroll;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 100% 20px, 100% 20px, 100% 8px, 100% 8px;

  /* Hack to avoid the extra gray border between the content and footer */
  transform: scaleX(1.0000001);
}
