/**
 * GoodChoice — High-Carb Overlay Styles
 *
 * @package GoodChoice
 */

/* ---------------------------------------------------------------
 * Card overlay (used in grid, carousel, search results)
 * --------------------------------------------------------------- */
.gc-high-carb-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	z-index: 10;
	padding: 20px;
	text-align: center;
	border-radius: inherit;
	backdrop-filter: blur(4px);
}

.gc-high-carb-overlay__icon {
	font-size: 2em;
	margin-bottom: 8px;
}

.gc-high-carb-overlay__text {
	font-size: 0.95em;
	line-height: 1.4;
	max-width: 240px;
}

/* ---------------------------------------------------------------
 * Single-post overlay (full content)
 * --------------------------------------------------------------- */
.gc-high-carb-banner {
	background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
	border: 1px solid #ffb74d;
	border-radius: 8px;
	padding: 20px 24px;
	margin: 20px 0;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.gc-high-carb-banner__icon {
	font-size: 1.8em;
	flex-shrink: 0;
	line-height: 1;
}

.gc-high-carb-banner__content {
	flex: 1;
}

.gc-high-carb-banner__title {
	font-weight: 700;
	font-size: 1.05em;
	margin: 0 0 6px;
	color: #e65100;
}

.gc-high-carb-banner__text {
	margin: 0;
	color: #6d4c00;
	font-size: 0.95em;
	line-height: 1.5;
}

/* ---------------------------------------------------------------
 * Badge (inline, for admin lists etc.)
 * --------------------------------------------------------------- */
.gc-high-carb-badge {
	display: inline-block;
	padding: 2px 8px;
	background: #ffb74d;
	color: #4e342e;
	border-radius: 3px;
	font-size: 0.8em;
	font-weight: 600;
	vertical-align: middle;
}

/* ---------------------------------------------------------------
 * Editor high-carb warning notice (Gutenberg)
 * --------------------------------------------------------------- */
.gc-high-carb-notice {
	margin-bottom: 12px;
}

.gc-recalc-btn {
	margin-top: 12px;
}
