/* WhatsApp Access Gate v2 - Styles */

.wavg-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.wavg-modal {
	background: #ffffff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	max-width: 420px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	animation: wavgFadeIn 0.3s ease;
	max-height: 90vh;
	overflow-y: auto;
}

@keyframes wavgFadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wavg-modal-inner {
	text-align: center;
}

.wavg-logo {
	max-width: 180px;
	height: auto;
	margin-bottom: 15px;
}

.wavg-header h2 {
	margin: 0 0 8px;
	font-size: 22px;
	color: #1a1a1a;
}

.wavg-subtitle {
	margin: 0 0 20px;
	font-size: 14px;
	color: #666;
}

.wavg-phone-input-wrapper {
	display: flex;
	align-items: center;
	border: 2px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 4px;
}

.wavg-phone-input-wrapper:focus-within {
	border-color: #25D366;
}

.wavg-phone-prefix {
	background: #f5f5f5;
	padding: 12px 14px;
	font-weight: 600;
	color: #333;
	font-size: 16px;
	border-right: 1px solid #ddd;
	flex-shrink: 0;
}

.wavg-input {
	flex: 1;
	border: none;
	padding: 12px 14px;
	font-size: 16px;
	outline: none;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}

.wavg-input::placeholder {
	color: #bbb;
}

.wavg-hint {
	color: #999;
	font-size: 12px;
	text-align: left;
}

.wavg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 20px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
	margin-top: 12px;
}

.wavg-btn-primary {
	background: #25D366;
	color: #fff;
}

.wavg-btn-primary:hover {
	background: #1da851;
}

.wavg-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.wavg-footer {
	margin-top: 20px;
}

.wavg-footer p {
	font-size: 12px;
	color: #999;
	margin: 0;
}

.wavg-spinner {
	margin-left: 8px;
}

.wavg-error {
	font-size: 14px;
	margin-top: 8px;
}

@media (max-width: 480px) {
	.wavg-modal {
		padding: 20px;
		margin: 10px;
	}
	.wavg-header h2 {
		font-size: 20px;
	}
}
