/* ------------------------------------------------------------------
   Courier Fraud Checker — Admin & Checkout Styles
------------------------------------------------------------------ */

.cfc-wrap .cfc-stats-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 20px 0 30px;
}

.cfc-wrap .cfc-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-left: 4px solid #2271b1;
	border-radius: 4px;
	padding: 16px 22px;
	min-width: 150px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.cfc-wrap .cfc-card-green {
	border-left-color: #00a32a;
}

.cfc-wrap .cfc-card-red {
	border-left-color: #d63638;
}

.cfc-wrap .cfc-card .cfc-num {
	display: block;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
}

.cfc-wrap .cfc-card .cfc-label {
	display: block;
	color: #646970;
	font-size: 13px;
	margin-top: 4px;
}

.cfc-wrap .cfc-section-title {
	margin-top: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #dcdcde;
}

.cfc-wrap .cfc-switch {
	font-weight: 600;
}

.cfc-wrap .cfc-secret-field {
	max-width: 320px;
}

.cfc-wrap .cfc-toggle-visibility {
	margin-left: 6px;
}

.cfc-wrap .cfc-test-result {
	display: inline-block;
	margin-left: 10px;
	font-weight: 600;
}

.cfc-wrap .cfc-test-result.cfc-success {
	color: #00a32a;
}

.cfc-wrap .cfc-test-result.cfc-error {
	color: #d63638;
}

.cfc-wrap .cfc-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

.cfc-wrap .cfc-badge-red {
	background: #fcebea;
	color: #d63638;
}

.cfc-wrap .cfc-badge-green {
	background: #edfaef;
	color: #00a32a;
}

.cfc-wrap .cfc-log-table {
	margin-top: 15px;
}

.cfc-wrap .cfc-search-form {
	margin: 10px 0;
}

.cfc-wrap .cfc-clear-logs-form {
	margin-top: 20px;
}

/* ডেলিভারী/বাতিল অনুপাত বার — লাল ট্র্যাকের উপর সবুজ ফিল, লম্বা এবং স্পষ্ট */
.cfc-wrap .cfc-ratio-wrap {
	min-width: 200px;
	max-width: 260px;
}

.cfc-wrap .cfc-rate-bar {
	position: relative;
	width: 100%;
	height: 22px;
	border-radius: 4px;
	overflow: hidden;
	background: #d63638; /* লাল — ব্যর্থ/বাতিল অংশ */
	border: 1px solid #b32d2e;
}

.cfc-wrap .cfc-rate-fill {
	position: relative;
	height: 100%;
	background: #00a32a; /* সবুজ — সফল ডেলিভারীর অংশ */
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 6px;
	box-sizing: border-box;
	min-width: 2px;
	transition: width 0.2s ease;
}

.cfc-wrap .cfc-rate-fill-text {
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.cfc-wrap .cfc-rate-fill-text-outside {
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.cfc-wrap .cfc-ratio-text {
	display: flex;
	gap: 10px;
	margin-top: 5px;
	font-size: 12px;
	color: #50575e;
	flex-wrap: wrap;
}

.cfc-wrap .cfc-ratio-text .cfc-ratio-success {
	color: #00a32a;
	font-weight: 600;
}

.cfc-wrap .cfc-ratio-text .cfc-ratio-cancel {
	color: #d63638;
	font-weight: 600;
}

.cfc-wrap .cfc-ratio-text .cfc-ratio-total {
	color: #50575e;
	font-weight: 600;
}

.cfc-wrap .cfc-no-data {
	color: #8c8f94;
	font-style: italic;
	font-size: 12px;
}

.cfc-wrap .tablenav-pages {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 12px 0;
}

.cfc-wrap .tablenav-pages a,
.cfc-wrap .tablenav-pages span.current {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	margin-right: 2px;
	background: #fff;
	text-decoration: none;
}

.cfc-wrap .tablenav-pages span.current {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
	font-weight: 600;
}

.cfc-wrap .cfc-hours-suffix {
	margin-left: 8px;
	color: #50575e;
}

.cfc-wrap .cfc-preset-buttons {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cfc-wrap .cfc-preset-buttons .button {
	padding: 0 10px;
	font-size: 12px;
	line-height: 26px;
	height: 28px;
}

.cfc-wrap .cfc-page-numbers a,
.cfc-wrap .cfc-page-numbers span.current {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	margin-right: 3px;
	background: #fff;
	text-decoration: none;
	color: #2271b1;
}

.cfc-wrap .cfc-page-numbers span.current {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
	font-weight: 600;
}

.cfc-wrap .cfc-page-numbers span.dots {
	display: inline-block;
	padding: 4px 6px;
	color: #8c8f94;
}

.cfc-wrap .displaying-num {
	margin-right: 14px;
	color: #50575e;
}

/* চেকআউট পেজের ব্লক নোটিশ */
.cfc-fraud-notice {
	margin-bottom: 20px;
}

#place_order.cfc-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
