/* PrivateRide — "Use my location" button for the pickup field. */

.prvr-geo-btn {
	display: flex;
	width: fit-content;
	/* Right-aligned, snug under the pickup field (its wrapper has a 16px bottom
	   margin, so a -10px top pulls the button up close to it) and spaced away
	   from the drop-off field below. */
	margin: -10px 0 16px auto;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: #1c1c1c;
	background: #fff;
	border: 1.5px solid rgba(200, 164, 92, .7);
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.prvr-geo-btn:hover {
	background: #c8a45c;
	border-color: #c8a45c;
	color: #fff;
}
.prvr-geo-btn .prvr-geo-pin {
	font-size: 14px;
	line-height: 1;
}
.prvr-geo-btn.is-busy {
	opacity: .7;
	cursor: progress;
}
.prvr-geo-btn.is-busy .prvr-geo-pin {
	animation: prvr-geo-pulse 1s ease-in-out infinite;
}
.prvr-geo-btn.is-error {
	border-color: #c0392b;
	color: #c0392b;
}
.prvr-geo-btn.is-error:hover {
	background: #c0392b;
	color: #fff;
}

@keyframes prvr-geo-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}
