/**
 * Free Shipping Progress Bar Styles
 *
 * @package Magical_Shop_Builder
 * @since   2.1.0
 */

.mpd-fsb-container {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 18px;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.mpd-fsb-container.is-achieved {
	background-color: #f0fdf4;
	border-color: #bbf7d0;
}

.mpd-fsb-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 10px;
}

.mpd-fsb-icon {
	font-size: 18px;
	color: #2271b1;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.is-achieved .mpd-fsb-icon {
	color: #16a34a;
}

.mpd-fsb-message {
	font-size: 14px;
	line-height: 1.4;
	color: #1e293b;
	margin: 0;
}

.mpd-fsb-message strong {
	color: #0f172a;
	font-weight: 700;
}

.is-achieved .mpd-fsb-message {
	color: #15803d;
	font-weight: 600;
}

/* Progress Track */
.mpd-fsb-progress-track {
	width: 100%;
	height: 8px;
	background-color: #e2e8f0;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}

.mpd-fsb-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #10b981 0%, #059669 100%);
	border-radius: 4px;
	transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-achieved .mpd-fsb-progress-fill {
	background: linear-gradient(90deg, #16a34a 0%, #15803d 100%);
}

@media (max-width: 480px) {
	.mpd-fsb-container {
		padding: 12px 14px;
	}

	.mpd-fsb-message {
		font-size: 13px;
	}
}
