/* assets/css/style.css */

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

.psn-popup-content {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* UPDATED: Styles for the close button as per your specification */
.psn-close {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s ease;
    /* box-shadow is removed as it's inside the container now */
}
.psn-close:hover {
    filter: brightness(90%);
}


/* --- Shared Form Styles (for Popup and Shortcode) --- */
.psn-subscribe-form {
    display: flex;
    flex-direction: column;
}

.psn-subscribe-form input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.psn-subscribe-form button {
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.psn-subscribe-form button:disabled {
    background: #999;
    cursor: not-allowed;
}

.psn-message {
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}

/* --- Shortcode Specific Styles --- */
.psn-shortcode-wrapper {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 500px;
}

.psn-shortcode-wrapper h3 {
    margin-top: 0;
    text-align: center;
}

/* --- Honeypot Field Style --- */
.psn-honeypot {
    opacity: 0;
    position: absolute;
    top: 0;
    left: -9999px;
    z-index: -1;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* --- Consent Checkbox Style --- */
.psn-consent {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}
.psn-consent label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.psn-consent input {
    margin: 0 8px 0 0;
}