/* Promo Code Styles */
.promo-code-section {
	margin: 20px 0;
	padding: 15px 0;
	border-top: 1px solid #eee;
}

.promo-input-group {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	position: relative;
}

.promo-input-wrapper {
	position: relative;
	flex: 1;
	min-width: 120px;
}

.promo-input {
	border: none !important;
	border-bottom: 2px solid #ccc !important;
	border-radius: 0 !important;
	background: transparent !important;
	outline: none !important;
	padding: 6px 0 2px 0 !important;
	font-size: 16px !important;
	width: 100% !important;
	transition: border-color 0.2s ease !important;
	box-shadow: none !important;
}

.promo-input:focus {
	border-bottom-color: #1a334d !important;
}

.promo-input.error {
	border-bottom-color: #e74c3c !important;
}

.promo-input.success {
	border-bottom-color: #27ae60 !important;
}

.promo-loading {
	display: none;
	position: absolute;
	right: 0;
	bottom: 2px;
}

.promo-loading .spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid #1a334d;
	border-radius: 50%;
	animation: promo-spin 1s linear infinite;
}

@keyframes promo-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.promo-apply-link {
	background: none !important;
	border: none !important;
	color: #1a334d !important;
	text-decoration: none !important;
	cursor: pointer !important;
	font-size: 15px !important;
	padding: 0 0 2px 0 !important;
	transition: color 0.2s ease !important;
	white-space: nowrap;
	font-family: inherit;
}

.promo-apply-link:hover,
.promo-apply-link:focus {
	color: #2c5f8a !important;
	text-decoration: underline !important;
}

.promo-apply-link:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.promo-message {
	margin-top: 8px;
	font-size: 14px;
	display: none;
	line-height: 1.4;
	padding: 5px 0;
}

.promo-message.promo-error {
	color: #e74c3c;
}

.promo-message.promo-success {
	color: #27ae60;
}

/* Applied coupons display */
.applied-coupons {
	margin-top: 10px;
}

.coupon-item {
	display: inline-flex;
	align-items: center;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	padding: 4px 8px;
	margin: 2px;
	font-size: 14px;
}

.coupon-code {
	margin-right: 6px;
	font-weight: 500;
}

.remove-coupon {
	background: none;
	border: none;
	color: #dc3545;
	cursor: pointer;
	font-size: 16px;
	padding: 0;
	margin-left: 4px;
	line-height: 1;
}

.remove-coupon:hover {
	color: #c82333;
}

/* Responsive design */
@media (max-width: 768px) {
	.promo-input-group {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.promo-input-wrapper {
		min-width: auto;
	}

	.promo-apply-link {
		align-self: flex-end;
		padding: 8px 12px !important;
		background: #1a334d !important;
		color: white !important;
		border-radius: 4px !important;
		font-size: 14px !important;
	}

	.promo-apply-link:hover,
	.promo-apply-link:focus {
		background: #2c5f8a !important;
		color: white !important;
		text-decoration: none !important;
	}
}

@media (max-width: 480px) {
	.promo-code-section {
		margin: 15px 0;
		padding: 10px 0;
	}

	.promo-input {
		font-size: 14px !important;
	}
}
