/**
 * Hand-written styles for the package's widgets, registered via FilamentAsset.
 *
 * These are deliberately plain CSS with theme-agnostic values (opacity for muted
 * text, rgba grays for hairlines) so the widgets render correctly in any panel,
 * light or dark, without requiring the consuming app to compile Tailwind
 * against this package's views.
 */

.fsv-list {
    display: flex;
    flex-direction: column;
}

.fsv-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.625rem;
}

.fsv-row:first-child {
    padding-top: 0;
}

.fsv-row:last-child {
    padding-bottom: 0;
}

.fsv-row + .fsv-row {
    border-top: 1px solid rgba(128, 128, 128, 0.15);
}

.fsv-label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    opacity: 0.65;
}

.fsv-value {
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    text-align: end;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.fsv-col-label {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
}

.fsv-link {
    text-decoration: none;
}

.fsv-link:hover {
    text-decoration: underline;
}

.fsv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-block: 0.5rem;
    text-align: center;
}

.fsv-empty-icon {
    display: flex;
    padding: 0.75rem;
    border-radius: 9999px;
    background: rgba(128, 128, 128, 0.1);
}

.fsv-empty-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.fsv-empty-text {
    max-width: 32rem;
    font-size: 0.875rem;
    opacity: 0.65;
}

.fsv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
    gap: 1rem;
    align-items: start;
}
