/* Overlay */
#avp-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

#avp-popup * {
	box-sizing: border-box;
}

.avp-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.65);
}

/* Modal */
.avp-modal {
	position: relative;
	z-index: 2;
	background: #ffffff;
	width: 90%;
	max-width: 900px;
	padding: 60px;
	border-radius: 10px;
	box-shadow: 0 15px 50px rgba(0,0,0,.25);
	text-align: center;
	max-height: 90vh;
	overflow-y: auto;
}

/* Logo */
.avp-logo {
	margin-bottom: 25px;
}

.avp-logo img {
	max-width: 220px;
	height: auto;
	display: inline-block;
}

/* Headings */

.avp-small-heading {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 2px;
	color: #e63329;
	text-transform: uppercase;
}

.avp-large-heading {
	margin: 12px 0 35px;
	font-size: 48px;
	font-weight: 300;
	line-height: 1.2;
	color: #1b2c56;
	text-transform: uppercase;
}

/* Description */

.avp-description {
	font-size: 18px;
	line-height: 1.8;
	color: #555;
	margin-bottom: 35px;
	text-align: left;
}

.avp-description p {
	margin: 0 0 18px;
}

/* Checkbox */

.avp-confirmation {
	text-align: left;
	margin-bottom: 35px;
}

.avp-confirmation label {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	cursor: pointer;
}

.avp-confirmation input[type="checkbox"] {
	margin-top: 4px;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.avp-confirmation span {
	font-size: 16px;
	line-height: 1.7;
	color: #444;
}

.avp-confirmation a {
	color: #2ca0ea;
	text-decoration: none;
}

.avp-confirmation a:hover {
	text-decoration: underline;
}

/* Buttons */

.avp-buttons {
	display: flex;
	gap: 20px;
	margin-top: 10px;
}

.avp-buttons button,
.avp-buttons a {
	flex: 1;
	padding: 18px 30px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: all .25s ease;
}

/* Accept */

#avp-confirm-btn {
	background: #ffffff;
	color: #021025;
	border: 2px solid #021025;
}

#avp-confirm-btn:hover:not(:disabled) {
	background: #021025;
	color: #ffffff;
}

#avp-confirm-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* Leave */

#avp-leave-btn {
	background: #e63329;
	color: #ffffff;
	border: 2px solid #e63329;
}

#avp-leave-btn:hover {
	background: #e63329;
	border-color: #e63329;
	color: #ffffff;
}

/* Mobile */

@media (max-width:768px) {

	.avp-modal {
		padding: 35px 25px;
	}

	.avp-large-heading {
		font-size: 34px;
	}

	.avp-description {
		font-size: 16px;
	}

	.avp-buttons {
		flex-direction: column;
	}

	.avp-buttons button,
	.avp-buttons a {
		width: 100%;
	}

}