.bec-ad-lookup {
	max-width: 640px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1f2733;
	text-align: center;
}

.bec-ad-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #1f2733;
}

.bec-ad-label {
	font-size: 15px;
	color: #33547d;
	margin: 0 0 10px;
}

.bec-ad-form {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.bec-ad-input {
	flex: 1 1 260px;
	padding: 10px 14px;
	font-size: 15px;
	border: 1px solid #c7ccd4;
	border-radius: 3px;
	background: #fff;
	color: #333;
}

.bec-ad-explore-btn {
	background: #1a1f8c;
	color: #fff;
	border: none;
	padding: 12px 26px;
	font-weight: 700;
	letter-spacing: 0.03em;
	border-radius: 3px;
	cursor: pointer;
	font-size: 14px;
}

.bec-ad-explore-btn:hover {
	background: #141768;
}

.bec-ad-explore-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.bec-ad-message {
	padding: 12px 14px;
	border-radius: 3px;
	margin-bottom: 18px;
	font-size: 14px;
}

.bec-ad-message.bec-ad-error {
	background: #fdecea;
	color: #a12622;
	border: 1px solid #f4c7c3;
}

.bec-ad-result {
	text-align: left;
}

.bec-ad-logo-wrap {
	text-align: center;
	margin-bottom: 14px;
}

.bec-ad-logo-wrap img {
	max-width: 140px;
	max-height: 140px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.6);
	padding: 4px;
}

.bec-ad-result-table {
	width: 100%;
	border-collapse: collapse;
	/* Semi-transparent so a background image/map behind the widget still shows through. */
	background: rgba(235, 238, 239, 0.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	border: 1px solid rgba(217, 220, 222, 0.7);
	border-radius: 4px;
	overflow: hidden;
}

.bec-ad-result-table th,
.bec-ad-result-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid rgba(217, 220, 222, 0.6);
	font-size: 15px;
	vertical-align: top;
	background: transparent;
}

.bec-ad-result-table th {
	width: 40%;
	color: #33547d;
	font-weight: 400;
}

.bec-ad-result-table td {
	color: #1f2733;
}

.bec-ad-result-table tr:last-child th,
.bec-ad-result-table tr:last-child td {
	border-bottom: none;
}

/* If the widget sits on a light background with no image, this keeps text readable
   even though the table background is translucent. */
.bec-ad-message.bec-ad-error {
	background: rgba(253, 236, 234, 0.9);
}
