/* Overlay */
.bg-redirect-overlay, .bg-redirect-overlay * {
	box-sizing: border-box;
}

.bg-redirect-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 999999;
	justify-content: center;
	align-items: center;
	animation: fadeIn 0.3s ease-in-out;
}

.bg-redirect-overlay.active {
	display: flex;
}

/* Popup Container */
.bg-redirect-popup {
	background: #ffffff;
	border-radius: 12px;
	padding: 40px;
	max-width: 700px;
	width: 90%;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.3s ease-in-out;
}

/* Close Button */
.bg-redirect-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: transparent;
	border: none;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #999;
	transition: color 0.2s;
	padding: 0;
	width: 30px;
	height: 30px;
}

.bg-redirect-close:hover {
	color: #333;
}

/* Title */
.bg-redirect-popup h2 {
	margin: 0 0 15px 0;
	font-size: 24px;
	color: #333;
	font-weight: 600;
}

/* Message */
.bg-redirect-popup p {
	margin: 0 0 25px 0;
	font-size: 16px;
	line-height: 1.6;
	color: #666;
}

/* Buttons Container */
.bg-redirect-buttons {
	display: flex;
	gap: 10px;
	align-items: center;
}

/* Button Base Styles */
.bg-redirect-btn {
	background: white;
	color: #FE6400;
	border-radius: 7px;
	border-color: #FE6400;
	border-width: 1px;
	border-style: solid;
	font-family: inherit;
	font-weight: 600;
	line-height: 1;
	height: 60px;
	padding: 15px 15px;
	text-decoration: none;
	display: flex;
	gap: 10px;
	align-items: center;
	box-sizing: border-box;
}

.bg-redirect-btn img {
	width: 40px;
}

.bg_redirect_remember_container {
	display: flex;
	gap: 10px;
	align-items: center;
	color: #333;
	margin-top: 20px;
}

.bg_redirect_remember_container input {
	width: 20px;
	height: 20px;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(30px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Responsive */
@media (max-width: 600px) {
	.bg-redirect-popup {
		padding: 30px 20px;
	}

	.bg-redirect-popup h2 {
		font-size: 20px;
	}

	.bg-redirect-popup p {
		font-size: 14px;
	}

	.bg-redirect-buttons {
		flex-direction: column;
	}
}