
/* Info Modal Styling */
#renewalInfoModal .modal-dialog {
  max-width: 900px;
  margin: 1.75rem auto;
}

#renewalInfoModal .renewal-info-modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  position: relative;
}

#renewalInfoModal .modal-body {
  padding: 0;
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible !important;
}

/* Full screen background overlay */
#renewalInfoModal::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('https://blogs-and-landing-pages.s3.ap-south-1.amazonaws.com/renewal_img/image.png') center center / cover no-repeat;
  z-index: 1040;
  pointer-events: none;
}

#renewalInfoModal.show {
  background: transparent;
}

/* Override Bootstrap modal backdrop */
#renewalInfoModal ~ .modal-backdrop {
  background: url('https://blogs-and-landing-pages.s3.ap-south-1.amazonaws.com/renewal_img/image.png') center center / cover no-repeat !important;
  opacity: 1 !important;
}

/* Popup Card */
.renewal-info-popup-card {
  width: 100%;
  max-width: 400px;
  margin: 50px 30px;
  background: white;
  border: none;
  border-radius: 20px;
  box-shadow: 0px 1px 11.4px 1px rgba(145, 145, 145, 0.25);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hourglass Icon */
.renewal-info-popup-card .hourglass-icon {
  margin-bottom: 30px;
  transform: rotate(17.5deg);
}

.renewal-info-popup-card .hourglass-icon img {
  width: 117px;
  height: 117px;
  object-fit: contain;
}

/* Title */
.renewal-info-popup-card .info-modal-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 30px;
  color: black;

  line-height: 1.36;
  margin-bottom: 25px;
  margin-top: 0;
}

/* Message */
.renewal-info-popup-card .info-modal-message {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: black;
  line-height: 1.36;
  margin-bottom: 40px;
  max-width: 399px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.renewal-info-popup-card .info-btn-cta {
  width: 100%;
  max-width: 351px;
  height: 54.775px;
  background: #154984;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: white;

  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.3s;
  margin-bottom: 0;
}

.renewal-info-popup-card .info-btn-cta:hover {
  background: #1a5ba0;
}

.renewal-info-popup-card .info-btn-cta svg {
  width: 22.823px;
  height: 19.155px;
  flex-shrink: 0;
}

/* Back Link - Outside the card */
.info-back-link-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 25px;
  color: #c2bcbc;
  text-decoration: none;
  transition: color 0.3s;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 10px 15px;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.info-back-link-modal:hover {
  color: #999;
  text-decoration: none;
}

.info-back-link-modal svg {
  width: 21px;
  height: 18px;
  flex-shrink: 0;
}

/* Ensure modal content is above background */
#renewalInfoModal .modal-dialog {
  position: relative;
  z-index: 1050;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  #renewalInfoModal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  #renewalInfoModal .modal-body {
    padding: 0;
    min-height: auto;
    overflow: visible !important;
  }

  .renewal-info-popup-card {
    padding: 40px 30px;
    max-width: 100%;
    margin: 25px 15px;
  }

  .renewal-info-popup-card .hourglass-icon img {
    width: 100px;
    height: 100px;
  }

  .renewal-info-popup-card .info-modal-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .renewal-info-popup-card .info-modal-message {
    font-size: 16px;
    margin-bottom: 35px;
  }

  .renewal-info-popup-card .info-btn-cta {
    font-size: 18px;
    height: 50px;
    max-width: 100%;
    margin-bottom: 0;
  }

  .info-back-link-modal {
    font-size: 20px;
    margin-top: 20px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  #renewalInfoModal .modal-dialog {
    margin: 0.25rem;
    max-width: calc(100% - 0.5rem);
  }

  #renewalInfoModal .modal-body {
    padding: 0;
    overflow: visible !important;
  }

  .renewal-info-popup-card {
    padding: 30px 25px;
    margin: 20px 12px;
  }

  .renewal-info-popup-card .hourglass-icon {
    margin-bottom: 20px;
  }

  .renewal-info-popup-card .hourglass-icon img {
    width: 90px;
    height: 90px;
  }

  .renewal-info-popup-card .info-modal-title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .renewal-info-popup-card .info-modal-message {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .renewal-info-popup-card .info-btn-cta {
    font-size: 16px;
    height: 48px;
    padding: 12px 20px;
    margin-bottom: 0;
  }

  .info-back-link-modal {
    font-size: 18px;
    margin-top: 15px;
    gap: 8px;
    padding: 8px 10px;
  }

  .info-back-link-modal svg {
    width: 18px;
    height: 16px;
  }
}

/* Extra small mobile */
@media (max-width: 360px) {
  #renewalInfoModal .modal-body {
    padding: 0;
    overflow: visible !important;
  }

  .renewal-info-popup-card {
    padding: 25px 20px;
    margin: 18px 10px;
  }

  .renewal-info-popup-card .hourglass-icon img {
    width: 80px;
    height: 80px;
  }

  .renewal-info-popup-card .info-modal-title {
    font-size: 22px;
  }

  .renewal-info-popup-card .info-modal-message {
    font-size: 14px;
  }

  .renewal-info-popup-card .info-btn-cta {
    font-size: 15px;
    height: 46px;
  }

  .info-back-link-modal {
    font-size: 16px;
  }
}