/**
 * MLS property list-table columns — admin styling.
 *
 * Skins the wp-admin edit.php list for mlsimport_property to read like the
 * WPResidence property list: square thumbnail, a status pill and an accented
 * price, using the same warm tokens as the public single-property design.
 */

/* Per-column widths for the custom list-table columns (thumb / title / price /
   status / type / location / IDs), scoped to the mlsimport_property screen. */
.post-type-mlsimport_property .wp-list-table .column-mlsimport_thumb { width: 70px; }
.post-type-mlsimport_property .wp-list-table .column-title { width: 22%; }
.post-type-mlsimport_property .wp-list-table .column-mlsimport_price,
.post-type-mlsimport_property .wp-list-table .column-mlsimport_status { width: 12%; }
.post-type-mlsimport_property .wp-list-table .column-mlsimport_type,
.post-type-mlsimport_property .wp-list-table .column-mlsimport_location { width: 13%; }
.post-type-mlsimport_property .wp-list-table .column-mlsimport_ids { width: 14%; }

/* Taxonomy value next to its row label (Type / Location). */
.mlsimport-col-tax {
	font-size: 12px;
	color: #3b342e;
}

/* IDs column — three labelled rows (Local ID / MLS ID / Listing Key). */
.mlsimport-col-id-row {
	display: block;
	line-height: 1.6;
}
.mlsimport-col-id-label {
	display: inline-block;
	/* min-width: 78px; */
	color: #a89e92;
	font-size: 11px;
	padding-right: 10px;
}
.mlsimport-col-id {
	padding: 1px 6px;
	border-radius: 4px;
	background: #f6f1ea;
	color: #6e655c;
	font-size: 11.5px;
	word-break: break-all;
}

/* Square thumbnail (mirrors the WPResidence dashboard unit image). */
.mlsimport-col-thumb__img,
.mlsimport-col-thumb__ph {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
}
.mlsimport-col-thumb__ph {
	background: #efe7dc; /* --mlsimport-hairline */
	background-image: linear-gradient(135deg, #f4ede3, #e9ddcd);
}

/* Status pill — warm accent tint, matching the front-end soft chip. */
.mlsimport-col-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, #c2724e 12%, #fff);
	color: #9c5536;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: capitalize;
}

/* Price — accent2, mirrors the front-end title-bar price colour. */
.mlsimport-col-price {
	color: #9c5536;
	font-size: 14px;
	font-weight: 600;
}

.mlsimport-col-empty { color: #a89e92; }

/* Taxonomy values link to their public term archive; keep the quiet list-table
   look and only reveal the link on hover. */
.mlsimport-col-tax a,
.mlsimport-col-status a {
	color: inherit;
	text-decoration: none;
}
.mlsimport-col-tax a:hover,
.mlsimport-col-tax a:focus,
.mlsimport-col-status a:hover,
.mlsimport-col-status a:focus {
	text-decoration: underline;
}
