/**
 * Info box shown at the top of the listing edit form
 * (Dashboard → Edit Listing) when the listing has resources.
 */
.lbp-edit-resources-info {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 24px;
	margin: 0 0 24px;
	background: #fcfcfc;
	border: 1px solid #d8e6fa;
	
	border-radius: 6px;
	color: #1e3a5f;
	box-sizing: border-box;
}

.lbp-edit-resources-info__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #3b82f6;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.lbp-edit-resources-info__body {
	flex: 1 1 auto;
	min-width: 0;
}

.lbp-edit-resources-info__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 600;
	color: #1e3a5f;
	line-height: 1.3;
}

.lbp-edit-resources-info__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #456280;
}

.lbp-edit-resources-info__action {
	flex: 0 0 auto;
}

.lbp-edit-resources-info__action .button {
	display: inline-block;
	margin: 0;
	padding: 10px 18px;
	background: #3b82f6;
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.lbp-edit-resources-info__action .button:hover,
.lbp-edit-resources-info__action .button:focus {
	background: #2563eb;
	color: #fff;
}

@media (max-width: 640px) {
	.lbp-edit-resources-info {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
	.lbp-edit-resources-info__action {
		width: 100%;
	}
	.lbp-edit-resources-info__action .button {
		width: 100%;
		text-align: center;
	}
}

/* -------------------------------------------------------------------
 * Post-submission "Add resources" prompt
 * -----------------------------------------------------------------
 * Fires on `listeo_core_listing_submitted` for listings without
 * resources yet. Mirrors the inline edit-resources info-box layout —
 * icon + body text + right-aligned CTA — using flex so the button
 * sits cleanly to the right of the message instead of inheriting
 * whatever margin happens inside a <p>.
 * ----------------------------------------------------------------- */
.lbp-resources-prompt {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
}
.lbp-resources-prompt__icon i {
	font-size: 22px;
	color: #2d8acd;
}
.lbp-resources-prompt__body {
	flex: 1;
	min-width: 0;
	
}
.lbp-resources-prompt__action {
	flex-shrink: 0;
}
.lbp-resources-prompt__action .button {
	white-space: nowrap;
}

@media (max-width: 768px) {
	.lbp-resources-prompt {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.lbp-resources-prompt__action,
	.lbp-resources-prompt__action .button {
		width: 100%;
		text-align: center;
	}
}
