/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.4s ease;
}

.modal.show {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  margin: 5% auto;
  padding: 20px;
  width: 45%;
  position: relative;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal.show .modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-content .signup-main .services-offer-main {
  width: 90%;
  padding: 2.375rem 2.1625rem;
}

.close {
  color: #aaa;
  position: absolute;
  top: 30px;
  right: 35px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content .services-offer-main h3 {
  font-family: "Source Sans Pro";
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* Modal form specific styles */
.modal .contact-us-form {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .modal-content {
    width: 75%;
    margin: 14% auto;
  }
}

/* Urgent Care Modal Styles */
.urgent-care-modal.modal {
  pointer-events: none;
  background-color: transparent;
}

.urgent-care-content {
  pointer-events: auto;
  position: fixed;
  bottom: -24px;
  left: 20px;
  padding: 0;
  width: 350px;
  max-width: calc(100vw - 40px);
  background-color: #ffffff;
  border: 1px solid #f4d7e3;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 1001;
  opacity: 0;
  transform: translateX(-100px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.urgent-care-modal.show .urgent-care-content {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.urgent-care-modal-right.modal {
  pointer-events: none;
  background-color: transparent;
}

.urgent-care-content-right {
  pointer-events: auto;
  position: fixed;
  bottom: -24px;
  right: 20px;
  left: auto;
  padding: 0;
  width: 300px;
  max-width: calc(100vw - 40px);
  background-color: #ffffff;
  border: 1px solid #f4d7e3;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 1001;
  opacity: 0;
  transform: translateX(100px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.urgent-care-modal-right.show .urgent-care-content-right {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.urgent-care-launcher {
  display: flex;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1002;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.urgent-care-launcher-right {
  display: flex;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1002;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.urgent-care-right-box {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fafafa;
}

.urgent-care-content-right .urgent-care-right-wrapper {
  display: flex;
  min-height: 200px;
}

.urgent-care-right-box .urgent-care-logo img {
  width: 180px;
  height: auto;
}

.urgent-care-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* background: radial-gradient(circle at top left, #ffffff 0%, #ffd8ec 35%, rgba(230, 85, 152, 0.2) 90%); */
  background: #e4a5d8;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  position: relative;
}

.urgent-care-bell {
  font-size: 24px;
  line-height: 1;
  color: #a20062;
}

.urgent-care-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e65598;
  border: 2px solid #fff;
}

.urgent-care-link {
  display: inline-block;
  margin-bottom: 12px;
  color: #a20062;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.urgent-care-link:hover {
  text-decoration: underline;
}
.urgent-care-content-right .urgent-care-close {
  top: 12px;
  right: 12px;
}
.urgent-care-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.urgent-care-close:hover {
  color: #333;
}

.urgent-care-wrapper {
  display: flex;
  min-height: 350px;
}

.urgent-care-left {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fafafa;
}

.modal-box-anchor {
  display: inline-flex;
  justify-content: center;
}

.urgent-care-logo-section {
  text-align: center;
  margin-bottom: 25px;
}

.urgent-care-logo {
  display: flex;
  justify-content: center;
}

.urgent-care-logo img {
  width: 200px;
  height: 75px;
}

.urgent-care-logo-section h3 {
  font-size: 20px;
  color: #a20062;
  margin: 10px 0 5px;
  font-weight: 700;
  font-family: "Source Sans Pro";
}

.urgent-care-tagline {
  font-size: 13px;
  color: #e65598;
  margin: 0;
  font-family: "Source Sans Pro";
}

.urgent-care-text {
  text-align: center;
}

.urgent-care-question {
  font-size: 16px;
  color: #652e5a;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 15px;
  font-family: "Source Sans Pro";
}

.urgent-care-highlight {
  font-size: 18px;
  color: #a20062;
  font-weight: 700;
  margin: 0;
  font-family: "Source Sans Pro";
  margin-bottom: 1.3rem;
}

.urgent-care-right {
  flex: 1;
  overflow: hidden;
}

.urgent-care-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.urgent-care-footer {
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.urgent-care-btn {
  background-color: rgba(230, 85, 152, 1);
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
  font-family: "Source Sans Pro";
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
}

.urgent-care-btn:hover {
  background-color: #a20062;
}
/* RIGHT MODAL POSITION */
.urgent-care-modal-right {
  pointer-events: none;
  background: transparent;
}

.book-popup-wrap {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: end;
  opacity: 0;
  transform: translateY(40px);
  transition: 0.4s ease;
  pointer-events: auto;
}

.urgent-care-modal-right.show .book-popup-wrap {
  opacity: 1;
  transform: translateY(0);
}

/* TOP WHITE CARD */
.book-popup-top {
  background: white;
  border-radius: 0;
  padding: 45px 25px 20px;
  position: relative;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.35);
  width: 240px;
  border-radius: 0.25rem;
}

/* FLOATING ICON */
.book-popup-icon {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgb(245 220 235);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-popup-icon img {
  width: 35px;
  height: 35px;
}
/* CLOSE BUTTON */
.book-popup-top .urgent-care-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 28px;
  color: #15335b;
  border: none;
  background: none;
  cursor: pointer;
}

/* TEXT */
.book-popup-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d2b5a;
  line-height: 1.3;
  margin-bottom: 0.6875rem;
  font-family: "Source Sans Pro";
}

.book-popup-sub {
  font-size: 1.125rem;
  color: #0d2b5a;
  font-weight: 500;
  font-family: "Source Sans Pro";
}

/* BOTTOM BUTTON */
.book-popup-btn {
  display: inline-block;
  background: #ffe100;
  color: #0d2b5a;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0.25rem;
  padding: 0.75rem 1.125rem;
  text-decoration: none;
  margin-top: 0.75rem;
  font-family: "Source Sans Pro";
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.35);
}

.book-popup-btn:hover {
  background: #ffd000;
}
@media (max-width: 768px) {
  .urgent-care-content {
    width: 85%;
    max-width: 100%;
    bottom: 45px;
    left: 30px;
  }

  .urgent-care-launcher {
    bottom: 55px;
  }
  .urgent-care-launcher-right {
    bottom: 55px;
  }
  .urgent-care-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .urgent-care-left {
    padding: 30px 20px;
  }
  .book-popup-top {
    display: none;
  }
  .urgent-care-right {
    min-height: 250px;
  }

  .urgent-care-close {
    top: 10px;
    right: 10px;
  }
  .book-popup-wrap {
    bottom: 65px;
  }
  .urgent-care-question {
    font-size: 15px;
  }

  .urgent-care-highlight {
    font-size: 16px;
  }
}
@media (max-width: 420px) {
.modal-content {
  margin: 8% auto;
}
}