/* Disi Notice Popup — styles */

/* ---------------------------------------------------------------------
 * Frontend popup
 * --------------------------------------------------------------------- */
.dnp-popup {
	position: fixed;
	bottom: var(--dnp-bottom, 20px);
	max-width: 320px;
	width: calc(100% - 40px);
	background: var(--dnp-bg, rgba(30,30,30,1));
	color: var(--dnp-text, #fff);
	border: 2px solid var(--dnp-border, #fff);
	border-radius: var(--dnp-radius, 5px);
	padding: 18px;
	z-index: 999999;
	font-size: 14px;
	line-height: 1.5;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .3s ease, transform .3s ease;
	box-sizing: border-box;
}
.dnp-popup.dnp-shadow {
	box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.dnp-popup.dnp-pos-bottom-right {
	right: 20px;
}
.dnp-popup.dnp-pos-bottom-left {
	left: 20px;
}
.dnp-popup.dnp-pos-center {
	left: 50%;
	right: auto;
	bottom: auto;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.95);
}
.dnp-popup.dnp-pos-center.dnp-visible {
	transform: translate(-50%, -50%) scale(1);
}
.dnp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999998;
	opacity: 0;
	transition: opacity .3s ease;
}
.dnp-overlay.dnp-visible {
	opacity: 1;
}
.dnp-popup.dnp-visible {
	opacity: 1;
	transform: translateY(0);
}
.dnp-popup .dnp-close {
	all: unset;
	box-sizing: border-box;
	position: absolute;
	top: -10px;
	right: -10px;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dnp-close-bg, #e63946);
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	cursor: pointer;
	opacity: 1;
	z-index: 2;
}
.dnp-popup.dnp-pos-bottom-left .dnp-close {
	right: auto;
	left: -10px;
}
.dnp-popup .dnp-close::before,
.dnp-popup .dnp-close::after {
	content: none !important;
}
.dnp-popup .dnp-close svg {
	display: block;
	width: 14px;
	height: 14px;
	pointer-events: none;
}
.dnp-popup .dnp-close:hover {
	opacity: .9;
}
.dnp-popup .dnp-message {
	margin: 0;
}
.dnp-popup .dnp-message,
.dnp-popup .dnp-message * {
	background: transparent !important;
	background-color: transparent !important;
	color: inherit !important;
}
.dnp-popup .dnp-message p:last-child {
	margin-bottom: 0;
}
.dnp-popup .dnp-button {
	display: inline-block;
	margin-top: 10px;
	padding: 8px 14px;
	background: var(--dnp-accent, #2ea043);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
}
.dnp-popup .dnp-button:hover {
	filter: brightness(1.08);
	color: #fff;
}
@media (max-width: 480px) {
	.dnp-popup {
		bottom: 10px;
		left: 10px;
		right: 10px;
		width: auto;
		max-width: none;
	}
	.dnp-popup.dnp-pos-center {
		top: auto;
		bottom: 10px;
		left: 10px;
		right: 10px;
		transform: none;
	}
	.dnp-popup.dnp-pos-center.dnp-visible {
		transform: none;
	}
}

/* ---------------------------------------------------------------------
 * Admin settings page — color fields grid
 * --------------------------------------------------------------------- */
.dnp-color-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 28px;
}
.dnp-color-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dnp-color-item label {
	font-weight: 600;
	font-size: 12px;
}
