/* Editor styles */
.editor-styles-wrapper .acwp-popup-block {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    padding: 20px;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.editor-styles-wrapper .acwp-popup-block .wp-block-button {
    margin-top: 10px;
}

.popup-block {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 100%); 
  width: fit-content; 
  max-width: 100%;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  padding: 10px;
  border-radius: 12px;
}

/* Visible state */
.popup-block.is-visible {
  transform: translate(-50%, 50%); 
  opacity: 1;
}


/* Popup content container */
.popup-content {
    position: relative;  
    margin: 0 auto;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
}

/* Close button styles */
.popup-close {
    position: absolute;
    top: -30px;
    right: -30px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

/* Add hover effect for the close button */
.popup-close:hover {
    // color: #f00;
    // transform: scale(1.1);
    background: none;
    color: #aaa;
}
.popup-content figure img{
  width: 100%;
}