/*
 * Module: Customers — styles only these screens need.
 * Everything shared (buttons, lists, cards, plate, modal) lives in
 * shared/assets/mcms-global.css. Colors come from its tokens only.
 *
 * SECTIONS
 *   1. Customer card header (name, type, clock, call button)
 *
 * (The card action bar moved to mcms-global.css section 7, because the
 *  profile screen uses it too.)
 */

/* ==================================================================
   1. CUSTOMER CARD HEADER
   ================================================================== */
.mcms-customer-head {
	display: flex;
	align-items: center;
	gap: var(--mcms-gap);
	padding: 4px 0 8px;
}

.mcms-customer-head__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mcms-customer-head__name {
	font-size: clamp(var(--mcms-text-lg), 5.4vw, var(--mcms-text-xl)); /* smaller on narrow phones */
	font-weight: 800;
	line-height: 1.15;
	overflow-wrap: break-word; /* break between words, never inside a name */
}

/* Right side: clock (only when the customer has changes) + Κλήση. */
.mcms-customer-head__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.mcms-wrap .mcms-customer-head__actions .mcms-history-btn {
	width: var(--mcms-tap);
	height: var(--mcms-tap);
}

.mcms-customer-head__biz {
	color: var(--mcms-text-muted);
	font-weight: 600;
}

/* Header + contact card stacked; two phones get a divider between them. */
.mcms-customer-top {
	display: flex;
	flex-direction: column;
	gap: var(--mcms-gap);
}

.mcms-customer-contact {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mcms-customer-contact .mcms-contact + .mcms-contact {
	padding-top: 14px;
	border-top: 1px solid var(--mcms-line);
}