:root {
	--ox-ink: #102033;
	--ox-muted: #526173;
	--ox-accent: #2c7a6b;
	--ox-accent-2: #d97745;
	--ox-surface: rgba(255, 251, 245, 0.92);
	--ox-border: rgba(16, 32, 51, 0.12);
	--ox-shadow: 0 30px 90px rgba(16, 32, 51, 0.22);
	--ox-radius: 28px;
	--ox-font: "Segoe UI", "Trebuchet MS", sans-serif;
}

html,
body.olatechexams-page {
	margin: 0;
	font-family: var(--ox-font);
	color: var(--ox-ink);
	background:
		radial-gradient(circle at top left, rgba(44, 122, 107, 0.18), transparent 34%),
		radial-gradient(circle at right center, rgba(217, 119, 69, 0.16), transparent 28%),
		linear-gradient(135deg, #f6f1e8 0%, #eef4f2 100%);
}

.ox-shell {
	min-height: 100vh;
	padding: 48px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.ox-orb {
	position: absolute;
	border-radius: 999px;
	filter: blur(12px);
	opacity: 0.75;
	animation: ox-float 10s ease-in-out infinite;
}

.ox-orb-one {
	width: 260px;
	height: 260px;
	background: rgba(44, 122, 107, 0.14);
	top: -80px;
	left: -60px;
}

.ox-orb-two {
	width: 220px;
	height: 220px;
	background: rgba(217, 119, 69, 0.14);
	bottom: -90px;
	right: -50px;
	animation-delay: -4s;
}

.ox-panel {
	width: min(920px, 100%);
	position: relative;
	z-index: 1;
	animation: ox-rise 0.8s ease both;
}

.ox-hero {
	margin-bottom: 22px;
	padding: 4px 4px 10px;
}

.ox-kicker {
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 0.76rem;
	color: var(--ox-accent);
	font-weight: 700;
}

.ox-hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 4.4rem);
	line-height: 0.98;
	max-width: 10ch;
}

.ox-subtitle {
	margin: 16px 0 0;
	max-width: 58ch;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--ox-muted);
}

.ox-card {
	background: var(--ox-surface);
	border: 1px solid var(--ox-border);
	border-radius: var(--ox-radius);
	box-shadow: var(--ox-shadow);
	backdrop-filter: blur(18px);
	padding: 24px;
	margin-top: 20px;
}

.ox-card h2,
.ox-result h3 {
	margin: 0 0 16px;
	font-size: 1.4rem;
}

.ox-notice {
	margin-top: 20px;
	padding: 14px 16px;
	border-radius: 18px;
	background: rgba(217, 119, 69, 0.12);
	color: #7d3d1f;
	border: 1px solid rgba(217, 119, 69, 0.22);
}

.ox-form {
	display: grid;
	gap: 18px;
}

.ox-grid-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ox-field {
	display: grid;
	gap: 8px;
}

.ox-field--full {
	grid-column: 1 / -1;
}

.ox-field label {
	font-weight: 700;
	font-size: 0.94rem;
}

.ox-field input,
.ox-field select,
.ox-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(16, 32, 51, 0.15);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--ox-ink);
	padding: 14px 16px;
	font: inherit;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ox-field textarea {
	resize: vertical;
	min-height: 128px;
	line-height: 1.7;
}

.ox-field input:focus,
.ox-field select:focus,
.ox-field textarea:focus {
	border-color: rgba(44, 122, 107, 0.55);
	box-shadow: 0 0 0 4px rgba(44, 122, 107, 0.12);
	transform: translateY(-1px);
}

.ox-button {
	border: 0;
	border-radius: 999px;
	padding: 14px 22px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	background: linear-gradient(135deg, var(--ox-ink), #274d42);
	color: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	justify-self: start;
}

.ox-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 30px rgba(16, 32, 51, 0.2);
}

.ox-button--primary {
	background: linear-gradient(135deg, var(--ox-accent), #1f5f55);
}

.ox-button--secondary {
	background: linear-gradient(135deg, #d97745, #b65b2c);
	margin-top: 8px;
}

.ox-button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.ox-materials {
	margin-top: 14px;
	padding: 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(16, 32, 51, 0.08);
}

.ox-material-search {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 12px;
	border: 1px solid rgba(16, 32, 51, 0.15);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--ox-ink);
	padding: 12px 14px;
	font: inherit;
}

.ox-materials-copy,
.ox-materials-empty {
	margin: 0;
	color: var(--ox-muted);
	font-size: 0.95rem;
}

.ox-materials-group[hidden] {
	display: none;
}

.ox-materials-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.ox-material-link {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(44, 122, 107, 0.1);
	border: 1px solid rgba(44, 122, 107, 0.18);
	color: var(--ox-ink);
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ox-material-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 24px rgba(16, 32, 51, 0.12);
	background: rgba(44, 122, 107, 0.16);
}

.ox-materials-more {
	margin-top: 12px;
}

.ox-result {
	margin-top: 24px;
	padding: 20px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(16, 32, 51, 0.08);
	scroll-margin-top: 24px;
}

.ox-result-head {
	display: flex;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 25px;
}

.ox-result-head p {
	margin: 0;
	color: var(--ox-muted);
}

.ox-answer {
	font-size: 1.02rem;
	line-height: 1.85;
	color: var(--ox-ink);
}

.ox-result-note {
	margin: 14px 0 0;
	color: var(--ox-muted);
	font-size: 0.95rem;
}

.ox-scroll-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 20;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: var(--ox-ink);
	color: #fff;
	box-shadow: 0 16px 34px rgba(16, 32, 51, 0.28);
	cursor: pointer;
	font: 700 1.25rem/1 var(--ox-font);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ox-scroll-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.ox-scroll-top:hover {
	box-shadow: 0 20px 42px rgba(16, 32, 51, 0.34);
	transform: translateY(-1px);
}

@keyframes ox-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, 18px, 0);
	}
}

@keyframes ox-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 760px) {
	.ox-shell {
		padding: 20px 14px 30px;
	}

	.ox-panel {
		width: 100%;
	}

	.ox-card {
		padding: 18px;
	}

	.ox-grid-fields {
		grid-template-columns: 1fr;
	}

	.ox-hero h1 {
		max-width: none;
		font-size: clamp(2rem, 10vw, 3.2rem);
	}
}
