/* PEM Art Wall — Global Frontend Styles
   Loads site-wide so form styles apply regardless of page layout */

/* ---------------------------------------------------------------
   Elementor Form Success Message — prominent display
--------------------------------------------------------------- */
.elementor-message.elementor-message-success {
    background: #ecfdf5 !important;
    border: 2px solid #34d399 !important;
    border-radius: 8px !important;
    color: #065f46 !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    padding: 24px 28px !important;
    margin-top: 24px !important;
    text-align: center !important;
    display: block !important;
    box-shadow: 0 2px 12px rgba(52, 211, 153, 0.2) !important;
}

/* ---------------------------------------------------------------
   Consent label injected by JS
--------------------------------------------------------------- */
#paw-consent-label {
    font-size: 0.875rem;
    line-height: 1.5;
    color: inherit;
    vertical-align: middle;
    margin-left: 6px;
    cursor: pointer;
}

/* ---------------------------------------------------------------
   Consent popup button
--------------------------------------------------------------- */
#paw-consent-popup-btn {
    display: inline;
    background: none;
    border: none;
    padding: 0 0 0 4px;
    color: #1a4a8a;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
    line-height: inherit;
}

#paw-consent-popup-btn:hover {
    color: #0d3060;
}

/* ---------------------------------------------------------------
   Consent popup modal
--------------------------------------------------------------- */
#paw-consent-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#paw-consent-modal.paw-modal-open {
    display: flex;
}

.paw-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.paw-modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 10px;
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 36px 32px 28px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.paw-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
}

.paw-modal-close:hover {
    color: #111;
}

.paw-modal-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

.paw-modal-content p { margin: 0 0 1em; }
.paw-modal-content p:last-child { margin-bottom: 0; }

@media (max-width: 480px) {
    .paw-modal-box {
        padding: 28px 18px 20px;
    }
}
