/* Modal Styles */
.meb2b-registration-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	/* Prevent any interaction with content behind */
	pointer-events: auto;
}

.meb2b-registration-modal.meb2b-modal-active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.meb2b-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.meb2b-modal-content {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 1;
	animation: meb2b-modal-fade-in 0.3s ease-out;
}

@keyframes meb2b-modal-fade-in {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.meb2b-modal-header {
	padding: 30px 30px 20px;
	border-bottom: 1px solid #e0e0e0;
}

.meb2b-modal-header h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: #333;
}

.meb2b-modal-body {
	padding: 30px;
}

.meb2b-modal-body > p {
	margin: 0 0 25px 0;
	font-size: 16px;
	color: #666;
	text-align: center;
}

.meb2b-registration-options {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.meb2b-registration-option {
	display: flex;
	align-items: center;
	padding: 25px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	width: 100%;
}

.meb2b-registration-option:hover {
	border-color: #2271b1;
	background-color: #f8f9fa;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15);
}

.meb2b-registration-option:active {
	transform: translateY(0);
}

.meb2b-registration-option:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.meb2b-registration-option.meb2b-loading {
	position: relative;
	pointer-events: none;
}

.meb2b-registration-option.meb2b-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #2271b1;
	border-top-color: transparent;
	border-radius: 50%;
	animation: meb2b-spin 0.6s linear infinite;
}

@keyframes meb2b-spin {
	to {
		transform: rotate(360deg);
	}
}

.meb2b-option-icon {
	font-size: 48px;
	margin-right: 20px;
	flex-shrink: 0;
}

.meb2b-option-content {
	flex: 1;
}

.meb2b-option-content h3 {
	margin: 0 0 8px 0;
	font-size: 20px;
	font-weight: 600;
	color: #333;
}

.meb2b-option-content p {
	margin: 0;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.meb2b-modal-content {
		width: 95%;
		max-height: 95vh;
	}
	
	.meb2b-modal-header,
	.meb2b-modal-body {
		padding: 20px;
	}
	
	.meb2b-registration-option {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}
	
	.meb2b-option-icon {
		margin-right: 0;
		margin-bottom: 15px;
	}
	
	.meb2b-option-content h3 {
		font-size: 18px;
	}
}

