.rfzj_reseller_card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	border: 2px solid var(--rfj-color-border, #e6eaf0);
	border-radius: var(--rfj-radius-lg, 8px);
	background: var(--rfj-color-bg-panel, #fff);
	transition: all 0.25s ease;
}

.rfzj_reseller_card:hover {
	box-shadow: 0 8px 24px rgba(20, 32, 51, 0.08);
	transform: translateY(-2px);
}

.rfzj_reseller_card__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	flex: 1;
}

.rfzj_reseller_card__logo {
	display: grid;
	place-items: center;
	width: 100%;
	height: 72px;
	border-radius: var(--rfj-radius-md, 6px);
	background: var(--rfj-color-bg-soft, #f5f7fb);
	padding: 0.75rem;
	margin-bottom: 0.75rem;
	transition: transform 0.25s ease;
}

.rfzj_reseller_card:hover .rfzj_reseller_card__logo {
	transform: scale(1.05);
}

.rfzj_reseller_card__logo img {
	width: 100%;
	height: 100%;
	max-width: 140px;
	max-height: 56px;
	object-fit: contain;
}

.rfzj_reseller_card__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: var(--rfj-color-bg-soft, #f5f7fb);
	color: var(--rfj-color-text-secondary, #4f5b6c);
	font-size: 1.25rem;
	font-weight: 700;
}

.rfzj_reseller_card__verified {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 44px;
	height: 44px;
}

.rfzj_reseller_card__verified img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.rfzj_reseller_card__title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--rfj-color-text, #181f2a);
	text-align: center;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	transition: color 0.25s ease;
}

.rfzj_reseller_card:hover .rfzj_reseller_card__title {
	color: var(--rfj-color-primary, #d1191a);
}

.rfzj_reseller_card__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.rfzj_reseller_card__level {
	font-size: 0.8125rem;
	color: var(--rfj-color-text-secondary, #4f5b6c);
	font-weight: 500;
}

.rfzj_reseller_card__badge {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
}

.rfzj_reseller_card__badge--agency {
	background: #e8f0fe;
	color: #1a73e8;
}

.rfzj_reseller_card__badge--direct {
	background: #e6f4ea;
	color: #137333;
}

.rfzj_reseller_card__badge--manufacturer {
	background: linear-gradient(135deg, #fce8e6, rgba(209, 25, 26, 0.12));
	color: #d1191a;
}

.rfzj_reseller_card__location {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.8125rem;
	color: var(--rfj-color-text-muted, #7c8798);
	margin-bottom: 0.5rem;
	text-align: center;
	justify-content: center;
}

.rfzj_reseller_card__location svg {
	flex-shrink: 0;
	color: var(--rfj-color-primary, #d1191a);
}

.rfzj_reseller_card__location span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 200px;
}

.rfzj_reseller_card__status {
	font-size: 0.75rem;
	color: var(--rfj-color-text-muted, #7c8798);
	text-align: center;
	margin-top: 0.375rem;
}

.rfzj_reseller_card__status--expired {
	color: var(--rfj-color-danger, #dc3545);
	font-weight: 600;
}

.rfzj_reseller_card__status--pending {
	color: var(--rfj-color-warning, #f0ad4e);
	font-weight: 600;
}

.rfzj_reseller_card__status--verified {
	color: var(--rfj-color-success, #28a745);
	font-weight: 600;
}

.rfzj_reseller_card__actions {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rfj-color-border, #e6eaf0);
	justify-content: center;
}

.rfzj_reseller_card--active {
	border-color: rgba(40, 167, 69, 0.4);
}

.rfzj_reseller_card--active:hover {
	border-color: #28a745;
}

.rfzj_reseller_card--expired {
	border-color: rgba(220, 53, 69, 0.4);
	border-style: dashed;
}

.rfzj_reseller_card--expired:hover {
	border-color: #dc3545;
}

.rfzj_reseller_card--pending {
	border-color: rgba(240, 173, 78, 0.4);
	border-style: dashed;
}

.rfzj_reseller_card--pending:hover {
	border-color: #f0ad4e;
}

.rfzj_reseller_card--manufacturer {
	border-color: rgba(209, 25, 26, 0.3);
	border-width: 2px;
}

.rfzj_reseller_card--manufacturer:hover {
	border-color: #d1191a;
}

.rfzj_reseller_card_grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

@media (min-width: 641px) {
	.rfzj_reseller_card_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 993px) {
	.rfzj_reseller_card_grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
