/**
 * Promotion Notification Button Styles
 *
 * Styles for the "Notify Me" button that appears on product pages
 * when promotions are about to expire.
 */

/* Base button style - matches accordion gray */
.btn-notify-promo {
	display: inline-block;
	padding: 6px 12px;
	margin-left: 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	color: #0a0a0a;
	background-color: #EFEFEF;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	vertical-align: middle;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.03rem;
}

/* Icon spacing */
.btn-notify-promo i {
	margin-right: 4px;
}

/* Hover state */
.btn-notify-promo:hover {
	background-color: #e0e0e0;
	border-color: #999;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Focus state for accessibility */
.btn-notify-promo:focus {
	outline: 2px solid #a37e2c;
	outline-offset: 2px;
}

/* Active/pressed state */
.btn-notify-promo:active {
	transform: translateY(0);
	box-shadow: none;
}

/* Success state after clicking */
.btn-notify-promo.notified {
	background-color: #1dbe98;
	border-color: #1dbe98;
	color: #fff;
	cursor: default;
}

.btn-notify-promo.notified:hover {
	background-color: #1dbe98;
	border-color: #1dbe98;
	transform: none;
	box-shadow: none;
}

/* Disabled state */
.btn-notify-promo:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 63.9375em) {
	.btn-notify-promo {
		display: block;
		margin: 0.5rem 0 0 0;
		width: 100%;
		max-width: 250px;
	}
}

/* Animation for success state */
@keyframes successPulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

.btn-notify-promo.notified {
	animation: successPulse 0.3s ease-in-out;
}

/* Ensure button doesn't break layout on small screens */
.product-promo .btn-notify-promo {
	margin-top: 0.25rem;
}

/* Icon color in success state */
.btn-notify-promo.notified i {
	color: #fff;
}
