/* Interview practice (19 November 2026). The cards, buttons, progress screen,
   score ring and bars are the CV tools' own (cv.css, classes cva-); this file
   holds only what an interview adds: the question, its four answers, the
   review of each question, and the list of vacancies practised. */

.cvi .cva-steps.is-3 {
	grid-template-columns: repeat(3, 1fr);
}

.cvi-job {
	margin-top: 12px !important;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--soft);
	color: var(--muted);
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}

.cvi-job b {
	color: var(--ink);
}

.cvi .cva-note a {
	color: var(--teal-d);
	font-weight: 700;
}

/* ---------------------------------------------------------- one question */

.cvi-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--muted);
}

.cvi-area {
	color: var(--teal-d);
	text-align: right;
}

.cvi-bar {
	height: 6px;
	margin: 10px 0 20px;
	border-radius: 4px;
	background: #e9eff5;
	overflow: hidden;
}

.cvi-bar i {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--teal-l), var(--teal));
	transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cva h2.cvi-q {
	font-size: 1.28rem;
	line-height: 1.38;
}

.cva h2.cvi-q:focus {
	outline: 0;
}

.cvi-opts {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.cvi-opt {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 1.5px solid #d5dee8;
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	color: var(--text);
	font: inherit;
	font-size: 0.98rem;
	line-height: 1.5;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.cvi-opt b {
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: -1px;
	border-radius: 50%;
	background: var(--soft);
	color: var(--ink);
	font-size: 0.85rem;
	font-weight: 800;
}

.cvi-opt span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.cvi-opt:hover {
	border-color: var(--teal);
	background: #fff;
	color: var(--text);
}

.cvi-opt[aria-checked="true"] {
	border-color: var(--teal);
	background: #e9f8f5;
	box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.12);
}

.cvi-opt[aria-checked="true"] b {
	background: var(--teal);
	color: #fff;
}

.cvi-opt:focus-visible {
	outline: 3px solid rgba(0, 168, 150, 0.45);
	outline-offset: 2px;
}

.cvi-nav .cva-btn[disabled] {
	cursor: not-allowed;
	opacity: 0.45;
}

/* -------------------------------------------------------------- the report */

.cvi-item {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.cvi-item:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.cva-more .cvi-item:first-of-type {
	padding-top: 4px;
}

.cvi-tag {
	display: block;
	margin-bottom: 4px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--teal-d);
}

.cvi-item > b {
	display: block;
	color: var(--ink);
	line-height: 1.45;
}

.cvi .cva-ba.is-before::before {
	content: "Your answer";
}

.cvi .cva-ba.is-after::before {
	content: "Best answer";
}

.cvi .cva-ba.is-after {
	padding-right: 12px;
}

.cvi .cva-ba.is-none {
	font-style: italic;
}

.cvi .cva-ba.is-none::before {
	content: none;
}

.cvi-why {
	margin-top: 8px !important;
	font-size: 0.92rem;
	color: #3d4f63;
}

/* ------------------------------------------------- the vacancies practised */

.cvi-hist {
	margin-top: 8px !important;
	border-top: 1px solid var(--line);
}

.cvi-hist li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.cvi-hist li > div:first-child {
	min-width: 0;
	flex: 1 1 260px;
}

.cvi-hist b,
.cvi-hist b a {
	color: var(--ink);
	overflow-wrap: anywhere;
}

.cvi-hist b a:hover {
	color: var(--teal-d);
}

.cvi-hist small {
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.86rem;
}

.cvi-acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cva .cvi-acts .cva-btn {
	width: auto;
	min-height: 40px;
	padding: 0 16px;
	font-size: 0.9rem;
}

@media (max-width: 760px) {
	.cva h2.cvi-q {
		font-size: 1.12rem;
	}

	.cvi-opt {
		padding: 13px 14px;
		font-size: 0.95rem;
	}

	.cvi-nav {
		flex-wrap: nowrap;
	}

	.cva .cvi-nav .cva-btn {
		width: auto;
		flex: 1 1 0;
		padding: 0 12px;
	}

	.cva .cvi-nav .cva-btn.is-ghost {
		flex: 0 0 auto;
	}
}
