.ttakdap-code-copy__toolbar {
	align-items: center;
	display: flex;
	justify-content: flex-end;
}

.ttakdap-code-copy__toolbar + pre.wp-block-code {
	margin-block-start: 0.5rem !important;
}

.ttakdap-code-copy__button {
	align-items: center;
	background: #ffffff;
	border: 1px solid #757575;
	border-radius: 0.4rem;
	color: #1f1f1f;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	justify-content: center;
	line-height: 1;
	min-height: 2.75rem;
	min-width: 4.5rem;
	padding: 0.625rem 0.875rem;
}

.ttakdap-code-copy__button:hover {
	background: #f0efe8;
}

.ttakdap-code-copy__button:focus-visible {
	outline: 3px solid #1a73e8;
	outline-offset: 2px;
}

.ttakdap-code-copy__button:disabled {
	cursor: wait;
	opacity: 0.75;
}

.ttakdap-code-copy__button[data-state='success'] {
	background: #e6f4ea;
	border-color: #1e7e34;
	color: #145a28;
}

.ttakdap-code-copy__button[data-state='error'] {
	background: #fce8e6;
	border-color: #b3261e;
	color: #8c1d18;
}

.ttakdap-code-copy__button[data-state='selected'] {
	background: #fff7e6;
	border-color: #a15c00;
	color: #7a4400;
}

.ttakdap-code-copy__status,
.ttakdap-code-copy__fallback {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.ttakdap-code-copy__fallback {
	left: -9999px;
	top: 0;
}

@media (forced-colors: active) {
	.ttakdap-code-copy__button,
	.ttakdap-code-copy__button[data-state] {
		background: ButtonFace;
		border-color: ButtonText;
		color: ButtonText;
	}
}

@media print {
	.ttakdap-code-copy__toolbar {
		display: none;
	}
}
