.code-block {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 16px;
	background: var(--bg-main, #f1f5f9);
	width: 100%;
	padding: 24px;
	overflow-x: auto;
}

.code-block__header {
	display: flex;
	align-items: center;
	justify-content: space-between;

	color: var(--text-primary, #000);
	font-family: Daikon;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0.07px;
}

.code-block__copy-btn {
	background: none;
	border: none;
	cursor: pointer;
}

.code-block pre {
	margin: 0;
}

.code-block code {
	margin: 0;
	font-family: Daikon;
	color: var(--text-primary, #000);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
}

.code-block .keyword {
	color: #fd7623;
} /* const, let */
.code-block .string {
	color: #3fa4ff;
} /* рядки */
.code-block .function {
	color: #3fa4ff;
} /* fetch, then */
.code-block .property {
	color: #3fa4ff;
} /* response, json */
.code-block .error {
	color: #d73a49;
} /* Error */
.code-block .comment {
	color: var(--text-secondary, #475569);
}
