/* ReclaimDC Site Polish — Brokers Blacklist styling.
   Scoped to the .rdc-bl component the plugin injects on /brokers-list/. */

.rdc-bl {
	background: #f6f8fa;
	padding: 48px 20px 64px;
	font-family: inherit;
}

.rdc-bl-inner {
	max-width: 1120px;
	margin: 0 auto;
}

/* !important + extra specificity: the theme forces H1 to white, which would be
   invisible on this light section. */
.rdc-bl .rdc-bl-title {
	font-size: clamp(30px, 4.2vw, 46px) !important;
	line-height: 1.15 !important;
	font-weight: 800 !important;
	color: #16233d !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	letter-spacing: -0.01em;
}

.rdc-bl-intro {
	font-size: 16px;
	line-height: 1.6;
	color: #55627a;
	max-width: 760px;
	margin: 0 0 28px;
}

/* Call-to-action banner */
.rdc-bl-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	background: linear-gradient(120deg, #16233d 0%, #0e9bb0 140%);
	border-radius: 14px;
	padding: 22px 26px;
	margin: 0 0 20px;
}

.rdc-bl-cta-text { display: flex; flex-direction: column; gap: 4px; }
.rdc-bl-cta-text strong { color: #fff; font-size: 19px; font-weight: 800; }
.rdc-bl-cta-text span { color: #d6e6ea; font-size: 14.5px; }

.rdc-bl-cta-btn {
	flex: 0 0 auto;
	background: #f6c445;
	color: #16233d;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	padding: 13px 22px;
	border-radius: 10px;
	white-space: nowrap;
	transition: background 0.15s ease, transform 0.15s ease;
}

.rdc-bl-cta-btn:hover { background: #ffd45e; transform: translateY(-1px); }

.rdc-bl-hint {
	font-size: 13.5px;
	color: #64748b;
	margin: 0 0 18px;
}

.rdc-bl-hint strong { color: #0b7d8e; }

/* Tools row: search + count */
.rdc-bl-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.rdc-bl-searchwrap {
	position: relative;
	flex: 1 1 320px;
	max-width: 460px;
}

.rdc-bl-searchicon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 15px;
	opacity: 0.55;
	pointer-events: none;
}

.rdc-bl-search {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 16px 13px 40px;
	font-size: 15px;
	color: #16233d;
	background: #fff;
	border: 1px solid #dfe5ee;
	border-radius: 10px;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rdc-bl-search::placeholder { color: #93a0b5; }

.rdc-bl-search:focus {
	border-color: #0e9bb0;
	box-shadow: 0 0 0 3px rgba(14, 155, 176, 0.15);
}

.rdc-bl-count {
	font-size: 14px;
	color: #64748b;
	white-space: nowrap;
}

.rdc-bl-count .rdc-bl-shown { font-weight: 700; color: #16233d; }

/* The grid of brokers */
.rdc-bl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 8px;
}

.rdc-bl-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	font-size: 14.5px;
	line-height: 1.3;
	color: #2b3550;
	background: #fff;
	border: 1px solid #e7ecf3;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
	word-break: break-word;
}

.rdc-bl-item:hover {
	background: #f0f4f9;
	border-color: #d3dbe6;
}

/* Linked (reviewed) brokers stand out */
.rdc-bl-linked {
	color: #0b7d8e;
	font-weight: 600;
	border-color: #bfe6ec;
	background: #f2fbfc;
}

.rdc-bl-linked:hover {
	background: #e5f6f9;
	border-color: #0e9bb0;
	transform: translateY(-1px);
}

.rdc-bl-badge {
	margin-left: auto;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #0e9bb0;
	background: #d7f1f5;
	padding: 3px 7px;
	border-radius: 999px;
	white-space: nowrap;
}

/* No-review "report" links */
.rdc-bl-report { cursor: pointer; }

.rdc-bl-report:hover {
	background: #fff8e6;
	border-color: #f6c445;
}

.rdc-bl-cue {
	margin-left: auto;
	font-size: 11px;
	font-weight: 700;
	color: #b7791f;
	opacity: 0;
	transition: opacity 0.12s ease;
	white-space: nowrap;
}

.rdc-bl-report:hover .rdc-bl-cue { opacity: 1; }

.rdc-bl-empty {
	margin-top: 24px;
	font-size: 15px;
	color: #64748b;
	text-align: center;
}

@media (max-width: 600px) {
	.rdc-bl { padding: 32px 14px 44px; }
	.rdc-bl-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
	.rdc-bl-tools { align-items: stretch; }
}
