.doo-gate-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.3s ease;
	display: none;
	align-items: center;
	justify-content: center;

	&.doo-gate-visible {
		display: flex;
		opacity: 1;
	}

	&.doo-gate-hidden {
		opacity: 0;
		pointer-events: none;
	}
}

body.doo-gate-active {
	overflow: hidden !important;
	position: fixed;
	width: 100%;
}

.doo-gate-modal {
	background: white;
	border-radius: 8px;
	padding: 40px;
	max-width: 600px;
	width: 90%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: dooGateSlideIn 0.4s ease-out;
	text-align: center;

	h2 {
		margin: 0 0 20px 0;
		font-size: 28px;
		font-weight: bold;
		color: #333;
	}

	p {
		margin: 0 0 30px 0;
		font-size: 16px;
		line-height: 1.6;
		color: #666;
	}

	.doo-gate-question {
		font-size: 20px;
		font-weight: 600;
		color: #333;
		margin-bottom: 20px;
	}
}

.doo-gate-logo {
	margin-bottom: 30px;

	img {
		max-width: 250px;
		height: auto;
		display: inline-block;
	}
}

.doo-gate-error-message {
	background: #f8d7da;
	color: var(--primary-dark);
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	border: 1px solid #f5c6cb;
	font-size: 16px;
	line-height: 1.5;
}

.doo-gate-buttons {
	display: flex;
	gap: 30px;
	justify-content: center;
	margin-bottom: 20px;
}

.doo-gate-btn {
	padding: 15px 40px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 120px;

	&.doo-gate-btn-no {
		background: var(--secondary-color);
		color: white;

		&:hover {
			background: var(--secondary-dark);
			transform: translateY(-2px);
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		}
	}

	&.doo-gate-btn-yes {
		background: var(--primary-color);
		color: white;

		&:hover {
			background: var(--primary-dark);
			opacity: 0.9;
			transform: translateY(-2px);
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		}
	}
}
.doo-gate-remember {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;

	input[type='checkbox'] {
		width: 18px;
		height: 18px;
		cursor: pointer;
	}

	label {
		font-size: 14px;
		color: #666;
		cursor: pointer;
		margin: 0;
	}
}

@keyframes dooGateSlideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (width<480px) {
	.doo-gate-modal {
		padding: 30px 20px;
		width: 95%;

		h2 {
			font-size: 24px;
		}
	}

	.doo-gate-buttons {
		flex-direction: column;
		width: 100%;
		gap: 15px;
		button {
			width: 100% !important;
		}
	}

	.doo-gate-logo img {
		max-width: 200px;
	}

	.doo-gate-btn {
		width: 100%;
	}
}
