/* Header Location Info block */
/* Start hidden to avoid CLS until dentist count logic has run (script adds --ready) */
.header-location-info {
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity 0.2s ease-out;
}

.header-location-info.header-location-info--ready {
	opacity: 1;
}

.header-location-info-content {
	display: flex;
	align-items: center;
	gap: 8px;
	color: inherit;
}

.header-location-info-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.header-location-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

/* Top row: dentist count */
.header-location-dentist-count-section {
	font-size: 10px;
	font-weight: 400;
	line-height: 1.3;
}

.header-location-text {
	white-space: nowrap;
}

/* Edit location trigger: base styles (e.g. savings calculator, any context without .header-location-info) */
.dp-location-trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.2s ease-out;
}
.dp-location-trigger:hover {
	opacity: 0.85;
}
.dp-location-trigger .dp-edit-location-zip-wrap {
	border-bottom: 2px solid currentColor;
	padding-bottom: 1px;
}
.dp-location-trigger .dp-location-pencil-icon {
	flex-shrink: 0;
    width: 1.25em;
    height: 1.25em;
}

/* Header context: override to white */
.header-location-info .dp-location-trigger {
	color: #ffffff;
}
.header-location-info .dp-location-trigger .dp-edit-location-zip-wrap {
	border-bottom-width: 2px;
	padding-bottom: 1px;
}

/* ----- Generic: location zip + pencil (reusable in header, drawer, etc.) ----- */
.dp-location-trigger {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
}
.dp-location-trigger:hover {
	opacity: 0.9;
}
.dp-location-trigger:active,
.dp-location-trigger:focus {
	background: none;
	outline: none;
}
.dp-location-trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.dp-location-pin-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.dp-location-zip-line {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	line-height: 1.3;
}
.dp-location-zip-line .dp-edit-location-zip-wrap {
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}
