.popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.popup-overlay.show{
  display: flex;
}

.popup-box{
  background: #fff;
  width: 380px;
  max-width: 90%;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  animation: pop .25s ease-in-out;
}

.popup-box input{
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

.popup-box button{
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  font-size: 15px;
  line-height: 1;
}

.popup-close{
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

button.sub-button {
    width: 100%;
    border-radius: 4px;
    padding: 10px;
    font-size: 20px;
    height: auto;
}

@keyframes pop{
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}