/* DigiMedCare Campaign Popup */

.digimed-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 8, 20, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.digimed-popup-overlay.is-visible {
  display: flex;
}

.digimed-popup-box {
  position: relative;
  width: 500px;
  max-width: 92vw;
  height: 500px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.digimed-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #001b4d;
  font-size: 25px;
  line-height: 34px;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

.digimed-popup-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
}

.digimed-popup-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 
  Bigger invisible click area around the “Sign Up as a Practitioner Today” button.
  This covers the bottom-right area so the link still works across different screen sizes.
*/
.digimed-popup-cta-hit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 30%;
  display: block;
  border-radius: 18px;
  z-index: 3;
  cursor: pointer;
}

/* Optional: uncomment this only if you want to see the clickable area while testing */
/*
.digimed-popup-cta-hit {
  background: rgba(0, 174, 255, 0.25);
}
*/

@media (max-width: 600px) {
  .digimed-popup-overlay {
    padding: 14px;
  }

  .digimed-popup-box {
    width: 92vw;
    height: 92vw;
    max-height: 82vh;
    border-radius: 14px;
  }

  .digimed-popup-close {
    width: 32px;
    height: 32px;
    font-size: 23px;
    line-height: 32px;
  }

  .digimed-popup-cta-hit {
    right: 0;
    bottom: 0;
    width: 64%;
    height: 32%;
  }
}