.carport-login-bar {
	text-align: left;
	margin: 0 0 12px;
	font-size: 0.95em;
}

.carport-step-form,
.carport-registration-form {
	margin: 0 0 18px;
}

.carport-login-panel {
	max-width: 420px;
	margin: 0 0 22px;
}

.carport-login-panel .login-remember label,
.carport-login-password-toggle label {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.carport-login-panel input:not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.carport-form-grid {
	display: grid;
	gap: 14px 22px;
	align-items: start;
	margin: 0 0 16px;
}

.carport-form-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.carport-form-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.carport-form-field,
.carport-form-grid > p {
	margin: 0;
}

.carport-form-field label,
.carport-form-grid > p > label {
	display: inline-block;
	margin: 0 0 5px;
}

.carport-form-grid-3 > p > label {
	min-height: 3.2em;
}

.carport-step-form input:not([type="checkbox"]):not([type="radio"]),
.carport-step-form select,
.carport-registration-form input:not([type="checkbox"]):not([type="radio"]),
.carport-registration-form select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.carport-checkbox-field,
.carport-radio-group {
	margin: 12px 0 18px;
}

.carport-radio-group label {
	display: block;
	margin: 0 0 8px;
}

.carport-b2b-scope-section {
	margin: 0 auto 22px;
	max-width: 860px;
}

.carport-b2b-scope-form {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.carport-b2b-scope-section h3 {
	margin: 0 0 10px;
}

.carport-b2b-global-markup {
	border: 1px solid #d1d5db;
	border-radius: 4px;
	padding: 12px;
	background: #ffffff;
}

.carport-b2b-global-markup-field {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 8px;
}

.carport-b2b-global-markup-field input {
	width: 90px !important;
	max-width: 90px !important;
}

.carport-checkbox-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 22px;
}

.carport-checkbox-grid label {
	display: block;
}

.carport-b2b-scope-form .carport-checkbox-grid {
	display: block;
	max-width: 860px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	background: #ffffff;
	overflow: hidden;
}

.carport-b2b-scope-row {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 8px 12px;
	border-bottom: 1px solid #e5e7eb;
	line-height: 1.25;
	min-height: 0;
}

.carport-b2b-scope-row:last-child {
	border-bottom: 0;
}

.carport-b2b-markup-field {
	display: inline-flex !important;
	flex: 0 0 auto;
	gap: 6px;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	font-size: 1em;
	line-height: 1.25;
	white-space: nowrap;
	color: #4b5563;
	text-align: left;
}

.carport-b2b-scope-label {
	display: inline-flex !important;
	flex: 1 1 auto;
	gap: 6px;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	font-weight: 500;
	font-size: 1em;
	line-height: 1.25;
	text-align: left;
}

.carport-b2b-scope-row > .carport-b2b-scope-label,
.carport-b2b-scope-row > .carport-b2b-markup-field {
	width: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.carport-b2b-scope-form .carport-b2b-markup-field input {
	width: 74px !important;
	max-width: 74px !important;
	min-height: 0;
	height: 28px;
	margin: 0;
	padding: 2px 5px;
	line-height: 1.2;
}

.carport-b2b-markup-input:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.carport-errors,
.carport-success,
.carport-info,
.carport-hint {
	padding: 14px 16px;
	margin: 16px 0;
	border-radius: 4px;
	font-weight: 500;
}

.carport-errors {
	background: #fff1f1;
	border-left: 5px solid #c62828;
	color: #7f1d1d;
}

.carport-errors.carport-errors-field {
	background: #fff5f5;
	border: 1px solid #fecaca;
	border-left: 5px solid #c62828;
	color: #b91c1c;
	margin: 8px 0 14px;
	padding: 10px 12px;
}

.carport-success {
	background: #ecfdf3;
	border-left: 5px solid #16a34a;
	color: #14532d;
}

.carport-info,
.carport-hint {
	display: block;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8;
}

.carport-hint {
	margin: 6px 0 0;
	padding: 8px 10px;
	font-weight: 400;
	font-size: 0.92em;
	line-height: 1.35;
}

.carport-grid-note {
	grid-column: 1 / -1;
	margin: -6px 0 0;
}

.carport-message-title {
	display: block;
	margin-bottom: 6px;
}

.carport-admin-access {
	margin-top: 18px;
}

.carport-version-info {
	margin: 18px 0 0;
	color: #9ca3af;
	font-size: 0.72em;
	line-height: 1.2;
	text-align: right;
}

.carport-sketch {
	margin: 18px 0;
	overflow-x: auto;
}

.carport-sketch svg {
	display: block;
	width: 100%;
	min-width: 760px;
	height: auto;
}

.carport-sketch-title {
	font-size: 20px;
	font-weight: 700;
	fill: #111827;
}

.carport-sketch-label,
.carport-sketch-small,
.carport-sketch-tiny {
	fill: #374151;
}

.carport-sketch-small {
	font-size: 13px;
}

.carport-sketch-tiny {
	font-size: 10px;
}

.carport-sketch-dim {
	stroke: #374151;
	stroke-width: 1.4;
}

.carport-sketch-roof {
	fill: #e7f4f8;
	stroke: #26728a;
	stroke-width: 2;
}

.carport-sketch-module {
	fill: #d9f3df;
	stroke: #2f9e44;
	stroke-width: 0.8;
}

.carport-sketch-axis {
	stroke: #111827;
	stroke-dasharray: 8 5;
	stroke-width: 1.8;
}

.carport-sketch-arm {
	stroke: #111827;
	stroke-linecap: round;
	stroke-width: 2;
}

.carport-sketch-support {
	fill: #111827;
	stroke: #ffffff;
	stroke-width: 1;
}

.carport-sketch-parking-normal {
	fill: #f8fafc;
	fill-opacity: 0.58;
	stroke: #64748b;
	stroke-width: 1.2;
}

.carport-sketch-parking-wide {
	fill: #fff7ed;
	fill-opacity: 0.58;
	stroke: #ea580c;
	stroke-width: 1.2;
}

.carport-sketch-parking-behindert {
	fill: #eff6ff;
	fill-opacity: 0.58;
	stroke: #2563eb;
	stroke-width: 1.2;
}

.carport-sketch-rest {
	fill: #f3f4f6;
	stroke: #d1d5db;
	stroke-dasharray: 4 3;
}

@media (max-width: 760px) {
	.carport-form-grid,
	.carport-form-grid-2,
	.carport-form-grid-3,
	.carport-checkbox-grid {
		grid-template-columns: 1fr;
	}

	.carport-b2b-scope-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.carport-b2b-markup-field {
		justify-content: flex-start;
	}
}
