/* Rota Kurumsal live demo bar (only on demo sites). */
.rota-demo-bar {
	position: relative;
	z-index: 100;
	background: #101114;
	color: #f2f3f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.3;
}

.rota-demo-in {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 8px 20px;
}

.rota-demo-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 700;
	white-space: nowrap;
}

.rota-demo-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.rota-demo-nav {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.rota-demo-nav::-webkit-scrollbar {
	display: none;
}

.rota-demo-nav ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rota-demo-nav a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	color: #c9ccd3;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s, color 0.15s;
}

.rota-demo-nav a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.rota-demo-nav a.is-current {
	background: #fff;
	color: #101114;
	font-weight: 700;
}

.rota-demo-dots {
	display: inline-flex;
}

.rota-demo-dots i {
	width: 10px;
	height: 10px;
	margin-left: -3px;
	border: 1.5px solid #101114;
	border-radius: 50%;
}

.rota-demo-dots i:first-child {
	margin-left: 0;
}

.rota-demo-nav a.is-current .rota-demo-dots i {
	border-color: #fff;
}

.rota-demo-buy {
	flex: 0 0 auto;
	margin-left: auto;
	padding: 7px 16px;
	border-radius: 999px;
	background: #3858e9;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.rota-demo-buy:hover {
	background: #2a46c9;
	color: #fff;
}

.rota-demo-bar a:focus-visible {
	outline: 2px solid #8ea2ff;
	outline-offset: 2px;
}

.rota-demo-notice {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #fff6e0;
	color: #5c4300;
	font-size: 14px;
	font-weight: 600;
}

@media (max-width: 781px) {
	.rota-demo-in {
		flex-wrap: wrap;
		gap: 8px 12px;
		padding: 8px 16px;
	}

	.rota-demo-title {
		flex: 1 1 auto;
	}

	.rota-demo-nav {
		order: 3;
		flex-basis: 100%;
	}
}

/* Many concepts: a picker instead of a long row. */
.rota-demo-nav.is-many {
	overflow: visible;
}

.rota-demo-pick {
	position: relative;
}

.rota-demo-pick summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: #c9ccd3;
	cursor: pointer;
	list-style: none;
	white-space: nowrap;
}

.rota-demo-pick summary::-webkit-details-marker {
	display: none;
}

.rota-demo-pick summary::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.rota-demo-pick[open] summary::after {
	transform: translateY(2px) rotate(-135deg);
}

.rota-demo-pick summary b {
	color: #fff;
}

.rota-demo-pick summary:focus-visible {
	outline: 2px solid #8ea2ff;
	outline-offset: 2px;
}

.rota-demo-pick ul {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(190px, 1fr));
	gap: 2px;
	width: max-content;
	max-width: calc(100vw - 40px);
	padding: 10px;
	border-radius: 14px;
	background: #1b1d22;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 781px) {
	.rota-demo-pick ul {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: auto;
		max-width: none;
		margin-top: 8px;
	}

	.rota-demo-pick ul a {
		white-space: normal;
	}
}
