/* =============================================================================
   Codeigni8 CPT to Product Converter for WooCommerce – Admin Stylesheet
   Uses WordPress admin design language. No inline styles in PHP.
============================================================================= */

/* Page layout
----------------------------------------------------------------------------- */
.pf-wrap .pf-page-title {
	margin-bottom: 4px;
}

.pf-wrap .pf-page-description {
	color: #646970;
	font-size: 13px;
	margin: 0 0 20px;
}

/* Card
----------------------------------------------------------------------------- */
.pf-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	padding: 20px 24px;
	margin-bottom: 20px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.pf-card-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f1;
}

/* Badges
----------------------------------------------------------------------------- */
.pf-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: .03em;
	text-transform: uppercase;
	vertical-align: middle;
}

.pf-badge--mapped {
	background: #edfaef;
	color: #1a6e24;
}

.pf-badge--unmapped {
	background: #fce8e8;
	color: #8a1515;
}

.pf-badge--converted {
	background: #dbeafe;
	color: #1e40af;
}

.pf-badge--pending {
	background: #f0f0f1;
	color: #50575e;
}

.pf-badge--info {
	color: #646970;
}

/* Table tweaks
----------------------------------------------------------------------------- */
.pf-wrap .widefat td,
.pf-wrap .widefat th {
	padding: 10px 16px;
	vertical-align: middle;
}

.pf-wrap .widefat tbody tr:hover > td {
	background-color: #f6f7f7;
}

/* Actions column – flex layout keeps buttons aligned and spaced */
.pf-actions {
	display: flex;
	gap: 6px;
	align-items: center;
}

/* Converted count shown below the Converted badge */
.pf-converted-count {
	display: block;
	font-size: 11px;
	color: #646970;
	margin-top: 3px;
}

/* Pre-conversion confirmation box
----------------------------------------------------------------------------- */
.pf-pre-convert-box {
	max-width: 560px;
}

.pf-post-count-notice {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 10px 16px;
	margin-bottom: 20px;
	font-size: 13px;
}

.pf-post-count-notice strong {
	font-size: 20px;
	font-weight: 700;
	color: #1d2327;
}

/* Edit mapping page
----------------------------------------------------------------------------- */
.pf-field-mapping-table th {
	width: 220px;
}

.pf-field-mapping-table td select {
	min-width: 220px;
}

/* Coming soon section */
.pf-coming-soon-section {
	margin-top: 4px;
}

.pf-coming-soon-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 4px;
	color: #1d2327;
}

.pf-coming-soon-desc {
	font-size: 12px;
	color: #646970;
	margin: 0 0 16px;
}

.pf-coming-soon-section .form-table {
	opacity: .45;
	pointer-events: none;
	user-select: none;
}

.pf-coming-soon-tag {
	display: inline-block;
	background: #f0f0f1;
	color: #50575e;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 6px;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: .03em;
	vertical-align: middle;
	margin-left: 6px;
}
