.frm-copy-field {
	--frm-copy-field-button-width: 92px;
	align-items: stretch;
	box-sizing: border-box;
	display: inline-flex;
	font-family: inherit;
	margin: 0.5em 0;
	max-width: 100%;
	vertical-align: middle;
	width: fit-content;
}

.frm-copy-field *,
.frm-copy-field *::before,
.frm-copy-field *::after {
	box-sizing: border-box;
}

.frm-copy-field__text {
	background: #ffffff;
	border: 1px solid #d9d9d9;
	border-radius: 5px 0 0 5px;
	color: #333333;
	flex: 0 1 auto;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.35;
	max-width: calc(100% - var(--frm-copy-field-button-width));
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 11px 12px;
	white-space: pre-wrap;
}

.frm-copy-field__text:focus-visible {
	border-color: #1b9156;
	box-shadow: 0 0 0 2px rgba( 27, 145, 86, 0.18 );
	outline: 0;
	position: relative;
	z-index: 1;
}

.frm-copy-field__button {
	align-items: center;
	appearance: none;
	background: #1b9156;
	border: 1px solid #1b9156;
	border-radius: 0 5px 5px 0;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-width: var(--frm-copy-field-button-width);
	padding: 0 18px;
	transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.frm-copy-field__button:hover,
.frm-copy-field__button:focus-visible {
	background: #167a49;
	border-color: #167a49;
	color: #ffffff;
	outline: 0;
}

.frm-copy-field__button:focus-visible {
	box-shadow: 0 0 0 2px rgba( 27, 145, 86, 0.25 );
	position: relative;
	z-index: 1;
}

.frm-copy-field__check {
	color: #ffffff;
	display: none;
	font-size: 19px;
	font-weight: 700;
	line-height: 1;
}

.frm-copy-field__button.is-copied .frm-copy-field__button-label {
	display: none;
}

.frm-copy-field__button.is-copied .frm-copy-field__check {
	display: block;
}

.frm-copy-field-toast {
	background: rgba( 51, 51, 51, 0.96 );
	border-radius: 999px;
	bottom: 24px;
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	left: 50%;
	line-height: 1.2;
	opacity: 0;
	padding: 10px 15px;
	pointer-events: none;
	position: fixed;
	transform: translate( -50%, 12px );
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 999999;
}

.frm-copy-field-toast.is-visible {
	opacity: 1;
	transform: translate( -50%, 0 );
}


@media ( max-width: 767px ) {
	.frm-copy-field {
		--frm-copy-field-button-width: 78px;
	}

	.frm-copy-field__text {
		font-size: 14px;
	}

	.frm-copy-field__button {
		padding: 0 12px;
	}
}
