.wpn.button[disabled],
.wpn.button[disabled]:hover,
.wpn.button.disabled,
.wpn.button.disabled:hover {
	background: #e0e0e0;
	border-color: #9e9e9e;
	color: #9e9e9e;
}

.wpn.button.hidden,
.wpn-notification-dropdown-footer button.hidden {
	display: none;
}

.wpn.button {
	margin: 0 0 8px;
}

.wpn-fieldset {
	display: grid;
	column-gap: 1rem;
	grid-template-columns: 1fr 320px;
	row-gap: 1.25rem;
}

.wpn-fieldset > dl {
	display: contents;
}

/* Optional styling */
.wpn-fieldset dt {
	float: none;
	align-self: start;
	width: auto;
}

.wpn-fieldset dd {
	display: flex;
	align-items: center;
	margin: 0;
}

.wpn-fieldset dt label {
	line-height: 1.4;
	display: inline-block;
}

.wpn-fieldset .fa-toggle-on {
	color: #105289;
}

.wpn-fieldset .fa-toggle-off {
	color: #5d5d5d;
}

.wpn-notification-dropdown-footer {
	font-size: 12px;
	white-space: nowrap;
	border-top: solid 1px #b9b9b9;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 5px 10px;
	gap: 20px;
}

.wpn-notification-dropdown-footer button {
	display: inline-flex;
	align-items: center;
}

.wpn-notification-dropdown-footer button:disabled {
	opacity: 0.7;
}

.wpn-notification-dropdown-footer button > .icon {
	font-size: 20px;
}

@media (max-width: 350px) {
	.wpn-notification-dropdown-footer button > .icon {
		font-size: 24px;
	}
}

@media (max-width: 700px) {
	.wpn-fieldset {
		grid-template-columns: 1fr;
		row-gap: 0.5rem;
	}

	.wpn-fieldset dt {
		grid-column: 1;
	}

	.wpn-fieldset dd {
		grid-column: 1;
	}
}

.wpn-popup-overlay {
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	height: 100%;
	padding-top: 20px;
}

.wpn-popup-container {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	width: 90%;
	max-width: 500px;
	animation: wpnSlideDown 0.3s ease-out;
}

@keyframes wpnSlideDown {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wpn-popup-content {
	padding: 24px;
}

.wpn-popup-title {
	font-size: 18px;
	font-weight: 600;
	color: #333333;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 12px;
}

.wpn-popup-title .fa-stack-2x {
	color: #0066cc;
}

.wpn-popup-title .fa-stack-1x {
	top: -1px;
}

.wpn-popup-message {
	font-size: 14px;
	line-height: 1.5;
	color: #666666;
	margin: 0 0 20px;
}

.wpn-popup-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

.wpn-popup-btn {
	font-size: 14px;
	font-weight: 500;
	border: none;
	border-radius: 4px;
	padding: 10px 20px;
	cursor: pointer;
	transition: all 0.2s;
}

.wpn-popup-btn-allow {
	background: #0066cc;
	color: #ffffff;
}

.wpn-popup-btn-allow:hover {
	background: #0052a3;
}

.wpn-popup-btn-deny {
	background: #f0f0f0;
	color: #666666;
}

.wpn-popup-btn-deny:hover {
	background: #e0e0e0;
}

@media (max-width: 500px) {
	.wpn-popup-buttons {
		flex-direction: column-reverse;
	}

	.wpn-popup-btn {
		width: 100%;
	}
}
