/* CoinMentors aplikacija: osnova. Barve in mere iz Figma tokenov (--cm-* so tudi globalne Breakdance spremenljivke). */
.cm-app {
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	color: #0d0c0c;
	width: 100%;
}
.cm-app *, .cm-app *::before, .cm-app *::after { box-sizing: border-box; }
.cm-app__loading {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cm-app__loading::after {
	content: "";
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid #f8e8fc;
	border-top-color: #d20dff;
	animation: cm-spin 0.8s linear infinite;
}
@keyframes cm-spin { to { transform: rotate(360deg); } }
.cm-app-locked {
	max-width: 520px;
	margin: calc(var(--cm-header-h, 80px) + 64px) auto 80px;
	padding: 40px;
	text-align: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.10);
	font-family: Montserrat, sans-serif;
}
.cm-app-locked__btn {
	display: inline-block;
	margin-top: 16px;
	padding: 10px 24px;
	border-radius: 8px;
	background: #d20dff;
	color: #f9f9f9;
	font-weight: 700;
	text-decoration: none;
}
.cm-app-locked__btn:hover { background: #8200a0; color: #f9f9f9; }

/* ---------- Mobilna navigacija nadzornih plosc (CM.MobileNav), vzor Binance/Kraken ---------- */
.cm-bnav { display: none; }
@media (max-width: 1023px) {
	.cm-bnav {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		display: flex;
		align-items: stretch;
		justify-content: space-around;
		height: calc(64px + env(safe-area-inset-bottom, 0px));
		padding: 0 4px env(safe-area-inset-bottom, 0px);
		background: #fff;
		border-top: 1px solid #e5e5e5;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
		font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	}
	body.cm-has-bnav { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
.cm-bnav__item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 6px 2px;
	border: 0;
	background: none;
	color: #817e7e;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.cm-bnav__item:hover, .cm-bnav__item:focus { background: none; color: #0d0c0c; }
.cm-bnav__item.is-active, .cm-bnav__item.is-active:hover { color: #013bce; }
.cm-bnav__item:focus-visible { outline: 2px solid #d20dff; outline-offset: -4px; border-radius: 8px; }
.cm-bnav__ic { position: relative; display: block; width: 24px; height: 24px; }
.cm-bnav__icon, .cm-bsheet__icon {
	display: block;
	width: 100%;
	height: 100%;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.cm-bnav__icon { width: 22px; height: 22px; margin: 1px; }
.cm-bnav__label {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	line-height: 14px;
	font-weight: 600;
}
.cm-bnav__item.is-active .cm-bnav__label { font-weight: 700; }
.cm-bnav__badge {
	position: absolute;
	top: -4px;
	right: -9px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #f01010;
	color: #fff;
	font-style: normal;
	font-size: 10px;
	line-height: 16px;
	font-weight: 700;
	text-align: center;
	box-shadow: 0 0 0 2px #fff;
}
.cm-bnav__badge--inline { position: static; box-shadow: none; margin-left: auto; }
.cm-bsheet { font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.cm-bsheet__handle { width: 40px; height: 4px; margin: 10px auto 6px; border-radius: 999px; background: #cccbcb; }
.cm-bsheet__title { padding: 8px 20px 4px; font-size: 16px; line-height: 24px; font-weight: 700; color: #0d0c0c; }
.cm-bsheet__list { display: flex; flex-direction: column; padding: 4px 8px 12px; }
.cm-bsheet__row {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 52px;
	padding: 12px;
	border: 0;
	border-radius: 12px;
	background: none;
	color: #0d0c0c;
	font-family: inherit;
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.cm-bsheet__row:hover, .cm-bsheet__row:focus { background: #f9f9f9; color: #0d0c0c; }
.cm-bsheet__row.is-active { background: #e8eefc; color: #013bce; }
.cm-bsheet__row.is-danger { color: #dc2626; }
.cm-bsheet__ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 8px; border-radius: 10px; background: #f9f9f9; }
.cm-bsheet__row.is-active .cm-bsheet__ic { background: #fff; }
.cm-bsheet__label { flex: 1 1 auto; }
.cm-bsheet__chev { margin-left: auto; color: #9a9898; font-size: 22px; line-height: 1; }
.cm-bnav__badge--inline + .cm-bsheet__chev { margin-left: 8px; }
