/**
 * Travel26 Core: saved tours — the heart's two icons and the notice after a click (assets/js/saved-tours.js). From
 * the HTML template's style.css (.wishlist-toast). Where a heart sits and its colours are the widget's that prints it.
 *
 * Contents
 * 1. Heart icons
 * 2. Notice
 */

/* 1. Heart icons ------------------------------------------------------------------- */
.travel26-save svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.travel26-save .travel26-save__on,
.travel26-save[aria-pressed="true"] .travel26-save__off {
	display: none;
}

.travel26-save[aria-pressed="true"] .travel26-save__on {
	display: block;
}

/* 2. Notice ------------------------------------------------------------------------ */
.travel26-saved-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 32px);
	padding: 12px 12px 12px 20px;
	font-size: 0.925rem;
	line-height: 1.4;
	color: #fff;
	background: var(--inoforest-color-heading, #0d1b2a);
	border-radius: 999px;
	box-shadow: 0 24px 60px rgba(13, 27, 42, 0.16);
	transform: translateX(-50%);
}

.travel26-saved-toast[hidden] {
	display: none;
}

.travel26-saved-toast > svg {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	fill: var(--inoforest-color-accent, #ff6a3d);
}

.travel26-saved-toast .travel26-saved-toast__action {
	flex: none;
	padding: 6px 14px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 999px;
	transition: background-color 0.25s ease;
}

.travel26-saved-toast .travel26-saved-toast__action:hover,
.travel26-saved-toast .travel26-saved-toast__action:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.24);
}

.travel26-saved-toast .travel26-saved-toast__action[hidden] {
	display: none;
}

.travel26-saved-toast .travel26-saved-toast__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	background: none;
	border: 0;
	border-radius: 50%;
}

.travel26-saved-toast .travel26-saved-toast__close svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.travel26-saved-toast .travel26-saved-toast__close:hover,
.travel26-saved-toast .travel26-saved-toast__close:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) {
	.travel26-saved-toast {
		right: 16px;
		bottom: 16px;
		left: 16px;
		max-width: none;
		padding-left: 16px;
		font-size: 0.875rem;
		border-radius: 16px;
		transform: none;
	}

	.travel26-saved-toast .travel26-saved-toast__text {
		flex: 1;
	}
}
