/**
 * WOA Reviews — Frontend form styles
 *
 * All colours use `inherit` so the form automatically adapts to whichever
 * woa-schema-* colour scheme the containing block uses.
 */

/* ── Layout: fill the full panel width ── */
.woa-review-form-wrap,
.woa-review-form {
    width: 100%;
}

.woa-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* ── Label: use schema text token; falls back to inherit ── */
.woa-field label {
    color: var(--woa-s-text, inherit);
    font-weight: 600;
}

/* ── Textarea: full width, matching theme tokens ── */
.woa-field textarea {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    border: 1px solid currentColor;
    border-radius: 0;
    padding: 12px 16px;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    resize: vertical;
}

.woa-field textarea:focus {
    outline: 2px solid var(--wp--preset--color--accent);
    outline-offset: 2px;
    border-color: var(--wp--preset--color--accent);
}

/* ── Hint: use schema text token; overrides global <small> colour ── */
.woa-field-hint {
    color: var(--woa-s-text, inherit) !important;
    opacity: 0.8;
    font-size: var(--wp--preset--font-size--small);
}

/* ── Footer / submit button row ── */
.woa-form-footer {
    margin-top: var(--wp--preset--spacing--30);
}

/* ── Notice banners ── */
.woa-review-notice {
    padding: 12px 16px;
    margin-bottom: var(--wp--preset--spacing--30);
    border-left: 4px solid currentColor;
}

.woa-review-notice p {
    margin: 0;
    color: inherit;
}

/* ── Auth prompt (logged-out state) ── */
.woa-review-auth p {
    color: var(--woa-s-text, inherit);
}
