body,
body.rtl,
body #wpadminbar,
body #adminmenu,
body #wpcontent,
body #wpfooter,
body input,
body button,
body select,
body textarea,
body .dialog-widget,
body #elementor-editor-wrapper,
body .elementor-panel,
body .MuiTypography-root {
	font-family: var(--yekan-ekhtesasi) !important;
}

/* Never replace WordPress, Elementor or Material icon fonts. */
.dashicons,
.dashicons::before,
.dashicons-before::before,
[class^="dashicons-"]::before,
[class*=" dashicons-"]::before,
#wpadminbar .ab-icon,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#adminmenu .wp-menu-image::before {
	font-family: dashicons !important;
	font-style: normal !important;
	font-weight: 400 !important;
}

.eicon,
[class^="eicon-"],
[class*=" eicon-"] {
	font-family: eicons !important;
}


.yekan-settings-wrap {
	max-width: 1120px;
}

.yekan-settings-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 24px 0;
	padding: 26px 30px;
	color: #fff;
	border-radius: 18px;
	background: linear-gradient(135deg, #111827, #263a5a);
	box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
}

.yekan-settings-hero strong,
.yekan-settings-hero span {
	display: block;
}

.yekan-settings-hero strong {
	font-size: 24px;
	margin-bottom: 7px;
}

.yekan-settings-hero span {
	opacity: .8;
}

.yekan-date-preview {
	white-space: nowrap;
	padding: 12px 18px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 12px;
	background: rgba(255,255,255,.08);
}

.yekan-settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.yekan-setting-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 76px;
	box-sizing: border-box;
	padding: 18px;
	border: 1px solid #dfe4ea;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}

.yekan-setting-copy strong,
.yekan-setting-copy small {
	display: block;
}

.yekan-setting-copy strong {
	font-size: 14px;
	margin-bottom: 6px;
}

.yekan-setting-copy small {
	color: #667085;
	line-height: 1.8;
}

.yekan-switch {
	position: relative;
	width: 46px;
	height: 26px;
	flex: 0 0 46px;
}

.yekan-switch input {
	position: absolute;
	opacity: 0;
}

.yekan-switch i {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	background: #cbd2da;
	transition: .2s ease;
}

.yekan-switch i::after {
	content: "";
	position: absolute;
	top: 4px;
	right: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	transition: .2s ease;
}

.yekan-switch input:checked + i {
	background: #2563eb;
}

.yekan-switch input:checked + i::after {
	transform: translateX(-20px);
}

.yekan-format-card input {
	width: 170px;
}

.yekan-security-note {
	margin-top: 24px;
	padding: 18px 20px;
	border-right: 4px solid #2563eb;
	border-radius: 10px;
	background: #eef5ff;
}

.yekan-security-note p {
	margin: 7px 0 0;
	line-height: 1.9;
}

@media (max-width: 782px) {
	.yekan-settings-grid { grid-template-columns: 1fr; }
	.yekan-settings-hero { align-items: flex-start; flex-direction: column; }
	.yekan-date-preview { white-space: normal; }
}
