/* Login popup modal — turns the Log In link into an on-page popup that embeds the Listener Login page */
.rsp-login-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.75);
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.rsp-login-modal-overlay.active {
	display: flex;
}

.rsp-login-modal {
	background: #fff;
	border-radius: 10px;
	width: 100%;
	max-width: 440px;
	height: 78vh;
	max-height: 600px;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.rsp-login-modal-close {
	position: absolute;
	top: 6px;
	right: 10px;
	background: rgba(0, 0, 0, 0.55);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	width: 34px;
	height: 34px;
	cursor: pointer;
	z-index: 2;
}

.rsp-login-modal-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #fff;
}

body.rsp-modal-open {
	overflow: hidden;
}
