/* PXS Notification Elementor widget — layout defaults (overridden by Elementor). */

.pxs-notif {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
}

.pxs-notif__trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	box-sizing: border-box;
	line-height: 0;
}

.pxs-notif__trigger:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.pxs-notif__icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, fill 0.2s ease, border-color 0.2s ease;
}

.pxs-notif__badge {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	background: #e11d48;
	color: #fff;
	box-sizing: border-box;
}

.pxs-notif__badge[hidden] {
	display: none !important;
}

.pxs-notif__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: min(360px, calc(100vw - 32px));
	max-height: min(420px, 70vh);
	overflow: auto;
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	z-index: 999999;
	display: none;
	text-align: left;
}

.pxs-notif.is-open .pxs-notif__panel {
	display: block;
}

.pxs-notif__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px;
	background: #dc2626;
	color: #fff;
	border-radius: 10px 10px 0 0;
}

.pxs-notif__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	flex: 1;
}

.pxs-notif__close {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	border-radius: 4px;
	opacity: 0.95;
}

.pxs-notif__close:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.12);
}

.pxs-notif__body {
	padding: 20px 14px;
	background: #0f172a;
	color: #94a3b8;
	border-radius: 0 0 10px 10px;
	min-height: 72px;
}

.pxs-notif__empty {
	margin: 0;
	text-align: center;
	font-size: 0.95rem;
}

.pxs-notif__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pxs-notif__item {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
}

.pxs-notif__link {
	color: #e2e8f0;
	text-decoration: none;
	display: block;
	padding: 10px 40px 10px 12px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.pxs-notif__link:hover {
	background: rgba(255, 255, 255, 0.1);
}

.pxs-notif__dismiss {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.25);
	color: #cbd5e1;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pxs-notif__dismiss:hover:not(:disabled) {
	background: rgba(220, 38, 38, 0.35);
	color: #fff;
}

.pxs-notif__dismiss:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.pxs-notif__guest {
	margin: 0;
	text-align: center;
	font-size: 0.95rem;
}

.pxs-notif__type {
	display: block;
	font-size: 0.75rem;
	opacity: 0.75;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.pxs-notif__headline {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	color: #f8fafc;
	margin-bottom: 6px;
}

.pxs-notif__detail {
	display: block;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	color: #e2e8f0;
}

