/* Email Typo Guard — sugestia de sub câmpul de email. */

.etg-hint {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 6px 0 0;
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #f0c36d;
	background: #fdf6e3;
	color: #7a5c00;
	font-size: 14px;
	line-height: 1.4;
	animation: etg-fade 0.15s ease-out;
}

.etg-hint--error {
	border-color: #e5a3a3;
	background: #fdeded;
	color: #8a1f1f;
}

.etg-hint__text strong {
	font-weight: 700;
	word-break: break-all;
}

.etg-hint__actions {
	display: inline-flex;
	gap: 8px;
	margin-left: auto;
}

.etg-hint button {
	appearance: none;
	border: 0;
	border-radius: 4px;
	padding: 5px 10px;
	font-size: 13px;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.etg-hint button:hover {
	opacity: 0.85;
}

.etg-hint__accept {
	background: #2b6cb0;
	color: #fff;
}

.etg-hint--error .etg-hint__accept {
	background: #8a1f1f;
}

.etg-hint__dismiss {
	background: transparent;
	color: inherit;
	text-decoration: underline;
	padding-left: 4px;
	padding-right: 4px;
}

input.etg-flagged {
	border-color: #f0c36d !important;
	box-shadow: 0 0 0 1px #f0c36d;
}

input.etg-flagged--error {
	border-color: #e5a3a3 !important;
	box-shadow: 0 0 0 1px #e5a3a3;
}

@keyframes etg-fade {
	from { opacity: 0; transform: translateY(-3px); }
	to   { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
	.etg-hint__actions {
		margin-left: 0;
		width: 100%;
	}
}
