/**
 * Flex Recruit – consultant profile widget (fcw)
 * Part of the per-feature CSS split. Loaded conditionally by Plugin::enqueue_frontend_assets().
 */

/* ── Consultant Profile Widget ─────────────────────────────── */
/* ── Consultant Widget (fcw) ─────────────────────────────── */
.fcw {
	background:    var(--fr-dark);
	border-radius: 10px;
	padding:       1.1rem 1.25rem;
	color:         #fff;
}

.fcw__label {
	font-size:      .7rem;
	font-weight:    700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color:          var(--fr-accent);
	margin:         0 0 .75rem;
}

.fcw__body {
	display:     flex;
	align-items: center;
	gap:         .9rem;
	min-width:   0; /* critical — allows flex children to shrink */
}

.fcw__avatar {
	flex-shrink: 0;
}

.fcw__avatar img {
	width:         60px;
	height:        60px;
	border-radius: 50%;
	object-fit:    cover;
	border:        2px solid var(--fr-primary);
	display:       block;
}

.fcw__info {
	display:  flex;
	flex-direction: column;
	gap:      .3rem;
	min-width: 0; /* allow shrink */
	overflow:  hidden;
}

.fcw__name {
	font-size:   .95rem;
	font-weight: 700;
	color:       #fff;
	display:     block;
	white-space: nowrap;
	overflow:    hidden;
	text-overflow: ellipsis;
}

.fcw__contact {
	display:     flex;
	align-items: center;
	gap:         .35rem;
	color:       rgba(255,255,255,.8);
	text-decoration: none;
	font-size:   .8rem;
	min-width:   0;
	transition:  color var(--fr-transition);
}

.fcw__contact:hover { color: var(--fr-accent); }

.fcw__contact .dashicons {
	font-size:   .95rem;
	width:       .95rem;
	height:      .95rem;
	flex-shrink: 0;
	color:       var(--fr-accent);
}

.fcw__contact-text {
	white-space:   nowrap;
	overflow:      hidden;
	text-overflow: ellipsis;
	min-width:     0;
}
