/**
 * Styles publics pour WPBC Date Packs
 *
 * @package WPBC_Date_Packs
 */

/* Styling des dates de pack dans le calendrier */
.wpbc-pack-date {
	position: relative;
}

/* Date déclencheuse */
.wpbc-pack-trigger {
	background-color: #e6f3ff !important;
	border: 2px solid #2271b1 !important;
	font-weight: bold;
}

.wpbc-pack-trigger:hover {
	background-color: #d0e7ff !important;
	box-shadow: 0 0 5px rgba(34, 113, 177, 0.5);
}

/* Dates liées */
.wpbc-pack-linked {
	background-color: #f5f9fc !important;
	border: 1px dashed #2271b1 !important;
}

.wpbc-pack-linked:hover {
	background-color: #e6f3ff !important;
}

/* Badge "Pack" sur les dates */
.wpbc-pack-date::after {
	content: "Pack";
	position: absolute;
	top: 2px;
	right: 2px;
	font-size: 8px;
	background: #2271b1;
	color: #fff;
	padding: 1px 3px;
	border-radius: 2px;
	line-height: 1;
	font-weight: bold;
	text-transform: uppercase;
}

/* Messages informatifs */
.wpbc-dp-message {
	padding: 12px 16px;
	margin: 10px 0;
	border-radius: 4px;
	border-left: 4px solid;
	font-size: 14px;
	line-height: 1.5;
}

.wpbc-dp-message.wpbc-dp-info {
	background-color: #e6f3ff;
	border-color: #2271b1;
	color: #1d4ed8;
}

.wpbc-dp-message.wpbc-dp-warning {
	background-color: #fff3cd;
	border-color: #ffc107;
	color: #856404;
}

.wpbc-dp-message.wpbc-dp-error {
	background-color: #f8d7da;
	border-color: #d63638;
	color: #721c24;
}

/* Animation des messages */
@keyframes wpbcDpFadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wpbc-dp-message {
	animation: wpbcDpFadeIn 0.3s ease-out;
}

/* Affichage du prix du pack */
.wpbc_total_cost.wpbc-pack-price {
	font-size: 18px;
	font-weight: bold;
	color: #2271b1;
}

.wpbc-pack-price-display {
	padding: 15px;
	margin: 15px 0;
	background-color: #e6f3ff;
	border-left: 4px solid #2271b1;
	border-radius: 4px;
}

.wpbc-pack-price-display strong {
	color: #1d4ed8;
	margin-right: 10px;
}

.wpbc-pack-price {
	font-size: 20px;
	font-weight: bold;
	color: #2271b1;
}

/* Responsive */
@media screen and (max-width: 600px) {
	.wpbc-pack-date::after {
		font-size: 7px;
		padding: 1px 2px;
	}

	.wpbc-dp-message {
		font-size: 13px;
		padding: 10px 12px;
	}
}
