/* Shopivers Vibe Code Detector – udviklet af Shopivers (https://shopivers.com) */
.vibedet {
	--vd-accent: #4daaf2;
	--vd-accent-ink: #ffffff;
	--vd-bg: #ffffff;
	--vd-surface: #f6f5fa;
	--vd-border: #e4e2ec;
	--vd-text: #1c1a24;
	--vd-muted: #6b6878;
	--vd-ok: #15803d;
	--vd-mid: #b45309;
	--vd-low: #64748b;
	--vd-bad: #b91c1c;
	--vd-radius: 12px;

	max-width: 760px;
	margin: 2rem auto;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--vd-bg);
	color: var(--vd-text);
	border: 1px solid var(--vd-border);
	border-radius: calc(var(--vd-radius) + 4px);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}
.vibedet *, .vibedet *::before, .vibedet *::after { box-sizing: border-box; }

.vibedet h2.vibedet__title {
	margin: 0 0 .5rem;
	padding: 0;
	color: var(--gcid-secondary-color) !important;
	font-size: 30px;
	line-height: 1.25;
}
.vibedet__intro { margin: 0 0 1.25rem; color: var(--vd-muted); }

.vibedet__form { display: flex; gap: .5rem; flex-wrap: wrap; }
.vibedet__input {
	flex: 1 1 260px; min-width: 0;
	padding: .8rem 1rem; font-size: 1rem;
	border: 1px solid var(--vd-border); border-radius: var(--vd-radius);
	background: var(--vd-bg); color: var(--vd-text);
}
.vibedet__input:focus { outline: 2px solid #4daaf2; outline-offset: 1px; border-color: transparent; }
.vibedet__btn,
.vibedet a.vibedet__cta {
	flex: 0 0 auto;
	display: inline-block;
	padding: 10px 60px !important;
	font-family: 'Oxygen', Helvetica, Arial, Lucida, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.7;
	background-color: #4daaf2;
	color: #ffffff !important;
	border: 0;
	border-radius: 100px;
	box-shadow: 0 12px 24px -10px rgba(77, 170, 242, .55);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vibedet__btn:hover,
.vibedet a.vibedet__cta:hover {
	background-color: #3a9be6;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -10px rgba(77, 170, 242, .7);
}
.vibedet__btn:focus-visible,
.vibedet a.vibedet__cta:focus-visible { outline: 2px solid #4daaf2; outline-offset: 3px; }
.vibedet__btn:disabled { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 520px) {
	.vibedet__btn { width: 100%; padding: 10px 24px !important; }
}
.vibedet__note { margin: .75rem 0 0; font-size: .8rem; color: var(--vd-muted); }

.vibedet__result { margin-top: 1.5rem; }
.vibedet__loading { padding: 1rem; color: var(--vd-muted); background: var(--vd-surface); border-radius: var(--vd-radius); }

.vibedet__hero {
	padding: 1.25rem; border-radius: var(--vd-radius);
	background: var(--vd-surface); border-left: 5px solid var(--vd-low);
}
.vibedet__hero.is-confirmed { border-left-color: var(--vd-ok); }
.vibedet__hero.is-probable  { border-left-color: var(--vd-mid); }
.vibedet__verdict { font-size: 1.3rem; font-weight: 700; }
.vibedet__meter { height: 8px; margin: .75rem 0 .5rem; background: var(--vd-border); border-radius: 99px; overflow: hidden; }
.vibedet__meter span { display: block; height: 100%; background: var(--vd-low); border-radius: 99px; transition: width .6s ease; }
.is-confirmed .vibedet__meter span { background: var(--vd-ok); }
.is-probable  .vibedet__meter span { background: var(--vd-mid); }
.vibedet__meta { font-size: .85rem; color: var(--vd-muted); word-break: break-word; }

.vibedet__warn { margin-top: .75rem; padding: .8rem 1rem; border-radius: var(--vd-radius); font-size: .92rem; background: var(--vd-surface); border: 1px solid var(--vd-border); }
.vibedet__warn.is-critical { border-color: var(--vd-bad); color: var(--vd-bad); }
.vibedet__warn.is-warning  { border-color: var(--vd-mid); }

.vibedet__section { margin-top: 1.5rem; }
.vibedet__section h4 { margin: 0 0 .6rem; font-size: 1rem; }
.vibedet__row { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--vd-border); }
.vibedet__pill { font-size: .8rem; font-weight: 600; padding: .1rem .55rem; border-radius: 99px; background: var(--vd-surface); color: var(--vd-low); }
.vibedet__pill.is-confirmed { color: var(--vd-ok); }
.vibedet__pill.is-probable  { color: var(--vd-mid); }

.vibedet__signals { list-style: none; margin: 0; padding: 0; }
.vibedet__signals li { display: flex; gap: .6rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px solid var(--vd-border); font-size: .93rem; }
.vibedet__tag { flex: 0 0 auto; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: .1rem .45rem; border-radius: 6px; background: var(--vd-surface); color: var(--vd-muted); }

.vibedet__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem; }
.vibedet__cell { padding: .65rem .8rem; background: var(--vd-surface); border-radius: var(--vd-radius); }
.vibedet__k { display: block; font-size: .75rem; color: var(--vd-muted); }
.vibedet__v { display: block; font-weight: 600; word-break: break-all; }

.vibedet__muted { margin-top: 1.25rem; font-size: .82rem; color: var(--vd-muted); }
.vibedet a.vibedet__cta { margin-top: 1rem; }

@media (prefers-color-scheme: dark) {
	.vibedet.vibedet--auto-dark {
		--vd-bg: #17161c; --vd-surface: #22212a; --vd-border: #34323f;
		--vd-text: #ece9f5; --vd-muted: #a09cb0;
	}
}

.vibedet__credit { margin: 1.25rem 0 0; font-size: .75rem; color: var(--vd-muted); text-align: right; }
.vibedet__credit a { color: inherit; text-decoration: underline; }

.vibedet__tag.is-sure { background: var(--vd-ok); color: #fff; }
