/* Contact Form */

.ppm-contact-form-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.ppm-contact-heading {
    margin: 0 0 16px;
    font-size: 1.3em;
}

/* Honeypot fields — hidden from users, still submitted by naive bots.
   Positioned off-canvas rather than display:none, which some bots skip. */
.ppm-contact-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ppm-contact-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.ppm-contact-field {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ppm-contact-field label {
    font-size: 14px;
    font-weight: 500;
}

.ppm-contact-required {
    color: #c0392b;
}

.ppm-contact-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
}

.ppm-contact-input:focus {
    border-color: #1e3a5f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.15);
}

textarea.ppm-contact-input {
    resize: vertical;
    min-height: 120px;
}

.ppm-contact-button {
    display: inline-block;
    padding: 12px 32px;
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.ppm-contact-button:hover {
    background: #2c5282;
}

.ppm-contact-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ppm-contact-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
}

.ppm-contact-message--success {
    background: #edfaef;
    color: #00662a;
    border: 1px solid #b7e4c7;
}

.ppm-contact-message--error {
    background: #fce4e4;
    color: #a00;
    border: 1px solid #f5c6cb;
}

.ppm-contact-privacy {
    margin-top: 16px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* Two columns for the short fields once there's room. */
@media (min-width: 600px) {
    .ppm-contact-field--half {
        flex: 1 1 calc(50% - 8px);
        min-width: 200px;
    }
}
