.eccw-code-box {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #f5f6f8;
	border: 1px solid #eceef1;
	border-radius: 8px;
}

.eccw-code-box pre {
	margin: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 22px 58px 22px 22px;
	text-align: left;
	tab-size: 4;
}

.eccw-code-box code {
	display: block;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 14px;
	line-height: 1.85;
	white-space: pre;
	direction: ltr;
	unicode-bidi: plaintext;
}

.eccw-code-box.eccw-wrap-lines code {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.eccw-copy-button {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 40px;
	height: 40px;
	padding: 0 9px;
	border: 0;
	background: transparent;
	color: #222;
	cursor: pointer;
	transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
}

.eccw-copy-button:hover {
	background: rgba(0, 0, 0, .05);
}

.eccw-copy-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.eccw-copy-button:active {
	transform: scale(.95);
}

.eccw-copy-button.is-copied .eccw-copy-icon {
	display: none;
}

.eccw-copy-feedback {
	display: none;
	font-family: inherit;
	font-size: 12px;
	white-space: nowrap;
}

.eccw-copy-button.is-copied {
	width: auto !important;
	min-width: 40px;
}

.eccw-copy-button.is-copied .eccw-copy-feedback {
	display: inline;
}

.eccw-language-label {
	position: absolute;
	z-index: 1;
	top: 12px;
	left: 14px;
	font-family: inherit;
	font-size: 11px;
	line-height: 1;
	opacity: .55;
	text-transform: uppercase;
	letter-spacing: .06em;
}

@media (max-width: 767px) {
	.eccw-code-box pre {
		padding-right: 54px;
	}
}
