body.toplevel_page_hz-za-redirects {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap button,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap input,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap select,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap textarea {
	font-family: "Montserrat", "Noto Kufi Arabic", sans-serif;
}

body.toplevel_page_hz-za-redirects #wpcontent {
	padding-left: 0;
}

body.toplevel_page_hz-za-redirects #wpbody-content {
	padding-bottom: 0;
}

body.toplevel_page_hz-za-redirects #wpbody-content>.wrap.za-panel-admin-wrap {
	margin: 0;
	padding: 0;
}

body.toplevel_page_hz-za-redirects #wpfooter {
	display: none;
}

body.toplevel_page_hz-za-redirects .notice,
body.toplevel_page_hz-za-redirects .update-nag,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap>h1,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap>.notice,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap>.error,
body.toplevel_page_hz-za-redirects .wrap.za-panel-admin-wrap>.updated {
	display: none;
}

body.toplevel_page_hz-za-redirects select {
	max-width: none;
}

body.toplevel_page_hz-za-redirects .za-hidden {
	display: none !important;
}

/* ---------- Toast notifications ---------- */
.za-toast-root {
	position: fixed;
	bottom: 32px;
	inset-inline-end: 24px;
	z-index: 100000;
	display: flex;
	flex-direction: column-reverse;
	gap: 12px;
	max-width: min(92vw, 380px);
	pointer-events: none;
}

.za-toast {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.25), 0 6px 14px -6px rgba(15, 23, 42, 0.12);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-inline-start-width: 4px;
	font-size: 14px;
	line-height: 1.45;
	color: #0f172a;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 220ms ease-out, transform 220ms ease-out;
	pointer-events: auto;
	will-change: transform, opacity;
}

.za-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.za-toast.is-leaving {
	opacity: 0;
	transform: translateY(16px);
}

.za-toast__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
}

.za-toast__body {
	flex: 1 1 auto;
	min-width: 0;
}

.za-toast__title {
	font-weight: 600;
	margin: 0 0 2px;
	color: #0f172a;
	font-size: 13px;
	letter-spacing: 0.01em;
}

.za-toast__message {
	margin: 0;
	color: #334155;
	word-break: break-word;
}

.za-toast__close {
	flex: 0 0 auto;
	appearance: none;
	border: 0;
	background: transparent;
	color: #94a3b8;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 4px;
	border-radius: 6px;
	transition: color 150ms ease, background 150ms ease;
}

.za-toast__close:hover,
.za-toast__close:focus-visible {
	color: #0f172a;
	background: rgba(15, 23, 42, 0.06);
	outline: none;
}

/* Type: success */
.za-toast--success {
	border-inline-start-color: #10b981;
}

.za-toast--success .za-toast__icon {
	background: #10b981;
}

.za-toast--success .za-toast__title {
	color: #047857;
}

/* Type: error */
.za-toast--error {
	border-inline-start-color: #ef4444;
}

.za-toast--error .za-toast__icon {
	background: #ef4444;
}

.za-toast--error .za-toast__title {
	color: #b91c1c;
}

/* Type: warning */
.za-toast--warning {
	border-inline-start-color: #f59e0b;
}

.za-toast--warning .za-toast__icon {
	background: #f59e0b;
}

.za-toast--warning .za-toast__title {
	color: #b45309;
}

/* Type: info (default) */
.za-toast--info {
	border-inline-start-color: #3b82f6;
}

.za-toast--info .za-toast__icon {
	background: #3b82f6;
}

.za-toast--info .za-toast__title {
	color: #1d4ed8;
}

@media (max-width: 600px) {
	.za-toast-root {
		bottom: 16px;
		inset-inline-end: 12px;
		inset-inline-start: 12px;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.za-toast {
		transition: opacity 120ms linear;
		transform: none;
	}

	.za-toast.is-leaving {
		transform: none;
	}
}

/* ---------- Confirm modal ---------- */
.za-modal-root {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	pointer-events: none;
}

.za-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 180ms ease-out;
	pointer-events: auto;
}

.za-modal-root.is-visible .za-modal-overlay {
	opacity: 1;
}

.za-modal {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.35), 0 10px 24px -10px rgba(15, 23, 42, 0.18);
	border: 1px solid rgba(15, 23, 42, 0.06);
	padding: 24px;
	opacity: 0;
	transform: translateY(12px) scale(0.98);
	transition: opacity 200ms ease-out, transform 200ms ease-out;
	pointer-events: auto;
	will-change: transform, opacity;
}

.za-modal-root.is-visible .za-modal {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.za-modal-root.is-leaving .za-modal-overlay,
.za-modal-root.is-leaving .za-modal {
	opacity: 0;
}

.za-modal-root.is-leaving .za-modal {
	transform: translateY(8px) scale(0.98);
}

.za-modal__header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
}

.za-modal__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.za-modal--danger .za-modal__icon {
	background: rgba(239, 68, 68, 0.12);
	color: #dc2626;
}

.za-modal--warning .za-modal__icon {
	background: rgba(245, 158, 11, 0.14);
	color: #b45309;
}

.za-modal--info .za-modal__icon {
	background: rgba(59, 130, 246, 0.12);
	color: #1d4ed8;
}

.za-modal__title {
	flex: 1 1 auto;
	margin: 6px 0 0;
	font-family: 'Montserrat', Noto Kufi Arabic !important;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
}

.za-modal__body {
	font-family: 'Montserrat', Noto Kufi Arabic;
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
}

.za-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}

.za-modal__btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
	font-family: 'Montserrat', Noto Kufi Arabic;
}

.za-modal__btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.za-modal__btn--cancel {
	background: #fff;
	border-color: #dde6ef;
	color: #334155;
}

.za-modal__btn--cancel:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.za-modal__btn--confirm {
	background: #2f79f4;
	border-color: #2f79f4;
	color: #fff;
}

.za-modal__btn--confirm:hover {
	background: #1d5fd0;
	border-color: #1d5fd0;
	transform: translateY(-1px);
}

.za-modal--danger .za-modal__btn--confirm {
	background: #ef4444;
	border-color: #ef4444;
}

.za-modal--danger .za-modal__btn--confirm:hover {
	background: #dc2626;
	border-color: #dc2626;
}

.za-modal--warning .za-modal__btn--confirm {
	background: #f59e0b;
	border-color: #f59e0b;
}

.za-modal--warning .za-modal__btn--confirm:hover {
	background: #d97706;
	border-color: #d97706;
}

body.za-modal-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.za-modal {
		padding: 20px;
		border-radius: 16px;
	}

	.za-modal__actions {
		flex-direction: column-reverse;
	}

	.za-modal__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {

	.za-modal-overlay,
	.za-modal {
		transition: opacity 120ms linear;
	}

	.za-modal {
		transform: none !important;
	}
}