/* CSS remained same for clean look and using !important for reliable hiding */
#temp-popup {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999999999;
  justify-content: center;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  padding: 20px;
}

#temp-popup.show {
  display: flex !important;
  /* Class to show the popup */
}

#temp-popup .box {
  background: #fff;
  padding: 35px 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  position: relative;
}
#temp-popup .box h2 {
  margin-top: 0;
  font-style: italic;
  font-weight: 700;
  color: var(--Dark-Blue);
}
#temp-popup .box .submited-text p {
  color: green;
  font-weight: 600;
  margin-bottom: 10px;
}
#temp-popup .box a{
    font-size: 20px !important;
    font-weight: 700 !important;
    font-family: var(--lato-font);
    text-decoration: none;
    box-sizing: border-box;
    color: var(--Off-White);
    background-color: var(--Dark-Blue);
    border: 2px solid var(--Dark-Blue);
    padding: 18px 30px;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    border-radius: 40px;
    -webkit-appearance: none;
    transition: all 0.3s;
    max-width: 100%;
}
#temp-popup .box a:hover{
    background-color: transparent;
    color: var(--Dark-Blue);
}
#temp-popup .close-btn {
    background: var(--Dark-Blue);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items:center ;
    position: absolute;
    right:15px;
    top:15px;
}
