/* Property Price History Component */

.property-price-history-section {
	padding: 3rem 0;
	background-color: var(--k-0);
}

/* Price Alert Banner */
.price-alert-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-align: center;
	gap: 1.5rem;
	animation: pulseAlert 2s ease-in-out infinite;
}

@keyframes pulseAlert {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.02); }
}

.price-drop-banner {
	background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
	color: white;
	border: 3px solid #1e7e34;
}

.price-increase-banner {
	background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
	color: white;
	border: 3px solid #bd2130;
}

.price-alert-banner .alert-icon {
	font-size: 3.5rem;
	line-height: 1;
	animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.price-alert-banner .alert-content {
	flex: 1;
}

.price-alert-banner .alert-title {
	font-size: 2rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 0.5rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.price-alert-banner .alert-amount {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 0.25rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.price-alert-banner .alert-subtitle {
	font-size: 1.25rem;
	font-weight: 600;
	opacity: 0.95;
}

.price-history-table {
	margin-bottom: 0;
}

.price-history-table thead th {
	background-color: #f8f9fa;
	font-weight: 600;
	border-bottom: 2px solid #dee2e6;
	padding: 1rem;
	text-align: left;
}

.price-history-table tbody td {
	padding: 0.875rem 1rem;
	vertical-align: middle;
}

.price-history-table tbody tr:hover {
	background-color: #f8f9fa;
}

.price-history-table tbody tr:first-child {
	background-color: #fff3cd;
	font-weight: 600;
}

.price-arrow {
	font-size: 1.1em;
	font-weight: bold;
	margin-right: 0.25rem;
}

@media (max-width: 768px) {
	.price-alert-banner {
		flex-direction: column;
		padding: 1.5rem 1rem;
		gap: 1rem;
	}

	.price-alert-banner .alert-icon {
		font-size: 2.5rem;
	}

	.price-alert-banner .alert-title {
		font-size: 1.5rem;
	}

	.price-alert-banner .alert-amount {
		font-size: 1.75rem;
	}

	.price-alert-banner .alert-subtitle {
		font-size: 1rem;
	}

	.price-history-table {
		font-size: 0.875rem;
	}

	.price-history-table thead th,
	.price-history-table tbody td {
		padding: 0.75rem 0.5rem;
	}
}
