/* UMX B2B – osnovni slogi (blagajna, registracija, oznaka B2B cene). */
:root {
	--umx-black: #0b0b0b;
	--umx-red: #ed1c24;
	--umx-red-dark: #c8141b;
	--umx-bg: #f5f5f5;
	--umx-line: #e3e3e3;
	--umx-input: #cfcfcf;
	--umx-text: #1a1a1a;
	--umx-muted: #8a8a8a;
}

/* Oznaka B2B cene */
.umx-b2b-badge {
	display: inline-block;
	margin-left: .35em;
	padding: 2px 6px;
	background: var(--umx-black);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Izbira Fizična / Pravna oseba – blagajna (WooCommerce radio) */
.umx-type-field .woocommerce-input-wrapper {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.umx-type-field input[type="radio"],
.umx-type-switch input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.umx-type-field label.radio,
.umx-type-switch__option span {
	flex: 1 1 160px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0 !important;
	padding: 10px 16px;
	border: 1px solid var(--umx-input);
	background: #fff;
	color: var(--umx-text);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, color .15s;
}
.umx-type-field label.radio:hover,
.umx-type-switch__option span:hover {
	border-color: var(--umx-black);
}
.umx-type-field input[type="radio"]:checked + label.radio,
.umx-type-switch__option input:checked + span {
	background: var(--umx-black);
	border-color: var(--umx-black);
	color: #fff;
	box-shadow: inset 0 -3px 0 var(--umx-red);
}
.umx-type-field input[type="radio"]:focus-visible + label.radio,
.umx-type-switch__option input:focus-visible + span {
	outline: 2px solid var(--umx-red);
	outline-offset: 2px;
}

/* Registracija */
.umx-type-switch { margin-bottom: 1.2em; }
.umx-type-switch__label {
	display: block;
	margin-bottom: .5em;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--umx-text);
}
.umx-type-switch__options { display: flex; gap: 12px; flex-wrap: wrap; }
.umx-type-switch__option { flex: 1 1 140px; display: flex; margin: 0; position: relative; }
.umx-type-switch__option span { width: 100%; }
.umx-company-fields[hidden] { display: none !important; }
.umx-company-fields {
	padding: 16px 16px 4px;
	margin-bottom: 1.2em;
	background: var(--umx-bg);
	border-left: 3px solid var(--umx-red);
}
.umx-hint { font-size: 13px; color: var(--umx-muted); margin-bottom: 12px; }

/* ---------- B2B kartice na nadzorni plošči ---------- */
.umx-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin: 0 0 28px;
}
.umx-card {
	background: var(--umx-bg);
	border: 1px solid var(--umx-line);
	border-top: 3px solid var(--umx-black);
	padding: 20px 24px;
}
.umx-card--manager { border-top-color: var(--umx-red); }
.umx-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.umx-card__title {
	margin: 0 !important;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: 700 !important;
	letter-spacing: .1em;
	text-transform: uppercase !important;
	color: var(--umx-muted) !important;
}
.umx-status {
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.4;
	white-space: nowrap;
}
.umx-status--ok { background: var(--umx-black); color: #fff; }
.umx-status--pending { background: var(--umx-red); color: #fff; }
.umx-status--off { background: var(--umx-line); color: var(--umx-text); }
.umx-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 12px; }
.umx-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--umx-muted); }
.umx-dl dd { margin: 0; font-weight: 600; color: var(--umx-black); word-break: break-word; }
.umx-terms { margin: 0 0 12px; padding: 0; list-style: none; }
.umx-terms li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.umx-terms li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 8px;
	height: 3px;
	background: var(--umx-red);
}
.umx-card__note { font-size: 14px; color: #555; margin: 0 0 12px; }
.umx-link {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--umx-red) !important;
}
.umx-manager__name { margin: 0; font-size: 20px; font-weight: 800; font-style: italic; color: var(--umx-black); }
.umx-manager__title { margin: 2px 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--umx-muted); }
.umx-manager__contact { margin: 0 0 8px; padding: 0; list-style: none; }
.umx-manager__contact li { margin: 0 0 4px; }
.umx-manager__contact a { color: var(--umx-black); font-weight: 600; }
.umx-manager__contact a:hover { color: var(--umx-red); }
.umx-company-hint {
	padding: 12px 16px;
	background: var(--umx-bg);
	border-left: 3px solid var(--umx-red);
	font-size: 14px;
}
.umx-company-hint a { color: var(--umx-red); font-weight: 600; }

