.rcesd-plans {
	--rcesd-plans-green: #0d6b56;
	--rcesd-plans-green-dark: #0a5746;
	--rcesd-plans-green-soft: #e7f4ef;
	--rcesd-plans-header: #0d6b56;
	--rcesd-plans-row-alt: #e8f5f0;
	--rcesd-plans-border: #ffffff;
	direction: rtl;
	font-family: "Yekan Bakh", Tahoma, sans-serif;
	color: #1b2420;
}

.rcesd-plans__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 14px;
}

.rcesd-plans__tab {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 10px;
	padding: 10px 18px;
	background: var(--rcesd-plans-green-soft);
	color: var(--rcesd-plans-green-dark);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.rcesd-plans a.rcesd-plans__tab:hover,
.rcesd-plans a.rcesd-plans__tab:focus,
.rcesd-plans a.rcesd-plans__tab:active,
.rcesd-plans a.rcesd-plans__tab:visited {
	background: #d8efe6;
	color: var(--rcesd-plans-green-dark) !important;
	text-decoration: none;
	box-shadow: none;
}

.rcesd-plans a.rcesd-plans__tab.is-active,
.rcesd-plans a.rcesd-plans__tab.is-active:hover,
.rcesd-plans a.rcesd-plans__tab.is-active:focus,
.rcesd-plans a.rcesd-plans__tab.is-active:visited {
	background: var(--rcesd-plans-green);
	color: #fff !important;
	text-decoration: none;
}

.rcesd-plans__search-wrap {
	margin: 0 0 14px;
}

.rcesd-plans__search {
	box-sizing: border-box;
	width: min(280px, 100%);
	max-width: 100%;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #c5d9cf;
	border-radius: 10px;
	background: #fff;
	color: #1b2420;
	font: inherit;
	font-size: 14px;
	line-height: 1.5;
	outline: none;
}

.rcesd-plans__search:focus {
	border-color: #7fb89f;
	box-shadow: 0 0 0 3px rgba(13, 107, 86, 0.12);
}

.rcesd-plans__table-wrap {
	width: 100%;
	overflow-x: auto;
	border-radius: 4px;
}

.rcesd-plans__table {
	width: 100%;
	min-width: 860px;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.rcesd-plans__table th,
.rcesd-plans__table td {
	padding: 14px 12px;
	border-left: 2px solid var(--rcesd-plans-border);
	text-align: center;
	vertical-align: middle;
	font-size: 14px;
	line-height: 1.7;
	word-wrap: break-word;
}

.rcesd-plans__table th:last-child,
.rcesd-plans__table td:last-child {
	border-left: 0;
}

.rcesd-plans__table thead th {
	background: var(--rcesd-plans-header);
	color: #fff;
	font-weight: 700;
}

.rcesd-plans__table tbody tr:nth-child(odd) td {
	background: #fff;
}

.rcesd-plans__table tbody tr:nth-child(even) td {
	background: var(--rcesd-plans-row-alt);
}

.rcesd-plans__col-title {
	width: 36%;
}

.rcesd-plans__col-executor {
	width: 20%;
}

.rcesd-plans__col-employer {
	width: 20%;
}

.rcesd-plans__col-start,
.rcesd-plans__col-end {
	width: 12%;
}

.rcesd-plans__empty {
	margin: 18px 0 0;
	color: #6b776f;
	font-size: 14px;
	text-align: center;
}

.rcesd-plans__pager {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
}

.rcesd-plans__page {
	appearance: none;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #c5d9cf;
	border-radius: 999px;
	background: #fff;
	color: var(--rcesd-plans-green) !important;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rcesd-plans__page:hover,
.rcesd-plans__page:focus,
.rcesd-plans__page:active,
.rcesd-plans__page:visited {
	background: var(--rcesd-plans-green-soft);
	border-color: #9bcbb5;
	color: var(--rcesd-plans-green-dark) !important;
	text-decoration: none;
	box-shadow: none;
	outline: none;
}

.rcesd-plans__page.is-active,
.rcesd-plans__page.is-active:hover,
.rcesd-plans__page.is-active:focus {
	background: var(--rcesd-plans-green);
	border-color: var(--rcesd-plans-green);
	color: #fff !important;
	box-shadow: 0 6px 14px rgba(13, 107, 86, 0.2);
}

.rcesd-plans__page:disabled {
	opacity: 0.35;
	cursor: default;
	box-shadow: none;
}

/* جلوگیری از هاور قرمز قالب روی لینک‌های این ویجت */
.rcesd-plans a:hover,
.rcesd-plans a:focus,
.rcesd-plans a:active {
	color: inherit;
}

@media (max-width: 700px) {
	.rcesd-plans__search {
		width: 100%;
	}

	.rcesd-plans__table th,
	.rcesd-plans__table td {
		padding: 12px 8px;
		font-size: 13px;
	}
}
