
/* Popup Ad Styles */
.ad-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-popup-container {
  position: relative;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 500px;
  width: 90%;
}

.ad-popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background-color: #ff4c4c;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ad-popup-content {
  width: 100%;
}

/* Side Ads Styles */
.side-ad-container {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  z-index: 100;
  display: none;
}

.side-ad-left {
  left: 10px;
}

.side-ad-right {
  right: 10px;
}

/* Show side ads only on larger screens */
@media (min-width: 1400px) {
  .side-ad-container {
    display: block;
  }
  
  /* Add padding to body to make room for ads */
  body.has-side-ads {
    padding-left: 180px;
    padding-right: 180px;
  }
}
