/* Card: horizontal split — identity left, fields right */
.erpc-customer-card {
	display: flex;
	align-items: stretch;
	margin: 0 0 2rem;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
	background: #fff;
}

/* Left column — identity */
.erpc-customer-card__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.25rem;
	padding: 1.5rem 1.75rem;
	min-width: 210px;
	max-width: 240px;
	border-right: 1px solid #f1f5f9;
}

.erpc-customer-card__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: #eff6ff;
	border: 1px solid #dbeafe;
	color: #1e3a8a;
	margin-bottom: 0.625rem;
	flex-shrink: 0;
}

.erpc-customer-card__avatar i,
.erpc-customer-card__avatar svg {
	width: 1.125rem;
	height: 1.125rem;
}

.erpc-customer-card__name {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	word-break: break-word;
}

.erpc-customer-card__sublabel {
	display: block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	color: #94a3b8;
}

.erpc-customer-card__badge {
	display: inline-flex;
	align-items: center;
	margin-top: 0.5rem;
	padding: 0.1875rem 0.75rem;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #1d4ed8;
	white-space: nowrap;
}

/* Right section — fields grid */
.erpc-customer-grid {
	flex: 1;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.125rem 1.5rem;
	padding: 1.5rem 1.75rem;
	align-content: center;
}

.erpc-customer-field {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
}

.erpc-customer-field__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	color: #64748b;
	flex-shrink: 0;
	margin-top: 0.0625rem;
}

.erpc-customer-field__icon-wrap i,
.erpc-customer-field__icon-wrap svg {
	width: 0.8125rem;
	height: 0.8125rem;
}

.erpc-customer-field__label {
	display: block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	color: #94a3b8;
	margin-bottom: 0.125rem;
}

.erpc-customer-field__value {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1e293b;
	word-break: break-word;
}
