/* AML overenie podľa IČO. Farby sa nastavujú v administrácii (--amlc-primary, --amlc-accent). */
.amlc {
	--amlc-primary: #003159;
	--amlc-accent: #cca375;
	--amlc-text: #1f2a37;
	--amlc-muted: #5f6b7a;
	--amlc-line: #e3e7ec;
	--amlc-bg: #ffffff;
	--amlc-soft: #f5f7f9;
	--amlc-high: #b42318;
	--amlc-high-bg: #fef3f2;
	--amlc-medium: #9a6700;
	--amlc-medium-bg: #fff8e6;
	--amlc-none: #1a7f4b;
	--amlc-none-bg: #edf8f1;
	--amlc-radius: 10px;
	color: var(--amlc-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	max-width: 760px;
	margin: 0 auto;
	box-sizing: border-box;
}
.amlc *, .amlc *::before, .amlc *::after { box-sizing: border-box; }

.amlc-form {
	background: var(--amlc-primary);
	color: #fff;
	border-radius: var(--amlc-radius);
	padding: 28px 28px 24px;
	border-bottom: 4px solid var(--amlc-accent);
}
.amlc .amlc-title {
	color: #fff;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 8px;
	padding: 0;
}
.amlc .amlc-intro {
	color: rgba(255, 255, 255, .85);
	margin: 0 0 18px;
	padding: 0;
	font-size: 15px;
}
.amlc-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--amlc-accent);
	margin-bottom: 6px;
}
.amlc-row { display: flex; gap: 10px; }
.amlc .amlc-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 0 16px;
	font: inherit;
	font-size: 20px;
	letter-spacing: .08em;
	color: var(--amlc-text);
	background: #fff;
	outline: none;
	box-shadow: none;
}
.amlc .amlc-input:focus { border-color: var(--amlc-accent); }
.amlc .amlc-button {
	flex: 0 0 auto;
	height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 8px;
	background: var(--amlc-accent);
	color: var(--amlc-primary);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}
.amlc .amlc-button:hover { filter: brightness(1.06); }
.amlc .amlc-button:active { transform: translateY(1px); }
.amlc .amlc-button:disabled { cursor: progress; opacity: .8; }
.amlc .amlc-error {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: 8px;
	background: #fff;
	color: var(--amlc-high);
	font-size: 15px;
	font-weight: 600;
}
.amlc-error-admin { display: block; margin-top: 8px; font-size: 13px; color: var(--amlc-muted); font-weight: 600; }
.amlc .amlc-error-details { margin: 4px 0 0; padding: 0 0 0 18px; list-style: disc; font-size: 13px; font-weight: 400; color: var(--amlc-text); word-break: break-word; }
.amlc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Výsledok */
.amlc-result:empty { display: none; }
.amlc-result { margin-top: 18px; }
.amlc-card {
	background: var(--amlc-bg);
	border: 1px solid var(--amlc-line);
	border-top: 5px solid var(--amlc-muted);
	border-radius: var(--amlc-radius);
	padding: 22px 24px;
	box-shadow: 0 6px 24px rgba(0, 32, 64, .06);
	animation: amlc-in .25s ease-out;
}
.amlc-card--high { border-top-color: var(--amlc-high); }
.amlc-card--medium { border-top-color: var(--amlc-medium); }
.amlc-card--none { border-top-color: var(--amlc-none); }
@keyframes amlc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.amlc-entity { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--amlc-line); }
.amlc-entity-name { font-size: 19px; font-weight: 700; color: var(--amlc-primary); line-height: 1.3; }
.amlc-entity-meta { font-size: 14px; color: var(--amlc-muted); margin-top: 2px; }

.amlc-verdict { display: flex; align-items: flex-start; gap: 12px; }
.amlc-icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 18px;
	color: #fff;
	background: var(--amlc-muted);
	margin-top: 1px;
}
.amlc-card--high .amlc-icon { background: var(--amlc-high); }
.amlc-card--medium .amlc-icon { background: var(--amlc-medium); }
.amlc-card--none .amlc-icon { background: var(--amlc-none); }
.amlc .amlc-verdict-title {
	margin: 0;
	padding: 3px 0 0;
	font-size: 19px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--amlc-text);
}
.amlc .amlc-verdict-text { margin: 10px 0 0 44px; padding: 0; color: var(--amlc-text); }

.amlc .amlc-matches { list-style: none; margin: 18px 0 0; padding: 0; }
.amlc .amlc-match {
	list-style: none;
	margin: 0 0 10px;
	padding: 14px 16px;
	border-radius: 8px;
	background: var(--amlc-soft);
	border-left: 4px solid var(--amlc-muted);
}
.amlc .amlc-match--A { background: var(--amlc-high-bg); border-left-color: var(--amlc-high); }
.amlc .amlc-match--B, .amlc .amlc-match--C { background: var(--amlc-medium-bg); border-left-color: var(--amlc-medium); }
.amlc-match-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.amlc-match-label { font-weight: 700; }
.amlc-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 8px;
	border-radius: 999px;
	background: #fff;
	color: var(--amlc-muted);
	border: 1px solid currentColor;
	white-space: nowrap;
}
.amlc-badge--A { color: var(--amlc-high); }
.amlc-badge--B, .amlc-badge--C { color: var(--amlc-medium); }
.amlc .amlc-match-acts { margin: 6px 0 0; padding: 0 0 0 18px; list-style: disc; }
.amlc .amlc-match-acts li { margin: 2px 0; padding: 0; font-size: 15px; }
.amlc .amlc-match-note { margin: 8px 0 0; padding: 0; font-size: 14px; color: var(--amlc-muted); }

.amlc .amlc-deadline, .amlc .amlc-warn {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--amlc-soft);
	border: 1px dashed var(--amlc-accent);
	font-size: 15px;
	font-weight: 600;
}
.amlc .amlc-warn { margin: 0 0 14px; border-color: var(--amlc-high); color: var(--amlc-high); }

.amlc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.amlc .amlc-cta-button {
	display: inline-block;
	padding: 13px 24px;
	border-radius: 8px;
	background: var(--amlc-primary);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: filter .15s ease;
}
.amlc .amlc-cta-button:hover { filter: brightness(1.2); }
.amlc-cta-note { font-size: 15px; color: var(--amlc-muted); }

.amlc-all { margin-top: 18px; border-top: 1px solid var(--amlc-line); padding-top: 12px; }
.amlc-all summary { cursor: pointer; font-weight: 600; color: var(--amlc-primary); font-size: 15px; }
.amlc .amlc-all ul { margin: 10px 0 0; padding: 0 0 0 18px; list-style: disc; }
.amlc .amlc-all li { margin: 3px 0; padding: 0; font-size: 14px; color: var(--amlc-muted); }
.amlc .amlc-all li.amlc-hit { color: var(--amlc-text); font-weight: 600; }
.amlc .amlc-all li.amlc-hit--A::marker { color: var(--amlc-high); }
.amlc .amlc-all li.amlc-hit--B::marker, .amlc .amlc-all li.amlc-hit--C::marker { color: var(--amlc-medium); }

.amlc-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--amlc-line); }
.amlc .amlc-source, .amlc .amlc-disclaimer, .amlc .amlc-muted { margin: 0 0 6px; padding: 0; font-size: 13px; color: var(--amlc-muted); line-height: 1.5; }
.amlc .amlc-source a { color: var(--amlc-primary); }

@media (max-width: 560px) {
	.amlc-form { padding: 22px 18px 18px; }
	.amlc .amlc-title { font-size: 21px; }
	.amlc-row { flex-direction: column; }
	.amlc .amlc-button { width: 100%; }
	.amlc-card { padding: 18px 16px; }
	.amlc .amlc-verdict-text { margin-left: 0; }
}
