/* Absolute Contact Float — front-end stilovi */

.acf-float {
	position: fixed;
	bottom: 24px;
	z-index: 99999;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.acf-float--left {
	left: 20px;
	align-items: flex-start;
}

.acf-float--right {
	right: 20px;
	align-items: flex-end;
}

/* Okruglo dugme sa slušalicom */
.acf-float__toggle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 3px solid #ffffff;
	background: var(--acf-float-color, #1e88c7);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	transition: background-color 0.2s ease, transform 0.2s ease;
	padding: 0;
	line-height: 0;
}

.acf-float__toggle:hover {
	background: var(--acf-float-hover, #16699a);
	transform: scale(1.05);
}

.acf-float__toggle svg {
	width: 26px;
	height: 26px;
}

.acf-float__icon--close {
	display: none;
}

.acf-float.is-open .acf-float__icon--open {
	display: none;
}

.acf-float.is-open .acf-float__icon--close {
	display: flex;
}

/* Panel */
.acf-float__panel {
	width: 280px;
	max-width: calc(100vw - 40px);
	background: #ffffff;
	border: 1px solid #1a1a1a;
	border-radius: 4px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	animation: acfFloatIn 0.22s ease;
}

@keyframes acfFloatIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.acf-float__header {
	background: var(--acf-float-color, #1e88c7);
	color: #ffffff;
	font-size: 17px;
	font-weight: 600;
	padding: 14px 18px;
}

.acf-float__body {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #ffffff;
}

/* Kartice */
.acf-float__item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--acf-float-color, #1e88c7);
	color: #ffffff;
	border-radius: 6px;
	padding: 14px 16px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

a.acf-float__item:hover,
a.acf-float__item:focus {
	background: var(--acf-float-hover, #16699a);
	color: #ffffff;
	text-decoration: none;
}

.acf-float__item-icon {
	flex: 0 0 auto;
	display: flex;
	line-height: 0;
}

.acf-float__item-icon svg {
	width: 24px;
	height: 24px;
}

.acf-float__item-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.acf-float__item-title {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	word-break: break-word;
}

.acf-float__item-sub {
	font-size: 12.5px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.35;
}

@media (max-width: 480px) {
	.acf-float {
		bottom: 16px;
	}
	.acf-float--left {
		left: 12px;
	}
	.acf-float--right {
		right: 12px;
	}
	.acf-float__toggle {
		width: 54px;
		height: 54px;
	}
}
