/* ── Trigger tab ────────────────────────────────────────────── */
#pnt-fw-tab {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99999;
	background: #cc0000;
	color: #fff;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	padding: 14px 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	cursor: pointer;
	border-radius: 4px 0 0 4px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	user-select: none;
	line-height: 1.3;
}

#pnt-fw-tab:hover {
	transform: translateY(-50%) translateX(-4px);
	box-shadow: -3px 0 10px rgba(0, 0, 0, 0.25);
}

#pnt-fw-tab:focus {
	transform: translateY(-50%) translateX(-4px);
	box-shadow: -3px 0 10px rgba(0, 0, 0, 0.25);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ── Slide-out panel ────────────────────────────────────────── */
#pnt-fw-panel {
	position: fixed;
	top: 50%;
	right: 0;
	width: 320px;
	max-width: 100vw;
	max-height: 80vh;
	background: #fff;
	border-top: 3px solid #cc0000;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
	border-radius: 6px 0 0 6px;
	z-index: 99999;
	transform: translateX(100%) translateY(-50%);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
	padding: 24px 20px 20px;
	box-sizing: border-box;
	overflow-y: auto;
}

#pnt-fw-panel.pnt-fw-open {
	transform: translateX(0) translateY(-50%);
}

/* ── Close button ───────────────────────────────────────────── */
#pnt-fw-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 4px 8px;
	border-radius: 3px;
}

#pnt-fw-close:hover,
#pnt-fw-close:focus {
	color: #000;
	background: #f5f5f5;
	outline: 2px solid #cc0000;
	outline-offset: 2px;
}

/* ── Typography ─────────────────────────────────────────────── */
#pnt-fw-heading {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: #111;
	padding-right: 28px;
	line-height: 1.3;
}

#pnt-fw-subheading {
	margin: 0 0 18px;
	font-size: 13px;
	color: #555;
	line-height: 1.55;
}

/* ── Form ───────────────────────────────────────────────────── */
#pnt-fw-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#pnt-fw-message,
#pnt-fw-email {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 13px;
	font-family: inherit;
	color: #111;
	background: #fafafa;
	resize: vertical;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#pnt-fw-message:focus,
#pnt-fw-email:focus {
	outline: none;
	border-color: #cc0000;
	box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.12);
	background: #fff;
}

#pnt-fw-submit {
	background: #111;
	color: #fff;
	border: none;
	padding: 11px 16px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease;
}

#pnt-fw-submit:hover {
	background: #cc0000;
}

#pnt-fw-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ── Status messages ────────────────────────────────────────── */
#pnt-fw-status {
	font-size: 13px;
	padding: 9px 12px;
	border-radius: 4px;
	line-height: 1.4;
}

#pnt-fw-status:empty {
	display: none;
}

#pnt-fw-status.pnt-fw-success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}

#pnt-fw-status.pnt-fw-error {
	background: #fce4e4;
	color: #c62828;
	border: 1px solid #f5c6c6;
}

/* ── Screen-reader only utility ─────────────────────────────── */
.pnt-fw-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
