/* PPME Newsletter Email Collector - Form Styles */

.ppme-nl-wrap {
    width: 100%;
    box-sizing: border-box;
}

.ppme-nl-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Input + Button row */
.ppme-nl-row {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.ppme-nl-field {
    flex: 1 1 50%;
    display: flex;
}

.ppme-nl-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    height: 100%;
}

.ppme-nl-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* Honeypot - completely hidden */
.ppme-nl-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.ppme-nl-consent {
    font-size: 0.9rem;
    line-height: 1.5;
}

.ppme-nl-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.ppme-nl-consent-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.ppme-nl-consent-label a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.ppme-nl-submit {
    flex: 1 1 50%;
    display: flex;
}

.ppme-nl-btn {
    width: 100%;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #f97932;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-sizing: border-box;
    white-space: nowrap;
}

.ppme-nl-btn:hover {
    background-color: #e06820;
}

.ppme-nl-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.ppme-nl-message {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
}

.ppme-nl-message.is-success {
    background-color: #eaf7ea;
    border: 1px solid #4caf50;
    color: #2e7d32;
    display: block;
}

.ppme-nl-message.is-error {
    background-color: #fdecea;
    border: 1px solid #f44336;
    color: #c62828;
    display: block;
}

.ppme-nl-note {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
    margin: 0;
}

/* Mobile */
@media (max-width: 480px) {
    .ppme-nl-row {
        flex-direction: column;
        gap: 8px;
    }

    .ppme-nl-input {
        border-right: 1px solid #ccc;
        border-radius: 4px;
    }

    .ppme-nl-btn {
        border-radius: 4px;
    }
}
