.popup {
  display: none;
  top: 35%;
  left: calc(50% - clamp(300px, 80%, 650px) / 2);
  width: clamp(300px, 80%, 650px);
  box-sizing: border-box;
  position: fixed;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
  background: white;              
  padding-top: 16px;   
  z-index: 1001;                       
}            

@media (max-width: 1100px) {
  .popup .component.uiactionbuttons .actionbutton:last-child {
    margin-bottom: 8px;
  }
  .popup .component.uiactionbuttons .actionbutton {
    margin-right: 8px;
  }
}

.popup.visible {
  display: block;
}

.component .actionbutton.error {
  font-size: 1em;
  background: var(--error-color);
}

.popup.fade-out {
  transition: all 0.4s ease 1.6s;
  opacity: 0;
}

.popup .headline {
  display: flex;
  justify-content: space-between;
  font-size: 150% !important;
}            

.popup .headline.error span:first-child {
  color: var(--error-color);
}            

.popup .close {
  cursor: pointer;
}            
