/* 
 * CSS para o Pop-up de Notificação WP v2.1
 * Estilos para múltiplos pop-ups.
 */
.wp-notification-popup {
  display: flex;
  align-items: flex-start;
  max-width: 384px; /* 24rem */
  width: 100%;
  padding: 1rem;
  z-index: 99999;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s, visibility 0.5s;
}

.wp-notification-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Classes de Posicionamento */
.popup-top-left { top: 20px; left: 20px; }
.popup-top-center { top: 20px; left: 50%; transform: translateX(-50%) translateY(20px); }
.popup-top-right { top: 20px; right: 20px; }
.popup-bottom-left { bottom: 20px; left: 20px; }
.popup-bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); }
.popup-bottom-right { bottom: 20px; right: 20px; }

/* Correção de Transform para Centralizados Visíveis */
.wp-notification-popup.visible.popup-top-center,
.wp-notification-popup.visible.popup-bottom-center {
    transform: translateX(-50%) translateY(0);
}

.wp-notification-popup .popup-icon-wrapper { flex-shrink: 0; }
.wp-notification-popup .popup-icon-wrapper svg { width: 1.5rem; height: 1.5rem; }
.wp-notification-popup .popup-content-wrapper { margin-left: 0.75rem; margin-right: 0.75rem; flex-grow: 1; width: 0; }
.wp-notification-popup .popup-title { font-size: 0.875rem; font-weight: 700; line-height: 1.25rem; margin: 0; padding: 0; }
.wp-notification-popup .popup-message { font-size: 0.875rem; margin: 0.25rem 0 0 0; padding: 0; line-height: 1.25rem; }
.wp-notification-popup .popup-action { margin-top: 0.75rem; }
.wp-notification-popup .popup-action-btn {
    display: inline-block;
    padding: 0.375rem 0.75rem; /* 6px 12px */
    font-size: 0.75rem; /* 12px */
    font-weight: 700;
    text-decoration: none;
    border-radius: 0.375rem; /* 6px */
    transition: opacity 0.2s;
}
.wp-notification-popup .popup-action-btn:hover {
    opacity: 0.9;
}

.wp-notification-popup .popup-close-btn { margin-left: auto; margin-right: -0.375rem; margin-top: -0.375rem; padding: 0.375rem; display: inline-flex; height: 2rem; width: 2rem; border-radius: 0.5rem; background-color: transparent; border: none; cursor: pointer; color: inherit; transition: background-color 0.2s; }
.wp-notification-popup .popup-close-btn:hover { background-color: rgba(255, 255, 255, 0.1); }
.wp-notification-popup .popup-close-btn:focus { outline: 2px solid; outline-offset: 2px; }
.wp-notification-popup .popup-close-btn .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.wp-notification-popup .popup-close-btn svg { width: 1.25rem; height: 1.25rem; }