* {
	box-sizing: border-box;
}

html {
	overflow-y: scroll;
}

html,
body {
	margin: 0;
	min-height: 100%;
	background: #f5f5f2;
	color: #13211f;
}

body, table, td, p, input, textarea, span {
	font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
}

body {
	min-height: 100vh;
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.register-page {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 34px 42px 42px;
	overflow: hidden;
}

.register-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 72px;
	position: relative;
	z-index: 10;
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.brand img {
	height: 22px;
	width: auto;
	display: block;
}

.header-action {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #5a6662;
}

.header-action a {
	color: #4f7531;
	font-weight: 700;
	text-decoration: none;
}

.header-action a:hover {
	text-decoration: underline;
}

.register-shell {
	width: 100%;
	max-width: 580px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.register-progress {
	margin-bottom: 26px;
}

.progress-label {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	color: #4f7531;
}

.progress-track {
	height: 6px;
	border-radius: 999px;
	background: #e2e5df;
	overflow: hidden;
}

.progress-value {
	width: 33.333%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #4f7531 0%, #49a349 100%);
}

.register-card {
	position: relative;
	background: #ffffff;
	border-radius: 26px;
	border: 1px solid #eceee8;
	box-shadow:
		0 2px 6px rgba(16, 24, 40, 0.03),
		0 24px 60px rgba(16, 24, 40, 0.08);
	overflow: hidden;
}

.card-content {
	padding: 52px;
}

.eyebrow {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4f7531;
}

h1 {
	margin: 0;
	font-size: 38px;
	line-height: 0.98;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #111917;
	max-width: 420px;
}

.intro {
	margin: 22px 0 0;
	max-width: 470px;
	font-size: 17px;
	line-height: 1.75;
	color: #5b6763;
}

.bankid-panel {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	margin-top: 38px;
	padding: 28px;
	border-radius: 22px;
	background:
		linear-gradient(180deg, #f8faf8 0%, #f2f5f2 100%);
	border: 1px solid #e4e9e4;
}

.bankid-icon {
	width: 68px;
	height: 68px;
	border-radius: 20px;
	background:
		linear-gradient(180deg, #4f7531 0%, #185d18 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 14px 30px rgba(31, 122, 31, 0.2);
}

.bankid-icon:before {
	content: "";
	width: 34px;
	height: 34px;
	background-color: #ffffff;
	-webkit-mask-image: url("https://assets.cartaro.se/cartaro-assets/static/thirdparty/logotypes/vectors/bankid.svg");
	mask-image: url("https://assets.cartaro.se/cartaro-assets/static/thirdparty/logotypes/vectors/bankid.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	display: block;
}

.bankid-panel h2 {
	margin: 2px 0 10px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 750;
	letter-spacing: -0.03em;
	color: #121b19;
}

.bankid-panel p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #596561;
}

.big-buttons,
.mid-buttons {
	display: flex;
	gap: 14px;
}

.big-button,
.mid-button {
	width: 100%;
	height: 60px;
	margin-top: 26px;
	border: 0;
	border-radius: 18px;
	text-decoration: none;
	background:
		linear-gradient(180deg, #238523 0%, #1d6d1d 100%);
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		opacity 0.15s ease,
		background 0.15s ease;
	box-shadow:
		0 12px 30px rgba(31, 122, 31, 0.22);
}

.mid-button {
	height: 45px;
	margin-top: 16px;
	font-size: 15px;
	border-radius: 14px;
}

.big-button.bankid:before {
	content: "";
	width: 26px;
	height: 26px;
	background-color: #ffffff;
	-webkit-mask-image: url("https://assets.cartaro.se/cartaro-assets/static/thirdparty/logotypes/vectors/bankid.svg");
	mask-image: url("https://assets.cartaro.se/cartaro-assets/static/thirdparty/logotypes/vectors/bankid.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	display: block;
}

.big-button.cartaro:before {
	content: "";
	width: 26px;
	height: 26px;
	background-color: #ffffff;
	-webkit-mask-image: url("https://assets.cartaro.se/cartaro-assets/static/cartaro-logo-icon.svg");
	mask-image: url("https://assets.cartaro.se/cartaro-assets/static/cartaro-logo-icon.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	display: block;
}

.big-button:hover:not([disabled]) {
	transform: translateY(-1px);
	box-shadow:
		0 18px 34px rgba(31, 122, 31, 0.28);
}

.big-button:active:not([disabled]) {
	transform: translateY(1px);
}

.big-button[disabled] {
	cursor: default;
	opacity: 0.55;
	box-shadow: none;
	transform: none;
}

.terms-text {
	margin: 26px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: #66726d;
}

.terms-text a {
	color: #4f7531;
	font-weight: 700;
	text-decoration: none;
}

.terms-text a:hover {
	text-decoration: underline;
}

.error-message {
	margin-bottom: 24px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #fff4f2;
	border: 1px solid #ffd8d2;
	color: #9d2d20;
	font-size: 14px;
	line-height: 1.7;
}

.register-illustration {
	position: absolute;
	right: 80px;
	bottom: 60px;
	width: 460px;
	height: 340px;
	pointer-events: none;
	opacity: 0.96;
}

.shape {
	position: absolute;
}

.shape-dashboard {
	right: 0;
	bottom: 0;
	width: 260px;
	height: 180px;
	border-radius: 28px;
	background: #ffffff;
	border: 1px solid #e7ebe7;
	box-shadow:
		0 30px 60px rgba(15, 23, 20, 0.12);
	transform: rotate(8deg);
	overflow: hidden;
}

.shape-dashboard:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 52px;
	background:
		linear-gradient(180deg, #249124 0%, #1c6f1c 100%);
}

.shape-dashboard:after {
	content: "";
	position: absolute;
	left: 22px;
	top: 76px;
	width: 120px;
	height: 14px;
	border-radius: 999px;
	background: #e9eeea;
	box-shadow:
		0 28px 0 #eef2ef,
		0 56px 0 #f2f5f2;
}

.shape-chart {
	right: 190px;
	bottom: 120px;
	width: 140px;
	height: 140px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, #238523 0%, #1c6a1c 100%);
	box-shadow:
		0 24px 40px rgba(31, 122, 31, 0.22);
	transform: rotate(-10deg);
}

.shape-chart:before {
	content: "";
	position: absolute;
	left: 28px;
	bottom: 28px;
	width: 18px;
	height: 46px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow:
		34px -18px 0 rgba(255, 255, 255, 0.75),
		68px -40px 0 rgba(255, 255, 255, 0.6);
}

.shape-store {
	right: 90px;
	bottom: 220px;
	width: 92px;
	height: 92px;
	border-radius: 22px;
	background: #f6b53d;
	transform: rotate(12deg);
	box-shadow:
		0 18px 30px rgba(246, 181, 61, 0.24);
}

.shape-store:before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;

	background-color: #ffe6b5;

	-webkit-mask-image: url('https://assets.cartaro.se/cartaro-assets/static/cartaro-logo-icon.svg');
	-webkit-mask-size: 70%;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;

	mask-image: url('https://assets.cartaro.se/cartaro-assets/static/cartaro-logo-icon.svg');
	mask-size: 70%;
	mask-repeat: no-repeat;
	mask-position: center;
}

.shape-order {
	right: 310px;
	bottom: 80px;
	width: 70px;
	height: 70px;
	border-radius: 20px;
	background: #f4b7bc;
	transform: rotate(-16deg);
	box-shadow:
		0 18px 30px rgba(244, 183, 188, 0.2);
}

.shape-order:before {
	content: "";
	position: absolute;
	left: 20px;
	top: 18px;
	width: 30px;
	height: 34px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.9);
}

.shape-order:after {
	content: "";
	position: absolute;
	left: 26px;
	top: 26px;
	width: 18px;
	height: 3px;
	border-radius: 999px;
	background: #f4b7bc;
	box-shadow:
		0 8px 0 #f4b7bc,
		0 16px 0 #f4b7bc;
}

@media (max-width: 768px) {
	.register-page {
		padding: 24px 18px 28px;
	}

	.register-header {
		margin-bottom: 42px;
	}

	.header-action {
		display: none;
	}

	.card-content {
		padding: 34px 24px;
	}

	h1 {
		font-size: 40px;
		max-width: 100%;
	}

	.intro {
		font-size: 16px;
	}

	.bankid-panel {
		flex-direction: column;
		align-items: flex-start;
		padding: 22px;
	}

	.big-button {
		height: 56px;
		font-size: 16px;
	}

	.terms-text {
		font-size: 12px;
	}
}

.company-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 22px;
}

.company-options .loading {
	text-align: center;
	color: #aaa;
	padding-bottom: 15px;
}

.company-option {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px;
	border: 1px solid #dfe7dd;
	border-radius: 16px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.company-option:hover {
	border-color: #238323;
	box-shadow: 0 10px 28px rgba(24, 88, 24, .10);
}

.company-option.active {
	border-color: #238323;
	background: #f7fbf6;
	box-shadow: 0 10px 30px rgba(24, 88, 24, .14);
}

.company-option-main {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.company-option-number {
	font-size: 14px;
	color: #5f6b61;
}

.company-option-meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.company-option-role {
	padding: 6px 10px;
	border-radius: 999px;
	background: #eaf4e8;
	font-size: 12px;
	font-weight: 700;
	color: #207a22;
	white-space: nowrap;
}

.company-option-check {
	width: 24px;
	height: 24px;
	min-width: 24px;
	border: 2px solid #c7d7c5;
	border-radius: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	transition: all .18s ease;
}

.company-option.active .company-option-check {
	border-color: #238323;
	background: #238323;
}

.company-option.active .company-option-check::after {
	content: "";
	width: 6px;
	height: 11px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
	margin-top: -2px;
}

.company-option-meta {
	display: flex;
	align-items: center;
	gap: 14px;
}

.add-company-button {
	margin-top: 14px;
	width: 100%;
	border: 1px dashed #b8c8b6;
	border-radius: 14px;
	background: #fff;
	padding: 14px 16px;
	font-size: 14px;
	font-weight: 700;
	color: #238323;
	cursor: pointer;
}

.add-company-button:hover {
	background: #f7fbf6;
	border-color: #238323;
}

.mid-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 24px;
}

.mid-button {
	height: 48px;
	border: none;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.mid-button.primary {
	background: #238323;
	color: #fff;
	box-shadow: 0 10px 24px rgba(35, 131, 35, .22);
}

.mid-button.secondary {
	background: #eef4ed;
	color: #1b351d;
}

.mid-button:hover {
	filter: brightness(.96);
}

.company-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 24px;
}

.company-option {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px;
	border: 1px solid #dfe7dd;
	border-radius: 16px;
	background: #fff;
	text-align: left;
	cursor: pointer;
}

.company-option.active {
	border-color: #238323;
	background: #f7fbf6;
	box-shadow: 0 10px 30px rgba(24, 88, 24, .14);
}

.company-option-main {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.company-option-name {
	font-size: 16px;
	font-weight: 800;
	color: #07140b;
}

.company-option-number {
	font-size: 14px;
	color: #5f6b61;
}

.company-option-meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.company-option-role {
	padding: 6px 10px;
	border-radius: 999px;
	background: #eaf4e8;
	font-size: 12px;
	font-weight: 700;
	color: #207a22;
	white-space: nowrap;
}

.company-option-check {
	width: 22px;
	height: 22px;
	border: 2px solid #cfdccd;
	border-radius: 50%;
	position: relative;
}

.company-option.active .company-option-check {
	border-color: #238323;
	background: #238323;
}

.company-option.active .company-option-check:after {
	content: "";
	position: absolute;
	left: 6px;
	top: 3px;
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.add-company-button {
	margin-top: 14px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px dashed #b8c8b6;
	border-radius: 14px;
	background: #fff;
	padding: 15px 16px;
	font-size: 14px;
	font-weight: 800;
	color: #238323;
	cursor: pointer;
}

.add-company-button:hover {
	background: #f7fbf6;
	border-color: #238323;
}

.manual-company {
	margin-top: 16px;
}

.manual-company label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 800;
	color: #1b351d;
}

.manual-company-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
}

.manual-company-row input {
	height: 46px;
	border: 1px solid #dfe7dd;
	border-radius: 12px;
	padding: 0 14px;
	font-size: 14px;
}

.manual-company-search-button {
	height: 46px;
	border: none;
	border-radius: 12px;
	background: #238323;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	padding: 0 18px;
	cursor: pointer;
}

.manual-company-error {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 600;
	color: #a33a2b;
}

.manual-company-row input.has-error {
	border-color: #e2a59b;
	background: #fff8f7;
	color: #7f2418;
}

.manual-company-row input.has-error:focus {
	outline: none;
	border-color: #c44b3a;
	box-shadow: 0 0 0 4px rgba(196, 75, 58, .10);
}

.business-ai-box {
	margin-top: 28px;
	padding: 18px;
	border: 1px solid #dfe7dd;
	border-radius: 20px;
	background: linear-gradient(180deg, #fbfdfb 0%, #f4f8f3 100%);
	box-shadow: 0 16px 34px rgba(15, 23, 20, .06);
}

.business-ai-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.business-ai-icon {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: linear-gradient(180deg, #238523 0%, #1d6d1d 100%);
	position: relative;
	box-shadow: 0 12px 24px rgba(31, 122, 31, .18);
}

.business-ai-icon:before {
	content: "";
	position: absolute;
	inset: 11px;
	background: #fff;
	-webkit-mask-image: url("https://assets.cartaro.se/cartaro-assets/static/cartaro-logo-icon.svg");
	mask-image: url("https://assets.cartaro.se/cartaro-assets/static/cartaro-logo-icon.svg");
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.business-ai-header strong {
	display: block;
	font-size: 15px;
	font-weight: 850;
	color: #111917;
}

.business-ai-header span {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.45;
	color: #66726d;
}

.business-description {
	width: 100%;
	min-height: 150px;
	resize: vertical;
	border: 1px solid #d7e2d5;
	border-radius: 16px;
	background: #fff;
	padding: 16px;
	font: inherit;
	font-size: 15px;
	line-height: 1.65;
	color: #13211f;
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.business-description::placeholder {
	color: #8a958f;
}

.business-description:focus {
	border-color: #238323;
	box-shadow: 0 0 0 4px rgba(35, 131, 35, .10);
	background: #ffffff;
}

.business-ai-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.5;
	color: #6b756f;
}

.business-ai-counter {
	font-weight: 800;
	color: #238323;
	white-space: nowrap;
}

.mid-button.loading {
	position: relative;
	pointer-events: none;
}

.mid-button.loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: buttonLoader .7s linear infinite;
}

@keyframes buttonLoader {
	to {
		transform: rotate(360deg);
	}
}

.platform-creation {
	text-align: center;
	padding: 30px 10px;
}

.platform-creation-spinner {
	width: 64px;
	height: 64px;
	margin: 0 auto 28px;
	border: 4px solid #dbe8d8;
	border-top-color: #238323;
	border-radius: 50%;
	animation: platformCreationSpin .8s linear infinite;
}

@keyframes platformCreationSpin {
	to {
		transform: rotate(360deg);
	}
}

.platform-creation-status {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.platform-creation-step {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 14px;
	background: #f8faf8;
	border: 1px solid #e4ece2;
	font-size: 14px;
	font-weight: 600;
	color: #64706a;
	transition: all .2s ease;
}

.platform-creation-step:before {
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dbe5d8;
	flex-shrink: 0;
}

.platform-creation-step.active {
	background: rgba(35, 131, 35, .06);
	border-color: rgba(35, 131, 35, .18);
	color: #238323;
}

.platform-creation-step.active:before {
	border: 2px solid #238323;
	border-top-color: transparent;
	background: transparent;
	animation: platformCreationSpin .7s linear infinite;
}

.platform-creation-step.completed {
	background: rgba(35, 131, 35, .06);
	border-color: rgba(35, 131, 35, .18);
	color: #238323;
}

.platform-creation-step.completed:before {
	content: "✓";
	display: flex;
	align-items: center;
	justify-content: center;
	background: #238323;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	border: 0;
	animation: none;
}

.platform-creation-message {
	margin: 0 auto;
	color: #6f7b75;
	font-size: 15px;
	padding-top: 20px;
	line-height: 1.7;
}