/* Price Widget Styles - Subtle Editorial Design */

.price-widget {
	margin: 1.5rem 0;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.price-widget:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.price-widget .card-body {
	padding: 1.5rem;
}

.price-widget h5 {
	color: #495057;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.price-widget h3 {
	font-size: 2rem;
	font-weight: 700;
}

.rating-stars {
	font-size: 1.1rem;
	letter-spacing: 2px;
}

.rating-stars i {
	margin: 0 1px;
}

/* Inline price display (editorial style) */
.price-info-inline {
	padding: 1rem;
	background: #f8f9fa;
	border-left: 3px solid #0d6efd;
	border-radius: 4px;
	margin: 1rem 0;
}

.price-info-inline p {
	font-size: 0.95rem;
	line-height: 1.6;
}

.price-info-inline strong {
	font-weight: 600;
}

.price-info-inline .btn-sm {
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.price-info-inline .badge {
	font-size: 0.75rem;
	padding: 0.25rem 0.5rem;
	font-weight: 500;
}

/* Bootstrap 5.3+ subtle badge variants (if not available) */
.bg-danger-subtle {
	background-color: rgba(220, 53, 69, 0.1) !important;
}

.bg-success-subtle {
	background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-info-subtle {
	background-color: rgba(13, 202, 240, 0.1) !important;
}

.text-danger {
	color: #dc3545 !important;
}

.text-success {
	color: #198754 !important;
}

.text-info {
	color: #0dcaf0 !important;
}

/* Price Chart Modal - Clean Design */
#priceChartModal .modal-content {
	border-radius: 8px;
	border: none;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#priceChartModal .modal-header {
	border-bottom: 1px solid #dee2e6;
	padding: 1rem 1.5rem;
}

#priceChartModal .modal-body {
	padding: 1.5rem;
}

#priceChartModal .modal-footer {
	border-top: 1px solid #dee2e6;
	padding: 1rem 1.5rem;
}

#priceChartModal canvas {
	max-height: 300px;
}

#priceChartModal .card {
	transition: all 0.2s ease;
}

#priceChartModal .card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Price Alert Form */
#priceAlertForm {
	margin: 0;
}

#priceAlertForm .form-control {
	border-radius: 6px;
	border: 1px solid #ced4da;
	padding: 0.5rem 0.75rem;
	font-size: 0.9rem;
}

#priceAlertForm .form-control:focus {
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#priceAlertForm .btn {
	border-radius: 6px;
	font-weight: 500;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.price-widget h3 {
		font-size: 1.5rem;
	}
	
	.price-widget .btn {
		font-size: 0.875rem;
		padding: 0.5rem 0.75rem;
	}
	
	#priceChartModal .modal-dialog {
		margin: 0.5rem;
	}
	
	#priceChartModal .modal-body {
		padding: 1rem;
	}
}

/* Smooth transitions */
.price-info-inline {
	animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
