.cre-my-listings,
.cre-my-profile {
	max-width: 900px;
	margin: 0 auto;
}

/* ---- My Listings ---- */
.cre-my-listings-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}
.cre-my-listings-header h2 {
	margin: 0;
}

.cre-listings-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.cre-listings-table th,
.cre-listings-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}
.cre-listings-table thead th {
	background: #f9fafb;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
}
.cre-listings-table tbody tr:hover {
	background: #f9fafb;
}

.cre-post-status-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
}
.cre-post-status-publish  { background: #d1fae5; color: #065f46; }
.cre-post-status-pending  { background: #fef3c7; color: #92400e; }
.cre-post-status-draft    { background: #e5e7eb; color: #374151; }
.cre-post-status-trash    { background: #fee2e2; color: #991b1b; }

.cre-listing-actions { white-space: nowrap; }
.cre-listing-actions a {
	margin-right: 10px;
	font-size: 13px;
	text-decoration: none;
}
.cre-listing-actions .cre-trash-link { color: #b91c1c; }

.cre-pagination {
	margin-top: 20px;
	display: flex;
	gap: 6px;
}

/* ---- My Profile ---- */
.cre-profile-section {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e5e7eb;
}
.cre-profile-section:last-of-type {
	border-bottom: none;
}
.cre-profile-section h3 {
	margin-top: 0;
	margin-bottom: 14px;
	font-size: 15px;
}

.cre-profile-table {
	width: 100%;
	border-collapse: collapse;
}
.cre-profile-table th,
.cre-profile-table td {
	padding: 8px 0;
	font-size: 14px;
	vertical-align: top;
}
.cre-profile-table th {
	width: 200px;
	color: #6b7280;
	font-weight: 600;
}

/* WordPress form-table inside profile sections — override defaults */
.cre-my-profile .form-table th {
	width: 200px;
	padding: 10px 0;
	font-size: 14px;
}
.cre-my-profile .form-table td {
	padding: 10px 0 10px 12px;
}
.cre-my-profile h2 {
	font-size: 18px;
	margin-bottom: 4px;
}

.cre-profile-submit {
	margin-top: 24px;
}

/* ---- Shared buttons ---- */
.cre-btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	border: none;
}
.cre-btn-primary {
	background: #0f766e;
	color: #fff;
}
.cre-btn-primary:hover {
	background: #0d6461;
	color: #fff;
}

/* ---- Notices ---- */
.cre-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}
.cre-notice-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}
.cre-notice-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}
