/* total-money.css */
body {
	margin: 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	background: linear-gradient(120deg, #ece2be 0%, #b3e0ff 100%);
}

.total-container {
	max-width: 600px;
	margin: 40px auto;
	padding: 24px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.money-box {
	background: #f8fafc;
	border: 2px solid #b3e0ff;
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
	padding: 24px 28px;
	margin: 18px 0;
	width: 100%;
	max-width: 480px;
	transition: box-shadow 0.3s;
	opacity: 0;
	transform: translateY(40px);
	animation: fadeInUp 0.7s forwards;
}
.money-box.fade-in { animation-delay: 0s; }
.money-box.pop-in { animation: popIn 0.7s 0.4s forwards; }

.money-box h2 {
	margin-top: 0;
	color: #2d6fa3;
	font-size: 1.2em;
}
.money-box ul {
	padding-left: 18px;
	margin-bottom: 12px;
}
.money-box li {
	margin-bottom: 7px;
	font-size: 1.05em;
}
.proof-link {
	color: #2d6fa3;
	text-decoration: underline;
	font-size: 0.98em;
	margin-left: 6px;
	transition: color 0.2s;
}
.proof-link:hover {
	color: #1b8a3b;
}
.box-total {
	margin-top: 10px;
	font-weight: bold;
	font-size: 1.1em;
}
.bold-green {
	color: #e53935;
}
.bold-red {
	color: #1b8a3b;
}
.result-box {
	background: linear-gradient(90deg, #ffe5e5 60%, #fff8e1 100%);
	border: 2px solid #e53935;
}
.calc {
	font-size: 1.08em;
	margin: 4px 0;
}
.final-total {
	margin-top: 10px;
	font-size: 1.5em;
	font-weight: bold;
}
.final-highlight {
	color: #e53935;
	background: #fff0f0;
	border-radius: 8px;
	padding: 0.2em 0.7em;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes popIn {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	80% {
		opacity: 1;
		transform: scale(1.05);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}
