body {
	font-family: Arial;
	background: #f5f5f5;
	margin: 0;
	height: 100%;
}
html,
body {
	height: 100%;
	margin: 0;
}

.header {
	height: 130px;
	background: linear-gradient(135deg, #111827, #1f2937);
	color: white;

	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 0 32px;

	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-brand {
	display: flex;
	align-items: center;
	gap: 18px;
}

.logo {
	width: 56px;
	height: 56px;

	border-radius: 16px;

	background: linear-gradient(135deg, #4caf50, #16a34a);

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 28px;

	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.brand-text h1 {
	margin: 0;
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.brand-text p {
	margin: 4px 0 0;
	font-size: 1.5rem;
	color: rgba(255, 255, 255, 0.75);
}

.header-version {
	padding: 8px 16px;

	border-radius: 999px;

	background: rgba(255, 255, 255, 0.08);

	font-size: 1.4rem;
	font-weight: 600;

	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.parent {
	height: calc(100vh - 130px);
	display: flex;
	flex-direction: column;
	margin: 0px 10px;
	background: #e8e8edb8;
	font-size: 1.5rem;
}

.container {
	/* width: 700px; */
	margin: 10px 0px;
	background: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container.question-container {
	flex: 1;
	overflow-y: auto;
	background: #e8e8edb8;
}

.container.recommendation-container {
	padding: 20ox;
	flex-shrink: 0;
	margin-top: 0;
	margin-bottom: 0;
}

.progress {
	width: 100%;
	height: 12px;
	background: #ddd;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 20px;
}

#progressBar {
	height: 100%;
	width: 0%;
	background: #4caf50;
	transition: 0.3s;
}

.option {
	border: 1px solid #ddd;
	padding: 15px;
	margin: 10px 0;
	border-radius: 8px;
	cursor: pointer;
}

.option.selected {
	background: #4caf50;
	color: white;
}

.buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

button {
	padding: 12px 25px;
	cursor: pointer;
}

.question-grid {
	display: grid;

	grid-template-columns: repeat(2, 1fr);

	gap: 20px;

	margin-top: 30px;
}

.question-tile {
	min-height: 180px;

	padding: 30px;

	border-radius: 20px;

	background: white;

	cursor: pointer;

	display: flex;

	flex-direction: column;

	justify-content: center;

	transition: 0.2s;
}

.question-tile:hover {
	transform: translateY(-5px);
}

.question-tile.answered {
	background: #b7f7c2;
}

.options.multiple-choice {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.options.multiple-choice.multiple-choice-2 {
	grid-template-columns: repeat(2, 1fr);
}

.option {
	padding: 20px;

	margin: 10px 0;

	border-radius: 12px;

	background: #eeeeee;

	cursor: pointer;
}

.option:hover {
	background: #ddd;
}

.option.selected {
	background: #4caf50;

	color: white;
}

.recommendation-section {
	margin-top: 10px;
}

.recommendation-section h1 {
	font-size: 32px;
}
.recommendation-section h2 {
	margin: 0;
}

.watch-grid {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 10px;
	scroll-behavior: smooth;

	/* Optional */
	scroll-snap-type: x proximity;
}

.watch-grid::-webkit-scrollbar {
	height: 8px;
}

.watch-grid::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 999px;
}

.watch-grid::-webkit-scrollbar-track {
	background: transparent;
}

.watch-card {
	flex: 0 0 320px; /* Fixed card width */
	background: white;
	border-radius: 28px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: 0.25s;

	/* Optional */
	scroll-snap-align: start;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.watch-card:hover {
	transform: translateY(-8px);
}

.watch-image {
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	border-radius: 20px;
	margin-bottom: 20px;
	overflow: hidden;
}

.watch-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 20px;
}

.watch-card h2 {
	margin: 8px 0;

	font-size: 1.5rem;
}

.reason {
	font-weight: bold;

	margin-bottom: 20px;
}

.watch-card ul {
	padding-left: 20px;

	color: #555;
}

.watch-card li {
	margin-bottom: 8px;
}

.watch-card button {
	width: 100%;

	margin-top: 5px;

	padding: 14px;

	border: none;

	border-radius: 12px;

	background: #111;

	color: white;

	cursor: pointer;
}
.question-tile {
	position: relative;
	padding-right: 45px; /* leave space for button */
}
.question-container h1,
.question-container p {
	margin: 0;
}

.remove-answer {
	position: absolute;

	top: 16px;
	right: 16px;

	width: 24px;
	height: 24px;

	display: flex;
	align-items: center;
	justify-content: center;

	border: none;
	background: transparent;

	color: #999;

	cursor: pointer;

	font-size: 18px;
	font-weight: 500;

	transition: all 0.2s ease;
}

.remove-answer:hover {
	color: #e53935;
	transform: scale(1.15);
}

.brand-text h1 {
	font-size: clamp(2.8rem, 2vw, 3rem);
}

.question-tile h3 {
	font-size: clamp(2.4rem, 1.8vw, 2.7rem);
}

.option {
	font-size: clamp(2rem, 1.4vw, 2.2rem);
}

/* Make desktop watch-image height to be only 50px  */
@media (min-width: 1024px) {
	.header {
		height: 80px;
		font-size: 0.8rem;
	}
	.header-version {
		font-size: 0.8rem;
	}
	.container {
		margin-top: 10px;
		margin-bottom: 10px;
		padding: 10px 30px;
		font-size: 0.8rem;
	}

	.parent {
		height: calc(100vh - 80px);
		flex-direction: row;
	}

	.container.container.recommendation-container {
		margin: 0;
		display: flex;
		flex-direction: column;
		/* display: none; */
	}

	section.recommendation-section {
		width: 250px;
	}

	.container h1 {
		margin: 10px 0px 10px 0px;
	}

	.container h2 {
		margin: 10px 0px 10px 0px;
	}

	.container h3 {
		margin: 5px 0px 5px 0px;
	}

	p {
		margin: 10px 0;
	}

	.question-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
		overflow-x: auto;
	}

	.watch-grid {
		height: 77vh;
		overflow-y: auto;
		overflow-x: hidden;
		display: flex;
		flex-direction: column;
	}

	.watch-card {
		flex: 0 0 170px; /* Fixed card width */
		padding: 10px;
	}

	.watch-card h3 {
		font-size: 16px;
	}

	.watch-image {
		margin-bottom: 10px;
		height: 150px;
	}

	.brand-text h1 {
		font-size: clamp(1.5rem, 2vw, 3rem);
	}

	.brand-text p {
		font-size: 0.95rem;
	}

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