.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;

  &.collapsed {
    display: none;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.modal-header-close {
  cursor: pointer;

  &:hover, &:focus {
    svg {
      fill: var(--color-primary);
    }
  }
}

.modal-card {
  background-color: var(--color-white);
  padding: 20px;
  border-radius: 5px;
}
