/**
 * Contact Bar — call + chat strip.
 */

.uckg-contact-bar {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 28px;
	border-top: 3px solid #5aa6ff;
	color: #fff;
}

.uckg-contact-bar--no-top-line {
	border-top-width: 0;
}

.uckg-contact-bar *,
.uckg-contact-bar *::before,
.uckg-contact-bar *::after {
	box-sizing: border-box;
}

.uckg-contact-bar__side {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	flex: 1 1 280px;
	text-decoration: none;
	color: inherit;
}

.uckg-contact-bar--equal .uckg-contact-bar__side {
	flex: 1 1 0;
}

.uckg-contact-bar--stacked {
	flex-direction: column;
	align-items: stretch;
}

.uckg-contact-bar--stacked .uckg-contact-bar__side {
	flex: 0 0 auto;
	width: 100%;
}

.uckg-contact-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #1a2336;
	color: #fff;
	font-size: 16px;
	line-height: 1;
}

/* Call icon: solid circle + soft outer ring (design reference) */
.uckg-contact-bar__icon--call {
	--uckg-cb-call-ring-size: 8px;
	--uckg-cb-call-ring-color: rgba(36, 48, 71, 0.55);
	border-radius: 50%;
	background: #243047;
	box-shadow: 0 0 0 var(--uckg-cb-call-ring-size) var(--uckg-cb-call-ring-color);
}

.uckg-contact-bar__icon--chat {
	border-radius: 12px;
}

.uckg-contact-bar--icons-circle .uckg-contact-bar__icon {
	border-radius: 999px;
}

.uckg-contact-bar--icons-rounded .uckg-contact-bar__icon {
	border-radius: 12px;
}

.uckg-contact-bar--icons-square .uckg-contact-bar__icon {
	border-radius: 0;
}

.uckg-contact-bar--icons-none .uckg-contact-bar__icon {
	width: auto;
	height: auto;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.uckg-contact-bar--icons-none .uckg-contact-bar__icon--call {
	box-shadow: none;
}

/* Keep call ring circular when shape presets force other radii */
.uckg-contact-bar--icons-rounded .uckg-contact-bar__icon--call,
.uckg-contact-bar--icons-square .uckg-contact-bar__icon--call,
.uckg-contact-bar--icons-circle .uckg-contact-bar__icon--call,
.uckg-contact-bar--icons-mixed .uckg-contact-bar__icon--call {
	border-radius: 50%;
}

.uckg-contact-bar__icon i,
.uckg-contact-bar__icon svg,
.uckg-contact-bar__arrow i,
.uckg-contact-bar__arrow svg {
	display: block;
	width: 1em;
	height: 1em;
}

.uckg-contact-bar__copy {
	min-width: 0;
	flex: 1 1 auto;
}

.uckg-contact-bar__prompt {
	margin: 0 0 2px;
	font-size: 0.92rem;
	line-height: 1.3;
	opacity: 0.95;
}

.uckg-contact-bar__number {
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: inherit;
	text-decoration: none;
}

a.uckg-contact-bar__number:hover {
	opacity: 0.9;
}

.uckg-contact-bar__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	flex: 0 0 auto;
	padding: 11px 20px;
	border-radius: 999px;
	background: #1D77F1;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.uckg-contact-bar--btn-rounded .uckg-contact-bar__button {
	border-radius: 10px;
}

.uckg-contact-bar--btn-square .uckg-contact-bar__button {
	border-radius: 0;
}

.uckg-contact-bar__button:hover {
	opacity: 0.92;
}

.uckg-contact-bar__divider {
	display: block;
	flex: 0 0 auto;
	width: 1px;
	align-self: stretch;
	min-height: 44px;
	background: rgba(255, 255, 255, 0.18);
}

.uckg-contact-bar--stacked .uckg-contact-bar__divider {
	width: 100%;
	height: 1px;
	min-height: 0;
	align-self: auto;
}

.uckg-contact-bar__chat-title {
	margin: 0 0 2px;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
}

.uckg-contact-bar__chat-sub {
	font-size: 0.9rem;
	line-height: 1.3;
	opacity: 0.8;
}

.uckg-contact-bar__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	font-size: 16px;
	line-height: 1;
	color: #fff;
	transition: color 0.2s ease, fill 0.2s ease;
}

.uckg-contact-bar__arrow i {
	color: inherit;
}

.uckg-contact-bar__arrow svg,
.uckg-contact-bar__arrow svg path,
.uckg-contact-bar__arrow svg circle,
.uckg-contact-bar__arrow svg line,
.uckg-contact-bar__arrow svg polyline,
.uckg-contact-bar__arrow svg polygon {
	fill: none;
	stroke: currentColor;
	color: inherit;
}

.uckg-contact-bar__arrow--diagonal {
	transform: rotate(45deg);
}

/* Call button visibility — class-based so desktop is never overridden by tablet/mobile */
.uckg-contact-bar--call-btn-hide .uckg-contact-bar__button {
	display: none;
}

.uckg-contact-bar--call-btn-show .uckg-contact-bar__button {
	display: inline-flex;
}

@media (max-width: 1024px) {
	.uckg-contact-bar--call-btn-hide-tablet .uckg-contact-bar__button {
		display: none;
	}

	.uckg-contact-bar--call-btn-show-tablet .uckg-contact-bar__button {
		display: inline-flex;
	}
}

@media (max-width: 767px) {
	.uckg-contact-bar--call-btn-hide-mobile .uckg-contact-bar__button {
		display: none;
	}

	.uckg-contact-bar--call-btn-show-mobile .uckg-contact-bar__button {
		display: inline-flex;
	}
}

@media (max-width: 1024px) {
	.uckg-contact-bar:not(.uckg-contact-bar--stacked) {
		flex-direction: column;
		align-items: stretch;
		padding: 18px 18px;
	}

	.uckg-contact-bar:not(.uckg-contact-bar--stacked) .uckg-contact-bar__divider {
		width: 100%;
		height: 1px;
		min-height: 0;
	}

	.uckg-contact-bar__side--call {
		flex-wrap: wrap;
	}

	.uckg-contact-bar__button {
		width: 100%;
	}
	.uckg-contact-bar__side {
		flex: 1 1 0;
	}
}
