.overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(0px);
	transition: background-color 0.25s var(--ease-out),
		backdrop-filter 0.25s var(--ease-out);
}

.overlayAfterOpen {
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
}

.overlayBeforeClose {
	background-color: rgba(0, 0, 0, 0);
	backdrop-filter: blur(0px);
}

.content {
	position: relative;
	max-width: 32rem;
	width: calc(100% - 2rem);
	max-height: 85vh;
	overflow: hidden;
	overflow-y: auto;
	padding: 1.75rem;
	background-color: var(--bg-default);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	outline: none;
	opacity: 0;
	transform: scale(0.96) translateY(8px);
	transition:
		opacity 0.25s var(--ease-out),
		transform 0.25s var(--ease-out);
}

.contentAfterOpen {
	opacity: 1;
	transform: scale(1) translateY(0);
}

.contentBeforeClose {
	opacity: 0;
	transform: scale(0.96) translateY(8px);
}

.title {
	margin-bottom: 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.017em;
	color: var(--text-primary);
}

.description {
	margin-bottom: 1.25rem;
	font-size: 0.875rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

.close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.375rem;
	background: transparent;
	border: none;
	border-radius: var(--radius-sm);
	color: var(--text-tertiary);
	cursor: pointer;
	transition: background-color var(--duration-normal) var(--ease-out),
		color var(--duration-normal) var(--ease-out);

	&:hover {
		background-color: var(--bg-surface);
		color: var(--text-primary);
	}

	&:focus-visible {
		outline: none;
		box-shadow: var(--focus-ring);
	}
}
