.popup,
.err-popup button {
  border-radius: 5px;
  border: thin solid;
  padding: .5em;
  margin: .5em auto;
  font-variant: small-caps;
}


.popup h2 {
  text-align: center;
}

.popup button {
  padding: 0.5em 1em 0.65em;
  font-size: 1em;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  cursor: pointer;
  margin: .5em auto;
  display: block;
  font-weight: 600;
  font-size: 18px;
}

.popup #dialog-notification {
  border: 2px solid #ff99157a;
  box-shadow: 0px 0px 10px #ffb30082;
}

.popup button:hover {
  background: #ffffff0d;
  border: 2px solid #fff;
  color: #fff;
  cursor: pointer;
  transition: 0.6s;
}

.popup #start:hover {
  background: #333;
  transform: translateY(2px);
}

.popup {
  opacity: 0.95;
  box-shadow: 0px 0px 10px #ff000082;
  background: #222222db;
  border: 2px solid #6001017a;
  margin: 5em auto;
  color: #fff;
  padding: 30px;
}


.popup h2 {
  font-weight: 600;
}

.popup h3 {
  font-weight: 100;
}

.popup a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.popup a:hover {
  text-decoration: underline;
}

.popup p {
  line-height: 2.2;
  font-size: 17px !important;
}

.popup input {
  font-weight: 600;
  margin: 0px 10px;
}

.popup label {
  font-weight: 100;
  font-size: 18px;
  text-decoration: underline;
}

.popup::backdrop {
  background: #00000070 !important;
  transition: 0.6s;
  backdrop-filter: blur(10px);
}

.dsma-message {
  margin: auto;
  text-align: center;
  display: inline-block;
  margin-bottom: 20px;
}

.noti-popup button {
  width: 250px;
  margin: 1%;
}

.resz-btns {
  display: flex;
  width: 550px;
  margin: auto;
}

.limit-popup {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  /* Ensure the dialog is on top of other elements */
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust opacity to darken/lighten */
  backdrop-filter: blur(5px);
  /* Adjust blur level */
  z-index: 1021;
  /* Ensure the backdrop is behind the dialog */
}

#dialog-resize-notification {
  box-shadow: 0px 0px 10px #fffb0082 !important;
  border: 2px solid #ffbf007a;
}

@media (max-width: 700px) {

  .popup[open] p {
    line-height: 1.8;
    font-size: 17px !important;
  }

  .popup[open] {
    margin: 1.2em auto !important;
  }


  .limit-popup {
    width: 100%;
    top: 50%;
  }

  .resz-btns {
    display: flex;
    width: auto !important;
    margin: auto;
  }
}

@media (max-width: 800px) {


  .limit-popup img {
    display: none !important;
  }
}