#woosub_dash_statistics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 15px;

    .woosub_dash_widget {
        background: white;
        padding: 30px 20px;
        box-shadow: 0 0 20px 2px #00000014;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        flex-direction: column;
        border-radius: 8px;
        
        .woosub_dash_widget_title {
            font-size: 15px;
        }

        .woosub_dash_widget_body {
            font-size: 35px;
            margin-top: 20px;
        }
    }
}
.kepro-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Ticket */
.kepro-ticket {
	font-size: 13px;
	color: #2563eb;
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 8px;
	background: #f1f5f9;
}

.kepro-ticket:hover {
	background: #e2e8f0;
}

/* Theme Toggle */
.kepro-theme-toggle {
	position: relative;
	width: 52px;
	height: 26px;
}

.kepro-theme-toggle input {
	display: none;
}

.kepro-theme-slider {
	position: absolute;
	inset: 0;
	background: #e5e7eb;
	border-radius: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 6px;
	font-size: 14px;
	transition: background .3s;
}

.kepro-theme-slider .moon {
	opacity: .4;
}

.kepro-theme-toggle input:checked + .kepro-theme-slider {
	background: #1f2937;
}

.kepro-theme-toggle input:checked + .kepro-theme-slider .sun {
	opacity: .4;
}

.kepro-theme-toggle input:checked + .kepro-theme-slider .moon {
	opacity: 1;
}


.kepro-dashboard * {
	box-sizing: border-box;
	font-family: IRANSans, Tahoma, sans-serif;
}

.kepro-dashboard {
	direction: rtl;
	background: #f6f7fb;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}
.kepro-dashboard {
	min-height: calc(100vh - 200px);
	display: flex;
	flex-direction: column;
    margin-top: 20px;
}
/* ===== Header ===== */
.kepro-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
}

.kepro-header a {
	text-decoration: none;
	color: #2563eb;
	margin-left: 16px;
	font-weight: 500;
}

.kepro-license {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	color: #fff;
}

.kepro-license.active { background: #16a34a; }
.kepro-license.inactive { background: #dc2626; }

/* ===== Layout ===== */
.kepro-body {
	display: flex;
	min-height: 420px;
    flex: 1;
}

/* Sidebar */
.kepro-sidebar {
	width: 230px;
	background: #ffffff;
	border-left: 1px solid #e5e7eb;
}

.kepro-menu {
	list-style: none;
	margin: 0;
	padding: 10px;
}

.kepro-menu > li {
	margin-bottom: 6px;
}

.kepro-menu button,
.kepro-menu a {
	width: 100%;
	text-align: right;
	background: none;
	border: none;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
	color: #111827;
	text-decoration: none;
}

.kepro-menu button:hover,
.kepro-menu a:hover {
	background: #f1f5f9;
}

.kepro-submenu {
	list-style: none;
	padding-right: 10px;
	display: none;
}

.kepro-submenu li a {
	font-size: 14px;
	color: #374151;
}

/* Content */
.kepro-content {
	flex: 1;
	padding: 20px;
	background: #f9fafb;
}

/* Switch */
.kepro-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 400px));
    gap: 16px;
    justify-content: center;
}

/* Card */
.kepro-option-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: box-shadow .25s ease, transform .2s ease;
}

.kepro-option-card:hover {
	box-shadow: 0 12px 30px rgba(0,0,0,.08);
	transform: translateY(-3px);
}

/* Head */
.kepro-option-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.kepro-option-head img {
	width: 36px;
	height: 36px;
	background: #f1f5f9;
	padding: 6px;
	border-radius: 10px;
}

.kepro-option-head h4 {
	margin: 0;
	font-size: 15px;
	color: #111827;
}

/* Description */
.kepro-option-desc {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.6;
	margin: 0;
}

/* Footer */
.kepro-option-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px dashed #e5e7eb;
}

.kepro-status {
	font-size: 12px;
	color: #374151;
}


.kepro-toggle {
	position: relative;
	width: 44px;
	height: 24px;
}

.kepro-toggle input {
	display: none;
}

.kepro-slider {
	position: absolute;
	inset: 0;
	background: #d1d5db;
	border-radius: 20px;
	cursor: pointer;
	transition: .3s;
}

.kepro-slider:before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	right: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: .3s;
}

.kepro-toggle input:checked + .kepro-slider {
	background: #22c55e;
}

.kepro-toggle input:checked + .kepro-slider:before {
	transform: translateX(-20px);
}

/* Footer */
.kepro-footer {
	text-align: center;
	padding: 14px;
	font-size: 13px;
	color: #374151;
	background: #ffffff;
	border-top: 1px solid #e5e7eb;
}

.kepro-footer svg {
	width: 16px;
	height: 16px;
	fill: #ef4444;
	vertical-align: middle;
}

.has-sub {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.kepro-chevron {
	font-size: 14px;
	color: #6b7280;
	transition: transform .25s ease;
}

/* وقتی زیرمنو بازه */
.has-sub.open .kepro-chevron {
	transform: rotate(180deg);
}
ul.kepro-submenu li a {
    display: block;
}
.kepro-notice-box {
	background: #fef3c7; /* زرد روشن */
	color: #92400e; /* متن قهوه‌ای/نارنجی */
	border: 1px solid #fcd34d;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 13px;
	text-align: right;
	max-width: 1230px;
    margin: 0 auto 15px;
}
aside.kepro-sidebar span.dashicons.dashicons-arrow-down-alt2 {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    font-size: 16px;
}
/* Responsive */
@media (max-width: 768px) {
	.kepro-body {
		flex-direction: column;
	}
	.kepro-sidebar {
		width: 100%;
		border-left: none;
		border-bottom: 1px solid #e5e7eb;
	}
}