/* SEO Temel Custom Woo Product Table - basic styles */

/* Tabler Icons */

/* Price badge */
.seo-temel-cwpt-price-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-left: 6px;
	vertical-align: middle;
}

.seo-temel-cwpt-price-badge .ti {
	font-size: 12px;
	color: #ffffff;
	line-height: 1;
}

.seo-temel-cwpt-badge--green  { background-color: #3B6D11; }
.seo-temel-cwpt-badge--orange { background-color: #C06D00; }
.seo-temel-cwpt-badge--red    { background-color: #A32D2D; }
.seo-temel-cwpt-badge--gray   { background-color: #888780; }

.seo-temel-cwpt-wrapper {
	font-family: inherit;
	margin: 1.5rem 0;
}

.seo-temel-cwpt-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-end;
	margin-bottom: 1.5rem;
}

.seo-temel-cwpt-filter-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 200px;
}

.seo-temel-cwpt-filter-group--metrics {
	flex-wrap: wrap;
	flex-direction: row;
	align-items: flex-end;
	margin-top: 0.5rem;
}

.seo-temel-cwpt-filter-group--metrics label {
	width: 100%;
}

.seo-temel-cwpt-filter-group--metrics .seo-temel-cwpt-control {
	min-width: 160px;
	margin-right: 0.75rem;
	margin-bottom: 0.5rem;
}

.seo-temel-cwpt-control {
	padding: 0.35rem 0.6rem;
	border-radius: 4px;
	border: 1px solid #d1d5db;
	font-size: 14px;
}

/* Table layout */
.seo-temel-cwpt-table {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.seo-temel-cwpt-header,
.seo-temel-cwpt-row {
	display: grid;
	grid-template-columns: minmax(0, 2.5fr) minmax(0, 3fr) minmax(0, 1.3fr);
	align-items: stretch;
	gap: 0;
}

.seo-temel-cwpt-header {
	background-color: #f9fafb;
	font-weight: 600;
	font-size: 14px;
	color: #374151;
	border-bottom: 1px solid #e5e7eb;
}

.seo-temel-cwpt-col {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #f3f4f6;
}

.seo-temel-cwpt-body .seo-temel-cwpt-row:last-child .seo-temel-cwpt-col {
	border-bottom: none;
}

.seo-temel-cwpt-col--site {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.seo-temel-cwpt-site-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #111827;
}

.seo-temel-cwpt-site-link:hover .seo-temel-cwpt-site-title {
	text-decoration: underline;
}

.seo-temel-cwpt-thumb-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	min-width: 72px;
	height: 72px;
	border-radius: 8px;
	background: #f3f4f6;
	overflow: hidden;
}

.seo-temel-cwpt-thumb {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.seo-temel-cwpt-site-title {
	font-weight: 600;
	font-size: 14px;
}

/* Stats */
.seo-temel-cwpt-col--stats {
	font-size: 13px;
	color: #4b5563;
}

.seo-temel-cwpt-stat {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-bottom: 0.1rem;
}

.seo-temel-cwpt-stat-label {
	font-weight: 600;
}

/* Price column */
.seo-temel-cwpt-col--price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 0.5rem;
}

.seo-temel-cwpt-price {
	font-weight: 700;
	font-size: 15px;
	color: #111827;
}

.seo-temel-cwpt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background-color: #2563eb;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
}

.seo-temel-cwpt-button:hover {
	background-color: #1d4ed8;
}

/* Loader & empty states */
.seo-temel-cwpt-loader {
	padding: 0.75rem 1rem;
	font-size: 13px;
	color: #6b7280;
	text-align: center;
}

.seo-temel-cwpt-no-results {
	padding: 1rem;
	font-size: 14px;
	color: #6b7280;
	text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
	.seo-temel-cwpt-header {
		display: none;
	}

	.seo-temel-cwpt-row {
		display: flex;
		flex-direction: column;
		border-bottom: 1px solid #e5e7eb;
	}

	.seo-temel-cwpt-col {
		border-bottom: none;
	}

	.seo-temel-cwpt-col--price {
		align-items: flex-start;
		margin-top: 0.5rem;
	}
}

@media (max-width: 640px) {
	.seo-temel-cwpt-filters {
		flex-direction: column;
		align-items: stretch;
	}

	.seo-temel-cwpt-filter-group {
		min-width: 100%;
	}
}


/* Search */
.seo-temel-cwpt-filter-group--search {
	min-width: 260px;
}

.seo-temel-cwpt-search-row {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.seo-temel-cwpt-search-input {
	flex: 1 1 auto;
	min-width: 160px;
}

.seo-temel-cwpt-search-button {
	padding: 0.35rem 0.75rem;
	border-radius: 4px;
	border: 1px solid #d1d5db;
	background: #f3f4f6;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.seo-temel-cwpt-search-button:hover {
	background: #e5e7eb;
}
