/**
 * Topping Sets Admin CSS
 *
 * @package Foodord
 */

/* Layout wrapper */
:root {
    --background-color: #f7f7f7;
    --primary-color: #ea004b;
    --primary-hover: #c70040;
    --text-color: #323232;
    --text-hover: #313131;
    --secondary-text: #6b6b6b;
    --button-bg: #ea004b;
    --button-text-color: #ffffff;
    --button-on-hover: #c70040;
    --header-bg: #ffffff;
    --footer-bg: #ffffff;
    --footer-bottom-bg: #ffffff;
    --border-color: #f4f4f4;
}
.foodord-topping-sets-admin {
	padding-bottom: 1rem;
}

.foodord-topping-sets-admin__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 28px;
}

.foodord-topping-sets-admin__title {
	margin: 0;
}

.foodord-topping-sets-admin__subtitle {
	margin: 0;
	max-width: 720px;
}

/* Empty state */
.foodord-topping-sets-empty {
	padding: 40px 24px;
	text-align: center;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fafafa;
	margin: 0 auto;
}

.foodord-topping-sets-empty__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	background: #2271b1;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.foodord-topping-sets-empty__icon .dashicons {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	line-height: 1;
}

.foodord-topping-sets-empty__title {
	margin: 0 0 12px;
}

.foodord-topping-sets-empty__description {
	margin: 0 0 24px;
}

.foodord-topping-sets-empty__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.foodord-topping-sets-empty__cta {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: #2271b1;
	border: 1px solid #2271b1;
	border-radius: 4px;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease;
	vertical-align: top;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.foodord-topping-sets-empty__cta:hover {
	background: #135e96;
	border-color: #135e96;
}

.foodord-topping-sets-empty__cta .dashicons {
	width: 16px;
	height: 16px;
	margin-right: 6px;
	margin-bottom: 4px;
	flex-shrink: 0;
	vertical-align: middle;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.foodord-topping-sets-empty__help {
	margin: 0;
}

@media screen and (max-width: 768px) {
	.foodord-topping-sets-empty {
		padding: 32px 20px;
	}

	.foodord-topping-sets-empty__icon {
		width: 56px;
		height: 56px;
	}

	.foodord-topping-sets-empty__icon .dashicons {
		width: 26px;
		height: 26px;
		font-size: 24px;
	}
}

@media screen and (max-width: 480px) {
	.foodord-topping-sets-empty {
		padding: 24px 16px;
	}}

/* List shell */
.foodord-topping-sets-list {
	border: 1px solid #d9dee6;
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
}

.foodord-topping-sets-list__head,
.foodord-topping-set-row {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	column-gap: 24px;
	align-items: center;
	padding: 16px 24px;
}

.foodord-topping-sets-list__head {
	background: #f4f6f9;
	border-bottom: 1px solid #d9dee6;
}

.foodord-topping-sets-list__heading {
	margin: 0;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	justify-self: center;
}

.foodord-topping-sets-list__heading--info {
	justify-self: center;
}

.foodord-topping-sets-list__heading--label {
	justify-self: center;
}

/* Rows */
.foodord-topping-set-row {
	position: relative;
	border-bottom: 1px solid #edf0f4;
}

.foodord-topping-set-row:last-child {
	border-bottom: 0;
}

.foodord-topping-set-row:hover {
	background: #f7f9fc;
}

.foodord-topping-set-row__cell {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}


.foodord-topping-set-row__cell--info {
	align-items: center;
}

	/* Center aligned cells */
.foodord-topping-set-row__cell--label,
.foodord-topping-set-row__cell--type,
.foodord-topping-set-row__cell--items,
.foodord-topping-set-row__cell--categories {
	align-items: center;
}

.foodord-topping-set-row__cell--label {
	justify-content: center;
}

.foodord-topping-set-row__cell--actions {
	align-items: center;
}

/* Info cell */
.foodord-topping-set-row__title {
    margin: 0;
    word-break: break-word;
}

.foodord-topping-set-row__label-text {
	word-break: break-word;
}

.foodord-topping-set-row__label-text.is-muted {
	font-style: italic;
}

/* Group type */
.foodord-topping-set-row__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #f3f4f6;
}

/* Items */
.foodord-topping-set-row__count-label {
	letter-spacing: 0.04em;
}/* Categories */
.foodord-topping-set-row__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.foodord-topping-set-row__chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #f8fafc;
}

.foodord-topping-set-row__chip.is-hidden {
	display: none;
}

.foodord-topping-set-row__chips.is-expanded .foodord-topping-set-row__chip.is-hidden {
	display: inline-flex;
}

.foodord-topping-set-row__chip.is-muted {
	border-color: #e5e7eb;
	background: #f4f6f9;
}

.foodord-topping-set-row__more {
	display: inline-flex;
	align-items: center;
	padding: 3px 12px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #ffffff;
	cursor: pointer;
}.foodord-topping-set-row__more:hover,
.foodord-topping-set-row__more:focus {
	background: #f3f4f6;
	outline: none;
}

/* Actions */
.foodord-topping-set-row__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.foodord-topping-set-row__remove-form {
	margin: 0;
}

.foodord-topping-set-row__actions .button {
	border-radius: 5px;
	border: none;
	padding: 2px 14px;
}

.foodord-topping-set-row__actions .button[disabled] {
	opacity: 0.45;
	cursor: default;
}


