/*
 * codegt/filament-feedback: own small stylesheet, so the views do not depend on the app's Tailwind build scanning
 * the package. Colors come from Filament's CSS variables (--gray-*, --primary-*, --danger-*).
 */
.ffb-form { display: flex; flex-direction: column; gap: 0.75rem; }
.ffb-textarea { display: block; width: 100%; min-height: 7.5rem; resize: vertical; }
.ffb-error { font-size: 0.875rem; line-height: 1.25rem; color: var(--danger-600); }
.dark .ffb-error { color: var(--danger-400); }
.ffb-hint { font-size: 0.75rem; line-height: 1rem; color: var(--gray-500); }
.dark .ffb-hint { color: var(--gray-400); }

.ffb-shot { display: flex; align-items: flex-start; gap: 0.75rem; }
.ffb-shot-preview { display: block; width: 10rem; flex-shrink: 0; overflow: hidden; border-radius: 0.25rem; border: 1px solid var(--gray-200); }
.dark .ffb-shot-preview { border-color: color-mix(in oklab, white 10%, transparent); }
.ffb-shot-preview img { display: block; width: 100%; height: 6rem; object-fit: cover; object-position: top; }
.ffb-shot-status { display: flex; min-width: 0; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--gray-600); }
.dark .ffb-shot-status { color: var(--gray-300); }
.ffb-inline { display: inline-flex; align-items: center; gap: 0.375rem; }
.ffb-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.ffb-muted { color: var(--gray-500); }
.dark .ffb-muted { color: var(--gray-400); }

.ffb-triage { display: grid; gap: 1rem; }
@media (min-width: 64rem) {
    .ffb-triage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ffb-triage-main { grid-column: span 2 / span 2; }
}
.ffb-triage-main, .ffb-triage-side { display: flex; min-width: 0; flex-direction: column; gap: 1rem; }
.ffb-message { white-space: pre-line; font-size: 0.875rem; line-height: 1.25rem; color: var(--gray-950); }
.dark .ffb-message { color: white; }
.ffb-screenshot { display: block; overflow: hidden; border-radius: 0.25rem; border: 1px solid var(--gray-200); }
.dark .ffb-screenshot { border-color: color-mix(in oklab, white 10%, transparent); }
.ffb-screenshot img { display: block; width: 100%; height: auto; }

.ffb-dl { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.375rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--gray-950); }
.dark .ffb-dl { color: white; }
.ffb-dl dt { font-size: 0.75rem; line-height: 1.25rem; color: var(--gray-500); }
.dark .ffb-dl dt { color: var(--gray-400); }
.ffb-dl dd { min-width: 0; }

.ffb-errors > li { display: flex; flex-direction: column; gap: 0.125rem; padding: 0.375rem 0; }
.ffb-errors > li + li { border-top: 1px solid var(--gray-200); }
.dark .ffb-errors > li + li { border-color: color-mix(in oklab, white 10%, transparent); }

.ffb-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.75rem; line-height: 1.25rem; }
.ffb-small { font-size: 0.75rem; line-height: 1rem; }
.ffb-block { display: block; }
.ffb-break { overflow-wrap: anywhere; }
.ffb-fit { width: fit-content; }
.ffb-link { color: var(--primary-600); }
.ffb-link:hover { text-decoration: underline; }
.dark .ffb-link { color: var(--primary-400); }
