/* ============================================================
   price-tracker.css — GB Viaggi price drop toast
   Stile del contenuto del toast AppModal aperto da price-tracker.js.
   Prefisso: gbv-pt- (nessuna collisione con app-modal-*).
   ============================================================ */

/* Dialog: larghezza fissa, padding azzerato (lo gestiamo sui singoli slot) */
.gbv-pt-toast-modal.app-modal-dialog {
	max-width: 340px;
	width: 340px;
	padding: 0;
}

.gbv-pt-toast-modal .app-modal-header {
	padding: 10px 14px 8px;
	border-bottom: 1px solid #f0f0f0;
}

.gbv-pt-toast-modal .app-modal-title {
	font-family: 'Poppins', sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	color: #2c2c2c;
	line-height: 1.25;
	padding-right: 22px;
}

.gbv-pt-toast-modal .app-modal-body {
	padding: 10px 14px 8px;
	font-family: 'Poppins', sans-serif;
}

.gbv-pt-toast-modal .app-modal-close {
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	font-size: 0.95rem;
}

.gbv-pt-toast-modal .app-modal-countdown {
	padding: 4px 14px 6px;
	font-size: 0.68rem;
}

/* Contenuto toast */
.gbv-pt-toast {
	color: #393939;
}

.gbv-pt-toast__intro {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0 0 10px;
	margin: 0 0 2px;
	text-align: left;
}

.gbv-pt-toast__textblock {
	display: flex;
	flex-direction: column;
	gap: 1px;
	flex: 1;
	min-width: 0;
	text-align: left;
}

.gbv-pt-toast__count {
	font-size: 0.74rem;
	line-height: 1.4;
	color: #777;
}

.gbv-pt-toast__iconwrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: #ff176d;
	font-size: 0.95rem;
	line-height: 1;
}

.gbv-pt-toast__list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.gbv-pt-toast__item {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"dates  badge"
		"prices badge";
	row-gap: 3px;
	column-gap: 8px;
	padding: 5px 9px;
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 5px;
	align-items: center;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.gbv-pt-toast__item:hover,
.gbv-pt-toast__item:focus-visible {
	background: #fff0f4;
	border-color: #ffd6e3;
	outline: none;
}

.gbv-pt-toast__dates {
	grid-area: dates;
	font-size: 0.76rem;
	font-weight: 600;
	color: #393939;
	letter-spacing: 0.1px;
	line-height: 1.25;
	white-space: nowrap;
}

.gbv-pt-toast__prices {
	grid-area: prices;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8rem;
	line-height: 1.25;
}

.gbv-pt-toast__old {
	color: #999;
	text-decoration: line-through;
	font-size: 0.74rem;
}

.gbv-pt-toast__arrow {
	color: #999;
	font-size: 0.76rem;
}

.gbv-pt-toast__new {
	color: #2c8a3f;
	font-weight: 700;
}

.gbv-pt-toast__badge {
	grid-area: badge;
	background: #ff176d;
	color: #fff;
	font-size: 0.64rem;
	font-weight: 700;
	padding: 0 5px;
	line-height: 1.55;
	border-radius: 999px;
	white-space: nowrap;
	letter-spacing: 0.3px;
	align-self: center;
}

.gbv-pt-toast__item--hidden {
	display: none;
}

.gbv-pt-toast__expand {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 6px 10px;
	background: transparent;
	color: #ff176d;
	border: 1px solid #ffd6e3;
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.76rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
	text-align: center;
}

.gbv-pt-toast__expand:hover {
	background: #fff0f4;
	color: #e0145e;
}

.gbv-pt-toast__more {
	font-size: 0.7rem;
	color: #777;
	margin: 0 0 8px;
	font-style: italic;
}
