/*
 * "Was this page useful?" (resources/article-feedback/views/widget.blade.php).
 * A real stylesheet because Vue drops <style> inside #app. Logical properties
 * only, so the Arabic page mirrors without an RTL override.
 */
.hzaf {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-block: 28px 8px;
    padding: 14px 16px;
    border: 1px solid #e3e7ef;
    border-radius: 12px;
    background: #f8f9fc;
}

.hzaf__question {
    margin: 0;
    font-weight: 700;
    color: #1f2633;
}

.hzaf__buttons {
    display: flex;
    gap: 8px;
}

.hzaf__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-block-size: 40px;
    padding-inline: 14px;
    border: 1px solid #c9d0de;
    border-radius: 999px;
    background: #fff;
    color: #1f2633;
    font: inherit;
    cursor: pointer;
}

.hzaf__button:hover {
    border-color: var(--hagzi-primary, #0745D9);
}

.hzaf__button[aria-pressed="true"] {
    border-color: var(--hagzi-primary, #0745D9);
    background: #eaf0fd;
    color: var(--hagzi-primary, #0745D9);
    font-weight: 700;
}

.hzaf__button:focus-visible,
.hzaf__send:focus-visible,
.hzaf__textarea:focus-visible {
    outline: 3px solid var(--hagzi-focus, rgba(82, 50, 137, 0.28));
    outline-offset: 2px;
}

.hzaf__icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hzaf__status {
    flex-basis: 100%;
    margin: 0;
    color: #1d6b3a;
}

.hzaf__status:empty {
    display: none;
}

.hzaf__status.is-error {
    color: #b42318;
}

.hzaf__more {
    flex-basis: 100%;
}

.hzaf__form {
    display: grid;
    gap: 6px;
    max-inline-size: 560px;
}

.hzaf__label {
    font-weight: 600;
}

.hzaf__textarea {
    inline-size: 100%;
    padding: 8px 10px;
    border: 1px solid #c9d0de;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    resize: vertical;
}

.hzaf__hint {
    margin: 0;
    font-size: 0.875rem;
    color: #5b6475;
}

.hzaf__trap {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.hzaf__send {
    justify-self: start;
    min-block-size: 40px;
    padding-inline: 18px;
    border: 0;
    border-radius: 8px;
    background: var(--hagzi-primary, #0745D9);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hzaf__send[disabled] {
    opacity: 0.6;
    cursor: wait;
}
