.maca-hold-admin .nav-tab-wrapper {
	margin-bottom: 1.25rem;
}

.maca-hold-settings-tab {
	margin-top: 0.5rem;
}

.maca-hold-advanced-tab .maca-hold-page-list {
	display: grid;
	gap: 0.35rem;
	max-width: 32rem;
	max-height: 14rem;
	overflow: auto;
	margin-top: 0.75rem;
	padding: 0.75rem;
	border: 1px solid #c3c4c7;
	background: #fff;
}

.maca-hold-advanced-tab .maca-hold-page-option {
	display: block;
}

.maca-hold-advanced-tab .maca-hold-page-exceptions label {
	margin-bottom: 0.35rem;
}

.maca-hold-advanced-tab .maca-hold-social-display {
	margin: 0 0 0.75rem;
}

.maca-hold-advanced-tab .maca-hold-social-table {
	max-width: 64rem;
}

.maca-hold-advanced-tab .maca-hold-social-table td {
	vertical-align: middle;
}

.maca-hold-admin .maca-hold-status-card {
	margin: 1rem 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid #72aee6;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.maca-hold-maintenance-toggle-row {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.maca-hold-maintenance-toggle-copy {
	flex: 1;
	min-width: 0;
}

.maca-hold-maintenance-toggle-title {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 14px;
}

.maca-hold-maintenance-toggle-status {
	margin: 0;
}

.maca-hold-maintenance-toggle-schedule-note,
.maca-hold-maintenance-toggle-feedback {
	margin: 0.5rem 0 0;
}

.maca-hold-maintenance-toggle-feedback.is-success {
	color: #007017;
}

.maca-hold-maintenance-toggle-feedback.is-error {
	color: #b32d2e;
}

.maca-hold-switch {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 44px;
	height: 24px;
	margin-top: 0.15rem;
}

.maca-hold-switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.maca-hold-switch-slider {
	position: absolute;
	inset: 0;
	cursor: pointer;
	border-radius: 24px;
	background: #c3c4c7;
	transition: background-color 0.2s ease;
}

.maca-hold-switch-slider::before {
	content: "";
	position: absolute;
	left: 3px;
	bottom: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s ease;
}

.maca-hold-switch input:checked + .maca-hold-switch-slider {
	background: #d63638;
}

.maca-hold-switch input:checked + .maca-hold-switch-slider::before {
	transform: translateX(20px);
}

.maca-hold-switch input:disabled + .maca-hold-switch-slider {
	opacity: 0.55;
	cursor: not-allowed;
}

.maca-hold-switch input:focus-visible + .maca-hold-switch-slider {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.maca-hold-setting-switch-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.maca-hold-setting-switch-copy {
	flex: 1;
	min-width: 0;
}

.maca-hold-setting-switch-copy .description {
	margin: 0.35rem 0 0;
}

.maca-hold-setting-switch-label {
	display: block;
	font-weight: 600;
	line-height: 1.4;
}

.maca-hold-switch--setting {
	margin-top: 0.1rem;
}

.maca-hold-switch--setting input:checked + .maca-hold-switch-slider {
	background: #2271b1;
}

.maca-hold-admin .maca-hold-status-card.is-active {
	border-left-color: #d63638;
	background: #fcf0f1;
}

.maca-hold-admin .maca-hold-colors label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-right: 1rem;
	margin-bottom: 0.5rem;
}

.maca-hold-background-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	border: 0;
}

.maca-hold-background-option {
	display: block;
	cursor: pointer;
}

.maca-hold-background-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.maca-hold-background-preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	width: 7.5rem;
	padding: 0.35rem;
	border: 2px solid #c3c4c7;
	border-radius: 0.5rem;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.maca-hold-background-preview img {
	display: block;
	width: 100%;
	height: 4.5rem;
	object-fit: cover;
	border-radius: 0.35rem;
}

.maca-hold-background-preview span {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.maca-hold-background-preview--none {
	justify-content: center;
	height: 6.35rem;
	background: linear-gradient(135deg, #1e1e2e, #7c9cbf);
	color: #fff;
}

.maca-hold-background-option input:checked + .maca-hold-background-preview {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.maca-hold-background-option input:focus-visible + .maca-hold-background-preview {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.maca-hold-background-status {
	min-height: 1.25rem;
	margin: 0.5rem 0 0;
	font-size: 12px;
}

.maca-hold-background-status.is-success {
	color: #008a20;
}

.maca-hold-background-status.is-error {
	color: #d63638;
}

.maca-hold-background-status.is-pending {
	color: #646970;
}

.maca-hold-admin .maca-hold-import-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 1rem;
}

.maca-hold-link-table {
	max-width: 42rem;
	margin-top: 0.5rem;
}

.maca-hold-link-table th,
.maca-hold-link-table td {
	vertical-align: middle;
}

.maca-hold-link-table .regular-text {
	width: 100%;
}

.maca-hold-link-row-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

.maca-hold-remove-link {
	color: #b32d2e;
	font-size: 1.4rem;
	line-height: 1;
	text-decoration: none;
}

.maca-hold-remove-link:hover,
.maca-hold-remove-link:focus-visible {
	color: #8a2424;
}

.maca-hold-link-toolbar {
	margin: 0.75rem 0 0;
}

.maca-hold-add-link span[aria-hidden="true"] {
	display: inline-block;
	margin-right: 0.15rem;
	font-size: 1.1rem;
	line-height: 1;
	font-weight: 700;
}
