@import url("../foundations/colors.css");
@import url("../foundations/typography.css");

.container-overlay {
  display: none;
  top: 0;
  left: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 20;
}
.container-overlay .overlay {
  display: flex;
  background-color: white;
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 50vw;
  padding: 2rem;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.12);
}
.container-overlay .overlay .icon-close {
  position: absolute;
  top: 40px;
  right: 40px;
}
.overlay .header-overlay {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 0 4rem 0 0;
}
.overlay .header-overlay .title {
  padding-top: 0.5rem;
  color: var(--grey);
  font-weight: 800;
}
.overlay .background-overlay {
  width: 50vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.overlay .icon-with-label {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}
.overlay .row-info {
  display: flex;
  justify-content: space-between;
}
.overlay .row-info:not(:last-child) {
  border-bottom: solid 1px var(--soft-grey);
  padding-bottom: 0.5rem;
}
.overlay .list-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  width: 100%;
}
.overlay .buttons-container {
  width: 100%;
}
.overlay .buttons-container .button_L {
  width: 100%;
}

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

