.mediana-sync {
	--mediana-accent: #5eb8b4;
	--mediana-accent-dark: #0b4f71;
	--mediana-row-alt: #f1faf9;
	--mediana-border: #b7dedc;
	color: inherit;
}

.mediana-sync .mediana-effective-date {
	margin: 0 0 1.5rem;
}

.mediana-sync .mediana-price-section {
	margin: 0 0 2rem;
}

.mediana-sync .mediana-price-section h3 {
	margin: 1.5rem 0 0.65rem;
	color: var(--mediana-accent-dark);
	font-size: 1.15rem;
}

.mediana-sync .mediana-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.mediana-sync .mediana-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: #fff;
	font-size: 0.98rem;
}

.mediana-sync .mediana-table th,
.mediana-sync .mediana-table td {
	padding: 0.75rem 0.8rem;
	border: 1px solid var(--mediana-border);
	vertical-align: middle;
	text-align: left;
}

.mediana-sync .mediana-table th {
	background: #dff1df;
	color: var(--mediana-accent-dark);
	font-weight: 700;
}

.mediana-sync .mediana-table tbody tr:nth-child(even) {
	background: var(--mediana-row-alt);
}

.mediana-sync .mediana-price-table th:nth-child(2),
.mediana-sync .mediana-price-table td:nth-child(2) {
	width: 8.5rem;
	white-space: nowrap;
}

.mediana-sync .mediana-price-table th:nth-child(3),
.mediana-sync .mediana-price-table td:nth-child(3) {
	width: 13rem;
}

.mediana-sync .mediana-schedule-table th:nth-child(1),
.mediana-sync .mediana-schedule-table td:nth-child(1) {
	width: 34%;
	text-align: center;
}

.mediana-sync .mediana-schedule-table th:nth-child(2),
.mediana-sync .mediana-schedule-table td:nth-child(2) {
	width: 42%;
	text-align: center;
}

.mediana-sync .mediana-schedule-table th:nth-child(3),
.mediana-sync .mediana-schedule-table td:nth-child(3) {
	width: 24%;
	text-align: center;
}

.mediana-sync .mediana-specialty,
.mediana-sync .mediana-phone,
.mediana-sync .mediana-schedule-note {
	display: block;
	margin-top: 0.2rem;
}

.mediana-sync .mediana-note {
	color: #4f4f4f;
	font-size: 0.92em;
}

.mediana-sync .mediana-phone a {
	white-space: nowrap;
}

.mediana-sync .mediana-booking-text {
	display: block;
}

.mediana-sync .mediana-booking-text:not(:last-child) {
	margin-bottom: 0.55rem;
}

.mediana-sync .mediana-booking-button {
	display: inline-block;
	max-width: 100%;
	padding: 0.52rem 0.8rem;
	border: 1px solid var(--mediana-accent-dark);
	border-radius: 6px;
	background: var(--mediana-accent-dark);
	color: #fff !important;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
}

.mediana-sync .mediana-booking-button:hover,
.mediana-sync .mediana-booking-button:focus {
	background: #083b55;
	border-color: #083b55;
	color: #fff !important;
}

.mediana-sync .mediana-booking-empty {
	color: #7a7a7a;
}

.mediana-original-floating-control-hidden {
	display: none !important;
}

.mediana-compact-controls {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	pointer-events: none;
}

.mediana-compact-control {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	min-width: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	pointer-events: auto;
}

.mediana-compact-control svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mediana-compact-control::after {
	content: attr(data-label);
	position: absolute;
	right: 66px;
	top: 50%;
	transform: translateY(-50%);
	width: max-content;
	max-width: 240px;
	padding: 0.48rem 0.68rem;
	border-radius: 5px;
	background: #263238;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease;
	pointer-events: none;
}

.mediana-compact-control:hover::after,
.mediana-compact-control:focus-visible::after {
	opacity: 1;
	visibility: visible;
}

.mediana-compact-answers {
	background: #2176b5;
}

.mediana-compact-answers:hover,
.mediana-compact-answers:focus-visible {
	background: #175a89;
}

.mediana-compact-viber {
	background: #6755b5;
}

.mediana-compact-viber:hover,
.mediana-compact-viber:focus-visible {
	background: #4f4091;
}

@media (max-width: 700px) {
	.mediana-sync .mediana-table,
	.mediana-sync .mediana-table thead,
	.mediana-sync .mediana-table tbody,
	.mediana-sync .mediana-table tr,
	.mediana-sync .mediana-table th,
	.mediana-sync .mediana-table td {
		display: block;
	}

	.mediana-sync .mediana-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.mediana-sync .mediana-table tbody tr {
		margin: 0 0 0.8rem;
		border: 1px solid var(--mediana-border);
		background: #fff;
	}

	.mediana-sync .mediana-table tbody tr:nth-child(even) {
		background: var(--mediana-row-alt);
	}

	.mediana-sync .mediana-table td,
	.mediana-sync .mediana-price-table td:nth-child(2),
	.mediana-sync .mediana-price-table td:nth-child(3),
	.mediana-sync .mediana-schedule-table td:first-child,
	.mediana-sync .mediana-schedule-table td:last-child {
		width: auto;
		padding: 0.65rem 0.75rem 0.65rem 44%;
		border: 0;
		border-bottom: 1px solid #d9eceb;
		text-align: left;
		white-space: normal;
		position: relative;
	}

	.mediana-sync .mediana-table td:last-child {
		border-bottom: 0;
	}

	.mediana-sync .mediana-table td::before {
		content: attr(data-label);
		position: absolute;
		left: 0.75rem;
		top: 0.65rem;
		width: calc(44% - 1rem);
		color: var(--mediana-accent-dark);
		font-weight: 700;
	}

	.mediana-compact-controls {
		right: 10px;
		bottom: 10px;
		gap: 6px;
	}

	.mediana-compact-control {
		width: 48px;
		height: 48px;
		min-width: 48px;
	}

	.mediana-compact-control svg {
		width: 23px;
		height: 23px;
	}

	.mediana-compact-control::after {
		display: none;
	}
}
