/*
---

name: popup

provides: [CSS.pupups]

...
*/
.popup-overlay {
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup-overlay.closed,
.popup.closed {
  display: none;
}

.popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  gap: 24px;
  position: fixed;
  background: #FFFFFF;
  box-shadow: 0px 8px 16px rgba(34, 34, 34, 0.2);
  border-radius: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 480px;
  width: 100%;
  z-index: 1010;
}
.popup .popup-header {
  text-align: center;
}
.popup .popup-header h1 {
  font-size: 24px;
}
.popup .popup-header h1 + p {
  border-bottom: 0 solid;
  margin-bottom: 0;
  padding-bottom: 0;
}
.popup p {
  font-size: 16px;
  line-height: 24px;
  padding: 0;
}
.popup .popup-action {
  display: flex;
  justify-content: center;
}
.popup .popup-action button.confirm,
.popup .popup-action button.cancel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 8px;
  background-color: #FAFAFA;
  border-radius: 4px;
  flex: 1 0 90%;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  border: 0 solid;
  color: #222222;
  transition: color 0ms,background-color .3s ease;
  text-transform: none;
}
.popup .popup-action button.confirm:hover,
.popup .popup-action button.cancel:hover {
  background-color: #e5e2e2;
}
.popup .popup-action button.confirm {
  background-color: #DD2B1B;
  color: #ffffff;
}
.popup .popup-action button.confirm:hover {
  background-color: #ba1c0e;
}
.popup-overlay-selection.closed,
.popup-selection.closed {
    visibility:hidden;
    opacity: 0;
}


.popup-overlay-selection {
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .2s ease;
    visibility:visible;
}
.popup-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    gap: 0;
    position: fixed;
    background: #FFFFFF;
    box-shadow: 0px 8px 16px rgba(34, 34, 34, 0.2);
    border-radius: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 480px;
    width: 100%;
    z-index: 1010;
 
    opacity: 0;
    transition: all .2s ease;
}
    .popup-selection.open, .popup-overlay-selection.open {
        opacity: 1;
    }



 

.popup-selection .close-button  {
    position: absolute;
    top: 5px;
    right: 10px;

}
.popup-selection .close-button a{
        font-size: 2.5em;
        color:#222;
}
    
.popup-selection .close-button a:hover {
    text-decoration:none;
    }
        
.popup-selection .popup-header h1 {
     font-size:1.25rem;
     text-align:center;
}
    
.popup-selection p {
        font-size:0.85rem;
        text-align:center;
    }
body.popup-open {
    overflow: hidden;
}