/* =================================================================
   Page Full Content Block — Frontend Styles
   ================================================================= */

.pfcb-wrapper {
	position: relative;
}

/* Content area inherits theme styles completely */
.pfcb-content {
	margin: 0;
	padding: 0;
}

.pfcb-content > *:first-child { margin-top: 0; }
.pfcb-content > *:last-child  { margin-bottom: 0; }

/* -----------------------------------------------------------------
   Admin action bar — top-right cluster of icon buttons
   Only rendered server-side for users with edit/delete caps.
   ----------------------------------------------------------------- */
.pfcb-admin-bar {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 100;
	display: flex;
	gap: 4px;
	opacity: 0;
	transition: opacity 0.15s ease;
	/* Keep it within the wrapper bounds */
	pointer-events: none;
}

/* Show on wrapper hover or focus-within */
.pfcb-wrapper:hover .pfcb-admin-bar,
.pfcb-wrapper:focus-within .pfcb-admin-bar {
	opacity: 1;
	pointer-events: auto;
}

.pfcb-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	cursor: pointer;
	padding: 0;
	text-decoration: none;
	color: #3c434a;
	transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	font-size: 0; /* hide any accidental text */
}

.pfcb-action svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* Edit — blue on hover */
.pfcb-action--edit:hover,
.pfcb-action--edit:focus-visible {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
	box-shadow: 0 2px 8px rgba(34, 113, 177, 0.35);
	outline: none;
}

/* Delete — red on hover */
.pfcb-action--delete:hover,
.pfcb-action--delete:focus-visible {
	background: #cc1818;
	border-color: #cc1818;
	color: #fff;
	box-shadow: 0 2px 8px rgba(204, 24, 24, 0.35);
	outline: none;
}

/* Placeholder */
.pfcb-placeholder {
	padding: 2rem;
	background: #f5f5f5;
	border: 2px dashed #ccc;
	color: #666;
	font-size: 0.9rem;
	text-align: center;
}
