.goals-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
}

.goal-card {
	background: var(--surface-light);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 1rem;
}

.goal-header {
	margin-bottom: .75rem;
}

.goal-title-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.goal-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .4rem;
	font-size: 1.1rem;
	font-weight: 700;
}

.goal-description {
	color: var(--text-muted);
	font-size: .95rem;
	margin-top: .35rem;
	line-height: 1.5;
}

.goal-amount {
	font-weight: 600;
	color: var(--text-muted);
	white-space: nowrap;
}

.goal-progress {
	height: 16px;
	background: #101014;
	border-radius: 999px;
	overflow: hidden;
}

.goal-progress-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg,
			var(--primary),
			var(--primary-hover));

	transition: width .3s ease;
}

.goal-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: help;
}

.goal-icon img {
	width: 16px;
	height: 16px;
	display: block;
}

.tooltip-text {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);

	background: #101014;
	color: var(--text);

	padding: .5rem .75rem;
	border-radius: 8px;
	border: 1px solid var(--border);

	font-size: .8rem;
	line-height: 1.4;

	width: max-content;
	max-width: 250px;

	opacity: 0;
	pointer-events: none;

	transition: opacity .15s ease;

	z-index: 100;
}

.goal-icon:hover .tooltip-text {
	opacity: 1;
}