/**
 * WEPRO Accessibility — Statement Shortcode Styles
 *
 * @package Wepro\Accessibility
 * @since   2.0.1
 */

.wepro-acc-statement {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
    line-height: 1.7;
    color: inherit;
}

.wepro-acc-statement h2 {
    font-size: 1.3em;
    margin: 2em 0 0.75em;
    padding-bottom: 0.4em;
    border-bottom: 2px solid var(--wepro-acc-primary, #0056b3);
}

.wepro-acc-statement h2:first-of-type {
    margin-top: 0;
}

.wepro-acc-statement .wepro-acc-compliance-badge {
    display: inline-block;
    padding: 0.35em 0.85em;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95em;
}

.wepro-acc-statement .wepro-acc-compliance-badge--full {
    background: #d4edda;
    color: #155724;
}

.wepro-acc-statement .wepro-acc-compliance-badge--partial {
    background: #fff3cd;
    color: #856404;
}

.wepro-acc-statement .wepro-acc-compliance-badge--non_compliant {
    background: #f8d7da;
    color: #721c24;
}

.wepro-acc-statement ul {
    padding-left: 1.5em;
}

.wepro-acc-statement li {
    margin-bottom: 0.4em;
}

.wepro-acc-statement .wepro-acc-feedback-form {
    max-width: 600px;
    margin-top: 1.5em;
}

.wepro-acc-statement .wepro-acc-feedback-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3em;
    font-size: 0.95em;
}

.wepro-acc-statement .wepro-acc-feedback-form input[type="text"],
.wepro-acc-statement .wepro-acc-feedback-form input[type="email"],
.wepro-acc-statement .wepro-acc-feedback-form input[type="url"],
.wepro-acc-statement .wepro-acc-feedback-form textarea {
    width: 100%;
    padding: 0.6em 0.8em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
    margin-bottom: 1em;
    box-sizing: border-box;
}

.wepro-acc-statement .wepro-acc-feedback-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wepro-acc-statement .wepro-acc-feedback-form button[type="submit"] {
    background: var(--wepro-acc-primary, #0056b3);
    color: #fff;
    border: none;
    padding: 0.7em 1.5em;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    transition: background 0.2s;
}

.wepro-acc-statement .wepro-acc-feedback-form button[type="submit"]:hover {
    background: var(--wepro-acc-primary-dark, #004494);
}

.wepro-acc-statement .wepro-acc-feedback-form button[type="submit"]:focus-visible {
    outline: 3px solid var(--wepro-acc-focus, #ffbf47);
    outline-offset: 2px;
}

.wepro-acc-statement .wepro-acc-feedback-msg {
    padding: 0.8em 1em;
    border-radius: 4px;
    margin-top: 1em;
    font-weight: 500;
}

.wepro-acc-statement .wepro-acc-feedback-msg--success {
    background: #d4edda;
    color: #155724;
}

.wepro-acc-statement .wepro-acc-feedback-msg--error {
    background: #f8d7da;
    color: #721c24;
}

.wepro-acc-statement .wepro-acc-field-required {
    color: #c00;
}

@media (max-width: 600px) {
    .wepro-acc-statement {
        padding: 0 1em;
    }
}
