/* File: hob-popup-newsletter/assets/css/hob-popup-newsletter.css */

/* =======================
   POPUP NEWSLETTER
   ======================= */

.hob-newsletter-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s;
}

.hob-newsletter-popup-content {
  background-color: #fff;
  padding: 10px;
  display: flex;
  border-radius: 10px;
  position: relative;
  width: 90%;
  max-width: 700px;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.hob-newsletter-popup-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  max-width: 70%;
}

.hob-newsletter-popup-content p {
  margin-top: 20px;
  margin-bottom: 10px;
  max-width: 75%;
}

.hob-newsletter-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 1px solid;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  padding: 0;
}

.hob-newsletter-popup-close svg {
  width: 15px;
  height: 15px;
  transition: all 0.5s ease;
}

.hob-newsletter-popup-close:hover svg {
  stroke: #ffffff;
}

.hob-newsletter-popup-close:hover {
  background-color: #000;
}

.hob-newsletter-promo-code {
  margin-top: 10px;
  padding: 8px 14px;
  background: #eee;
  border-radius: 6px;
}

.promotion-newsletter-popup {
  display: block;
  margin: 10px 0 5px 0;
}

/* Mobile */
@media only screen and (max-width: 600px) {
  .hob-newsletter-popup-content {
    max-height: 90vh;
    max-width: none;
    padding-top: 35px;
    padding-bottom: 35px;
    width: 98%;
    gap: 25px;
  }

  .hob-newsletter-popup-content h3 {
    font-size: 18px;
    max-width: 100%;
  }

  .hob-newsletter-popup-content p {
    max-width: 100%;
  }

  .hob-newsletter-popup-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
}
