/* Basic reset and typography */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f5f5f5;
	padding: 20px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 30px;
}

h1 {
	text-align: center;
	margin-bottom: 10px;
	color: #2c3e50;
}

h2 {
	margin: 30px 0 20px 0;
	color: #34495e;
	border-bottom: 2px solid #ecf0f1;
	padding-bottom: 10px;
}

h3 {
	margin: 20px 0 15px 0;
	color: #34495e;
}

p {
	margin-bottom: 20px;
	color: #7f8c8d;
}

/* Info grid */
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 15px;
	margin-bottom: 30px;
}

.info-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	background-color: #f8f9fa;
	border-radius: 6px;
	border-left: 4px solid #3498db;
}

.info-item label {
	font-weight: 600;
	color: #2c3e50;
}

.info-item span {
	color: #27ae60;
	font-weight: 500;
}

/* Probability display */
.probability-display {
	margin: 30px 0;
}

.probability-meter {
	position: relative;
	width: 100%;
	height: 60px;
	background-color: #ecf0f1;
	border-radius: 30px;
	overflow: hidden;
	margin-bottom: 15px;
}

.probability-bar {
	height: 100%;
	background: linear-gradient(90deg, #27ae60 0%, #f39c12 50%, #e74c3c 100%);
	width: 0%;
	transition: width 0.5s ease;
	position: relative;
}

.probability-bar::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.2) 100%);
}

.probability-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 18px;
	font-weight: bold;
	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Factors section */
.factors-section {
	margin-top: 30px;
}

#factors-list {
	display: grid;
	gap: 10px;
}

.factor-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	background-color: #f8f9fa;
	border-radius: 6px;
	border-left: 4px solid #95a5a6;
}

.factor-item.high {
	border-left-color: #e74c3c;
}

.factor-item.medium {
	border-left-color: #f39c12;
}

.factor-item.low {
	border-left-color: #27ae60;
}

/* Disclaimer */
.disclaimer {
	margin-top: 40px;
	padding: 20px;
	background-color: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 6px;
}

.disclaimer p {
	margin: 0;
	color: #856404;
}

/* Responsive design */
@media (max-width: 768px) {
	.container {
		padding: 20px;
	}

	.info-grid {
		grid-template-columns: 1fr;
	}

	.info-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.factor-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.probability-meter {
		height: 50px;
	}

	.probability-text {
		font-size: 16px;
	}
}
