/* gmailtheme — one-time code card above a message's body (js/otp.js) */
#mail-message .gm-otp {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 12px 16px 4px 72px;
	padding: 12px 12px 12px 16px;
	max-width: 560px;
	box-sizing: border-box;
	border-radius: 16px;
	background: var(--gm-search, #eaf1fb);
	color: var(--gm-text, #1f1f1f);
	font-family: var(--gm-font-text, sans-serif);
}
/* Message is v-show'n until its body has loaded — keep the card hidden with it */
#mail-message .gm-otp:has(+ .mail-message-body[style*="display: none"]) { display: none; }
.gm-otp__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: var(--gm-blue-light, #d3e3fd);
	color: var(--gm-on-blue-light, #001d35);
}
.gm-otp__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}
.gm-otp__title {
	font-size: 12px;
	line-height: 16px;
	letter-spacing: .1px;
	color: var(--gm-text-2, #444746);
}
.gm-otp__code {
	font-family: var(--gm-font, sans-serif);
	font-size: 26px;
	line-height: 34px;
	font-weight: 500;
	letter-spacing: .12em;
	font-variant-numeric: tabular-nums;
	user-select: all;
	cursor: pointer;
	overflow-wrap: anywhere;
}
#mail-message button.gm-otp__copy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0 20px 0 16px;
	border: 0;
	border-radius: 20px;
	background: var(--gm-blue, #0b57d0);
	color: #fff;
	font-family: var(--gm-font, sans-serif);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .1px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s, box-shadow .15s;
}
#mail-message button.gm-otp__copy:hover { background: #0842a0; box-shadow: var(--gm-shadow-1); }
#mail-message button.gm-otp__copy:focus-visible { outline: 2px solid var(--gm-blue, #0b57d0); outline-offset: 2px; }
#mail-message button.gm-otp__copy--done,
#mail-message button.gm-otp__copy--done:hover { background: #146c2e; box-shadow: none; }
.gm-otp__copy .gm-ic { width: 18px; height: 18px; }

@media (max-width: 600px) {
	#mail-message .gm-otp { margin: 12px 16px 4px; }
}
