/* NN Favourites — public styles */

.nnfav-heart {
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.nnfav-heart i {
	transition: color 0.15s ease, transform 0.15s ease;
}

.nnfav-heart:hover i,
.nnfav-heart:focus i {
	transform: scale( 1.2 );
}

.nnfav-heart:focus {
	outline: none;
}

.nnfav-heart:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 3px;
}

/* -----------------------------------------------------------------------
   Guest modal
----------------------------------------------------------------------- */

#nnfav-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba( 0, 0, 0, 0.5 );
	z-index: 999999;
}

#nnfav-modal-box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	background: #fff;
	border-radius: 6px;
	padding: 2em 2.5em;
	max-width: 380px;
	width: 90%;
	box-shadow: 0 6px 30px rgba( 0, 0, 0, 0.2 );
	text-align: center;
}

#nnfav-modal-close {
	position: absolute;
	top: 0.5em;
	right: 0.75em;
	background: none;
	border: none;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
	color: #888;
	padding: 0;
}

#nnfav-modal-close:hover {
	color: #333;
}

#nnfav-modal-msg {
	margin: 0.5em 0 0;
	font-size: 1em;
	color: #333;
	line-height: 1.5;
}

.nnfav-register-btn {
	display: inline-block;
	margin-top: 1.2em;
	padding: 0.55em 1.5em;
	background-color: var( --ast-global-color-0, #006adc );
	color: #fff !important;
	border-radius: var( --ast-button-border-radius, 4px );
	font-size: 1em;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.nnfav-register-btn:hover {
	opacity: 0.88;
}
