/**
 * Scoped styling for the embedded assessment/survey form. Loaded only on posts that actually
 * have a survey (see wp_feed_push_enqueue_survey_script()), so this can't affect any other post.
 * Colors mirror WP_FEED_PUSH_CONFIG::$EMAIL_COLORS in wp-feed-push.php -- keep the two in sync
 * by hand if the brand palette ever changes.
 */

.wp-feed-push-survey {
    max-width: 640px;
    margin: 32px auto;
    padding: 24px 28px;
    background: #fafbfc;
    border: 1px solid #e3e7e9;
    border-radius: 12px;
}

.wp-feed-push-survey-heading {
    margin: 0 0 16px;
    color: #246d73;
    font-size: 1.3em;
}

.wp-feed-push-survey-question {
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.wp-feed-push-survey-question legend {
    padding: 0 0 10px;
    font-weight: bold;
    color: #222;
}

.wp-feed-push-survey-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid #e3e7e9;
    border-radius: 8px;
    cursor: pointer;
}

.wp-feed-push-survey-option:hover {
    border-color: #246d73;
}

.wp-feed-push-survey-option input {
    flex-shrink: 0;
}

.wp-feed-push-survey-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.wp-feed-push-survey-contact label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #222;
}

.wp-feed-push-survey-contact input {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.wp-feed-push-survey-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.wp-feed-push-survey-checkbox input {
    margin-top: 2px;
}

.wp-feed-push-survey-submit {
    display: inline-block;
    padding: 12px 28px;
    background: #246d73;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.wp-feed-push-survey-submit:hover {
    background: #1b5459;
}

.wp-feed-push-survey-submit:disabled {
    background: #9db3b5;
    cursor: not-allowed;
}

.wp-feed-push-survey-result {
    padding: 20px 24px;
    background: #f0f8ff;
    border-radius: 12px;
}

.wp-feed-push-survey-result h3 {
    margin: 0 0 10px;
    color: #246d73;
}

.wp-feed-push-survey-result p {
    margin: 0;
    color: #222;
}
