/* Backdrop */
.wepn-notification-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999991;
	transition: opacity 0.2s ease;
}

/* Modal container */
.wepn-notification-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1rem;
	z-index: 9999992;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Card */
.wepn-notification-card {
	position: relative;
	width: 100%;
	max-width: 28rem;
	background: #ffffff;
	border-radius: 0.875rem;
	padding: 1.25rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Header row with title and close button */
.wepn-notification-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

/* Title */
.wepn-notification-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #111827;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.3;
}

/* Close button */
.wepn-notification-close {
	flex-shrink: 0;
	padding: 0.25rem;
	border-radius: 9999px;
	border: none;
	background: transparent;
	color: #9ca3af;
	cursor: pointer;
	transition: color 0.15s ease;
}

.wepn-notification-close:hover {
	color: #4b5563;
}

.wepn-notification-close:focus {
	outline: 2px solid #16a34a;
	outline-offset: 2px;
}

/* Actions */
.wepn-notification-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Buttons */
.wepn-notification-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wepn-notification-btn-primary {
	background: #16a34a;
	color: #ffffff;
	border: none;
}

.wepn-notification-btn-primary:hover {
	background: #15803d;
}

.wepn-notification-btn-primary:focus {
	outline: 2px solid #16a34a;
	outline-offset: 2px;
}

.wepn-notification-btn-secondary {
	background: #f3f4f6;
	color: #374151;
	border: 1px solid #e5e7eb;
}

.wepn-notification-btn-secondary:hover {
	background: #e5e7eb;
}

.wepn-notification-btn-secondary:focus {
	outline: 2px solid #6b7280;
	outline-offset: 2px;
}

/* Responsive */
@media (max-width: 480px) {
	.wepn-notification-modal {
		padding: 0.5rem;
	}

	.wepn-notification-card {
		padding: 1rem;
	}

	.wepn-notification-title {
		font-size: 1rem;
	}
}
