/* =============================================================================
   Clinic Geo Banner
   ============================================================================= */

.clinic-geo-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;

	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.10);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);

	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease;

	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: #1a1a1a;
}

/* Hidden via [hidden] attribute — display:none overrides transitions, so we
   manage visibility through the --visible modifier class added by JS. */
.clinic-geo-banner[hidden] {
	display: none;
}

.clinic-geo-banner--visible {
	opacity: 1;
	transform: translateY(0);
}

/* Inner layout ---------------------------------------------------------------- */

.clinic-geo-banner__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;

	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 20px;
}

/* Text ------------------------------------------------------------------------ */

.clinic-geo-banner__text {
	margin: 0;
	flex: 1 1 auto;
	font-weight: 500;
}

/* Actions --------------------------------------------------------------------- */

.clinic-geo-banner__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

/* Buttons --------------------------------------------------------------------- */

.clinic-geo-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 8px 20px;
	border-radius: 6px;
	border: 1px solid transparent;

	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.clinic-geo-banner__btn--confirm {
	background: #1b5edd;
	color: #fff;
	border-color: #1b5edd;
}

.clinic-geo-banner__btn--confirm:hover,
.clinic-geo-banner__btn--confirm:focus-visible {
	background: #1449bb;
	border-color: #1449bb;
}

.clinic-geo-banner__btn--choose {
	background: transparent;
	color: #1b5edd;
	border-color: #1b5edd;
}

.clinic-geo-banner__btn--choose:hover,
.clinic-geo-banner__btn--choose:focus-visible {
	background: #edf2ff;
}

/* Close button ---------------------------------------------------------------- */

.clinic-geo-banner__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;

	width: 32px;
	height: 32px;
	padding: 0;
	margin-left: 4px;

	background: transparent;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	color: #666;
	transition: background 0.15s ease, color 0.15s ease;
}

.clinic-geo-banner__close:hover,
.clinic-geo-banner__close:focus-visible {
	background: #f0f0f0;
	color: #111;
}

/* Responsive ------------------------------------------------------------------ */

@media (max-width: 600px) {
	.clinic-geo-banner__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.clinic-geo-banner__actions {
		width: 100%;
	}

	.clinic-geo-banner__btn {
		flex: 1 1 auto;
		justify-content: center;
	}

	.clinic-geo-banner__close {
		position: absolute;
		top: 10px;
		right: 12px;
		margin-left: 0;
	}

	.clinic-geo-banner__inner {
		position: relative;
		padding-right: 44px;
	}
}
