/* NHW Project Suggestions - Frontend Styles */

/* Suggest button on single project */
.nhw-ps-suggest-wrap {
    margin: 2em 0;
    text-align: center;
}

.nhw-ps-suggest-button {
    display: inline-block;
    padding: 0.6em 1.5em;
    background: #2c6e49;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95em;
    transition: background 0.2s;
}

.nhw-ps-suggest-button:hover,
.nhw-ps-suggest-button:focus {
    background: #1e4d34;
    color: #fff;
}

/* Success message */
.nhw-ps-success {
    padding: 1.5em;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
    font-size: 1.05em;
    text-align: center;
}

/* Error messages */
.nhw-ps-error {
    padding: 1em;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

.nhw-ps-error-list {
    padding: 1em 1em 1em 2em;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    margin-bottom: 1.5em;
}

.nhw-ps-error-list ul {
    margin: 0;
    padding: 0 0 0 1em;
}

/* Intro text */
.nhw-ps-intro {
    margin-bottom: 1.5em;
    color: #555;
}

/* Form styles */
.nhw-ps-form {
    max-width: 700px;
}

.nhw-ps-fieldset {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.5em;
    margin-bottom: 1.5em;
}

.nhw-ps-fieldset legend {
    font-weight: 600;
    font-size: 1.1em;
    padding: 0 0.5em;
}

.nhw-ps-field {
    margin-bottom: 1.2em;
}

.nhw-ps-field label {
    display: block;
    margin-bottom: 0.3em;
    font-weight: 600;
    font-size: 0.95em;
}

.nhw-ps-field input[type="text"],
.nhw-ps-field input[type="email"],
.nhw-ps-field input[type="url"],
.nhw-ps-field input[type="tel"],
.nhw-ps-field textarea {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.95em;
}

.nhw-ps-field textarea {
    resize: vertical;
}

.nhw-ps-field-desc {
    margin: 0 0 0.5em;
    font-size: 0.85em;
    color: #777;
}

.nhw-ps-language-input {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 0.4em;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 0.4em;
    font-size: 0.95em;
}

.nhw-ps-required {
    color: #c00;
}

/* Checkbox group */
.nhw-ps-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em 1.5em;
}

.nhw-ps-checkbox {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.3em;
}

.nhw-ps-checkbox input[type="checkbox"] {
    margin: 0;
}

/* Submit button */
.nhw-ps-submit {
    margin-top: 1.5em;
}

.nhw-ps-submit-button {
    display: inline-block;
    padding: 0.7em 2em;
    background: #2c6e49;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}

.nhw-ps-submit-button:hover {
    background: #1e4d34;
}

/* Criteria box */
.nhw-ps-criteria {
    background: #f0f7ff;
    border: 1px solid #c5ddf5;
    border-radius: 4px;
    padding: 1em 1.2em;
    margin-bottom: 1.5em;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Footer / process text */
.nhw-ps-footer-text {
    background: #f6f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1em 1.2em;
    margin-top: 1.5em;
    margin-bottom: 1em;
    font-size: 0.9em;
    line-height: 1.6;
    color: #555;
}

/* Terms checkbox */
.nhw-ps-terms {
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.nhw-ps-terms .nhw-ps-checkbox {
    align-items: flex-start;
}

.nhw-ps-terms a {
    text-decoration: underline;
}

/* Honeypot - visually hidden */
.nhw-ps-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
