.multi-step-form {
	width: calc(100% - 2rem - 2rem);
	max-width: 650px !important;
	margin: 0 auto;
	background: white;
	border-radius: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border: 1px solid #000;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.multi-step-form .form-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.7);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.multi-step-form .form-overlay .spinner {
	border: 4px solid #ccc;
	border-top: 4px solid #333;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.multi-step-form .step.loading {
	pointer-events: none;
	opacity: 0.5;
}

.multi-step-form .fields .h2 {
	margin-bottom: 20px;
}

.multi-step-form .fields label span {
	display: inline-block;
	width: 100%;
	margin-bottom: 7px;
}

.multi-step-form .fields label input,
.multi-step-form .fields label textarea {
	width: 100%;
	margin-bottom: 15px;
}

.multi-step-form .fields label input.error,
.multi-step-form .fields label textarea.error {
	border: 2px solid #e63946;
	background-color: #ffe5e5;
}

.multi-step-form .fields label textarea {
	min-height: 200px;
}

.multi-step-form .fields .row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.multi-step-form .fields .row label {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.multi-step-form .fields .row label span {
	margin-bottom: 7px;
	display: inline-block;
}

.multi-step-form .fields .row label input,
.multi-step-form .fields .row label textarea {
	width: 100%;
}

.multi-step-form .fields .row label input.error,
.multi-step-form .fields .row label textarea.error {
	border: 2px solid #e63946;
	background-color: #ffe5e5;
}

.multi-step-form .fields .row label textarea {
	min-height: 200px;
}

.multi-step-form .fields .row label.narrow {
	flex: 0 0 120px;
}

.multi-step-form .fields .row label.half {
	flex: 0 0 calc(50% - 10px);
	max-width: calc(50% - 10px);
}

.multi-step-form .fields .row label.wide {
	flex: 1;
}

.multi-step-form .fields .question {
	display: block;
	font-weight: 600;
	font-size: 1.2rem;
	margin-bottom: 1rem;
	color: #222;
	min-height: 100px;
}

.multi-step-form .fields .error-message {
	display: none;
	color: #e63946;
	font-size: 17px;
}

.multi-step-form .fields .error-message.show {
	display: block;
}

.multi-step-form .fields .radio-group {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.multi-step-form .fields .radio-group .radio-label {
	position: relative;
	display: flex;
	align-items: center;
	font-size: 1rem;
	color: #444;
	cursor: pointer;
	user-select: none;
	padding-left: 32px;
}

.multi-step-form .fields .radio-group .radio-label input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.multi-step-form .fields .radio-group .radio-label input[type="radio"]:checked + .custom-radio {
	border-color: #86112E;
	background-color: #86112E;
}

.multi-step-form .fields .radio-group .radio-label input[type="radio"]:checked + .custom-radio::after {
	display: block;
}

.multi-step-form .fields .radio-group .radio-label .custom-radio {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 20px;
	width: 20px;
	border: 2px solid #ccc;
	border-radius: 50%;
	transition: border-color 0.3s ease, background-color 0.3s ease;
}

.multi-step-form .fields .radio-group .radio-label .custom-radio::after {
	content: "";
	position: absolute;
	display: none;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: white;
	box-shadow: 0 0 0 4px #86112E;
}

.multi-step-form .fields .radio-group .radio-label:hover .custom-radio {
	border-color: #86112E;
}

.multi-step-form .fields .checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.multi-step-form .fields .checkbox-group .checkbox-label {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
	font-size: 1rem;
	color: #444;
	padding-left: 32px;
}

.multi-step-form .fields .checkbox-group .checkbox-label input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	height: 0;
	width: 0;
}

.multi-step-form .fields .checkbox-group .checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
	background-color: #86112E;
	border-color: #86112E;
}

.multi-step-form .fields .checkbox-group .checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
	display: block;
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 12px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.multi-step-form .fields .checkbox-group .checkbox-label .custom-checkbox {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 20px;
	width: 20px;
	border: 2px solid #ccc;
	border-radius: 4px;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.multi-step-form .fields .checkbox-group .checkbox-label .custom-checkbox:hover {
	border-color: #86112E;
}

.multi-step-form .buttons {
	margin-top: 20px;
	text-align: right;
}

.multi-step-form .step {
	display: none;
}

.multi-step-form .step.active {
	display: block;
}


.multi-step-form .buttons button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.multi-step-form .buttons button[data-next] {
    background-color: #8f7f89;
    color: #fff;
}

.multi-step-form .buttons button[data-prev] {
    background-color: #f0f0f0;
    color: #333;
}

.multi-step-form .buttons button:hover {
    opacity: 0.85;
}

.multi-step-form .buttons button:active {
    transform: scale(0.98);
}

.multi-step-form .buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.multi-step-form input[type="email"],
.multi-step-form input[type="text"] {
	box-sizing: border-box;
    line-height: 40px;
	padding: 10px;
}



#score_interpret {
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
  margin: 0;
}
.mrs-result-interpret {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 20px;
}

.mrs-scale-container {
  margin: 1rem 0 20px 0;
  width: 100%;
  position: relative;
}

.mrs-scale {
  display: flex;
  height: 40px;
  border-radius: 10px;
  position: relative;
  background: #eee;
}

.mrs-scale-green { background: #68b36b; width: 9.09%; }
.mrs-scale-yellow { background: #fddf2e; width: 11.36%; }
.mrs-scale-orange { background: #f5a64a; width: 34.09%; }
.mrs-scale-red { background: #d9534f; width: 45.46%; }

.mrs-scale-marker {
  position: absolute;
  top: -10px;
  width: 3px;
  height: 60px;
  background: #000;
  transition: left 0.5s;
}

.mrs-result-total {
	text-align: center;
	font-size: 60px !important;
	color: #8f7f89;
	margin-bottom: 0;
	font-weight: 900;
	margin: 0 auto;
	padding: 20px 0 0;
}


.mrs-scale-subtypes {
	margin-top: 40px;
}