.devclimb-popup-overlay {
	align-items: center;
	background: rgba(0, 0, 0, 0.62);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 24px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 2147483000;
}

.devclimb-popup-overlay[hidden] {
	display: none;
}

.devclimb-popup-dialog {
	animation: devclimb-popup-enter 180ms ease-out;
	background: #fff;
	border: 2px solid var(--devclimb-popup-border-color, #d1d5db);
	border-radius: 10px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
	box-sizing: border-box;
	color: #292d32;
	font-family: inherit;
	max-height: calc(100vh - 48px);
	max-width: 560px;
	overflow-y: auto;
	padding: 0;
	position: relative;
	width: 100%;
}

.devclimb-popup-header {
	background: var(--devclimb-popup-header-background, #f3f4f6);
	padding: 26px 64px 24px 32px;
}

.devclimb-popup-title {
	color: var(--devclimb-popup-title-color, #24272b);
	font-family: inherit;
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.devclimb-popup-content {
	padding: 30px 32px 32px;
}

.devclimb-popup-dialog--without-title .devclimb-popup-content {
	padding-top: 48px;
}

.devclimb-popup-description {
	color: var(--devclimb-popup-description-color, #454b52);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
	overflow-wrap: anywhere;
}

.devclimb-popup-close {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--devclimb-popup-title-color, #50565d);
	cursor: pointer;
	display: inline-flex;
	font-family: Arial, sans-serif;
	font-size: 28px;
	font-weight: 400;
	height: 36px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 14px;
	transition: background-color 120ms ease, color 120ms ease;
	width: 36px;
}

.devclimb-popup-close:hover {
	background: #f0f1f2;
	color: #17191c;
}

.devclimb-popup-close:focus-visible {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.25);
	outline: 2px solid transparent;
}

html.devclimb-popup-is-open,
body.devclimb-popup-is-open {
	overflow: hidden;
}

@keyframes devclimb-popup-enter {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.985);
	}

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

@media (max-width: 480px) {
	.devclimb-popup-overlay {
		padding: 16px;
	}

	.devclimb-popup-dialog {
		max-height: calc(100vh - 32px);
	}

	.devclimb-popup-header {
		padding: 22px 58px 20px 22px;
	}

	.devclimb-popup-content {
		padding: 24px 22px 26px;
	}

	.devclimb-popup-dialog--without-title .devclimb-popup-content {
		padding-top: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.devclimb-popup-dialog {
		animation: none;
	}

	.devclimb-popup-close {
		transition: none;
	}
}
