.rotec-wrap {
	box-sizing: border-box;
	width: 100%;
	padding: 24px;
	background: var(--rotec-page);
	border-radius: var(--rotec-radius);
}

.rotec-wrap *,
.rotec-wrap *::before,
.rotec-wrap *::after {
	box-sizing: border-box;
}

.rotec-card {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	background: var(--rotec-card);
	border-radius: var(--rotec-radius);
	overflow: hidden;
	box-shadow: 0 14px 45px rgba(17, 28, 104, 0.10);
}

.rotec-head {
	padding: 28px;
	background: linear-gradient(
		135deg,
		var(--rotec-header),
		var(--rotec-secondary)
	);
	color: #fff;
}

.rotec-brand {
	display: flex;
	align-items: center;
	gap: 15px;
}

.rotec-badge {
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	flex: 0 0 50px;
	border-radius: 14px;
	background: #fff;
	color: var(--rotec-primary);
	font-size: 18px;
	font-weight: 800;
}

.rotec-brand h2 {
	margin: 0;
	color: #fff;
	font-size: 25px;
	line-height: 1.25;
}

.rotec-brand p {
	margin: 7px 0 0;
	color: rgba(255,255,255,.86);
	font-size: 14px;
}

.rotec-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding: 28px;
}

.rotec-grid label {
	display: block;
	color: #27304a;
	font-weight: 650;
	font-size: 14px;
}

.rotec-grid input,
.rotec-grid select {
	display: block;
	width: 100%;
	margin-top: 7px;
	padding: 12px 13px;
	border: 1px solid var(--rotec-border);
	border-radius: 10px;
	background: var(--rotec-input);
	color: #20263a;
	font: inherit;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}

.rotec-grid input:focus,
.rotec-grid select:focus {
	border-color: var(--rotec-primary);
	box-shadow: 0 0 0 3px rgba(57,73,171,.10);
}

.rotec-custom-alpha {
	display: none;
}

.rotec-actions {
	display: flex;
	gap: 12px;
	padding: 0 28px 26px;
}

.rotec-btn {
	border: 0;
	border-radius: var(--rotec-btn-radius);
	padding: 13px 23px;
	background: var(--rotec-button);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition:
		background .2s,
		transform .2s,
		box-shadow .2s;
}

.rotec-btn:hover {
	background: var(--rotec-hover);
	transform: translateY(-1px);
	box-shadow: 0 7px 18px rgba(17,28,104,.16);
}

.rotec-btn-light {
	background: #edf0f7;
	color: #25304a;
}

.rotec-btn-light:hover {
	background: #e1e5ef;
	color: #25304a;
}

.rotec-message {
	margin: 0 28px 22px;
	padding: 14px 16px;
	border-radius: 10px;
	background: #fff1f1;
	color: #9a2525;
	font-size: 14px;
}

.rotec-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 0 28px 26px;
}

.rotec-result {
	padding: 18px;
	border-radius: 12px;
	background: var(--rotec-result);
	color: var(--rotec-result-text);
}

.rotec-result span {
	display: block;
	font-size: 13px;
	opacity: .72;
}

.rotec-result strong {
	display: block;
	margin-top: 7px;
	font-size: 20px;
	line-height: 1.25;
}

.rotec-formula,
.rotec-disclaimer {
	margin: 0 28px 18px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--rotec-formula);
	color: #48516a;
	font-size: 13px;
	line-height: 1.6;
}

.rotec-disclaimer {
	margin-bottom: 22px;
}

.rotec-footer {
	padding: 18px 20px;
	border-top: 1px solid var(--rotec-border);
	color: var(--rotec-footer);
	text-align: center;
	font-size: 13px;
}

.rotec-footer a {
	color: inherit;
	text-decoration: none;
}

.rotec-footer a:hover {
	text-decoration: underline;
}

@media (max-width: 680px) {

	.rotec-wrap {
		padding: 10px;
	}

	.rotec-head {
		padding: 21px;
	}

	.rotec-brand h2 {
		font-size: 21px;
	}

	.rotec-grid {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.rotec-actions {
		padding: 0 20px 20px;
		flex-direction: column;
	}

	.rotec-btn {
		width: 100%;
	}

	.rotec-results {
		grid-template-columns: 1fr;
		padding: 0 20px 20px;
	}

	.rotec-formula,
	.rotec-disclaimer {
		margin-left: 20px;
		margin-right: 20px;
	}

}