.elfnet-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba( 0, 0, 0, 0.5 );
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.elfnet-modal {
	background: white;
	border-radius: 8px;
	padding: 40px;
	max-width: 450px;
	width: 90%;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.15 );
	animation: slideUp 0.3s ease-out;
}

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

.elfnet-modal h2 {
	margin: 0 0 20px 0;
	font-size: 24px;
	font-weight: 600;
	color: #333;
}

.elfnet-modal p {
	margin: 0 0 25px 0;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

.elfnet-radio-group {
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.elfnet-radio-group label {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	transition: background-color 0.2s, border-color 0.2s;
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.elfnet-radio-group label:hover {
	background-color: #f5f5f5;
	border-color: #0073aa;
}

.elfnet-radio-group input[type="radio"] {
	margin-right: 10px;
	cursor: pointer;
	width: 18px;
	height: 18px;
}

.elfnet-radio-group input[type="radio"]:checked + text {
	color: #0073aa;
}

.elfnet-confirmation {
	margin-bottom: 25px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.elfnet-confirmation input[type="checkbox"] {
	margin-top: 3px;
	cursor: pointer;
	width: 18px;
	height: 18px;
}

.elfnet-confirmation label {
	font-size: 13px;
	color: #666;
	cursor: pointer;
	line-height: 1.4;
}

.elfnet-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.elfnet-btn-save {
	padding: 10px 24px;
	background-color: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.elfnet-btn-save:hover:not( :disabled ) {
	background-color: #005a87;
}

.elfnet-btn-save:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

@media ( max-width: 600px ) {
	.elfnet-modal {
		padding: 25px;
	}

	.elfnet-modal h2 {
		font-size: 20px;
	}

	.elfnet-modal-actions {
		flex-direction: column;
	}

	.elfnet-btn-save {
		width: 100%;
	}
}
