/* ── Notices: a page notice between the cards, an inline one inside a card ───────────────────────── */
.rooster-admin-notice {
	@apply ra-notice;
}

.rooster-admin-notice.is-inline {
	@apply ra-notice-inline;
}

.rooster-admin-notice__icon {
	@apply mt-0.5 flex-none;
	color: var(--ra-tone);
}

.rooster-admin-notice__body {
	@apply min-w-0 flex-auto;
}

.rooster-admin-notice__title {
	@apply m-0 mb-0.5 font-semibold;
}

.rooster-admin-notice__text {
	@apply m-0;
}

/* The detail under the text (0.53.0): a sentence, the items an action touched or refused, a link to act on them. */
.rooster-admin-notice__detail {
	@apply mt-1.5 text-secondary-foreground;

	& p {
		@apply m-0 mt-1;
	}

	& ul {
		@apply m-0 mt-1 list-disc ps-5;
	}

	& li {
		@apply m-0;
	}
}

.rooster-admin-notice__actions {
	@apply mt-2 flex flex-wrap gap-2;
}

.rooster-admin-notice__x {
	@apply ra-notice-x -me-1 -mt-0.5;

	@variant hover {
		@apply bg-background text-foreground;
	}
}
