/* ===== Auto Popup Overlay ===== */
.auto-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ===== Popup Box ===== */
.auto-popup {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  border-radius: 14px;
  padding: 25px 22px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: popupIn 0.45s ease;
}

/* ===== Title ===== */
.auto-popup h2 {
  font-size: 20px;
  color: #960418;
  margin-bottom: 10px;
  font-weight: 900;
}

/* ===== Text ===== */
.auto-popup p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 700;
}

/* ===== Button ===== */
.auto-popup .popup-btn {
  display: inline-block;
  background: #960418;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.auto-popup .popup-btn:hover {
  background: #960418;
}

/* ===== Close Button ===== */
.close-popup {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
  color: #000000;
}

.close-popup:hover {
  color: #000;
}

/* ===== Animation ===== */
@keyframes popupIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .auto-popup {
    padding: 20px 15px;
  }

  .auto-popup h2 {
    font-size: 20px;
  }

  .auto-popup p {
    font-size: 14px;
  }
}       
/* End of Auto Popup Overlay CSS */


