#mintall-keep-admin {
	max-width: 960px;
	margin: 20px auto;
}

.mintall-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 16px;
}

/* Full-width app-level banner; mirrors the wp-admin notice look. Used for the
 * reauth reminder and the edition-mismatch warning. */
.mintall-top-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 1px 8px 1px 12px;
	margin: 0 0 16px;
}

.mintall-top-banner--warning {
	background: #fcf9e8;
	border-left: 4px solid #dba617;
}

.mintall-top-banner--error {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
}

.mintall-top-banner__text {
	margin: 8px 0;
	color: #1e1e1e;
}

.mintall-top-banner .components-button.is-link {
	text-decoration: underline;
}

.mintall-card h2 {
	margin-top: 0;
	margin-bottom: 8px;
}

.mintall-plans-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.mintall-plan-card {
	border: 2px solid #ddd;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
}

.mintall-plan-card.selected {
	border-color: #2271b1;
	background: #f0f6fc;
}

.mintall-feature-list {
	list-style: none;
	padding: 0;
	margin: 16px 0;
	flex-grow: 1;
}

.mintall-feature-list li {
	padding: 4px 0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.mintall-feature-list li::before {
	content: "✓";
	color: #00a32a;
	font-weight: bold;
}

.mintall-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
}

.mintall-table th,
.mintall-table td {
	text-align: left;
	padding: 8px 12px;
	border-bottom: 1px solid #eee;
	font-size: 13px;
}

.mintall-table th {
	font-weight: 600;
	background: #f9f9f9;
}

.mintall-product-image {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 4px;
}

.mintall-nav {
	display: flex;
	gap: 0;
	border-bottom: 1px solid #ddd;
	margin-bottom: 24px;
}

.mintall-nav a {
	padding: 12px 20px;
	text-decoration: none;
	color: #50575e;
	border-bottom: 2px solid transparent;
	font-weight: 500;
}

.mintall-nav a.active {
	color: #2271b1;
	border-bottom-color: #2271b1;
}

.mintall-tabs {
	display: flex;
	gap: 0;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 16px;
	width: fit-content;
}

.mintall-tabs button {
	padding: 8px 20px;
	border: none;
	background: #f9f9f9;
	cursor: pointer;
	font-weight: 500;
}

.mintall-tabs button.active {
	background: #2271b1;
	color: #fff;
}

.mintall-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	padding: 16px;
}

/* Setup Checklist */

.mintall-setup-checklist {
	border-color: #2271b1;
	border-width: 2px;
}

.mintall-setup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mintall-setup-header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mintall-setup-header-right {
	display: flex;
	align-items: center;
}

.mintall-setup-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}

.mintall-setup-badge--info {
	background: #f0f6fc;
	color: #2271b1;
}

.mintall-setup-badge--success {
	background: #edfaef;
	color: #00a32a;
}

.mintall-setup-badge--warning {
	background: #fef8ee;
	color: #9c6f19;
}

.mintall-setup-badge--error {
	background: #fcf0f1;
	color: #d63638;
}

/* Products page: table runs edge-to-edge, so the card itself carries no
   padding — each section (filters, table, pagination) pads itself instead. */
.mintall-products-card {
	padding: 0;
}

/* Products filter bar */

.mintall-filters-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 16px 0;
}

.mintall-filter-select {
	margin: 0;
	width: auto;
}

.mintall-filter-select .components-select-control__input {
	width: auto;
	min-width: 90px;
	height: 32px;
	min-height: 32px;
	padding: 0 28px 0 12px;
	border-radius: 999px;
	border-color: #c9cccf;
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	color: #303030;
}

.mintall-filter-select-wrapper .mintall-filter-select .components-select-control__input {
	padding-right: 28px;
}

.mintall-filter-select-wrapper .mintall-filter-select.has-value .components-select-control__input {
	padding-right: 46px;
}

.mintall-filter-select-wrapper {
	position: relative;
}

.mintall-filter-clear {
	position: absolute;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #757575;
	cursor: pointer;
}

.mintall-filter-clear:hover {
	background: #ededed;
	color: #303030;
}

.mintall-filters-spacer {
	flex: 1;
}

.mintall-filters-bar .components-dropdown .components-button {
	height: 32px;
	min-height: 32px;
	width: 32px;
	padding: 0;
	border-radius: 8px;
	border: 1px solid #c9cccf;
}

.mintall-sort-popover {
	padding: 16px;
	min-width: 220px;
}

.mintall-sort-title {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: #303030;
}

.mintall-sort-popover .components-radio-control__option {
	color: #303030;
}

.mintall-sort-popover input[type='radio'] {
	accent-color: #2c6ecb;
}

.mintall-sort-popover .mintall-sort-direction {
	display: flex;
	margin-top: 12px;
	width: 100%;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0;
	border: 1px solid #2c6ecb;
	border-radius: 8px;
	overflow: hidden;
}

.mintall-sort-popover .mintall-sort-direction .components-button {
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
	justify-content: center;
	gap: 0;
	padding: 6px 8px;
	height: auto;
	min-height: 0;
	border: none;
	border-radius: 0;
	font-size: 12px;
	font-weight: 600;
	color: #2c6ecb;
	background: transparent;
	box-shadow: none;
}

.mintall-sort-popover .mintall-sort-direction .components-button svg {
	width: 16px;
	height: 16px;
	margin-left: -2px;
}

.mintall-sort-popover .mintall-sort-direction .components-button.is-primary {
	background: #2c6ecb;
	color: #fff;
}

/* Bulk protect */

.mintall-bulk-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 8px;
	padding: 10px 16px;
	margin: 16px 16px 0;
}

.mintall-bulk-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mintall-bulk-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
}

.mintall-bulk-panel-summary {
	display: flex;
	gap: 8px;
	margin: 16px 0;
}

.mintall-bulk-panel-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 320px;
	overflow-y: auto;
}

.mintall-bulk-panel-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 4px;
	border-bottom: 1px solid #f0f0f0;
}

.mintall-bulk-panel-row:last-child {
	border-bottom: none;
}

.mintall-bulk-panel-row-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mintall-setup-steps {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mintall-setup-step {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.mintall-setup-step-icon {
	flex-shrink: 0;
	padding-top: 1px;
}

.mintall-setup-step-content {
	flex: 1;
	min-width: 0;
}

.mintall-setup-step-header {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mintall-setup-step-header h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

.mintall-setup-step-description {
	color: #757575;
	font-size: 13px;
	margin: 4px 0 0;
	line-height: 1.5;
}

.mintall-setup-step-actions {
	margin-top: 10px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
