@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Base Styles */
body {
	font-family: Inter, sans-serif;
	font-size: 18px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

h1 {
	margin: 0;
	margin-bottom: 20px;
}
h2 {
	margin: 0;
	margin-bottom: 20px;
}

p.intro {
    font-size: 16px;
}

/* Layout */
.container {
	display: flex;
	height: 100vh;
	flex-direction: row;
	margin-top: 40px;
}

.content {
	width: 52%;
	background-color: white;
	color: black;
	padding: 76px;
	box-sizing: border-box;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	position: relative;
}

.welcome-content {
	width: 52%;
	background-color: white;
	color: black;
	padding: 100px;
	box-sizing: border-box;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

#local-banner {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    z-index: 1000;
}

#local-banner.hidden {
    display: none;
}

.image {
	width: 48%;
	background-color: #f4f4f4;
	background-size: cover;
	background-position: center;
}

.info-box {
	width: 30%;
	background-color: #f4f4f4;
	padding: 20px;
	box-sizing: border-box;
	margin-left: 10px;
	position: relative;
}

/* Top Banner */
.top-banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: white;
	border-bottom: 1px solid #d0d0d0;
	padding: 15px 20px;
	position: fixed;
	top: 0;
	width: 100%;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.logo {
	height: 30px;
}

.banner-text {
	font-size: 16px;
	color: black;
}

/* Progress Bar */
.progress-bar {
	display: flex;
	justify-content: space-between;
	width: 100%;
	/* Change from calc(100% - 35px) to 100% */
	margin-bottom: 40px;
	top: 60px;
	left: 0;
	/* Change from 20px to 0 */
	padding-left: 0;
	/* Add this to ensure no padding shifts it right */
}

.progress-line {
	flex: 1;
	height: 4px;
	background-color: lightgrey;
	margin: 0 5px;
	transition: background-color 0.3s;
}

/* First progress line should have no left margin */
.progress-line:first-child {
	margin-left: 0;
}

/* Last progress line should have no right margin */
.progress-line:last-child {
	margin-right: 0;
}

.progress-line.active {
	background-color: black;
}

/* Rectangles */
.welcome-rectangles {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.rectangle-instructions {
	display: flex;
	align-items: center;
	justify-content: left;
	/* Add this to center horizontally if needed */
	background-color: #F5F7F8;
	border: 0px solid #d0d0d0;
	border-radius: 5px;
	padding: 10px;
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	/* Optional: set a minimum height */
}

.rectangle-text {
	display: flex;
	align-items: center;
	/* Centers text vertically */
	height: 100%;
	font-size: 14px;
}

.row {
	margin: 0;
	/* Remove any default margins */
}

.rectangle-clear {
	display: flex;
	align-items: center;
	background-color: #F5F7F8;
	border: 0px solid #d0d0d0;
	border-radius: 5px;
	padding: 10px;
	box-sizing: border-box;
	width: 100%;
}

.rectangle {
	display: flex;
	align-items: center;
	background-color: #F5F7F8;
	border: 0px solid #d0d0d0;
	border-radius: 5px;
	padding: 10px;
	box-sizing: border-box;
	width: 100%;
}

.icon {
	height: 30px;
	margin-right: 15px;
}


/* Feature Cards */
.feature-card {
	background-color: #f8f8f8;
	border: 1px solid #DCDCDE;
	padding: 20px;
	margin-bottom: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: transform 0.2s;
}

.feature-card:hover {
	transform: translateY(-2px);
}

.feature-card:has(.feature-checkbox:checked) {
	background-color: #EDF1FE;
}

label.feature-card {
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

.checkbox-area {
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-checkbox {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.feature-content {
	flex: 1;
	margin-left: 20px;
}

.feature-content h3 {
	margin: 0 0 8px 0;
	font-size: 18px;
}

.feature-content p {
	margin: 0;
	font-size: 14px;
	color: #333;
}

/* Option Grid and Boxes */
.option-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 20px;
	width: 100%;
	position: relative;
}

.option-box {
	border: 1px solid #DCDCDE;
	border-radius: 8px;
	padding: 10px 15px;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: background-color 0.3s;
	position: relative;
	font-size: 14px;
}

.option-box:hover {
	background-color: #f0f0f0;
}

.option-box.selected {
	background-color: #EDF1FE;
	border-color: #DCDCDE;
}

.option-box input[type="checkbox"] {
	margin-right: 15px;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.option-box label {
	font-size: 16px;
	flex: 1;
	padding-left: 5px;
	padding-right: 30px;
	word-wrap: break-word;
	vertical-align: middle;
	display: inline-block;
}

.option-checkbox {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.option-checkbox input[type="checkbox"] {
	margin-right: 10px;
}

/* Select All Button */
.select-all-container {
	margin-top: 20px;
}

.select-all-button {
	padding: 10px;
	background-color: #2D69F5;
	color: white;
	border: 0px solid #d0d0d0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s;
	width: 100%;
}

.select-all-button:hover {
	background-color: #172EC1;
}

/* Label styling */
.benchmark-label {
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 16px;
}

/* Dropdown container */
.dropdown {
	position: relative;
	display: inline-block;
	width: 100%;
	margin-bottom: 14px;
}

/* Dropdown select styling */
.dropdown select {
	width: 100%;
	padding: 16px 20px;
	border: 2px solid #9ca3af;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	appearance: none;
	/* Removes default browser styling */
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: white;
	color: #333;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px;
	padding-right: 48px;
	/* Make room for the arrow */
}

/* Styling for when dropdown is focused/active */
.dropdown select:focus {
	outline: none;
	border-color: #2563eb;
	/* Slightly darker blue when focused */
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Styling for dropdown options */
.dropdown select option {
	padding: 12px;
	background-color: white;
	color: #333;
}

/* Hover effect for dropdown options */
.dropdown select option:hover {
	background-color: #f5f5f5;
}

.options-list {
	display: none;
	margin-top: 20px;
	border: 1px solid #d0d0d0;
	border-radius: 5px;
	background-color: white;
	padding: 10px;
	width: 80%;
	font-size: 14px;
}

.mdm-card {
	background-color: #f8f8f8;
	border: 1px solid #DCDCDE;
	padding: 16px 20px;
	margin-bottom: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: transform 0.2s;
	position: relative;
}

.mdm-card:hover {
	transform: translateY(-2px);
}

.mdm-card:has(.mdm-checkbox:checked) {
	background-color: #EDF1FE;
}

label.mdm-card {
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

.mdm-checkbox {
	width: 20px;
	height: 20px;
	cursor: pointer;
	margin-top: 3px;
	/* Aligns checkbox with first line of text */
}

.mdm-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mdm-name-primary {
	font-size: 16px;
	font-weight: 500;
	margin: 0;
	margin-left: 20px;
	line-height: 1.2;
}

/* Info Circles and Popups */
.info-circle {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 15px;
	background-color: transparent;
	color: #007bff;
	border-radius: 50%;
	border: 1px solid #007bff;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 20px;
	cursor: pointer;
	font-size: 12px;
	z-index: 10;
}

/* Fixed popup styling to remain in content section */
.popup {
	display: none;
	position: absolute;
	right: 20px;
	/* Position to right side */
	left: auto;
	/* Override previous left positioning */
	width: 300px;
	/* Fixed width */
	background-color: #FFFAEF;
	border: 1px solid #FDA709;
	padding: 15px;
	/* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
	border-radius: 8px;
	z-index: 1000;
}

.popup.active {
	display: block;
}

.popup.above {
	bottom: 100%;
	/* Position above the option */
	margin-bottom: 10px;
}

.popup.below {
	top: 100%;
	/* Position below the option */
	margin-top: 10px;
}

.popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 18px;
	cursor: pointer;
	font-weight: bold;
	font-size: 16px;
}

.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 900;
}

.popup-overlay.active {
	display: block;
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	padding-top: 60px;
}

.modal-content {
	background-color: #fefefe;
	margin: 5% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	text-align: center;
}

.modal-button {
	margin: 10px;
	padding: 10px 20px;
	background-color: black;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

.modal-button:hover {
	background-color: light-gray;
}

/* Form Elements */
.form-group {
	margin-bottom: 15px;
}

.form-group label {
    font-size: 14px;
	display: block;
	margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
	font-size: 14px;
	width: 70%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-sizing: border-box;
}

input[type=checkbox] {
	-ms-transform: scale(1.25);
	-moz-transform: scale(1.25);
	-webkit-transform: scale(1.25);
	-o-transform: scale(1.25);
	transform: scale(1.25);
	padding: 10px;
	accent-color: #3982F7;
}

/* Buttons and Links */
.button-container {
	margin-top: 20px;
	display: flex;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
	position: relative;
}

button {
	padding: 10px 20px;
	background-color: black;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
}

a {
	color: black;
	text-decoration: none;
	font-size: 16px;
	display: flex;
	align-items: center;
	padding-left: 20px;
}

/* Breadcrumb and Summary */
.breadcrumb-box {
	background-color: #f0f0f0;
	border-radius: 5px;
	padding: 1px 10px;
	margin-top: 10px;
	margin-right: 40px;
	margin-bottom: 20px;
	white-space: nowrap;
	align-self: flex-end;
}

.summary-list {
	list-style-type: none;
	padding: 0;
}

.summary-list li {
	display: flex;
	align-items: center;
	font-size: 16px;
	margin-bottom: 10px;
}

.checkmark {
	display: inline-block;
	width: 20px;
	height: 20px;
	color: green;
	background-color: transparent;
	border-radius: 3px;
	margin-right: 10px;
	position: relative;
}

.checkmark::after {
	position: absolute;
	top: 0;
	left: 0;
	color: green;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	width: 100%;
}

.show-button {
	padding: 5px 10px;
	background-color: #778eb1;
	color: white;
	border: none;
	cursor: pointer;
	align-self: flex-start;
}

.show-button:hover {
	background-color: #bfbfbf;
}

/* Spinner & Loading Indicators */
.spinner {
	display: none;
	border: 4px solid rgba(173, 216, 230, 0.3);
	border-top: 4px solid #ADD8E6;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	animation: spin 1s linear infinite;
	margin-left: 10px;
	vertical-align: middle;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.spinner-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

.new-progress-container {
	width: 100%;
	height: 3px;
	background-color: #D3D3D3;
	border-radius: 10px;
	margin-top: 20px;
	padding: 0;
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
	display: none;
	/* Initially hidden */
}

.new-progress-line {
	height: 100%;
	width: 0;
	background-color: #1D4E89;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	border: none;
	box-sizing: border-box;
	/* Removed transition property - we'll handle animation with JavaScript */
}

/* Utility Classes */
.error-message {
	color: red;
	font-size: 14px;
	margin-top: 10px;
}

.hidden {
	display: none;
}

.alert-rectangle {
    width: 80%;
}

.flash-message {
    background-color: #FFF0AF;
    color: #333;  /* Black text */
    padding: 10px 15px;  /* Padding around the text */
    border-radius: 8px;  /* Rounded corners */
    margin: 10px 0;  /* Margin above and below */
    font-size: 16px;  /* Font size */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
    width: 80%
}


/* Responsive Styles */
@media (max-width: 768px) {

	/* Layout adjustments */
	.container {
		flex-direction: column;
	}

	.content,
	.welcome-content {
		width: 100%;
		padding: 60px 20px 30px;
		overflow-y: auto;
	}


	.progress-bar {
		width: 100%;
		margin-bottom: 20px;
		position: static;
		left: 0;
	}

	.welcome-rectangles {
		width: 100%;
	}

	/* Typography */
	h1 {
		font-size: 24px;
		margin-bottom: 15px;
	}

	h2 {
		font-size: 20px;
		margin-top: 20px;
		margin-bottom: 15px;
	}

	p {
		font-size: 14px;
	}

	/* Feature Cards */
	label.feature-card {
		padding: 15px;
	}

	.feature-content h3 {
		font-size: 16px;
	}

	.feature-content p {
		font-size: 13px;
	}

	.feature-content b {
		font-size: 18px !important;
	}

	/* Form elements */
	.form-group label {
		margin-bottom: 8px;
		font-size: 15px;
		margin-top: 20px;
	}

	input[type="text"],
	input[type="email"],
	input[type="password"] {
		width: 100% !important;
		padding: 12px;
		font-size: 16px;
	}

	/* Option grid and boxes */
	.option-grid {
		display: grid;
		grid-template-columns: 1fr !important;
		width: 100% !important;
		gap: 10px;
	}

	.option-box {
		margin-bottom: 15px;
		padding: 12px 10px;
		display: flex;
		align-items: center;
	}

	.option-box label {
		font-size: 16px;
		margin-left: 30px;
	}

	/* Button containers */
	.button-container {
		flex-direction: column;
		gap: 10px;
		margin-top: 30px;
		align-items: flex-start;
	}

	button,
	a {
		width: 100%;
		text-align: center;
		justify-content: center;
		padding: 12px 0;
		margin-bottom: 10px;
		font-size: 16px;
	}

	a {
		margin-left: 0;
	}

	.select-all-button {
		width: 100%;
		padding: 12px;
		font-size: 14px;
	}

	/* Rectangles */
	.rectangle,
	.rectangle-instructions {
		width: 100% !important;
		padding: 12px;
	}

	.rectangle-text {
		width: 100%;
	}

	.row {
		width: 100% !important;
	}

	.rectangle-instructions .row {
		font-size: 14px;
		line-height: 1.4;
	}

	/* Modal */
	.modal-content {
		width: 90%;
		margin: 20% auto;
		padding: 15px;
	}

	.modal-button {
		width: 80%;
		margin: 8px auto;
		display: block;
	}

	/* Popup */
	/* Mobile styles */
	.popup {
		position: fixed;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%);
		width: 80%;
		max-width: 300px;
		margin: 0 !important;
	}

	.popup-close {
		display: block;
	}

	/* Remove excess spacing */
	br {
		display: none;
	}
}

/* Extra small screens */
@media (max-width: 480px) {

	.content,
	.welcome-content {
		padding: 50px 15px 20px;
	}

	h1 {
		font-size: 22px;
	}

	h2 {
		font-size: 18px;
	}

	p {
		font-size: 13px !important;
	}

	.checkbox-area {
		width: 30px;
	}

	.feature-content {
		margin-left: 10px;
	}

	.option-box {
		padding: 10px 8px;
	}

	.option-box input[type="checkbox"] {
		transform: scale(1.1);
		width: 16px;
		height: 16px;
		margin-right: 8px;
	}

	.option-box label {
		font-size: 13px;
		padding-left: 20px;
		padding-right: 15px;
	}

	.info-circle {
		width: 18px;
		height: 18px;
		line-height: 18px;
		font-size: 10px;
		right: 8px;
	}

	.dropdown select {
		padding: 8px;
		font-size: 13px;
	}

	input[type="text"],
	input[type="email"],
	input[type="password"] {
		padding: 10px;
	}

	.spinner {
		width: 20px;
		height: 20px;
	}

	button,
	a {
		padding: 12px 0;
		font-size: 15px;
	}

	.rectangle-instructions {
		padding: 10px;
	}

	.rectangle-instructions .row {
		font-size: 13px;
	}
}
